:root {
    color-scheme: dark;
    --bg-primary: #040807;
    --bg-secondary: #060d0b;
    --bg-elevated: #081411;
    --bg-muted: #0c1c15;
    --grid-glow: rgba(0, 255, 170, 0.1);
    --border-subtle: rgba(0, 255, 153, 0.18);
    --border-strong: rgba(0, 255, 170, 0.65);
    --text-primary: #d0ffe8;
    --text-secondary: #8dfccc;
    --text-muted: #49c98f;
    --accent-primary: #39ff9c;
    --accent-secondary: #13f6ff;
    --accent-tertiary: #9aff2d;
    --shadow-soft: 0 25px 45px rgba(0, 30, 14, 0.55);
    --shadow-focus: 0 0 0 3px rgba(57, 255, 156, 0.35);
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --max-content-width: 1140px;
    --easing-smooth: cubic-bezier(0.22, 1, 0.36, 1);
    --space-section-xl: clamp(3.8rem, 6vw, 5.4rem);
    --space-section-lg: clamp(3.1rem, 5vw, 4.6rem);
    font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    --pointer-x: 50%;
    --pointer-y: 20%;
    --scroll-progress: 0;
    margin: 0;
    font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at 20% -10%, rgba(57, 255, 156, 0.12) 0%, rgba(19, 246, 255, 0.05) 35%, transparent 65%),
        radial-gradient(circle at 80% -10%, rgba(19, 246, 255, 0.14) 0%, transparent 55%),
        #020503;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    animation: page-fade-in 0.7s ease-out;
}

.page--home {
    background: #000;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: calc(var(--scroll-progress) * 100%);
    height: 2px;
    pointer-events: none;
    z-index: 120;
    background: linear-gradient(90deg, rgba(57, 255, 156, 0.95), rgba(19, 246, 255, 0.9));
    box-shadow: 0 0 16px rgba(19, 246, 255, 0.45);
    transition: width 0.12s linear;
}

.space-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background:
        radial-gradient(900px 620px at 58% 47%, rgba(86, 255, 180, 0.14) 0%, rgba(42, 168, 114, 0.07) 34%, transparent 70%),
        radial-gradient(1200px 900px at 50% 50%, rgba(0, 0, 0, 0.96) 0%, #000 68%);
}

#space-bg-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 1;
    mix-blend-mode: normal;
}

.space-bg__nebula {
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(circle at 58% 46%, rgba(88, 255, 184, 0.24) 0%, rgba(54, 220, 146, 0.13) 23%, transparent 56%),
        radial-gradient(circle at 50% 58%, rgba(39, 154, 104, 0.14) 0%, transparent 52%);
    filter: blur(24px) saturate(128%);
    opacity: 0.96;
    animation: home-nebula-breathe 14s ease-in-out infinite alternate;
}

@keyframes home-nebula-breathe {
    from {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.76;
    }
    to {
        transform: translate3d(-0.8%, 0.6%, 0) scale(1.06);
        opacity: 0.95;
    }
}

@media (prefers-reduced-motion: reduce) {
    .space-bg__nebula {
        animation: none;
    }
}

.ui-aurora {
    position: fixed;
    inset: -30vmax;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(19, 246, 255, 0.2), transparent 32%),
        radial-gradient(circle at calc(100% - var(--pointer-x)) calc(100% - var(--pointer-y)), rgba(57, 255, 156, 0.17), transparent 34%);
    filter: blur(34px) saturate(112%);
    opacity: 0.3;
    transform: translate3d(0, 0, 0) scale(1);
    animation: aurora-drift 24s var(--easing-smooth) infinite alternate;
}

main,
header,
footer {
    position: relative;
    z-index: 1;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 45%, transparent 55%, rgba(0, 0, 0, 0.45)),
        repeating-linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 0,
            rgba(0, 0, 0, 0) 2px,
            rgba(57, 255, 156, 0.04) 2px,
            rgba(57, 255, 156, 0.04) 4px
        );
    mix-blend-mode: screen;
    opacity: 0.4;
    z-index: 0;
}

h1, h2, h3, h4 {
    font-family: 'Press Start 2P', 'Space Grotesk', sans-serif;
    letter-spacing: 0.05em;
}


.page--premium .section__title,
.page--premium .pricing-card__title,
.page--premium .pricing-card__price,
.page--premium .premium-plan__billing,
.page--premium .page-cta__description,
.page--premium .section__description,
.page--premium .faq__item summary {
    font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 0.01em;
}

a {
    color: inherit;
}

a:hover,
a:focus {
    color: inherit;
}

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

.container {
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0 1.75rem;
}

.motion-reveal {
    opacity: 0;
    transform: translate3d(0, 24px, 0) scale(0.99);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.motion-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.motion-reveal--instant {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
}

.game-card,
.feature-card,
.update-card,
.info-card,
.pricing-card,
.auth-card,
.contact-card {
    transform-origin: center;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transition: transform 0.45s var(--easing-smooth), box-shadow 0.45s var(--easing-smooth), border-color 0.45s var(--easing-smooth);
    will-change: transform;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(180deg, rgba(0, 10, 8, 0.34), rgba(0, 10, 8, 0.16));
    border-bottom: 1px solid rgba(57, 255, 156, 0.16);
    box-shadow: 0 8px 18px rgba(0, 18, 11, 0.35);
    transition: background 0.35s var(--easing-smooth), box-shadow 0.35s var(--easing-smooth), border-color 0.35s var(--easing-smooth);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    header {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        background: linear-gradient(180deg, rgba(1, 12, 8, 0.22), rgba(1, 12, 8, 0.1));
    }
}

body.is-scrolled header {
    background: linear-gradient(180deg, rgba(1, 12, 8, 0.46), rgba(1, 12, 8, 0.24));
    box-shadow: 0 10px 24px rgba(0, 20, 10, 0.45);
    border-bottom-color: rgba(57, 255, 156, 0.24);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: none;
    box-shadow: var(--shadow-focus);
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--accent-primary);
    text-transform: uppercase;
    text-decoration: none;
}

.brand__mark {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 12px;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.22), transparent 34%),
        conic-gradient(from 160deg, rgba(57, 255, 156, 0.95), rgba(19, 246, 255, 0.72), rgba(154, 255, 45, 0.78), rgba(57, 255, 156, 0.95));
    display: grid;
    place-items: center;
    position: relative;
    box-shadow: 0 12px 28px rgba(0, 255, 170, 0.35), inset 0 0 0 1px rgba(209, 255, 236, 0.3);
    overflow: hidden;
    transition: transform 0.35s var(--easing-smooth), box-shadow 0.35s var(--easing-smooth);
}

.brand__mark::before {
    content: '';
    width: 13px;
    height: 13px;
    border-radius: 3px;
    background: #04100c;
    box-shadow: 0 0 0 2px rgba(0, 255, 153, 0.26), inset 0 0 10px rgba(19, 246, 255, 0.28);
}

.brand__mark::after {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 1px;
    background: rgba(220, 255, 245, 0.95);
    box-shadow:
        8px 0 0 rgba(19, 246, 255, 0.85),
        0 8px 0 rgba(154, 255, 45, 0.85),
        8px 8px 0 rgba(57, 255, 156, 0.95);
    position: absolute;
    top: 8px;
    left: 8px;
    opacity: 0.92;
}

.brand__text {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-shadow: 0 0 14px rgba(57, 255, 156, 0.4);
    color: #bbffd9;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .brand__text {
        background: linear-gradient(90deg, #d3ffe9 0%, #7afec6 42%, #8af6ff 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
}

.brand:hover .brand__mark,
.brand:focus-visible .brand__mark {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 15px 34px rgba(0, 255, 170, 0.4), inset 0 0 0 1px rgba(209, 255, 236, 0.4);
}

.nav-toggle {
    display: none;
    background: rgba(7, 30, 19, 0.85);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: inset 0 0 0 1px rgba(0, 255, 153, 0.12);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    background: rgba(15, 48, 30, 0.95);
    box-shadow: 0 0 20px rgba(0, 255, 170, 0.25);
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.primary-nav__list {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-nav__link {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    position: relative;
    padding-bottom: 0.25rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.primary-nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, rgba(57, 255, 156, 0.9), rgba(19, 246, 255, 0.9));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.primary-nav__link:focus-visible {
    outline: none;
    color: var(--accent-primary);
}

.primary-nav__link:hover,
.primary-nav__link[aria-current="page"] {
    color: var(--accent-primary);
}

.primary-nav__link:hover::after,
.primary-nav__link:focus-visible::after,
.primary-nav__link[aria-current="page"]::after {
    transform: scaleX(1);
}

.primary-nav__cta {
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(57, 255, 156, 0.5);
    background: linear-gradient(135deg, rgba(57, 255, 156, 0.12), rgba(19, 246, 255, 0.12));
    color: var(--text-primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 18px rgba(0, 255, 170, 0.18);
}

.primary-nav__cta:hover,
.primary-nav__cta:focus-visible {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
    background: linear-gradient(135deg, rgba(57, 255, 156, 0.25), rgba(19, 246, 255, 0.25));
}

.hero {
    position: relative;
    padding: var(--space-section-xl) 0 var(--space-section-lg);
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero::before {
    background:
        radial-gradient(circle at 18% 15%, rgba(57, 255, 156, 0.22), transparent 55%),
        radial-gradient(circle at 82% 10%, rgba(19, 246, 255, 0.2), transparent 60%),
        radial-gradient(circle at 50% 90%, rgba(0, 255, 153, 0.18), transparent 60%);
}

.hero::after {
    background: linear-gradient(120deg, rgba(0, 255, 153, 0.06) 0%, rgba(0, 0, 0, 0) 50%),
        linear-gradient(300deg, rgba(19, 246, 255, 0.08) 0%, rgba(0, 0, 0, 0) 45%);
    mix-blend-mode: screen;
    opacity: 0.7;
}

.hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2rem;
    text-align: center;
    align-items: start;
}

.hero__eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent-secondary);
    text-shadow: 0 0 12px rgba(19, 246, 255, 0.45);
}

.hero__headline {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0 auto;
    max-width: 680px;
    line-height: 1.4;
    text-transform: uppercase;
    text-shadow: 0 0 25px rgba(57, 255, 156, 0.25);
}

.hero__headline span {
    color: var(--accent-primary);
}

.hero__description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.02rem;
    text-shadow: 0 0 18px rgba(0, 255, 170, 0.15);
}

.hero__cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero__cta--primary {
    background: linear-gradient(135deg, rgba(57, 255, 156, 0.95), rgba(154, 255, 45, 0.95));
    color: #03180d;
    box-shadow: 0 18px 35px rgba(0, 255, 153, 0.35);
}

.hero__cta--primary:hover,
.hero__cta--primary:focus-visible {
    transform: translateY(-2px);
}

.hero__cta--ghost {
    border: 1px solid rgba(19, 246, 255, 0.4);
    background: rgba(9, 34, 24, 0.75);
    color: var(--text-primary);
    box-shadow: inset 0 0 0 1px rgba(19, 246, 255, 0.2);
}

.hero__list {
    display: grid;
    gap: 0.5rem;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}


.games {
    padding: var(--space-section-xl) 0 var(--space-section-lg);
    position: relative;
    overflow: hidden;
}

.games::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% -10%, rgba(57, 255, 156, 0.12), transparent 58%),
        radial-gradient(circle at 80% 110%, rgba(19, 246, 255, 0.12), transparent 60%),
        linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 255, 153, 0.08) 55%, rgba(0, 0, 0, 0) 100%),
        repeating-linear-gradient(90deg, transparent 0, transparent 120px, rgba(0, 255, 170, 0.05) 120px, rgba(0, 255, 170, 0.05) 122px);
    opacity: 0.65;
    pointer-events: none;
    z-index: 0;
}

.games::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(19, 246, 255, 0.1), transparent 60%);
    mix-blend-mode: screen;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.games > * {
    position: relative;
    z-index: 1;
}

.games__intro {
    text-align: center;
    margin-bottom: 2.75rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.games__eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.32em;
    color: var(--accent-secondary);
    text-transform: uppercase;
    text-shadow: 0 0 14px rgba(19, 246, 255, 0.45);
}

.games__title {
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    margin: 0.4rem 0 1rem;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(57, 255, 156, 0.25);
}

.games__subtitle {
    margin: 0 auto;
    max-width: 640px;
    color: var(--text-secondary);
    text-shadow: 0 0 18px rgba(0, 255, 170, 0.25);
    font-size: 1rem;
    line-height: 1.7;
}


.games-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(150deg, rgba(6, 22, 15, 0.92) 0%, rgba(3, 12, 8, 0.96) 100%);
    border: 1px solid rgba(57, 255, 156, 0.16);
    box-shadow: 0 26px 45px rgba(0, 30, 14, 0.55), inset 0 0 0 1px rgba(19, 246, 255, 0.08);
    position: relative;
    overflow: hidden;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.games-toolbar::before,
.games-toolbar::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.games-toolbar::before {
    background: radial-gradient(circle at 15% 30%, rgba(57, 255, 156, 0.25), transparent 55%);
}

.games-toolbar::after {
    background: radial-gradient(circle at 85% 70%, rgba(19, 246, 255, 0.2), transparent 50%);
    mix-blend-mode: screen;
}

.games-toolbar > * {
    position: relative;
    z-index: 1;
}

.games-toolbar__search {
    position: relative;
    min-width: 260px;
}

.games-toolbar__search input {
    width: min(100%, 320px);
    background: rgba(3, 14, 9, 0.9);
    border: 1px solid rgba(57, 255, 156, 0.25);
    border-radius: var(--radius-md);
    padding: 0.7rem 1rem 0.7rem 2.6rem;
    color: var(--text-primary);
    letter-spacing: 0.06em;
    box-shadow: 0 18px 35px rgba(0, 30, 14, 0.45), inset 0 0 0 1px rgba(19, 246, 255, 0.12);
    backdrop-filter: blur(14px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.games-toolbar__search input:focus-visible {
    outline: none;
    border-color: rgba(57, 255, 156, 0.65);
    box-shadow: 0 0 0 3px rgba(57, 255, 156, 0.22), 0 26px 40px rgba(0, 30, 14, 0.6);
}

.games-toolbar__search input::placeholder {
    color: rgba(141, 252, 204, 0.6);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.games-toolbar__search svg {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.1rem;
    height: 1.1rem;
    color: var(--accent-primary);
    opacity: 0.85;
}

.filter-group {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: center;
}

.games-toolbar__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    margin: 0.2rem auto 0;
    padding: 0.34rem 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    text-transform: none;
    border-radius: 999px;
    border: 1px solid rgba(57, 255, 156, 0.2);
    background: rgba(6, 26, 17, 0.85);
    box-shadow: inset 0 0 0 1px rgba(19, 246, 255, 0.08);
    opacity: 0.92;
}

.filter-button {
    background: rgba(8, 32, 22, 0.85);
    border: 1px solid rgba(57, 255, 156, 0.18);
    border-radius: 999px;
    padding: 0.5rem 1.1rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
    cursor: pointer;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: inset 0 0 0 1px rgba(19, 246, 255, 0.12);
    position: relative;
    overflow: hidden;
}

.filter-button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(57, 255, 156, 0.22), transparent 65%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-button:hover,
.filter-button:focus-visible {
    outline: none;
    transform: translateY(-1px);
    border-color: rgba(57, 255, 156, 0.45);
    box-shadow: 0 12px 25px rgba(0, 30, 14, 0.45);
}

.filter-button:hover::after,
.filter-button:focus-visible::after {
    opacity: 1;
}

.filter-button[aria-pressed="true"] {
    background: rgba(57, 255, 156, 0.28);
    border-color: rgba(57, 255, 156, 0.65);
    color: var(--bg-primary);
    text-shadow: 0 0 16px rgba(57, 255, 156, 0.6);
}

.games-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    margin-top: 0.5rem;
}


.game-card {
    --logo-primary: #39ff9c;
    --logo-secondary: #13f6ff;
    --logo-tertiary: #9aff2d;
    --logo-glow: rgba(57, 255, 156, 0.65);
    --card-halo: rgba(57, 255, 156, 0.18);
    --card-halo-strong: rgba(57, 255, 156, 0.38);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.65rem;
    min-height: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(57, 255, 156, 0.18);
    background: linear-gradient(160deg, rgba(6, 24, 15, 0.94) 0%, rgba(4, 12, 9, 0.98) 65%, rgba(2, 10, 6, 0.96) 100%);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.game-card::before {
    content: '';
    position: absolute;
    inset: -25% -25% auto -25%;
    height: 60%;
    background: radial-gradient(circle at 20% 20%, var(--card-halo-strong), transparent 65%);
    opacity: 0.45;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 0;
}

.game-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.15));
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.game-card > * {
    position: relative;
    z-index: 1;
}

.game-card:hover,
.game-card:focus-visible {
    transform: translateY(-8px);
    border-color: rgba(57, 255, 156, 0.45);
    box-shadow: 0 32px 55px rgba(0, 30, 14, 0.65);
    outline: none;
}

.game-card:hover::before,
.game-card:focus-visible::before {
    opacity: 0.7;
    transform: translateY(-12px) scale(1.05);
}

.game-card__media {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(57, 255, 156, 0.16), rgba(19, 246, 255, 0.08));
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(57, 255, 156, 0.25), 0 12px 28px rgba(0, 30, 14, 0.45);
}

.game-card__media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 25%, var(--card-halo-strong), transparent 65%);
    opacity: 0.55;
    transition: opacity 0.4s ease;
}

.game-card__media::after {
    content: '';
    position: absolute;
    inset: -40% -10%;
    background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
    transform: translate3d(-60%, -20%, 0) rotate(12deg);
    animation: media-glimmer 6s ease-in-out infinite;
    opacity: 0.55;
}

.game-card__media svg {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.game-card--colour-dash {
    --logo-primary: #66ffce;
    --logo-secondary: #7d7cff;
    --logo-tertiary: #ffe169;
    --logo-glow: rgba(118, 225, 255, 0.65);
    --card-halo: rgba(102, 255, 206, 0.18);
    --card-halo-strong: rgba(102, 255, 206, 0.48);
}

.game-card--cyber-pong {
    --logo-primary: #39ff9c;
    --logo-secondary: #45b3ff;
    --logo-tertiary: #ff6df0;
    --logo-glow: rgba(69, 179, 255, 0.6);
    --card-halo: rgba(69, 179, 255, 0.18);
    --card-halo-strong: rgba(69, 179, 255, 0.48);
}

.game-card--cyber-twist {
    --logo-primary: #b95bff;
    --logo-secondary: #3dffd7;
    --logo-tertiary: #ffe48d;
    --logo-glow: rgba(185, 91, 255, 0.55);
    --card-halo: rgba(185, 91, 255, 0.18);
    --card-halo-strong: rgba(185, 91, 255, 0.45);
}

.game-card--gravity-flip {
    --logo-primary: #45c6ff;
    --logo-secondary: #ff6ca5;
    --logo-tertiary: #39ffbf;
    --logo-glow: rgba(69, 198, 255, 0.58);
    --card-halo: rgba(69, 198, 255, 0.2);
    --card-halo-strong: rgba(69, 198, 255, 0.5);
}

.game-card--dragon-flight {
    --logo-primary: #ff8d4d;
    --logo-secondary: #ff5c5c;
    --logo-tertiary: #ffd166;
    --logo-glow: rgba(255, 140, 77, 0.55);
    --card-halo: rgba(255, 140, 77, 0.2);
    --card-halo-strong: rgba(255, 140, 77, 0.52);
}

.game-card--geo-dash {
    --logo-primary: #49f3ff;
    --logo-secondary: #a779ff;
    --logo-tertiary: #9aff2d;
    --logo-glow: rgba(73, 243, 255, 0.6);
    --card-halo: rgba(73, 243, 255, 0.2);
    --card-halo-strong: rgba(73, 243, 255, 0.5);
}

.game-card--astro-belt {
    --logo-primary: #58dbff;
    --logo-secondary: #b782ff;
    --logo-tertiary: #4cffd5;
    --logo-glow: rgba(88, 219, 255, 0.58);
    --card-halo: rgba(88, 219, 255, 0.2);
    --card-halo-strong: rgba(88, 219, 255, 0.5);
}

.game-card--sniper-elite {
    --logo-primary: #5bffcf;
    --logo-secondary: #6be0ff;
    --logo-tertiary: #ffe066;
    --logo-glow: rgba(91, 255, 207, 0.6);
    --card-halo: rgba(91, 255, 207, 0.2);
    --card-halo-strong: rgba(91, 255, 207, 0.5);
}

.game-card--color-tide {
    --logo-primary: #49f6e6;
    --logo-secondary: #2b86ff;
    --logo-tertiary: #9df8ff;
    --logo-glow: rgba(73, 246, 230, 0.6);
    --card-halo: rgba(73, 246, 230, 0.18);
    --card-halo-strong: rgba(73, 246, 230, 0.48);
}

.game-card--circuit-puzzle {
    --logo-primary: #54ffa3;
    --logo-secondary: #2dd0ff;
    --logo-tertiary: #fff48b;
    --logo-glow: rgba(84, 255, 163, 0.6);
    --card-halo: rgba(84, 255, 163, 0.2);
    --card-halo-strong: rgba(84, 255, 163, 0.5);
}

.game-card--neon-drift {
    --logo-primary: #ff71f8;
    --logo-secondary: #5cfff1;
    --logo-tertiary: #ffe98f;
    --logo-glow: rgba(92, 255, 241, 0.6);
    --card-halo: rgba(255, 113, 248, 0.18);
    --card-halo-strong: rgba(92, 255, 241, 0.52);
}

.game-card--synthwave-siege {
    --logo-primary: #6fb3ff;
    --logo-secondary: #ff71f8;
    --logo-tertiary: #ffd972;
    --logo-glow: rgba(255, 113, 248, 0.58);
    --card-halo: rgba(111, 179, 255, 0.2);
    --card-halo-strong: rgba(255, 113, 248, 0.5);
}

.game-card--quantum-loop {
    --logo-primary: #63fff5;
    --logo-secondary: #a980ff;
    --logo-tertiary: #fffba0;
    --logo-glow: rgba(99, 255, 245, 0.58);
    --card-halo: rgba(169, 128, 255, 0.18);
    --card-halo-strong: rgba(99, 255, 245, 0.48);
}


.game-card__emoji {
    font-size: 2rem;
    line-height: 1;
}

.games-section-heading {
    margin-top: 3rem;
    display: grid;
    gap: 0.8rem;
    justify-items: start;
}

.games__title--sub {
    font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.games-grid--paid {
    margin-top: 1.5rem;
}


.game-card--locked {
    border-color: rgba(255, 200, 90, 0.3);
    background: linear-gradient(160deg, rgba(30, 22, 10, 0.92) 0%, rgba(14, 10, 6, 0.98) 100%);
}

.game-card--locked:hover,
.game-card--locked:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(255, 210, 120, 0.62);
}

.game-card--locked .game-card__media {
    filter: blur(3px) saturate(0.65);
}

.game-card--locked .game-card__title {
    color: #ffd98f;
}

.game-card--locked::before {
    opacity: 0.18;
    transform: none;
}

.game-card__header {
    position: relative;
}

.game-card__lock-badge {
    position: absolute;
    top: -0.35rem;
    right: 0;
    z-index: 2;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 217, 143, 0.16);
    border: 1px solid rgba(255, 217, 143, 0.42);
    color: #ffe8bf;
}



.game-card--locked .game-card__meta {
    opacity: 0.78;
}

.game-card--paid {
    position: relative;
}

.games-grid--paid .game-card__media {
    filter: blur(6px) saturate(0.7);
}

.game-logo {
    width: 64px;
    height: 64px;
}

.game-logo * {
    transform-box: fill-box;
    transform-origin: center;
}

.game-logo--colour-dash .logo-square {
    stroke-linejoin: round;
}

.game-logo--colour-dash .logo-square--outer {
    animation: logo-spin 18s linear infinite;
}

.game-logo--colour-dash .logo-square--middle {
    animation: logo-spin 14s linear infinite reverse;
}

.game-logo--colour-dash .logo-square--inner {
    animation: logo-pulse 4s ease-in-out infinite;
}

.game-logo--colour-dash .logo-spark {
    stroke-dasharray: 6 6;
    animation: logo-blink 3.6s ease-in-out infinite;
    opacity: 0.65;
}

.game-logo--cyber-pong .logo-net {
    stroke-dasharray: 4 4;
    animation: net-glow 6s ease-in-out infinite;
}

.game-logo--cyber-pong .logo-pong-ball {
    animation: pong-ball 2.8s ease-in-out infinite;
}

.game-logo--cyber-pong .logo-paddle--left {
    animation: paddle-shift 2.8s ease-in-out infinite;
}

.game-logo--cyber-pong .logo-paddle--right {
    animation: paddle-shift 2.8s ease-in-out infinite;
    animation-delay: 0.35s;
}

.game-logo--cyber-twist .twist-ring {
    stroke-linecap: round;
}

.game-logo--cyber-twist .twist-ring--outer {
    animation: logo-spin 20s linear infinite;
}

.game-logo--cyber-twist .twist-ring--inner {
    animation: logo-spin 12s linear infinite reverse;
}

.game-logo--cyber-twist .twist-core {
    animation: logo-pulse 4.5s ease-in-out infinite;
}

.game-logo--cyber-twist .twist-orb {
    transform-origin: 32px 32px;
    animation: twist-orbit 5s linear infinite;
}

.game-logo--gravity-flip .flip-arrow--top {
    animation: flip-top 3.4s ease-in-out infinite alternate;
}

.game-logo--gravity-flip .flip-arrow--bottom {
    animation: flip-bottom 3.4s ease-in-out infinite alternate;
    transform-origin: center;
    opacity: 0.75;
}

.game-logo--gravity-flip .flip-core {
    animation: logo-pulse 3.4s ease-in-out infinite;
}

.game-logo--dragon-flight .flight-wing {
    transform-origin: 32px 36px;
    animation: wing-flap 3s ease-in-out infinite;
}

.game-logo--dragon-flight .flight-wing--right {
    animation-delay: 0.2s;
}

.game-logo--dragon-flight .flight-trail {
    stroke-dasharray: 6 8;
    animation: trail-pulse 5s linear infinite;
}

.game-logo--dragon-flight .flight-body {
    animation: logo-pulse 3.8s ease-in-out infinite;
}

.game-logo--geo-dash .dash-runner {
    animation: dash-run 2.8s ease-in-out infinite;
}

.game-logo--geo-dash .dash-orb {
    animation: orb-glow 2.8s ease-in-out infinite;
}

.game-logo--astro-belt .belt-ring--inner {
    animation: orbit-ring 16s linear infinite;
}

.game-logo--astro-belt .belt-ring--outer {
    animation: orbit-ring 24s linear infinite reverse;
}

.game-logo--astro-belt .belt-orb--one {
    transform-origin: 32px 32px;
    animation: belt-orbit 6s linear infinite;
}

.game-logo--astro-belt .belt-orb--two {
    transform-origin: 32px 32px;
    animation: belt-orbit 8s linear infinite reverse;
}

.game-logo--sniper-elite .sniper-ring--outer {
    animation: crosshair-spin 18s linear infinite;
}

.game-logo--sniper-elite .sniper-ring--inner {
    animation: crosshair-spin 12s linear infinite reverse;
}

.game-logo--sniper-elite .sniper-line {
    animation: crosshair-glow 3.6s ease-in-out infinite;
}

.game-logo--sniper-elite .sniper-focus circle {
    animation: logo-pulse 2.8s ease-in-out infinite;
}

.game-logo--color-tide .tide-wave--back {
    animation: wave-shift 7s ease-in-out infinite alternate;
}

.game-logo--color-tide .tide-wave--mid {
    animation: wave-shift 6s ease-in-out infinite alternate-reverse;
}

.game-logo--color-tide .tide-wave--front {
    animation: wave-shift 5s ease-in-out infinite alternate;
}

.game-logo--color-tide .tide-sparkle circle:nth-child(1) {
    animation: sparkle 4s linear infinite;
}

.game-logo--color-tide .tide-sparkle circle:nth-child(2) {
    animation: sparkle 4.6s linear infinite;
}

.game-logo--color-tide .tide-sparkle circle:nth-child(3) {
    animation: sparkle 5s linear infinite;
}

.game-logo--circuit-puzzle .circuit-path {
    stroke-dasharray: 6 8;
    animation: circuit-flow 4.2s linear infinite;
}

.game-logo--circuit-puzzle .circuit-pulse circle {
    animation: circuit-pulse 3.4s ease-out infinite;
}

.game-logo--neon-drift .drift-track {
    stroke-dasharray: 14 10;
    animation: drift-track 9s linear infinite;
}

.game-logo--neon-drift .drift-line {
    stroke-dasharray: 6 10;
    animation: drift-line 3.2s ease-in-out infinite;
}

.game-logo--neon-drift .drift-car rect {
    animation: drift-car 3.2s ease-in-out infinite;
}

.game-logo--neon-drift .drift-car path {
    opacity: 0.75;
    animation: drift-glow 3.2s ease-in-out infinite;
}

.game-logo--neon-drift .drift-trails path {
    opacity: 0;
    animation: drift-trail 3.2s ease-in-out infinite;
}

.game-logo--neon-drift .drift-trails path:first-child {
    animation-delay: 0.1s;
}

.game-logo--neon-drift .drift-trails path:last-child {
    animation-delay: 0.4s;
}

.game-logo--synthwave-siege .siege-shield {
    filter: drop-shadow(0 0 6px rgba(255, 113, 248, 0.35));
}

.game-logo--synthwave-siege .siege-core {
    animation: siege-core 4s ease-in-out infinite;
}

.game-logo--synthwave-siege .siege-rings circle:first-child {
    animation: siege-spin 12s linear infinite;
}

.game-logo--synthwave-siege .siege-rings circle:last-child {
    opacity: 0.6;
    animation: siege-spin 8s linear infinite reverse;
}

.game-logo--synthwave-siege .siege-beams line {
    stroke-dasharray: 4 6;
    animation: siege-beam 2.8s ease-in-out infinite;
}

.game-logo--synthwave-siege .siege-beams line:nth-child(2) {
    animation-delay: 0.2s;
}

.game-logo--synthwave-siege .siege-beams line:nth-child(3) {
    animation-delay: 0.4s;
}

.game-logo--quantum-loop .loop-core {
    animation: loop-pulse 4s ease-in-out infinite;
}

.game-logo--quantum-loop .loop-ring {
    animation: loop-rotate 10s linear infinite;
}

.game-logo--quantum-loop .loop-ring--inner {
    animation-duration: 7s;
    animation-direction: reverse;
}

.game-logo--quantum-loop .loop-arcs path {
    opacity: 0.65;
    animation: loop-wave 3.4s ease-in-out infinite;
}

.game-logo--quantum-loop .loop-arcs path:last-child {
    animation-delay: 0.3s;
}

@keyframes drift-track {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -64;
    }
}

@keyframes drift-line {
    0%,
    100% {
        stroke-dashoffset: 40;
        opacity: 0.45;
    }
    50% {
        stroke-dashoffset: -40;
        opacity: 0.9;
    }
}

@keyframes drift-car {
    0%,
    100% {
        transform: translateX(-2px) skewX(-4deg);
    }
    50% {
        transform: translateX(2px) skewX(6deg);
    }
}

@keyframes drift-glow {
    0%,
    100% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
}

@keyframes drift-trail {
    0% {
        opacity: 0;
        transform: translate(-2px, -2px);
    }
    50% {
        opacity: 0.65;
        transform: translate(-5px, -5px);
    }
    100% {
        opacity: 0;
        transform: translate(-8px, -8px);
    }
}

@keyframes siege-core {
    0%,
    100% {
        transform: scale(0.92);
        filter: drop-shadow(0 0 4px rgba(255, 113, 248, 0.4));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 8px rgba(255, 113, 248, 0.6));
    }
}

@keyframes siege-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes siege-beam {
    0%,
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    50% {
        opacity: 0.85;
        transform: translateY(-4px);
    }
}

@keyframes loop-pulse {
    0%,
    100% {
        transform: scale(0.92);
        filter: drop-shadow(0 0 3px rgba(99, 255, 245, 0.5));
    }
    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 10px rgba(169, 128, 255, 0.6));
    }
}

@keyframes loop-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes loop-wave {
    0%,
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    50% {
        opacity: 0.9;
        transform: translateY(-2px);
    }
}

@keyframes media-glimmer {
    0% {
        transform: translate3d(-60%, -20%, 0) rotate(12deg);
        opacity: 0.45;
    }
    50% {
        transform: translate3d(10%, 0, 0) rotate(12deg);
        opacity: 0.85;
    }
    100% {
        transform: translate3d(80%, 18%, 0) rotate(12deg);
        opacity: 0.4;
    }
}

@keyframes aurora-drift {
    0% {
        transform: translate3d(0, -1.5%, 0) scale(1);
    }
    100% {
        transform: translate3d(0, 1.5%, 0) scale(1.04);
    }
}

@keyframes logo-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes logo-pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

@keyframes logo-blink {
    0%,
    100% {
        opacity: 0.35;
    }
    50% {
        opacity: 0.85;
    }
}

@keyframes net-glow {
    0%,
    100% {
        stroke-dashoffset: 0;
        opacity: 0.55;
    }
    50% {
        stroke-dashoffset: 6;
        opacity: 0.9;
    }
}

@keyframes pong-ball {
    0%,
    100% {
        transform: translate(-12px, -8px);
    }
    50% {
        transform: translate(12px, 8px);
    }
}

@keyframes paddle-shift {
    0%,
    100% {
        transform: translateY(-2px);
    }
    50% {
        transform: translateY(2px);
    }
}

@keyframes twist-orbit {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes flip-top {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-10px);
        opacity: 0.35;
    }
}

@keyframes flip-bottom {
    0% {
        transform: translateY(10px);
        opacity: 0.35;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes wing-flap {
    0%,
    100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(6deg);
    }
}

@keyframes trail-pulse {
    0%,
    100% {
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dashoffset: 12;
    }
}

@keyframes dash-run {
    0%,
    100% {
        transform: translateX(-4px);
    }
    50% {
        transform: translateX(10px);
    }
}

@keyframes orb-glow {
    0%,
    100% {
        transform: scale(0.8);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes orbit-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes belt-orbit {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes crosshair-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes crosshair-glow {
    0%,
    100% {
        opacity: 0.45;
    }
    50% {
        opacity: 0.85;
    }
}

@keyframes wave-shift {
    0%,
    100% {
        transform: translateX(-4px);
    }
    50% {
        transform: translateX(4px);
    }
}

@keyframes sparkle {
    0% {
        opacity: 0.4;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.4;
        transform: scale(0.75);
    }
}

@keyframes circuit-flow {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -24;
    }
}

@keyframes circuit-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

.game-card__header {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
    min-height: 92px;
}

.game-card__header > div {
    display: grid;
    gap: 0.35rem;
    flex: 1;
}

.game-card__title {
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    margin: 0;
    line-height: 1.35;
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.game-card__meta {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    text-transform: uppercase;
    min-height: 2.2rem;
    align-content: start;
}

.game-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(57, 255, 156, 0.18);
    background: rgba(8, 30, 22, 0.65);
}

.game-card__description {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    text-shadow: 0 0 14px rgba(0, 255, 170, 0.2);
    flex: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    min-height: 5.1em;
    overflow: hidden;
}

.game-card__footer {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: auto;
    min-height: 2.2rem;
}

.game-card__footer span:not(.tag):not(.game-card__play) {
    color: rgba(141, 252, 204, 0.75);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-card__play {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    justify-self: end;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(57, 255, 156, 0.5);
    background: linear-gradient(120deg, rgba(57, 255, 156, 0.18), rgba(19, 246, 255, 0.08));
    color: rgba(207, 255, 232, 0.95);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    box-shadow: 0 0 18px rgba(57, 255, 156, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

@media (max-width: 560px) {
    .game-card__footer {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .game-card__play {
        justify-self: start;
    }
}

@media (max-width: 1100px) {
    .games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.game-card__play::before {
    content: '▶';
    font-size: 0.62rem;
    color: rgba(57, 255, 156, 0.9);
}

.game-card:hover .game-card__play,
.game-card:focus-visible .game-card__play {
    border-color: rgba(57, 255, 156, 0.75);
    color: var(--text-primary);
    box-shadow: 0 0 22px rgba(57, 255, 156, 0.35);
    transform: translateY(-1px);
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tag--free {
    border-color: rgba(57, 255, 156, 0.6);
    color: var(--bg-primary);
    background: rgba(57, 255, 156, 0.22);
    text-shadow: 0 0 12px rgba(57, 255, 156, 0.55);
}

.features {
    padding: var(--space-section-lg) 0;
    position: relative;
}

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

.feature-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: rgba(7, 22, 15, 0.78);
    border: 1px solid var(--border-subtle);
    display: grid;
    gap: 0.8rem;
    box-shadow: 0 18px 40px rgba(0, 25, 12, 0.55);
}

.feature-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(57, 255, 156, 0.16);
    display: grid;
    place-items: center;
    color: var(--accent-primary);
}

.feature-card__title {
    margin: 0;
    font-size: 1.05rem;
}

.team-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.team-hierarchy {
    display: grid;
    gap: 2.5rem;
    justify-items: center;
}

.team-tier {
    display: grid;
    justify-items: center;
    gap: 1.25rem;
    position: relative;
}

.team-tier__line {
    width: 2px;
    height: 26px;
    background: rgba(57, 255, 156, 0.35);
    border-radius: 999px;
    box-shadow: 0 0 12px rgba(57, 255, 156, 0.25);
}

.team-tier--grid .team-grid {
    width: 100%;
}

.team-tier--grid .team-grid::before {
    content: '';
    width: 70%;
    height: 2px;
    background: rgba(57, 255, 156, 0.35);
    border-radius: 999px;
    justify-self: center;
}

.team-tier--grid .team-grid > * {
    position: relative;
}

.team-tier--grid .team-grid > *::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 24px;
    background: rgba(57, 255, 156, 0.35);
    border-radius: 999px;
}

.team-card {
    text-align: left;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    min-height: 320px;
    max-width: 420px;
}

.team-card__header {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
}

.team-card__avatar {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(57, 255, 156, 0.35), rgba(19, 246, 255, 0.18));
    border: 1px solid rgba(57, 255, 156, 0.35);
    display: grid;
    place-items: center;
    color: var(--accent-primary);
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    overflow: hidden;
}

.team-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card__meta {
    display: grid;
    gap: 0.35rem;
}

.team-card__name {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.3;
    font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 0.02em;
}

.team-card__role {
    align-self: flex-start;
    font-size: 0.62rem;
}

.team-card__bio {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.98rem;
}

.team-card__meta {
    flex: 1;
}

.team-card__header + .team-card__bio {
    margin-top: 0.4rem;
}

.team-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top, rgba(57, 255, 156, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.team-card:hover,
.team-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(57, 255, 156, 0.5);
    box-shadow: 0 24px 45px rgba(0, 30, 14, 0.55);
}

.team-card:hover::after,
.team-card:focus-within::after {
    opacity: 1;
}

.team-card__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.team-hero__headline {
    max-width: 760px;
}

.team-hero__description {
    max-width: 680px;
}

.updates {
    padding: var(--space-section-lg) 0;
    background: rgba(5, 16, 11, 0.85);
    position: relative;
}

.updates::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 255, 153, 0.08), rgba(0, 0, 0, 0) 60%),
        linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 255, 153, 0.05) 100%);
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
}

.updates > * {
    position: relative;
    z-index: 1;
}

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

.update-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: rgba(6, 20, 13, 0.82);
    display: grid;
    gap: 0.8rem;
}

.update-card__date {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.testimonials {
    padding: var(--space-section-lg) 0 calc(var(--space-section-lg) + 0.4rem);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 30%, rgba(57, 255, 156, 0.16), transparent 65%),
        radial-gradient(circle at 85% 60%, rgba(19, 246, 255, 0.14), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.testimonials > * {
    position: relative;
    z-index: 1;
}

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

.testimonial-card {
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: rgba(6, 18, 13, 0.82);
    display: grid;
    gap: 1.2rem;
    box-shadow: 0 18px 40px rgba(0, 25, 12, 0.5);
}

.testimonial-card blockquote {
    margin: 0;
    font-size: 1rem;
    color: var(--text-secondary);
}

.testimonial-card footer {
    color: var(--text-muted);
    font-size: 0.85rem;
}

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


.page main {
    flex: 1;
    display: block;
}

.page-hero {
    position: relative;
    padding: var(--space-section-lg) 0 calc(var(--space-section-lg) - 0.8rem);
    overflow: hidden;
    text-align: center;
}

.page-hero::before,
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero::before {
    background:
        radial-gradient(circle at 20% 10%, rgba(57, 255, 156, 0.18), transparent 55%),
        radial-gradient(circle at 80% 12%, rgba(19, 246, 255, 0.16), transparent 55%),
        radial-gradient(circle at 50% 95%, rgba(0, 255, 170, 0.12), transparent 60%);
}

.page-hero::after {
    background: linear-gradient(120deg, rgba(0, 255, 153, 0.08) 0%, rgba(0, 0, 0, 0) 55%),
        linear-gradient(300deg, rgba(19, 246, 255, 0.1) 0%, rgba(0, 0, 0, 0) 45%);
    mix-blend-mode: screen;
    opacity: 0.6;
}

.page-hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.75rem;
    justify-items: center;
}

.page-hero__eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--accent-secondary);
    text-shadow: 0 0 12px rgba(19, 246, 255, 0.4);
}

.page-hero__headline {
    font-size: clamp(1.6rem, 3.6vw, 2.2rem);
    margin: 0;
    max-width: 720px;
    line-height: 1.45;
    text-transform: uppercase;
    text-shadow: 0 0 22px rgba(57, 255, 156, 0.25);
}

.page-hero__headline span {
    color: var(--accent-primary);
}

.page-hero__description {
    max-width: 640px;
    margin: 0;
    color: var(--text-secondary);
    text-shadow: 0 0 14px rgba(0, 255, 170, 0.18);
}

.page-hero__actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
}

.section {
    position: relative;
    padding: var(--space-section-lg) 0;
}

.features,
.updates,
.testimonials,
.section {
    border-top: 1px solid rgba(57, 255, 156, 0.1);
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

.features::after,
.updates::after,
.testimonials::after,
.section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(57, 255, 156, 0.3) 22%, rgba(19, 246, 255, 0.28) 50%, rgba(57, 255, 156, 0.3) 78%, transparent);
}

.section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 255, 153, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
    opacity: 0.65;
    pointer-events: none;
    z-index: 0;
}

.section--alt::before {
    background: linear-gradient(180deg, rgba(19, 246, 255, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
}

.section > * {
    position: relative;
    z-index: 1;
}

.section__heading {
    text-align: center;
    display: grid;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
}

.section__eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--accent-secondary);
    text-shadow: 0 0 12px rgba(19, 246, 255, 0.4);
}

.section__title {
    margin: 0;
    font-size: clamp(1.35rem, 3vw, 2rem);
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(57, 255, 156, 0.25);
}

.section__description {
    margin: 0 auto;
    max-width: 640px;
    color: var(--text-secondary);
    text-shadow: 0 0 12px rgba(0, 255, 170, 0.16);
}

.info-grid {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.info-card {
    padding: 1.6rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: rgba(6, 22, 15, 0.86);
    box-shadow: 0 22px 38px rgba(0, 25, 12, 0.5);
    display: grid;
    gap: 1rem;
}

.info-card__title {
    margin: 0;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
}

.info-card__description {
    margin: 0;
    color: var(--text-secondary);
}

.info-card__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

.info-card__list li::before {
    content: '◆';
    margin-right: 0.5rem;
    color: var(--accent-secondary);
}

.timeline {
    display: grid;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.timeline__item {
    display: grid;
    gap: 0.6rem;
    padding: 1.6rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: rgba(6, 18, 13, 0.82);
    box-shadow: 0 18px 34px rgba(0, 20, 10, 0.55);
}

.timeline__time {
    font-size: 0.75rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent-secondary);
}

.timeline__title {
    margin: 0;
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--text-primary);
}

.timeline__description {
    margin: 0;
    color: var(--text-secondary);
}

.contact-layout {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-card {
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: rgba(6, 22, 15, 0.86);
    box-shadow: 0 20px 38px rgba(0, 25, 12, 0.48);
    display: grid;
    gap: 1.2rem;
}

.contact-card__title {
    margin: 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-primary);
}

.contact-card__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 1rem;
}

.contact-card__label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contact-card__value {
    margin: 0.35rem 0 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
}

.contact-card__value a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dashed rgba(57, 255, 156, 0.4);
    padding-bottom: 0.15rem;
}

.contact-card__value a:hover,
.contact-card__value a:focus-visible {
    color: var(--accent-primary);
    border-bottom-color: rgba(57, 255, 156, 0.65);
}

.page-hero--shop::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(57, 255, 156, 0.2), transparent 65%),
        radial-gradient(circle at 80% 20%, rgba(19, 246, 255, 0.18), transparent 60%);
    opacity: 0.75;
    z-index: 0;
}

.shop-intro {
    display: grid;
    gap: 2.5rem;
}

.shop-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.shop-card {
    padding: 1.8rem;
    border-radius: 22px;
    border: 1px solid rgba(57, 255, 156, 0.18);
    background: linear-gradient(165deg, rgba(9, 28, 19, 0.98), rgba(4, 14, 10, 0.9));
    box-shadow: 0 18px 36px rgba(0, 18, 10, 0.55);
    display: grid;
    gap: 1.1rem;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
    position: relative;
    overflow: hidden;
}

.shop-card:hover,
.shop-card:focus-visible {
    transform: translateY(-8px);
    border-color: rgba(57, 255, 156, 0.45);
    box-shadow: 0 28px 48px rgba(0, 28, 14, 0.65);
    outline: none;
}

.shop-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 0%, rgba(19, 246, 255, 0.15), transparent 45%),
        radial-gradient(circle at 80% 100%, rgba(57, 255, 156, 0.12), transparent 50%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.shop-card:hover::before,
.shop-card:focus-visible::before {
    opacity: 1;
}

.shop-card__header {
    display: flex;
    gap: 0.85rem;
    align-items: center;
}

.shop-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(57, 255, 156, 0.16);
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    color: var(--accent-primary);
}

.shop-card__meta {
    margin: 0;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.shop-card__title {
    margin: 0.2rem 0 0;
    font-size: 1.05rem;
    font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 0.02em;
}

.shop-card__description {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.shop-card__media {
    position: relative;
    border-radius: 18px;
    height: 170px;
    overflow: hidden;
    background: linear-gradient(140deg, rgba(10, 30, 22, 0.95), rgba(4, 12, 9, 0.85));
    border: 1px solid rgba(57, 255, 156, 0.14);
    perspective: 900px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.shop-card__mockup {
    position: absolute;
    inset: 14px;
    border-radius: 16px;
    background: transparent;
    box-shadow: none;
    transform: none;
    transform-style: flat;
    animation: none;
    opacity: 0;
}

.shop-card__mockup::before,
.shop-card__mockup::after {
    display: none;
}

.shop-card__mockup::after {
    display: none;
}

.shop-card__glow {
    position: absolute;
    inset: auto 16% 10%;
    height: 34px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(57, 255, 156, 0.5), transparent 70%);
    opacity: 0.45;
    animation: shop-pulse 4.5s ease-in-out infinite;
}

.shop-card--keyboard .shop-card__mockup {
    background: linear-gradient(135deg, rgba(57, 255, 156, 0.35), rgba(19, 246, 255, 0.15));
}

.shop-card--keyboard .shop-card__media {
    background-image: linear-gradient(140deg, rgba(10, 30, 22, 0.7), rgba(4, 12, 9, 0.55)), url('../images/shop-keyboard.svg');
}

.shop-card--monitor .shop-card__mockup {
    background: linear-gradient(135deg, rgba(19, 246, 255, 0.3), rgba(10, 38, 32, 0.15));
}

.shop-card--monitor .shop-card__media {
    background-image: linear-gradient(140deg, rgba(6, 20, 26, 0.65), rgba(4, 12, 14, 0.55)), url('../images/shop-monitor.svg');
}

.shop-card--controller .shop-card__mockup {
    background: linear-gradient(135deg, rgba(154, 255, 45, 0.28), rgba(19, 246, 255, 0.1));
}

.shop-card--controller .shop-card__media {
    background-image: linear-gradient(140deg, rgba(10, 24, 16, 0.65), rgba(4, 12, 9, 0.55)), url('../images/shop-controller.svg');
}

.shop-card--disc .shop-card__mockup {
    background: radial-gradient(circle at 30% 30%, rgba(57, 255, 156, 0.35), rgba(4, 16, 10, 0.15));
}

.shop-card--disc .shop-card__media {
    background-image: linear-gradient(140deg, rgba(8, 14, 20, 0.7), rgba(4, 12, 12, 0.6)), url('../images/shop-disc.svg');
}

.shop-card--pixel .shop-card__mockup {
    background: linear-gradient(135deg, rgba(255, 109, 109, 0.3), rgba(57, 255, 156, 0.12));
}

.shop-card--pixel .shop-card__media {
    background-image: linear-gradient(140deg, rgba(20, 10, 16, 0.7), rgba(6, 18, 14, 0.6)), url('../images/shop-pixel.svg');
}

.shop-offer {
    padding: 1.8rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(19, 246, 255, 0.4);
    background: linear-gradient(145deg, rgba(6, 22, 15, 0.98), rgba(8, 28, 20, 0.9));
    box-shadow: 0 18px 30px rgba(0, 24, 14, 0.5);
    display: grid;
    gap: 0.85rem;
    text-align: left;
}

.shop-offer__eyebrow {
    margin: 0;
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent-secondary);
}

.shop-offer__title {
    margin: 0;
    font-size: 1.1rem;
}

.shop-offer__description {
    margin: 0;
    color: var(--text-secondary);
}

.shop-offer__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.shop-card__details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.shop-card__price {
    font-size: 1.1rem;
    color: var(--accent-tertiary);
    font-weight: 600;
}

.shop-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 120;
}

.shop-modal[hidden] {
    display: none;
}

.shop-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 4, 0.75);
    backdrop-filter: blur(6px);
}

.shop-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(900px, 92vw);
    max-height: 90vh;
    overflow: auto;
    border-radius: 26px;
    border: 1px solid rgba(57, 255, 156, 0.22);
    background: linear-gradient(160deg, rgba(8, 26, 18, 0.98), rgba(5, 16, 12, 0.96));
    box-shadow: 0 30px 60px rgba(0, 20, 10, 0.65);
    padding: 2rem;
    display: grid;
    gap: 1.5rem;
}

.shop-modal__close {
    justify-self: flex-end;
}

.shop-modal__content {
    display: grid;
    gap: 1.5rem;
}

.shop-modal__media {
    height: 240px;
    border-radius: 20px;
    background: linear-gradient(140deg, rgba(12, 36, 26, 0.95), rgba(4, 14, 10, 0.85));
    border: 1px solid rgba(57, 255, 156, 0.16);
    position: relative;
    overflow: hidden;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.shop-modal__mockup {
    position: absolute;
    inset: 16px;
    border-radius: 18px;
    background: transparent;
    transform: none;
    transform-style: flat;
    animation: none;
    opacity: 0;
}

.shop-modal__mockup::before,
.shop-modal__mockup::after {
    display: none;
}

.shop-modal__mockup::after {
    display: none;
}

.shop-modal--keyboard .shop-modal__mockup {
    background: linear-gradient(135deg, rgba(57, 255, 156, 0.45), rgba(19, 246, 255, 0.18));
}

.shop-modal--keyboard .shop-modal__media {
    background-image: linear-gradient(140deg, rgba(10, 30, 22, 0.7), rgba(4, 12, 9, 0.55)), url('../images/shop-keyboard.svg');
}

.shop-modal--monitor .shop-modal__mockup {
    background: linear-gradient(135deg, rgba(19, 246, 255, 0.4), rgba(10, 40, 32, 0.18));
}

.shop-modal--monitor .shop-modal__media {
    background-image: linear-gradient(140deg, rgba(6, 20, 26, 0.65), rgba(4, 12, 14, 0.55)), url('../images/shop-monitor.svg');
}

.shop-modal--controller .shop-modal__mockup {
    background: linear-gradient(135deg, rgba(154, 255, 45, 0.35), rgba(19, 246, 255, 0.12));
}

.shop-modal--controller .shop-modal__media {
    background-image: linear-gradient(140deg, rgba(10, 24, 16, 0.65), rgba(4, 12, 9, 0.55)), url('../images/shop-controller.svg');
}

.shop-modal--disc .shop-modal__mockup {
    background: radial-gradient(circle at 30% 30%, rgba(57, 255, 156, 0.45), rgba(4, 16, 10, 0.18));
}

.shop-modal--disc .shop-modal__media {
    background-image: linear-gradient(140deg, rgba(8, 14, 20, 0.7), rgba(4, 12, 12, 0.6)), url('../images/shop-disc.svg');
}

.shop-modal--pixel .shop-modal__mockup {
    background: linear-gradient(135deg, rgba(255, 109, 109, 0.4), rgba(57, 255, 156, 0.18));
}

.shop-modal--pixel .shop-modal__media {
    background-image: linear-gradient(140deg, rgba(20, 10, 16, 0.7), rgba(6, 18, 14, 0.6)), url('../images/shop-pixel.svg');
}

.shop-modal__details {
    display: grid;
    gap: 1rem;
}

.shop-modal__meta {
    margin: 0;
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.shop-modal__title {
    margin: 0;
    font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 0.02em;
}

.shop-modal__description {
    margin: 0;
    color: var(--text-secondary);
}

.shop-modal__stats {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.shop-modal__label {
    margin: 0;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.shop-modal__value {
    margin: 0.35rem 0 0;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.shop-modal__offer {
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(19, 246, 255, 0.45);
    background: rgba(7, 28, 20, 0.9);
    display: grid;
    gap: 0.55rem;
}

.shop-modal__offer-title {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: var(--accent-secondary);
}

.shop-modal__offer-text {
    margin: 0;
    color: var(--text-secondary);
}

body.is-modal-open {
    overflow: hidden;
}

@keyframes shop-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes shop-pulse {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.85;
    }
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border-subtle);
    background: rgba(6, 22, 15, 0.75);
    color: var(--text-primary);
    box-shadow: inset 0 0 0 1px rgba(0, 255, 153, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.button[disabled],
.button[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(57, 255, 156, 0.55);
    box-shadow: 0 18px 32px rgba(0, 25, 12, 0.55);
    outline: none;
}

.button--primary {
    background: linear-gradient(135deg, rgba(57, 255, 156, 0.92), rgba(19, 246, 255, 0.92));
    color: #04100a;
    box-shadow: 0 20px 38px rgba(0, 255, 170, 0.32);
}

.button--ghost {
    background: rgba(6, 22, 15, 0.65);
}

.button--subtle {
    border-color: rgba(19, 246, 255, 0.35);
    background: rgba(9, 34, 24, 0.65);
}

.button--block {
    width: 100%;
}

.auth-wrapper {
    display: grid;
    gap: 1.8rem;
    justify-items: center;
}

.auth-card {
    width: min(100%, 480px);
    padding: 2.2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: rgba(6, 22, 15, 0.88);
    box-shadow: 0 24px 40px rgba(0, 25, 12, 0.55);
    display: grid;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.auth-card--secondary {
    background: rgba(6, 18, 13, 0.82);
    border-color: rgba(57, 255, 156, 0.22);
}

.auth-card::before,
.auth-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.auth-card::before {
    background:
        radial-gradient(120% 140% at 15% 25%, rgba(19, 246, 255, 0.22), transparent 60%),
        radial-gradient(120% 120% at 85% 15%, rgba(57, 255, 156, 0.18), transparent 55%),
        linear-gradient(165deg, rgba(9, 34, 24, 0.85), rgba(2, 8, 5, 0.65));
    mix-blend-mode: screen;
    opacity: 0.75;
}

.auth-card::after {
    background: linear-gradient(120deg, transparent 15%, rgba(19, 246, 255, 0.45) 38%, rgba(57, 255, 156, 0.65) 50%, transparent 70%);
    transform: translateX(-120%);
    animation: authCardSweep 9s ease-in-out infinite;
}

@keyframes authCardSweep {
    0%,
    20% {
        transform: translateX(-120%);
        opacity: 0;
    }
    30% {
        opacity: 0.75;
    }
    50% {
        transform: translateX(120%);
        opacity: 0.35;
    }
    65%,
    100% {
        transform: translateX(120%);
        opacity: 0;
    }
}

#loginForm {
    display: grid;
    gap: 1.5rem;
}

#loginForm .form-grid {
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr);
}

#loginForm .button--primary {
    position: relative;
    z-index: 1;
}

.auth-feedback {
    margin: 0;
    text-align: center;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.auth-feedback--loading {
    color: var(--accent-secondary);
    text-shadow: 0 0 12px rgba(19, 246, 255, 0.45);
}

.auth-feedback--error {
    color: #ff7a6b;
    text-shadow: 0 0 14px rgba(255, 122, 107, 0.5);
}

.auth-support {
    display: grid;
    gap: 0.75rem;
    justify-items: center;
    font-size: 0.85rem;
}

.auth-support__trigger {
    background: transparent;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--accent-secondary);
    border-bottom: 1px dashed rgba(19, 246, 255, 0.45);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

.auth-support__trigger:hover,
.auth-support__trigger:focus-visible {
    color: var(--accent-primary);
    border-bottom-color: rgba(57, 255, 156, 0.65);
    outline: none;
    filter: drop-shadow(0 0 6px rgba(57, 255, 156, 0.4));
}

.auth-support__hint {
    margin: 0;
    color: var(--text-muted);
}

.auth-recovery__description {
    margin: 0;
    color: var(--text-secondary);
    text-align: center;
}

.auth-blink {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--accent-tertiary);
    text-shadow: 0 0 8px rgba(19, 246, 255, 0.45);
    position: relative;
    animation: authBlink 1.4s steps(2) infinite, authGlow 5s ease-in-out infinite;
    text-align: center;
}

.auth-blink::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        180deg,
        rgba(19, 246, 255, 0.16) 0,
        rgba(19, 246, 255, 0.16) 2px,
        transparent 2px,
        transparent 6px
    );
    mix-blend-mode: screen;
    opacity: 0.4;
    animation: authScan 6s linear infinite;
    pointer-events: none;
}

@keyframes authBlink {
    0%,
    42% {
        opacity: 1;
    }
    50% {
        opacity: 0.25;
    }
    58% {
        opacity: 1;
    }
    100% {
        opacity: 0.85;
    }
}

@keyframes authGlow {
    0%,
    100% {
        text-shadow: 0 0 8px rgba(19, 246, 255, 0.35), 0 0 18px rgba(57, 255, 156, 0.15);
        letter-spacing: 0.18em;
    }
    45% {
        text-shadow: 0 0 12px rgba(19, 246, 255, 0.55), 0 0 22px rgba(57, 255, 156, 0.35);
        letter-spacing: 0.22em;
    }
    70% {
        text-shadow: 0 0 10px rgba(19, 246, 255, 0.45), 0 0 18px rgba(57, 255, 156, 0.25);
        letter-spacing: 0.2em;
    }
}

@keyframes authScan {
    0% {
        transform: translateY(-15%);
    }
    50% {
        transform: translateY(15%);
    }
    100% {
        transform: translateY(-15%);
    }
}

.form-grid {
    display: grid;
    gap: 1.1rem;
}

.form-grid--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-field {
    display: grid;
    gap: 0.5rem;
    text-align: left;
}

.form-field label {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-field input,
.form-field textarea {
    font: inherit;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    padding: 0.75rem 1rem;
    background: rgba(6, 22, 15, 0.85);
    color: var(--text-primary);
    letter-spacing: 0.05em;
    box-shadow: inset 0 0 0 1px rgba(0, 255, 153, 0.12);
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
    outline: none;
    border-color: rgba(57, 255, 156, 0.6);
    box-shadow: 0 0 0 3px rgba(57, 255, 156, 0.25);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
    border-color: rgba(255, 122, 107, 0.75);
    box-shadow: 0 0 0 1px rgba(255, 122, 107, 0.35), inset 0 0 0 1px rgba(255, 122, 107, 0.18);
}

.form-field input[aria-invalid="true"]:focus-visible,
.form-field textarea[aria-invalid="true"]:focus-visible {
    border-color: rgba(255, 145, 130, 0.95);
    box-shadow: 0 0 0 3px rgba(255, 122, 107, 0.3);
}

@media (min-width: 640px) {
    #loginForm {
        grid-template-columns: minmax(0, 1fr);
    }

    #loginForm .form-grid {
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
    }

    #loginForm .button--block {
        width: 100%;
        justify-self: stretch;
    }
}

.form-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.link-inline {
    color: var(--accent-secondary);
    text-decoration: none;
    border-bottom: 1px dashed rgba(19, 246, 255, 0.45);
    padding-bottom: 0.12rem;
}

.link-inline:hover,
.link-inline:focus-visible {
    color: var(--accent-primary);
    border-bottom-color: rgba(57, 255, 156, 0.65);
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(6, 22, 15, 0.75);
    border: 1px solid rgba(57, 255, 156, 0.35);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}


.pricing-grid {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.premium-plan-section {
    overflow: hidden;
}

.premium-plan-section::after {
    content: '';
    position: absolute;
    inset: -40% -15% -45%;
    background: radial-gradient(ellipse at 20% 20%, rgba(57, 255, 156, 0.16), transparent 70%), radial-gradient(ellipse at 80% 120%, rgba(19, 246, 255, 0.14), transparent 75%);
    opacity: 0.95;
    pointer-events: none;
    z-index: 0;
    filter: blur(0.5px);
}

.premium-plan-grid {
    position: relative;
    gap: clamp(1.8rem, 3vw, 2.4rem);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.premium-plan-grid::before {
    content: '';
    position: absolute;
    inset: -2rem;
    border-radius: calc(var(--radius-lg) * 1.65);
    background: linear-gradient(120deg, rgba(57, 255, 156, 0.08), rgba(19, 246, 255, 0.1) 45%, rgba(244, 140, 255, 0.08) 100%);
    filter: blur(60px);
    opacity: 0.9;
    pointer-events: none;
    z-index: 0;
}

.premium-plan-grid > * {
    position: relative;
    z-index: 1;
}

.pricing-card {
    padding: 2rem 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: rgba(6, 22, 15, 0.86);
    box-shadow: 0 24px 40px rgba(0, 25, 12, 0.55);
    display: grid;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.premium-plan-grid {
    align-items: stretch;
}


.pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(57, 255, 156, 0.18), transparent 70%);
    opacity: 0.6;
    pointer-events: none;
}

.premium-plan {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: clamp(2rem, 2.2rem + 1vw, 2.6rem) clamp(1.75rem, 1.6rem + 1vw, 2.4rem);
    transition: transform 0.3s ease, box-shadow 0.35s ease;
    border: 1px solid rgba(57, 255, 156, 0.22);
    background: linear-gradient(160deg, rgba(6, 22, 15, 0.94) 6%, rgba(6, 22, 25, 0.78) 100%);
    backdrop-filter: blur(14px);
}

.premium-plan::before {
    background: radial-gradient(circle at 16% 0%, rgba(57, 255, 156, 0.22), transparent 65%), radial-gradient(circle at 90% 110%, rgba(19, 246, 255, 0.18), transparent 70%);
    opacity: 0.75;
}

.premium-plan__shine {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(57, 255, 156, 0.38), rgba(19, 246, 255, 0.18) 48%, rgba(244, 140, 255, 0.2) 95%);
    mix-blend-mode: screen;
    opacity: 0.42;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 0;
}

.premium-plan:hover,
.premium-plan:focus-within {
    transform: translateY(-8px);
    box-shadow: 0 32px 60px rgba(0, 35, 16, 0.65);
}

.premium-plan:hover .premium-plan__shine,
.premium-plan:focus-within .premium-plan__shine {
    opacity: 0.78;
}

.premium-plan--highlight {
    border-color: rgba(19, 246, 255, 0.5);
    box-shadow: 0 32px 64px rgba(0, 40, 30, 0.68);
    background: linear-gradient(160deg, rgba(6, 22, 26, 0.96) 6%, rgba(7, 25, 30, 0.82) 100%);
}

.premium-plan--highlight .premium-plan__shine {
    background: linear-gradient(130deg, rgba(19, 246, 255, 0.54), rgba(57, 255, 156, 0.36) 55%, rgba(255, 180, 255, 0.32) 95%);
    opacity: 0.6;
}

.premium-plan--highlight:hover .premium-plan__shine,
.premium-plan--highlight:focus-within .premium-plan__shine {
    opacity: 0.9;
}

.pricing-card > * {
    position: relative;
    z-index: 1;
}

.premium-plan__header {
    display: grid;
    gap: 0.8rem;
}

.premium-plan__price-block {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.pricing-card__title {
    margin: 0;
    font-size: 1.05rem;
    text-transform: uppercase;
    color: var(--accent-primary);
}

.premium-plan--highlight .pricing-card__title {
    color: var(--accent-secondary);
}

.pricing-card__price {
    font-size: clamp(2.25rem, 2rem + 2vw, 2.9rem);
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(57, 255, 156, 0.25);
}

.premium-plan--highlight .pricing-card__price {
    text-shadow: 0 0 24px rgba(19, 246, 255, 0.35);
}

.premium-plan__billing {
    font-size: 0.8rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(19, 246, 255, 0.6);
}

.premium-plan--highlight .premium-plan__billing {
    color: rgba(57, 255, 156, 0.7);
}

.pricing-card__description {
    margin: 0;
    color: var(--text-secondary);
}

.pricing-card__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-card__list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-card__list li::before {
    content: '▸';
    color: var(--accent-secondary);
    margin: 0;
}

.premium-plan__list {
    color: var(--text-secondary);
}

.premium-plan__list li {
    position: relative;
    padding-left: 2.15rem;
    align-items: flex-start;
    line-height: 1.55;
}

.premium-plan__list li::before {
    content: '';
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 0.45rem;
    background: linear-gradient(135deg, rgba(57, 255, 156, 0.32), rgba(19, 246, 255, 0.16));
    border: 1px solid rgba(57, 255, 156, 0.55);
    box-shadow: 0 0 18px rgba(0, 255, 170, 0.25);
    position: absolute;
    left: 0;
    top: 0.15rem;
}

.premium-plan__list li::after {
    content: '';
    position: absolute;
    left: 0.48rem;
    top: 0.48rem;
    width: 0.42rem;
    height: 0.7rem;
    border-right: 2px solid rgba(57, 255, 156, 0.9);
    border-bottom: 2px solid rgba(57, 255, 156, 0.9);
    transform: rotate(45deg);
}

.premium-plan__footer {
    margin-top: auto;
    display: grid;
    gap: 0.85rem;
}

.premium-plan__note {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.58);
}

.premium-plan__note--accent {
    color: rgba(19, 246, 255, 0.85);
}

.premium-plan--highlight .status-pill {
    border-color: rgba(19, 246, 255, 0.6);
    background: rgba(6, 40, 38, 0.72);
    box-shadow: 0 0 18px rgba(19, 246, 255, 0.4);
}

.premium-plan--highlight .button--primary {
    box-shadow: 0 18px 32px rgba(19, 246, 255, 0.35);
}

@media (min-width: 960px) {
    .premium-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .premium-plan--highlight {
        transform: scale(1.02);
    }

    .premium-plan--highlight:hover,
    .premium-plan--highlight:focus-within {
        transform: translateY(-10px) scale(1.02);
    }

    .shop-modal__content {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
        align-items: start;
    }
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(57, 255, 156, 0.4);
    background: rgba(6, 22, 15, 0.75);
    color: var(--accent-secondary);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.status-pill--alert {
    border-color: rgba(255, 109, 109, 0.6);
    background: rgba(43, 10, 10, 0.65);
    color: #ffb1b1;
    box-shadow: 0 0 18px rgba(255, 109, 109, 0.2);
}

.page-cta {
    text-align: center;
    display: grid;
    gap: 1.25rem;
    justify-items: center;
}

.page-cta__description {
    margin: 0;
    max-width: 520px;
    color: var(--text-secondary);
}

.page-cta__actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
}

.premium-payment {
    display: grid;
    gap: 1.8rem;
    justify-items: center;
}

.premium-payment__back {
    justify-self: start;
}

.premium-payment__grid {
    display: grid;
    gap: 1.75rem;
    align-items: start;
    justify-content: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 1100px);
}

.premium-payment__summary,
.premium-payment__form {
    width: 100%;
    margin-inline: auto;
    justify-self: center;
}

.premium-payment__summary {
    align-self: start;
    gap: 1.25rem;
}

.premium-payment__lead {
    margin: 0;
    color: var(--text-secondary);
}

.order-summary {
    display: grid;
    gap: 0.75rem;
    padding: 1.2rem 1.4rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(57, 255, 156, 0.25);
    background: rgba(6, 22, 15, 0.68);
}

.summary-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    column-gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.summary-line > :first-child {
    min-width: 0;
}

.summary-line > :last-child {
    text-align: right;
}

.summary-line--total {
    padding-top: 0.6rem;
    margin-top: 0.4rem;
    border-top: 1px solid rgba(57, 255, 156, 0.2);
    color: var(--text-primary);
}

.premium-payment__benefits {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.coupon-box {
    padding: 1.2rem 1.4rem;
    border-radius: var(--radius-md);
    border: 1px dashed rgba(19, 246, 255, 0.35);
    background: rgba(8, 26, 19, 0.7);
    display: grid;
    gap: 1rem;
}

.coupon-box__title {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: var(--accent-secondary);
}

.form-alert {
    margin: 0;
    padding: 1.1rem 1.4rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    background: rgba(8, 10, 10, 0.65);
}

.form-alert--error {
    border-color: rgba(255, 122, 107, 0.45);
    background: rgba(255, 122, 107, 0.12);
    color: #ff968b;
    text-shadow: 0 0 12px rgba(255, 122, 107, 0.35);
}

.loading-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 5, 3, 0.95);
    backdrop-filter: blur(6px);
    z-index: 200;
    padding: 2rem;
}

.loading-overlay[hidden] {
    display: none;
}

.loading-overlay__panel {
    display: grid;
    gap: 1.4rem;
    justify-items: center;
    padding: 2rem 2.4rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(19, 246, 255, 0.28);
    background: rgba(6, 22, 15, 0.92);
    box-shadow: 0 32px 60px rgba(0, 25, 12, 0.65);
}

.loading-spinner {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 3px solid rgba(19, 246, 255, 0.25);
    border-top-color: var(--accent-secondary);
    animation: spin 0.85s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    color: var(--accent-primary);
}

.processing-steps {
    display: grid;
    gap: 0.75rem;
    width: min(100%, 420px);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.processing-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.45;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.processing-step .step-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: rgba(57, 255, 156, 0.25);
    box-shadow: 0 0 0 1px rgba(57, 255, 156, 0.25);
}

.processing-step.active {
    opacity: 1;
    color: var(--accent-primary);
}

.processing-step.active .step-dot {
    background: var(--accent-primary);
    box-shadow: 0 0 12px rgba(57, 255, 156, 0.6);
}

.processing-step.completed {
    opacity: 0.7;
}

.processing-step.completed .step-dot {
    background: rgba(57, 255, 156, 0.5);
}

.processing-step.failed {
    opacity: 1;
    color: #ff968b;
}

.processing-step.failed .step-dot {
    background: #ff7a6b;
    box-shadow: 0 0 12px rgba(255, 122, 107, 0.55);
}

footer {
    padding: 2.5rem 0 3rem;
    border-top: 1px solid var(--border-subtle);
    background: rgba(3, 10, 8, 0.9);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 255, 153, 0.08) 0%, rgba(0, 0, 0, 0) 60%);
    pointer-events: none;
    opacity: 0.8;
    z-index: 0;
}

.footer__content {
    text-align: center;
    color: var(--text-muted);
    display: grid;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.footer__links {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

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

.footer__links a:hover,
.footer__links a:focus-visible {
    color: var(--accent-primary);
    text-shadow: 0 0 12px rgba(57, 255, 156, 0.55);
}

@keyframes page-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.section--premium-meta {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
}

.trust-strip {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.trust-strip__item {
    margin: 0;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: rgba(10, 28, 19, 0.78);
    border: 1px solid rgba(57, 255, 156, 0.24);
    color: var(--text-secondary);
}

.faq {
    display: grid;
    gap: 1.2rem;
}

.faq__list {
    display: grid;
    gap: 0.75rem;
}

.faq__item {
    border: 1px solid rgba(57, 255, 156, 0.2);
    border-radius: 14px;
    background: rgba(8, 23, 15, 0.75);
    padding: 0.9rem 1rem;
}

.faq__item summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
}

.faq__item p {
    margin: 0.65rem 0 0;
    color: var(--text-secondary);
}


body {
    background:
        radial-gradient(1200px circle at 8% -10%, rgba(19, 246, 255, 0.11), transparent 48%),
        radial-gradient(950px circle at 88% 8%, rgba(120, 255, 208, 0.12), transparent 42%),
        linear-gradient(160deg, #030807 0%, #040d0b 55%, #020504 100%);
}

main {
    position: relative;
    overflow: clip;
}

main::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 24%, transparent 70%, rgba(31, 255, 173, 0.03));
    z-index: 0;
}

main > * {
    position: relative;
    z-index: 1;
}

.hero {
    isolation: isolate;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(23, 255, 188, 0.04), transparent 55%, rgba(30, 169, 255, 0.08));
    pointer-events: none;
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 2;
}

.hero__scene {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-orbit,
.hero-shard,
.hero-glow {
    position: absolute;
    filter: drop-shadow(0 12px 40px rgba(0, 255, 195, 0.2));
}

.hero-orbit {
    border-radius: 999px;
    border: 1px solid rgba(104, 255, 209, 0.28);
}

.hero-orbit--one {
    width: min(44vw, 540px);
    height: min(44vw, 540px);
    right: -14vw;
    top: -14vw;
    transform-origin: center;
    animation: orbit-rotate 26s linear infinite;
}

.hero-orbit--two {
    width: min(31vw, 380px);
    height: min(31vw, 380px);
    right: 8vw;
    top: 8vh;
    border-color: rgba(19, 246, 255, 0.22);
    animation: orbit-rotate-reverse 20s linear infinite;
}

.hero-shard {
    width: 140px;
    height: 140px;
    background: linear-gradient(130deg, rgba(94, 255, 209, 0.42), rgba(19, 246, 255, 0));
    clip-path: polygon(50% 0%, 100% 45%, 72% 100%, 0% 64%);
}

.hero-shard--one {
    right: 21vw;
    top: 12vh;
    animation: shard-float 6.2s ease-in-out infinite;
}

.hero-shard--two {
    right: 6vw;
    bottom: 8vh;
    width: 90px;
    height: 90px;
    opacity: 0.72;
    animation: shard-float 5.3s ease-in-out infinite reverse;
}

.hero-glow {
    width: min(48vw, 620px);
    height: min(48vw, 620px);
    border-radius: 50%;
    right: -16vw;
    top: -10vw;
    background: radial-gradient(circle at center, rgba(19, 246, 255, 0.21), rgba(19, 246, 255, 0));
    animation: glow-pulse 8.8s ease-in-out infinite;
}

.hero__metrics {
    margin-top: 2.1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    max-width: 760px;
}

.hero-metric {
    border: 1px solid rgba(67, 255, 182, 0.26);
    background: linear-gradient(145deg, rgba(8, 28, 20, 0.82), rgba(4, 16, 12, 0.7));
    border-radius: 14px;
    padding: 0.85rem 0.95rem;
    backdrop-filter: blur(7px);
}

.hero-metric__value {
    margin: 0;
    font-family: 'Press Start 2P', 'Space Grotesk', sans-serif;
    font-size: clamp(0.78rem, 1.8vw, 0.95rem);
    color: #7effd9;
    letter-spacing: 0.08em;
}

.hero-metric__label {
    margin: 0.45rem 0 0;
    font-size: 0.72rem;
    color: var(--text-secondary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section,
.games,
.features,
.updates,
.testimonials {
    position: relative;
}

.section::before,
.games::before,
.features::before,
.updates::before,
.testimonials::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(57, 255, 156, 0.16) 20%, rgba(19, 246, 255, 0.22) 50%, rgba(57, 255, 156, 0.16) 80%, transparent 100%);
}

.hero__cta,
.button,
.primary-nav__link,
.filter-button,
.game-card,
.feature-card,
.update-card,
.info-card,
.pricing-card,
.contact-card,
.team-card,
.shop-card,
.auth-card {
    transition-timing-function: var(--easing-smooth);
}

.hero__cta:hover,
.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(19, 246, 255, 0.2);
}

.site-preloader {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    gap: 1.1rem;
    background:
        radial-gradient(circle at 35% 20%, rgba(19, 246, 255, 0.17), rgba(19, 246, 255, 0) 45%),
        radial-gradient(circle at 72% 70%, rgba(57, 255, 156, 0.16), rgba(57, 255, 156, 0) 50%),
        rgba(2, 8, 6, 0.97);
    transition: opacity 0.6s var(--easing-smooth), visibility 0.6s var(--easing-smooth);
}

.site-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.site-preloader__core {
    position: relative;
    width: 106px;
    height: 106px;
    display: grid;
    place-items: center;
}

.site-preloader__ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(92, 255, 216, 0.38);
}

.site-preloader__ring--outer {
    inset: 0;
    border-top-color: rgba(175, 255, 109, 0.86);
    animation: orbit-rotate 1.5s linear infinite;
}

.site-preloader__ring--inner {
    inset: 20%;
    border-color: rgba(19, 246, 255, 0.4);
    border-bottom-color: rgba(19, 246, 255, 0.86);
    animation: orbit-rotate-reverse 1.1s linear infinite;
}

.site-preloader__pixel {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: linear-gradient(135deg, #9fff3e, #13f6ff);
    box-shadow: 0 0 18px rgba(19, 246, 255, 0.5);
    animation: preloader-pulse 1.2s var(--easing-smooth) infinite;
}

.site-preloader__label {
    margin: 0;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: rgba(207, 255, 234, 0.9);
}

body.is-loading {
    overflow: hidden;
}

@keyframes orbit-rotate {
    to { transform: rotate(360deg); }
}

@keyframes orbit-rotate-reverse {
    to { transform: rotate(-360deg); }
}

@keyframes shard-float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -10px, 0); }
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes preloader-pulse {
    0%, 100% { transform: scale(0.9); }
    50% { transform: scale(1.12); }
}

@media (max-width: 900px) {
    .primary-nav__list {
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
    }

    .primary-nav {
        position: absolute;
        inset: calc(100% + 0.5rem) 1.75rem auto;
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem;
        border-radius: var(--radius-md);
        background: rgba(6, 22, 15, 0.96);
        border: 1px solid var(--border-subtle);
        box-shadow: 0 18px 40px rgba(0, 25, 12, 0.55);
        opacity: 0;
        transform: translateY(-0.5rem);
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .primary-nav.is-open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .primary-nav__list {
        flex-direction: column;
        align-items: flex-start;
    }

    .primary-nav__cta {
        margin-top: 0.75rem;
        align-self: stretch;
        text-align: center;
    }

    .games-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .games-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
    }

    .games-toolbar__search,
    .filter-group {
        width: 100%;
        justify-content: stretch;
    }

    .filter-group {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-button {
        width: 100%;
        text-align: center;
    }

    .hero__scene {
        opacity: 0.5;
    }

    .hero__metrics {
        grid-template-columns: minmax(0, 1fr);
        max-width: 340px;
    }

    .hero-metric__label {
        font-size: 0.68rem;
    }

    .page-hero {
        padding: 3.5rem 0 2.5rem;
    }

    .page-hero__headline {
        font-size: clamp(1.4rem, 5vw, 1.9rem);
    }

    .page-hero__description {
        font-size: 0.95rem;
    }

    .section {
        padding: 3rem 0;
    }

    .info-grid,
    .contact-layout,
    .pricing-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .button--block {
        width: 100%;
    }

    .form-grid--split {
        grid-template-columns: minmax(0, 1fr);
    }

    .premium-payment__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .premium-payment__back {
        justify-self: stretch;
    }

    .motion-reveal {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }

    .game-card__media::after {
        animation: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .hero-orbit,
    .hero-shard,
    .hero-glow,
    .site-preloader__ring,
    .site-preloader__pixel {
        animation: none !important;
    }

    .ui-aurora {
        display: none;
    }

    body::after {
        transition: none;
    }
}
