:root {
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

body.ml-body {
    margin: 0;
    font-family: var(--ml-font-body, 'Space Grotesk', sans-serif);
    background: var(--ml-color-bg, #111628);
    color: var(--ml-color-text, #eef2ff);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.ml-site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.ml-site-content {
    flex: 1;
}

.ml-container {
    width: min(1200px, 92vw);
    margin: 0 auto;
}

.ml-section {
    padding: 4rem 0;
}

.ml-section--front {
    padding-top: 2rem;
}

.ml-section--store-archive {
    padding-top: 2.5rem;
}

.ml-section-header {
    margin-bottom: 2rem;
}

.ml-section-title {
    font-family: var(--ml-font-display, 'Space Grotesk', sans-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin: 0 0 0.5rem;
}

.ml-page-content > * + * {
    margin-top: 1.2rem;
}

.ml-page-content .alignleft,
.ml-page-content img.alignleft,
.ml-page-content figure.alignleft {
    float: left;
    margin: 0.4rem 1.5rem 1rem 0;
    max-width: 50%;
}

.ml-page-content .alignright,
.ml-page-content img.alignright,
.ml-page-content figure.alignright {
    float: right;
    margin: 0.4rem 0 1rem 1.5rem;
    max-width: 50%;
}

.ml-page-content .aligncenter,
.ml-page-content img.aligncenter,
.ml-page-content figure.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.ml-page-content h2,
.ml-page-content h3 {
    font-family: var(--ml-font-display, 'Space Grotesk', sans-serif);
}

.ml-section-subtitle {
    color: var(--ml-color-muted, #9aa6c4);
    max-width: 640px;
}

.ml-muted {
    color: var(--ml-color-muted, #9aa6c4);
}

.ml-post-hero {
    margin-bottom: 1.5rem;
}

.ml-post-meta {
    color: var(--ml-color-muted, #9aa6c4);
    font-weight: 500;
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.ml-post-divider {
    opacity: 0.7;
}

.ml-post-featured {
    margin: 1.5rem 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(47, 58, 94, 0.6);
    box-shadow: 0 18px 40px rgba(6, 9, 22, 0.35);
}

.ml-post-featured img {
    width: 100%;
    height: auto;
}

.ml-post-content {
    background: rgba(17, 22, 40, 0.7);
    border: 1px solid rgba(47, 58, 94, 0.6);
    border-radius: 18px;
    padding: 2rem;
}

.ml-store-archive-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    padding: 2.5rem;
    border-radius: 24px;
    background: radial-gradient(circle at 20% 20%, rgba(152, 86, 237, 0.15), rgba(17, 22, 40, 0.95));
    border: 1px solid rgba(47, 58, 94, 0.6);
    margin-bottom: 2.5rem;
}

.ml-store-archive-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-end;
}

.ml-store-categories {
    margin-bottom: 2.5rem;
}

.ml-store-categories-title {
    margin: 0 0 1.25rem;
    font-size: 1.4rem;
}

.ml-store-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.ml-store-category-card {
    background: rgba(26, 32, 54, 0.9);
    border: 1px solid rgba(47, 58, 94, 0.6);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ml-store-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(6, 9, 22, 0.45);
}

.ml-store-category-media {
    height: 140px;
    background: linear-gradient(135deg, rgba(152, 86, 237, 0.2), rgba(17, 22, 40, 0.95));
    background-size: cover;
    background-position: center;
}

.ml-store-category-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ml-store-category-body h3 {
    margin: 0;
    font-size: 1.1rem;
}

.ml-store-archive-content {
    margin-bottom: 2.5rem;
}

.ml-brand-kit {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.ml-brand-title {
    margin: 0 0 1.25rem;
    font-size: 1.5rem;
}

.ml-brand-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ml-brand-grid--colors {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.ml-brand-card {
    background: rgba(17, 22, 40, 0.7);
    border: 1px solid rgba(47, 58, 94, 0.6);
    border-radius: 18px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 180px;
}

.ml-brand-card-header {
    font-weight: 600;
}

.ml-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    background: rgba(10, 14, 28, 0.6);
    border-radius: 14px;
    border: 1px dashed rgba(47, 58, 94, 0.6);
    padding: 1.5rem;
}

.ml-brand-logo img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

.ml-brand-swatch {
    min-height: auto;
}

.ml-brand-swatch-chip {
    width: 100%;
    height: 72px;
    border-radius: 14px;
    border: 1px solid rgba(47, 58, 94, 0.6);
}

.ml-brand-swatch-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ml-presskit-hero {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    padding: 3.5rem 2.5rem;
    margin-bottom: 2.5rem;
    background: radial-gradient(circle at 20% 20%, rgba(152, 86, 237, 0.18), rgba(17, 22, 40, 0.95));
    background-size: cover;
    background-position: center;
}

.ml-presskit-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(10, 14, 28, 0.85) 0%, rgba(10, 14, 28, 0.6) 55%, rgba(10, 14, 28, 0.25) 100%);
}

.ml-presskit-hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.ml-presskit-logo img {
    max-width: 260px;
    margin-bottom: 1rem;
}

.ml-presskit-lede {
    color: var(--ml-color-muted, #9aa6c4);
    margin: 0.75rem 0 1.5rem;
}

.ml-presskit-tagline {
    font-weight: 600;
    margin: 0 0 0.75rem;
}

.ml-presskit-pitch {
    color: var(--ml-color-muted, #9aa6c4);
    margin: 0 0 1.5rem;
}

.ml-presskit-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 2rem;
}

.ml-presskit-section {
    background: rgba(17, 22, 40, 0.7);
    border: 1px solid rgba(47, 58, 94, 0.6);
    border-radius: 18px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.ml-presskit-section h2 {
    margin-top: 0;
}

.ml-presskit-list {
    margin: 0.75rem 0 0;
    padding-left: 1.25rem;
}

.ml-presskit-list li {
    margin-bottom: 0.5rem;
    color: var(--ml-color-muted, #9aa6c4);
}

.ml-presskit-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.ml-presskit-gallery img {
    border-radius: 12px;
    border: 1px solid rgba(47, 58, 94, 0.6);
}

.ml-presskit-aside {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ml-presskit-card {
    background: rgba(17, 22, 40, 0.7);
    border: 1px solid rgba(47, 58, 94, 0.6);
    border-radius: 18px;
    padding: 1.5rem;
}

.ml-presskit-card h2 {
    margin-top: 0;
}

.ml-presskit-card dl {
    margin: 0;
}

.ml-presskit-card dt {
    font-weight: 600;
    margin-top: 0.9rem;
}

.ml-presskit-card dt:first-child {
    margin-top: 0;
}

.ml-presskit-card dd {
    margin: 0.35rem 0 0;
    color: var(--ml-color-muted, #9aa6c4);
}

.ml-presskit-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ml-presskit-links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ml-presskit-downloads {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ml-presskit-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(47, 58, 94, 0.7);
    background: rgba(26, 32, 54, 0.7);
    color: var(--ml-color-text, #eef2ff);
    font-weight: 600;
}

.ml-presskit-videos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (max-width: 900px) {
    .ml-presskit-layout {
        grid-template-columns: 1fr;
    }
}

.ml-site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(13, 18, 32, 0.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--ml-color-border, #2f3a5e);
}

.ml-header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
}

.ml-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ml-brand-text {
    font-family: var(--ml-font-display, 'Space Grotesk', sans-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--ml-color-text, #eef2ff);
}

.ml-primary-nav {
    flex: 1;
}

.ml-nav-menu {
    display: flex;
    gap: 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-weight: 500;
}

.ml-nav-menu a {
    color: var(--ml-color-text, #eef2ff);
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.ml-nav-menu a:hover {
    opacity: 1;
}

.ml-nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.ml-nav-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ml-color-text, #eef2ff);
    margin: 5px 0;
}

.ml-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ml-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ml-icon {
    font-size: 1rem;
    line-height: 1;
}

.ml-button--primary {
    background: linear-gradient(135deg, var(--ml-color-primary, #9856ed), var(--ml-color-primary-strong, #7a42e6));
    color: #0b0e1c;
    box-shadow: 0 12px 30px rgba(152, 86, 237, 0.25);
}

.ml-button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(152, 86, 237, 0.35);
}

.ml-button--ghost {
    border: 1px solid var(--ml-color-border, #2f3a5e);
    color: var(--ml-color-text, #eef2ff);
    background: rgba(34, 42, 69, 0.6);
}

.ml-button--outline {
    border: 1px solid var(--ml-color-primary, #9856ed);
    color: var(--ml-color-text, #eef2ff);
    background: transparent;
}

.wp-block-button__link {
    border-radius: 999px;
    padding: 0.75rem 1.6rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--ml-color-primary, #9856ed), var(--ml-color-primary-strong, #7a42e6));
    color: #0b0e1c;
    border: 0;
}

.wp-block-buttons .wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    border: 1px solid var(--ml-color-border, #2f3a5e);
    color: var(--ml-color-text, #eef2ff);
}

.ml-card {
    background: rgba(34, 42, 69, 0.75);
    border: 1px solid rgba(47, 58, 94, 0.8);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(6, 9, 22, 0.4);
}

.ml-card--soft {
    padding: 1.5rem;
}

.ml-card-title {
    margin-top: 0;
}

.ml-post-grid,
.ml-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.ml-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.ml-card-media img,
.ml-game-card-media img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.ml-card-body {
    padding: 1.5rem;
}

.ml-card-title,
.ml-game-card-title {
    margin: 0 0 0.6rem;
    font-size: 1.2rem;
}

.ml-card-excerpt,
.ml-game-card-excerpt {
    color: var(--ml-color-muted, #9aa6c4);
    font-size: 0.95rem;
}

.ml-card-cta,
.ml-game-card-cta {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--ml-color-accent, #df6f36);
}

.ml-game-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.ml-featured-grid h2 {
    margin-top: 0;
}

.ml-featured-grid {
    background: rgba(17, 22, 40, 0.6);
    border: 1px solid rgba(47, 58, 94, 0.6);
    border-radius: 24px;
    padding: 2rem;
}

.ml-featured-thumb img {
    border-radius: 16px;
}

.ml-news-strip {
    background: rgba(26, 32, 54, 0.8);
    border: 1px solid rgba(47, 58, 94, 0.6);
    border-radius: 22px;
    padding: 2rem;
}
.ml-game-card {
    background: rgba(26, 32, 54, 0.9);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(47, 58, 94, 0.6);
}

.ml-game-card-media {
    background: var(--ml-color-surface, #1c233d);
}

.ml-game-card .ml-card-body {
    padding: 1.75rem;
}

.ml-game-card-placeholder {
    height: 200px;
    background: linear-gradient(135deg, rgba(152, 86, 237, 0.2), rgba(17, 22, 40, 0.95));
}

.ml-hero-carousel {
    position: relative;
    padding: 0;
    background: radial-gradient(circle at 20% 20%, var(--ml-color-glow, rgba(152, 86, 237, 0.3)), rgba(17, 22, 40, 0.95));
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 3rem;
    height: clamp(340px, 48vw, 520px);
}

.ml-hero-carousel--empty {
    padding: 2rem;
    border: 1px dashed var(--ml-color-border, #2f3a5e);
}

.ml-hero-slides {
    position: relative;
    height: 100%;
}

.ml-hero-slide {
    position: absolute;
    inset: 0;
    height: 100%;
    display: flex;
    align-items: center;
    background-color: #0b1020;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.ml-hero-slide.is-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.ml-hero-slide-media {
    position: absolute;
    inset: -2px;
    background-size: cover;
    background-position: center center;
    filter: saturate(1.1);
    background-attachment: scroll;
    background-color: #0b1020;
}

.ml-hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(7, 10, 20, 0.45) 0%, rgba(7, 10, 20, 0.25) 45%, rgba(7, 10, 20, 0.04) 100%);
    pointer-events: none;
}

.ml-hero-slide-content {
    position: relative;
    z-index: 1;
    padding: 3rem;
    max-width: 520px;
}

.ml-hero-kicker,
.ml-hero-text {
    display: inline-block;
    background: rgba(7, 10, 20, 0.6);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
}

.ml-hero-text {
    border-radius: 14px;
    padding: 0.5rem 0.85rem;
}

.ml-hero-logo img {
    max-width: 240px;
    margin-bottom: 0.75rem;
}

.ml-hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: var(--ml-color-accent, #df6f36);
    font-weight: 600;
}

.ml-hero-countdown {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(34, 42, 69, 0.7);
    border: 1px solid rgba(47, 58, 94, 0.7);
    font-size: 0.85rem;
}

.ml-countdown-label {
    color: var(--ml-color-muted, #9aa6c4);
}

.ml-countdown-value {
    font-weight: 600;
}

.ml-hero-title {
    font-family: var(--ml-font-display, 'Space Grotesk', sans-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0.4rem 0;
}

.ml-hero-text {
    color: var(--ml-color-muted, #9aa6c4);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 12px rgba(7, 10, 20, 0.6);
}

.ml-hero-controls {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    display: flex;
    gap: 0.75rem;
    z-index: 2;
}

.ml-hero-control {
    background: rgba(17, 22, 40, 0.7);
    border: 1px solid var(--ml-color-border, #2f3a5e);
    color: var(--ml-color-text, #eef2ff);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    cursor: pointer;
}

.ml-game-hero {
    position: relative;
    padding: 5rem 0;
    background-size: cover;
    background-position: center;
}

.ml-game-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 22, 40, 0.2) 0%, rgba(17, 22, 40, 0.95) 50%);
}

.ml-game-hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.ml-game-logo img {
    max-width: 220px;
    margin-bottom: 1rem;
}

.ml-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    background: rgba(223, 111, 54, 0.2);
    color: var(--ml-color-accent, #df6f36);
    border: 1px solid rgba(223, 111, 54, 0.4);
    margin-bottom: 0.75rem;
}

.ml-game-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ml-game-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 0.75rem;
}

.ml-game-summary {
    color: var(--ml-color-muted, #9aa6c4);
    margin-bottom: 1.5rem;
}

.ml-game-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.75rem 0 1.25rem;
}

.ml-platform-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(17, 22, 40, 0.7);
    border: 1px solid rgba(47, 58, 94, 0.6);
    font-size: 0.85rem;
    color: var(--ml-color-muted, #9aa6c4);
}

.ml-platform-pill .ml-icon {
    color: var(--ml-color-text, #eef2ff);
}

.ml-game-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
    gap: 2rem;
}

.ml-game-aside .ml-card {
    position: sticky;
    top: 110px;
}

.ml-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ml-link-list li {
    margin-bottom: 0.75rem;
}

.ml-leaderboard-tabs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.ml-leaderboard-tab {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(34, 42, 69, 0.8);
    border: 1px solid var(--ml-color-border, #2f3a5e);
    color: var(--ml-color-text, #eef2ff);
    cursor: pointer;
}

.ml-leaderboard-tab.is-active {
    background: linear-gradient(135deg, var(--ml-color-primary, #9856ed), var(--ml-color-primary-strong, #7a42e6));
    color: #0b0e1c;
}

.ml-leaderboard-panel {
    display: none;
}

.ml-leaderboard-panel.is-active {
    display: block;
}

.ml-leaderboard-table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--ml-color-border, #2f3a5e);
    background: rgba(17, 22, 40, 0.6);
}

.ml-leaderboard-table {
    width: 100%;
    border-collapse: collapse;
}

.ml-leaderboard-table th,
.ml-leaderboard-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(47, 58, 94, 0.5);
    text-align: left;
}

.ml-leaderboard-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.ml-leaderboard-row--me {
    background: rgba(152, 86, 237, 0.2);
}

.ml-cta-panel {
    margin-top: 2.5rem;
    padding: 1.8rem 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(152, 86, 237, 0.16), rgba(17, 22, 40, 0.9));
    border: 1px solid rgba(47, 58, 94, 0.7);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.ml-launcher-hero {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    background: linear-gradient(135deg, rgba(43, 34, 92, 0.85), rgba(17, 22, 40, 0.95));
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(47, 58, 94, 0.7);
}

.ml-launcher-hero-panel {
    background: rgba(17, 22, 40, 0.6);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(47, 58, 94, 0.5);
}

.ml-launcher-downloads {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ml-launcher-unavailable h2 {
    margin: 0 0 0.75rem;
}

.ml-launcher-unavailable .ml-muted {
    margin: 0;
}

.ml-profile-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

.ml-profile-card {
    background: rgba(34, 42, 69, 0.8);
    border: 1px solid rgba(47, 58, 94, 0.6);
    border-radius: 20px;
    padding: 1.5rem;
}

.ml-profile-sections {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.ml-order-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ml-order-list li {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(47, 58, 94, 0.4);
}

.ml-site-footer {
    border-top: 1px solid var(--ml-color-border, #2f3a5e);
    padding: 2.5rem 0;
    background: rgba(10, 14, 28, 0.95);
}

.ml-footer-inner {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
}

.ml-footer-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ml-footer-social {
    display: flex;
    gap: 0.6rem;
}

.ml-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(47, 58, 94, 0.7);
    background: rgba(17, 22, 40, 0.7);
    color: var(--ml-color-text, #eef2ff);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ml-social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(6, 9, 22, 0.4);
}

.ml-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
}

.ml-pagination {
    margin-top: 2rem;
}

.woocommerce .woocommerce-breadcrumb {
    color: var(--ml-color-muted, #9aa6c4);
    margin-bottom: 1.5rem;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    color: var(--ml-color-muted, #9aa6c4);
}

.woocommerce .woocommerce-ordering select {
    background: rgba(17, 22, 40, 0.8);
    border: 1px solid rgba(47, 58, 94, 0.8);
    border-radius: 999px;
    color: var(--ml-color-text, #eef2ff);
    padding: 0.45rem 1rem;
}

.woocommerce .woocommerce-result-count {
    font-weight: 600;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 0;
}

.woocommerce ul.products.products {
    display: grid;
}

.woocommerce ul.products[class*="columns-"] li.product {
    width: auto;
}

.woocommerce ul.products li.product {
    background: rgba(26, 32, 54, 0.9);
    border: 1px solid rgba(47, 58, 94, 0.6);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 18px 40px rgba(6, 9, 22, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    float: none;
    width: auto;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(6, 9, 22, 0.45);
}

.woocommerce ul.products li.product .ml-product-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.75rem;
}

.woocommerce ul.products li.product .button {
    margin-top: auto;
}

.ml-product-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ml-platform-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(47, 58, 94, 0.7);
    background: rgba(17, 22, 40, 0.7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ml-color-text, #eef2ff);
    font-size: 0.85rem;
}

.woocommerce ul.products li.product-category {
    float: none;
    width: auto;
    margin: 0;
}

.woocommerce-shop .products .product-category {
    display: none;
}

.woocommerce ul.products li.product img {
    border-radius: 14px;
}

.woocommerce ul.products li.product .price {
    color: var(--ml-color-accent, #df6f36);
    font-weight: 600;
}

.woocommerce div.product {
    background: radial-gradient(circle at 20% 10%, rgba(152, 86, 237, 0.08), rgba(17, 22, 40, 0.95));
    border: 1px solid rgba(47, 58, 94, 0.7);
    border-radius: 24px;
    padding: 2.5rem;
}

.woocommerce div.product .woocommerce-product-gallery img {
    border-radius: 18px;
}

.woocommerce div.product .summary {
    color: var(--ml-color-text, #eef2ff);
}

.woocommerce div.product .product_title {
    font-family: var(--ml-font-display, 'Space Grotesk', sans-serif);
}

.woocommerce div.product .summary p,
.woocommerce div.product .summary .woocommerce-product-details__short-description {
    color: var(--ml-color-muted, #9aa6c4);
}

.woocommerce div.product .price {
    color: var(--ml-color-accent, #df6f36);
    font-size: 1.4rem;
}

.woocommerce div.product form.cart .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: linear-gradient(135deg, var(--ml-color-primary, #9856ed), var(--ml-color-primary-strong, #7a42e6));
    color: #0b0e1c;
    border-radius: 999px;
    border: 0;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    box-shadow: 0 12px 30px rgba(152, 86, 237, 0.25);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: rgba(26, 32, 54, 0.8);
    border-radius: 999px;
    border: 1px solid rgba(47, 58, 94, 0.7);
    padding: 0.4rem 0.9rem;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: linear-gradient(135deg, var(--ml-color-primary, #9856ed), var(--ml-color-primary-strong, #7a42e6));
    border-color: transparent;
    color: #0b0e1c;
}

.woocommerce div.product .woocommerce-tabs .panel {
    background: rgba(17, 22, 40, 0.7);
    border: 1px solid rgba(47, 58, 94, 0.7);
    border-radius: 18px;
    padding: 1.5rem;
}

.woocommerce .woocommerce-review__author {
    color: var(--ml-color-text, #eef2ff);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    background: rgba(17, 22, 40, 0.85);
    border: 1px solid rgba(47, 58, 94, 0.9);
    color: var(--ml-color-text, #eef2ff);
    border-radius: 12px;
}

.woocommerce #reviews .comment-reply-title,
.woocommerce #reviews h2,
.woocommerce #reviews h3 {
    color: var(--ml-color-text, #eef2ff);
}

.woocommerce #review_form_wrapper {
    background: rgba(17, 22, 40, 0.6);
    border: 1px solid rgba(47, 58, 94, 0.6);
    border-radius: 18px;
    padding: 1.5rem;
}

.woocommerce .woocommerce-tabs ul.tabs::before {
    border-bottom-color: rgba(47, 58, 94, 0.6);
}

.woocommerce .star-rating span::before,
.woocommerce p.stars a::before {
    color: var(--ml-color-accent, #df6f36);
}

.ml-product-game .woocommerce div.product .summary {
    background: rgba(17, 22, 40, 0.65);
    border: 1px solid rgba(47, 58, 94, 0.65);
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: inset 0 0 0 1px rgba(152, 86, 237, 0.1);
}

.ml-product-game .woocommerce div.product .summary .product_meta {
    color: var(--ml-color-muted, #9aa6c4);
}

.ml-product-game .woocommerce div.product .summary .product_title,
.ml-product-game .woocommerce div.product .summary .price,
.ml-product-game .woocommerce div.product .summary form.cart {
    display: none;
}

.ml-product-merch .woocommerce div.product {
    background: linear-gradient(135deg, rgba(26, 32, 54, 0.92), rgba(17, 22, 40, 0.95));
}

.ml-product-merch .woocommerce div.product .summary {
    border-left: 2px solid rgba(223, 111, 54, 0.5);
    padding-left: 1.75rem;
}

.ml-store-hero {
    position: relative;
    margin: 0 0 2.5rem;
    border-radius: 26px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    padding: 4.5rem 0;
}

.ml-store-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(10, 14, 28, 0.85) 0%, rgba(10, 14, 28, 0.55) 55%, rgba(10, 14, 28, 0.2) 100%);
}

.ml-store-hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    padding: 0 1.5rem;
}

.ml-store-hero-logo img {
    max-width: 280px;
    margin-bottom: 1rem;
}

.ml-store-hero-title {
    font-family: var(--ml-font-display, 'Space Grotesk', sans-serif);
    font-size: clamp(2rem, 4vw, 3.4rem);
    margin: 0 0 0.5rem;
}

.ml-store-hero-text {
    color: var(--ml-color-muted, #9aa6c4);
    margin: 0 0 1.5rem;
}

.ml-store-hero-developer {
    color: var(--ml-color-muted, #9aa6c4);
    font-weight: 600;
    margin: 0.5rem 0 1rem;
}

.ml-store-hero-actions .button,
.ml-store-hero-actions .single_add_to_cart_button {
    margin: 0;
}

.ml-game-store-extras {
    margin-top: 2rem;
}

.ml-game-store-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.ml-game-store-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ml-game-store-content {
    background: rgba(17, 22, 40, 0.7);
    border: 1px solid rgba(47, 58, 94, 0.6);
    border-radius: 18px;
    padding: 2rem;
}

.ml-game-store-content .aligncenter {
    margin-left: auto;
    margin-right: auto;
}

.ml-game-store-content .wp-block-image {
    text-align: center;
}

.ml-game-store-reviews {
    background: rgba(17, 22, 40, 0.6);
    border: 1px solid rgba(47, 58, 94, 0.6);
    border-radius: 18px;
    padding: 1.5rem;
}

.ml-game-store-reviews summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--ml-color-text, #eef2ff);
    list-style: none;
}

.ml-game-store-reviews summary::-webkit-details-marker {
    display: none;
}

.ml-game-store-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ml-game-store-extras {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ml-game-store-purchase {
    background: rgba(17, 22, 40, 0.7);
    border: 1px solid rgba(47, 58, 94, 0.6);
    border-radius: 18px;
    padding: 1.5rem;
}

.ml-game-store-price {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ml-color-accent, #df6f36);
    margin-bottom: 1rem;
}

.ml-game-store-gallery h3,
.ml-game-store-features h3 {
    margin-top: 0;
}

.ml-game-store-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
}

.ml-game-store-gallery-grid img {
    border-radius: 12px;
    border: 1px solid rgba(47, 58, 94, 0.6);
}

.ml-video-embed {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    border: 1px solid rgba(47, 58, 94, 0.6);
}

.ml-video-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 18px;
    display: block;
}

.ml-lightbox-link {
    display: block;
}

.ml-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 10, 20, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 9999;
}

.ml-lightbox-overlay img {
    max-width: min(100%, 1100px);
    max-height: 90vh;
    border-radius: 16px;
    border: 1px solid rgba(47, 58, 94, 0.8);
}


.ml-game-store-trailer iframe {
    width: 100%;
    min-height: 320px;
    border-radius: 18px;
    border: 1px solid rgba(47, 58, 94, 0.6);
}

.ml-game-store-features {
    background: rgba(17, 22, 40, 0.7);
    border: 1px solid rgba(47, 58, 94, 0.6);
    border-radius: 18px;
    padding: 1.5rem;
}

.ml-game-store-features ul {
    margin: 1rem 0 0;
    padding-left: 1.25rem;
}

.ml-game-store-features li {
    margin-bottom: 0.5rem;
    color: var(--ml-color-muted, #9aa6c4);
}

.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2 {
    margin-top: 2rem;
}

.woocommerce .cart_totals,
.woocommerce .checkout,
.woocommerce .woocommerce-order {
    background: rgba(17, 22, 40, 0.6);
    border: 1px solid rgba(47, 58, 94, 0.6);
    border-radius: 18px;
    padding: 1.5rem;
}

@media (max-width: 900px) {
    .ml-game-layout,
    .ml-profile-grid,
    .ml-launcher-hero,
    .ml-footer-inner,
    .ml-game-store-layout {
        grid-template-columns: 1fr;
    }

    .ml-primary-nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: rgba(13, 18, 32, 0.97);
        padding: 1.5rem;
    }

    .ml-primary-nav.is-open {
        display: block;
    }

    .ml-nav-menu {
        flex-direction: column;
    }

    .ml-nav-toggle {
        display: block;
    }

    .ml-header-inner {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .ml-header-actions {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.6rem;
    }

    .ml-header-actions .ml-button,
    .ml-header-actions a {
        flex: 1 1 auto;
        text-align: center;
        padding: 0.6rem 1rem;
        font-size: 0.95rem;
    }

    .ml-brand img.custom-logo {
        max-width: 180px;
        height: auto;
    }
}

@media (max-width: 700px) {
    .ml-hero-carousel {
        height: clamp(420px, 110vw, 620px);
    }

    .ml-hero-slide {
        align-items: flex-end;
    }

    .ml-hero-slide-content {
        padding: 2rem 1.5rem 3.25rem;
    }

    .ml-cta-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .ml-hero-slide-media {
        background-attachment: scroll;
    }

    .ml-header-inner {
        gap: 0.75rem;
    }

    .ml-header-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ml-header-actions .ml-button,
    .ml-header-actions a {
        width: 100%;
    }

    .ml-header-actions--guest {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.6rem;
    }

    .ml-header-actions--guest .ml-button--auth {
        flex: 1 1 0;
        width: auto;
        padding: 0.55rem 0.9rem;
        font-size: 0.85rem;
    }

    .ml-header-actions .ml-button--launcher {
        display: none;
    }

    .ml-hero-controls {
        right: 1rem;
        bottom: 0.75rem;
        flex-wrap: wrap;
    }

    .ml-hero-control {
        padding: 0.35rem 0.75rem;
        font-size: 0.85rem;
    }

    .ml-hero-slide-content {
        max-width: 100%;
    }

    .ml-page-content .alignleft,
    .ml-page-content img.alignleft,
    .ml-page-content figure.alignleft,
    .ml-page-content .alignright,
    .ml-page-content img.alignright,
    .ml-page-content figure.alignright {
        float: none;
        margin: 0.75rem auto;
        max-width: 100%;
    }
}
