/* ============================================================
   OVERFLOW — matte black / liquid glass redesign
   ============================================================ */

:root {
    --bg: #060607;
    --bg-soft: #0b0b0d;
    --panel: rgba(255, 255, 255, 0.035);
    --panel-strong: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.10);
    --glass-border-strong: rgba(255, 255, 255, 0.18);
    --text: #f2f3f5;
    --text-dim: #9a9ca3;
    --text-faint: #64666d;
    --blue: #3b82f6;
    --blue-bright: #60a5fa;
    --blue-deep: #1d4ed8;
    --green: #34d399;
    --radius: 18px;
    --radius-sm: 12px;
    --font: 'Inter', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* subtle ambient glow so the black doesn't feel flat */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 50% -10%, rgba(59, 130, 246, 0.08), transparent 60%),
        radial-gradient(ellipse 50% 35% at 80% 110%, rgba(59, 130, 246, 0.04), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

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

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::selection { background: rgba(59, 130, 246, 0.35); }

/* ============================================================
   NAVBAR — floating glass pill
   ============================================================ */

.navbar {
    position: fixed;
    top: 18px;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    padding: 0 16px;
    pointer-events: none;
}

.nav-shell {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(14, 14, 16, 0.72);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.25s ease;
}

.nav-logo:hover { transform: scale(1.08); }

.nav-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-logo .logo-fallback {
    display: none;
    font-weight: 800;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--blue-bright), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-logo.no-img .logo-fallback { display: block; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    display: block;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-dim);
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.nav-links a:hover { color: var(--text); }

.nav-links a.active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.10);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* language picker */
.lang-picker { position: relative; }

.lang-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border-radius: 999px;
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.lang-btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.07); }

.lang-btn .chev { transition: transform 0.2s ease; }
.lang-picker.open .chev { transform: rotate(180deg); }

.lang-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 170px;
    padding: 6px;
    border-radius: 14px;
    background: rgba(18, 18, 21, 0.92);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.2s ease;
}

.lang-picker.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: var(--text-dim);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease, color 0.15s ease;
}

.lang-menu button:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.lang-menu button.selected { color: var(--blue-bright); }

/* ============================================================
   BUTTONS — liquid glass + glowing blue
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 30px;
    border-radius: 999px;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.3, 1.1), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    will-change: transform;
}

.btn:active { transform: scale(0.97); }

/* liquid glass */
.btn-glass {
    color: var(--text);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        0 4px 16px rgba(0, 0, 0, 0.35);
}

.btn-glass:hover {
    transform: translateY(-2px);
    border-color: var(--glass-border-strong);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.06));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 8px 28px rgba(0, 0, 0, 0.45);
}

/* glowing blue */
.btn-glow {
    color: #fff;
    background: linear-gradient(180deg, #4f92ff, var(--blue) 55%, var(--blue-deep));
    border: 1px solid rgba(147, 197, 253, 0.5);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 0 22px rgba(59, 130, 246, 0.55),
        0 0 60px rgba(59, 130, 246, 0.25),
        0 4px 16px rgba(0, 0, 0, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    animation: glowPulse 3s ease-in-out infinite;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 32px rgba(59, 130, 246, 0.75),
        0 0 90px rgba(59, 130, 246, 0.35),
        0 8px 24px rgba(0, 0, 0, 0.5);
    animation: none;
}

/* glowing green — unlocked/success actions */
.btn-green {
    color: #fff;
    background: linear-gradient(180deg, #4ade80, #22c55e 55%, #15803d);
    border: 1px solid rgba(134, 239, 172, 0.5);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 0 22px rgba(34, 197, 94, 0.55),
        0 0 60px rgba(34, 197, 94, 0.25),
        0 4px 16px rgba(0, 0, 0, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.btn-green:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 32px rgba(34, 197, 94, 0.75),
        0 0 90px rgba(34, 197, 94, 0.35),
        0 8px 24px rgba(0, 0, 0, 0.5);
}

@keyframes glowPulse {
    0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 0 22px rgba(59,130,246,0.55), 0 0 60px rgba(59,130,246,0.25), 0 4px 16px rgba(0,0,0,0.4); }
    50% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 0 30px rgba(59,130,246,0.7), 0 0 80px rgba(59,130,246,0.33), 0 4px 16px rgba(0,0,0,0.4); }
}

/* ============================================================
   HERO (homepage)
   ============================================================ */

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 24px 80px;
}

.hero-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    animation: floatIn 0.9s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

.hero-logo img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 0 36px rgba(59, 130, 246, 0.35));
}

.hero-brand {
    font-size: clamp(2.6rem, 7vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    filter: drop-shadow(0 0 36px rgba(59, 130, 246, 0.3));
}

.hero-logo.no-img img { display: none; }

.hero-tagline {
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    color: var(--text-dim);
    font-weight: 400;
    max-width: 520px;
    line-height: 1.55;
    margin-bottom: 42px;
    animation: floatIn 0.9s 0.1s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 90px;
    animation: floatIn 0.9s 0.2s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

@keyframes floatIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SCRIPT / CODE CARD
   ============================================================ */

.script-section {
    width: 100%;
    max-width: 760px;
    animation: floatIn 0.9s 0.3s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

.section-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    color: var(--text-faint);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 26px;
}

.code-card {
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    text-align: left;
}

.code-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.code-lang {
    font-size: 0.82rem;
    color: var(--text-faint);
    font-weight: 500;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.copy-btn:hover {
    border-color: var(--glass-border-strong);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07));
}

.copy-btn.copied {
    color: var(--green);
    border-color: rgba(52, 211, 153, 0.4);
}

.code-block {
    padding: 26px 22px;
    background: rgba(5, 8, 15, 0.6);
    font-family: var(--mono);
    font-size: 0.92rem;
    overflow-x: auto;
    white-space: pre;
}

.lua-fn { color: #61afef; }
.lua-method { color: #56b6c2; }
.lua-str { color: #e5734f; }

/* ============================================================
   PAGE SHELL (inner pages)
   ============================================================ */

.page {
    min-height: 100vh;
    padding: 150px 24px 100px;
    max-width: 1080px;
    margin: 0 auto;
}

.page-hero {
    text-align: center;
    margin-bottom: 64px;
    animation: floatIn 0.8s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

.page-hero h1 {
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.accent {
    background: linear-gradient(135deg, var(--blue-bright), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 24px rgba(59, 130, 246, 0.4));
}

.page-hero p {
    color: var(--text-dim);
    font-size: 1.08rem;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: 0.92rem;
    font-weight: 500;
    margin-bottom: 34px;
    transition: color 0.2s ease;
}

.back-link:hover { color: var(--text); }

/* ============================================================
   GET KEY — premium panel
   ============================================================ */

.premium-panel {
    position: relative;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    padding: 40px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    margin-bottom: 70px;
    animation: floatIn 0.8s 0.1s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

.best-value-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blue-bright);
    background: rgba(59, 130, 246, 0.10);
    border: 1px solid rgba(59, 130, 246, 0.45);
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.25);
    margin-bottom: 20px;
    width: fit-content;
}

.premium-panel h2 {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.premium-panel .panel-desc {
    color: var(--text-dim);
    font-size: 1rem;
    margin-bottom: 28px;
    line-height: 1.55;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

.feature-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--blue-bright), var(--blue-deep));
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.feature-check svg { width: 12px; height: 12px; }

/* buy column */
.buy-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

.buy-card {
    padding: 22px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.buy-card .buy-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 6px;
}

.buy-card .buy-sub {
    font-size: 0.86rem;
    color: var(--text-dim);
    margin-bottom: 15px;
}

.buy-card .btn {
    width: 100%;
    padding: 13px 20px;
    font-size: 0.9rem;
}

.buy-card.highlight {
    background: rgba(59, 130, 246, 0.07);
    border: 1px solid rgba(59, 130, 246, 0.45);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.buy-card.highlight .buy-label { color: var(--blue-bright); }

.buy-note {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-faint);
}

/* free key methods */
.free-methods-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
    animation: floatIn 0.8s 0.2s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

.free-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green);
    background: rgba(52, 211, 153, 0.10);
    border: 1px solid rgba(52, 211, 153, 0.4);
    box-shadow: 0 0 16px rgba(52, 211, 153, 0.15);
}

.free-methods-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
    animation: floatIn 0.8s 0.3s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

.method-card {
    --method-accent: var(--blue);
    padding: 30px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.method-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--method-accent) 45%, transparent);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.4),
        0 0 26px color-mix(in srgb, var(--method-accent) 18%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.method-head {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 20px;
}

.method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--method-accent) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--method-accent) 32%, transparent);
    color: var(--method-accent);
}

.method-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.method-head h4 { font-size: 1.15rem; font-weight: 700; }

.method-perks {
    list-style: none;
    margin-bottom: 24px;
}

.method-perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.method-perks svg { color: var(--green); min-width: 16px; }

.method-card .btn { width: 100%; padding: 13px 20px; font-size: 0.92rem; }

.method-card .btn-glass {
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--method-accent) 22%, transparent),
        color-mix(in srgb, var(--method-accent) 12%, transparent));
    border-color: color-mix(in srgb, var(--method-accent) 40%, transparent);
    color: color-mix(in srgb, var(--method-accent) 65%, #fff);
    box-shadow:
        inset 0 1px 0 color-mix(in srgb, var(--method-accent) 30%, transparent),
        0 4px 16px rgba(0, 0, 0, 0.35);
}

.method-card .btn-glass:hover {
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--method-accent) 34%, transparent),
        color-mix(in srgb, var(--method-accent) 20%, transparent));
    border-color: color-mix(in srgb, var(--method-accent) 65%, transparent);
    color: #fff;
    box-shadow:
        inset 0 1px 0 color-mix(in srgb, var(--method-accent) 45%, transparent),
        0 0 24px color-mix(in srgb, var(--method-accent) 35%, transparent),
        0 8px 28px rgba(0, 0, 0, 0.45);
}

/* key-system start page (Discord gate) */
.start-wrap {
    max-width: 460px;
    margin: 0 auto;
    animation: floatIn 0.8s 0.1s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

.start-card {
    --method-accent: var(--blue);
    padding: 38px 34px;
    border-radius: 24px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.start-card .method-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 16px;
}

.start-card .method-icon img { width: 32px; height: 32px; }

.start-method-name {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.start-note {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 28px;
}

.start-card .btn {
    width: 100%;
    margin-bottom: 12px;
    padding: 14px 20px;
}

.btn.locked {
    opacity: 0.45;
    pointer-events: none;
    animation: none;
}

.btn-spinner {
    width: 15px;
    height: 15px;
    min-width: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ============================================================
   GAMES PAGE
   ============================================================ */

.filter-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin-top: 28px;
}

.filter-tab {
    padding: 9px 20px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--text-dim);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tab:hover { color: var(--text); }

.filter-tab.active {
    color: #fff;
    background: linear-gradient(180deg, #4f92ff, var(--blue-deep));
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

.game-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.5), 0 0 24px rgba(59, 130, 246, 0.12);
}

.game-thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #101216;
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.65));
    display: flex;
    align-items: flex-end;
    padding: 12px;
}

.game-status {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.game-status.working {
    color: var(--green);
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.4);
}

.game-status.patched {
    color: #f87171;
    background: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.4);
}

.game-info { padding: 17px 18px; }

.game-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 9px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-stats {
    display: flex;
    gap: 14px;
    color: var(--text-faint);
    font-size: 0.83rem;
}

.game-stat-item { display: inline-flex; align-items: center; gap: 6px; }

.loading-spinner {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 80px 0;
    color: var(--text-dim);
}

.spinner {
    width: 38px;
    height: 38px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.no-scripts, .error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 0;
    color: var(--text-dim);
}

/* ============================================================
   PREMIUM PAGE
   ============================================================ */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
    margin-bottom: 90px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 30px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.pricing-card:hover { transform: translateY(-4px); border-color: var(--glass-border-strong); }

.pricing-card.featured {
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.18), 0 10px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #fff;
    background: linear-gradient(180deg, #4f92ff, var(--blue-deep));
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.55);
    white-space: nowrap;
}

.pricing-tier {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dim);
    margin-bottom: 14px;
}

.premium-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 26px;
}

.price-amount {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.price-original {
    font-size: 1.1rem;
    color: var(--text-faint);
    text-decoration: line-through;
}

.premium-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.premium-features li {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 0;
    font-size: 0.92rem;
    color: var(--text-dim);
}

.premium-features svg { color: var(--blue-bright); min-width: 18px; }

.pricing-card .btn { width: 100%; }

/* FAQ */
.faq-section { max-width: 720px; margin: 0 auto; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item:hover { border-color: var(--glass-border-strong); }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 19px 22px;
    cursor: pointer;
    gap: 16px;
}

.faq-question h3 { font-size: 0.98rem; font-weight: 600; }

.faq-question svg { transition: transform 0.25s ease; color: var(--text-faint); min-width: 20px; }

.faq-item.active .faq-question svg { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer { max-height: 220px; }

.faq-answer p {
    padding: 0 22px 20px;
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ============================================================
   TUTORIAL / HELP
   ============================================================ */

.tutorial-section { margin: 80px 0; }

.video-embed-container {
    position: relative;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 14px 48px rgba(0, 0, 0, 0.5);
}

.video-embed-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 34px 24px;
}

.footer-content {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-brand {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    color: var(--text-dim);
}

.footer-socials { display: flex; gap: 10px; }

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    transition: all 0.2s ease;
}

.social-icon:hover {
    color: var(--text);
    border-color: var(--glass-border-strong);
    transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 860px) {
    .premium-panel { grid-template-columns: 1fr; padding: 28px; }
    .feature-list { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .nav-links a { padding: 8px 12px; font-size: 0.84rem; }
    .nav-shell { gap: 4px; padding: 6px 8px; }
    .lang-btn { padding: 8px 10px; }
    .hero-section { padding-top: 120px; }
    .hero-buttons { flex-direction: column; width: 100%; max-width: 320px; }
    .hero-buttons .btn { width: 100%; }
    .page { padding-top: 130px; }

    /* Get Key page: free methods above the premium panel */
    .key-page { display: flex; flex-direction: column; }
    .key-page .back-link { order: 0; }
    .key-page .page-hero { order: 1; }
    .key-page .free-methods-header { order: 2; }
    .key-page .methods-grid { order: 3; margin-bottom: 60px; }
    .key-page .premium-panel { order: 4; }
    .key-page .tutorial-section { order: 5; }
    .key-page .script-section { order: 6; }

    .methods-grid { grid-template-columns: 1fr; justify-items: center; }
    .method-card { width: 100%; max-width: 340px; }
}

@media (max-width: 480px) {
    .nav-links a { padding: 7px 9px; font-size: 0.78rem; }
    .footer-content { flex-direction: column; }
}

/* ============================================================
   MOTION LAYER — ambient, entrance, hover & scroll animations
   ============================================================ */

/* ---------- shared easings ---------- */
:root {
    --ease-out: cubic-bezier(0.2, 0.8, 0.3, 1);
    --ease-pop: cubic-bezier(0.2, 0.9, 0.3, 1.4);
}

/* ---------- ambient background drift ---------- */
body::before { animation: auroraDrift 26s ease-in-out infinite alternate; }

body::after {
    content: '';
    position: fixed;
    inset: -15%;
    background:
        radial-gradient(circle 38vw at 18% 28%, rgba(59, 130, 246, 0.07), transparent 62%),
        radial-gradient(circle 30vw at 82% 72%, rgba(96, 165, 250, 0.05), transparent 62%);
    pointer-events: none;
    z-index: 0;
    animation: auroraFloat 34s ease-in-out infinite alternate;
}

@keyframes auroraDrift {
    0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
    50%  { transform: translate3d(-2%, 1.5%, 0) scale(1.08); opacity: 0.82; }
    100% { transform: translate3d(2%, -1%, 0) scale(1.04); opacity: 1; }
}

@keyframes auroraFloat {
    0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
    50%  { transform: translate3d(3%, -2%, 0) rotate(2deg); }
    100% { transform: translate3d(-3%, 2%, 0) rotate(-2deg); }
}

/* ---------- richer shared entrance ---------- */
@keyframes floatIn {
    from { opacity: 0; transform: translateY(24px) scale(0.985); filter: blur(8px); }
    to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* ---------- scroll progress bar ---------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 100%;
    z-index: 200;
    transform: scaleX(0);
    transform-origin: 0 50%;
    background: linear-gradient(90deg, var(--blue-deep), var(--blue-bright));
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
    pointer-events: none;
    transition: transform 0.1s linear;
}

/* ---------- navbar ---------- */
.nav-shell {
    animation: navDrop 0.85s var(--ease-pop) both;
    transition: padding 0.35s var(--ease-out), background 0.35s ease, box-shadow 0.35s ease, transform 0.35s var(--ease-out);
}

.navbar.scrolled .nav-shell {
    padding: 6px 9px;
    background: rgba(10, 10, 12, 0.86);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

@keyframes navDrop {
    from { opacity: 0; transform: translateY(-24px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.nav-links li { animation: navItemIn 0.55s var(--ease-out) both; }
.nav-links li:nth-child(1) { animation-delay: 0.30s; }
.nav-links li:nth-child(2) { animation-delay: 0.37s; }
.nav-links li:nth-child(3) { animation-delay: 0.44s; }
.nav-links li:nth-child(4) { animation-delay: 0.51s; }
.nav-links li:nth-child(5) { animation-delay: 0.58s; }

@keyframes navItemIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: none; }
}

.nav-links a {
    position: relative;
    z-index: 0;
    transition: color 0.2s ease, transform 0.25s var(--ease-pop);
}

.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    opacity: 0;
    transform: scale(0.55);
    transition: opacity 0.25s ease, transform 0.3s var(--ease-pop);
}

.nav-links a:hover::before { opacity: 1; transform: scale(1); }
.nav-links a:hover { transform: translateY(-1px); }

.nav-logo { transition: transform 0.4s var(--ease-pop), filter 0.4s ease; }
.nav-logo:hover { transform: scale(1.14) rotate(-8deg); filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.6)); }

.lang-btn { transition: color 0.2s ease, background 0.2s ease, transform 0.25s var(--ease-pop); }
.lang-btn:hover { transform: translateY(-1px); }
.lang-picker.open .lang-btn { background: rgba(255, 255, 255, 0.09); color: var(--text); }
.lang-picker .chev { transition: transform 0.3s var(--ease-pop); }

.lang-menu { transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.28s var(--ease-pop); }
.lang-picker.open .lang-menu button { animation: menuItemIn 0.32s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 28ms); }
.lang-menu button { transition: background 0.15s ease, color 0.15s ease, transform 0.2s var(--ease-pop); }
.lang-menu button:hover { transform: translateX(3px); }

@keyframes menuItemIn {
    from { opacity: 0; transform: translateX(-8px); }
    to   { opacity: 1; transform: none; }
}

/* ---------- buttons: shine sweep, icon kick, ripple ---------- */
.btn, .copy-btn, .filter-tab {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn > *, .copy-btn > *, .filter-tab > * { position: relative; z-index: 1; }

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -140%;
    width: 55%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.30), transparent);
    transform: skewX(-20deg);
}

.btn:hover::after { animation: btnShine 0.8s var(--ease-out); }

@keyframes btnShine {
    from { left: -140%; }
    to   { left: 160%; }
}

.btn svg, .copy-btn svg { transition: transform 0.32s var(--ease-pop); }
.btn:hover svg { transform: translateY(-1px) scale(1.14); }
.btn-glow:hover svg { transform: rotate(-14deg) scale(1.16); }
.copy-btn:hover svg { transform: rotate(-8deg) scale(1.12); }

.ripple {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0);
    opacity: 0.6;
    pointer-events: none;
    animation: rippleOut 0.6s ease-out forwards;
}

.btn > .ripple, .copy-btn > .ripple, .filter-tab > .ripple { z-index: 0; }

@keyframes rippleOut {
    to { transform: scale(1); opacity: 0; }
}

/* ---------- hero ---------- */
.hero-logo::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 440px;
    height: 440px;
    max-width: 120vw;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.17), transparent 62%);
    animation: heroPulse 6.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroPulse {
    0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.9); }
    50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.1); }
}

.hero-logo img { animation: logoFloat 6s ease-in-out infinite; transition: filter 0.4s ease; }
.hero-logo img:hover { filter: drop-shadow(0 0 52px rgba(59, 130, 246, 0.7)); }

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-11px) rotate(2.5deg); }
}

.hero-brand { display: inline-block; }

.hero-brand .brand-char {
    display: inline-block;
    animation: charIn 0.75s var(--ease-out) both;
    animation-delay: calc(0.15s + var(--i, 0) * 0.055s);
}

.hero-brand .brand-char > span { display: inline-block; }
.hero-brand:hover .brand-char > span { animation: charWave 0.55s ease; animation-delay: calc(var(--i, 0) * 0.04s); }

@keyframes charIn {
    from { opacity: 0; transform: translateY(30px) scale(0.8); filter: blur(7px); }
    to   { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes charWave {
    0%, 100% { transform: translateY(0) scale(1); }
    45%      { transform: translateY(-12px) scale(1.08); }
}

.hero-tagline { animation: floatIn 1s 0.45s var(--ease-out) both; }

.hero-buttons { animation: none; }
.hero-buttons .btn { animation: floatIn 0.9s var(--ease-out) both; }
.hero-buttons .btn:nth-child(1) { animation-delay: 0.60s; }
.hero-buttons .btn:nth-child(2) { animation-delay: 0.70s; }
.hero-buttons .btn:nth-child(3) { animation-delay: 0.80s; }
.hero-buttons .btn:nth-child(4) { animation-delay: 0.90s; }

.script-section { animation: floatIn 0.9s 0.95s var(--ease-out) both; }

.section-label {
    animation: labelBreathe 5s ease-in-out infinite;
    transition: letter-spacing 0.4s var(--ease-out);
}

@keyframes labelBreathe {
    0%, 100% { color: var(--text-faint); }
    50%      { color: var(--text-dim); }
}

/* ---------- code card ---------- */
.code-card { transition: transform 0.4s var(--ease-out), border-color 0.4s ease, box-shadow 0.4s ease; }

.code-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.5), 0 0 34px rgba(59, 130, 246, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.code-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 32%, rgba(96, 165, 250, 0.12) 50%, transparent 68%);
    transform: translateX(-110%);
}

.code-card:hover::after { animation: cardSweep 1.15s var(--ease-out); }

@keyframes cardSweep {
    from { transform: translateX(-110%); }
    to   { transform: translateX(110%); }
}

.code-block code::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 1.05em;
    margin-left: 6px;
    vertical-align: -3px;
    background: var(--blue-bright);
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.7);
    animation: caretBlink 1.15s steps(1) infinite;
}

@keyframes caretBlink {
    0%, 49%   { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.copy-btn { transition: all 0.2s ease, transform 0.25s var(--ease-pop); }
.copy-btn:hover { transform: translateY(-2px); }
.copy-btn.copied { animation: popCheck 0.5s var(--ease-pop); }

@keyframes popCheck {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.14) rotate(-3deg); }
    100% { transform: scale(1); }
}

/* ---------- scroll reveal ---------- */
.reveal:not(.in-view) { opacity: 0; }

.reveal.in-view {
    animation: revealIn 0.8s var(--ease-out) backwards;
    animation-delay: calc(var(--i, 0) * 70ms);
}

@keyframes revealIn {
    from { opacity: 0; transform: translateY(30px) scale(0.98); filter: blur(6px); }
    to   { opacity: 1; transform: none; filter: blur(0); }
}

/* ---------- pointer-tracking glow on cards ---------- */
.game-card, .pricing-card, .method-card, .code-card, .start-card, .buy-card { position: relative; }

.game-card::before,
.pricing-card::before,
.method-card::before,
.code-card::before,
.start-card::before,
.buy-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
    background: radial-gradient(230px circle at var(--mx, 50%) var(--my, 50%), rgba(96, 165, 250, 0.13), transparent 65%);
}

.game-card:hover::before,
.pricing-card:hover::before,
.method-card:hover::before,
.code-card:hover::before,
.start-card:hover::before,
.buy-card:hover::before { opacity: 1; }

.method-card::before {
    background: radial-gradient(230px circle at var(--mx, 50%) var(--my, 50%),
        color-mix(in srgb, var(--method-accent) 16%, transparent), transparent 65%);
}

/* ---------- badges ---------- */
.best-value-badge { animation: badgeGlow 3.4s ease-in-out infinite; }
.free-badge { animation: freeBadgeGlow 3.4s ease-in-out infinite; }
.popular-badge { animation: badgeBob 3.2s ease-in-out infinite; }

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 18px rgba(59, 130, 246, 0.25); border-color: rgba(59, 130, 246, 0.45); }
    50%      { box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);  border-color: rgba(59, 130, 246, 0.8); }
}

@keyframes freeBadgeGlow {
    0%, 100% { box-shadow: 0 0 16px rgba(52, 211, 153, 0.15); border-color: rgba(52, 211, 153, 0.4); }
    50%      { box-shadow: 0 0 28px rgba(52, 211, 153, 0.4);  border-color: rgba(52, 211, 153, 0.75); }
}

@keyframes badgeBob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(-5px); }
}

/* ---------- get key page ---------- */
.premium-panel { transition: border-color 0.4s ease, box-shadow 0.4s ease; }
.premium-panel:hover { border-color: var(--glass-border-strong); }

.feature-list li {
    transition: transform 0.25s var(--ease-pop), background 0.25s ease, border-color 0.25s ease;
}

.feature-list li:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.065);
    border-color: rgba(255, 255, 255, 0.14);
}

.feature-check { transition: transform 0.35s var(--ease-pop), box-shadow 0.35s ease; }

.feature-list li:hover .feature-check {
    transform: rotate(-12deg) scale(1.15);
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.8);
}

.buy-card { transition: transform 0.3s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease; }
.buy-card:hover { transform: translateY(-3px); border-color: var(--glass-border-strong); }
.buy-card.highlight { animation: highlightGlow 4s ease-in-out infinite; }

@keyframes highlightGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(59, 130, 246, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
    50%      { box-shadow: 0 0 46px rgba(59, 130, 246, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
}

.method-card { transition: transform 0.3s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease; }
.method-card:hover { transform: translateY(-5px); }
.method-icon { transition: transform 0.4s var(--ease-pop), box-shadow 0.4s ease; }

.method-card:hover .method-icon {
    transform: rotate(-10deg) scale(1.12);
    box-shadow: 0 0 22px color-mix(in srgb, var(--method-accent) 45%, transparent);
}

.method-perks li { transition: transform 0.25s var(--ease-out), color 0.25s ease; }
.method-card:hover .method-perks li { color: var(--text); }
.method-perks li:hover { transform: translateX(5px); }
.method-perks svg { transition: transform 0.3s var(--ease-pop); }
.method-perks li:hover svg { transform: scale(1.25); }

/* start / discord gate */
.start-card .method-icon { animation: logoFloat 5.5s ease-in-out infinite; }
.btn.locked { transition: opacity 0.4s ease; }
.btn-green { animation: greenGlowPulse 3s ease-in-out infinite; }

@keyframes greenGlowPulse {
    0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 0 22px rgba(34,197,94,0.55), 0 0 60px rgba(34,197,94,0.25), 0 4px 16px rgba(0,0,0,0.4); }
    50%      { box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 0 34px rgba(34,197,94,0.75), 0 0 86px rgba(34,197,94,0.35), 0 4px 16px rgba(0,0,0,0.4); }
}

/* ---------- games page ---------- */
.filter-tabs { transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.filter-tabs:hover { border-color: var(--glass-border-strong); }
.filter-tab { transition: color 0.2s ease, background 0.25s ease, transform 0.25s var(--ease-pop), box-shadow 0.25s ease; }
.filter-tab:hover { transform: translateY(-2px); }
.filter-tab.active { animation: tabPop 0.45s var(--ease-pop); }

@keyframes tabPop {
    0%   { transform: scale(0.86); }
    55%  { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.game-card {
    animation: cardIn 0.65s var(--ease-out) backwards;
    animation-delay: calc(var(--i, 0) * 55ms);
    transition: transform 0.3s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease;
}

@keyframes cardIn {
    from { opacity: 0; transform: translateY(28px) scale(0.95); filter: blur(6px); }
    to   { opacity: 1; transform: none; filter: blur(0); }
}

.game-card:hover { transform: translateY(-6px) scale(1.015); }
.game-thumbnail { transition: transform 0.55s var(--ease-out); }
.game-card:hover .game-thumbnail { transform: scale(1.07); }
.game-overlay { transition: background 0.35s ease; }
.game-card:hover .game-overlay { background: linear-gradient(180deg, rgba(59, 130, 246, 0.08) 20%, rgba(0, 0, 0, 0.72)); }
.game-info h3 { transition: color 0.3s ease, transform 0.3s var(--ease-out); }
.game-card:hover .game-info h3 { color: var(--blue-bright); transform: translateX(3px); }
.game-status { transition: transform 0.3s var(--ease-pop); }
.game-card:hover .game-status { transform: scale(1.06); }
.game-status.working { animation: statusPulse 2.4s ease-in-out infinite; }

@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 0 rgba(52, 211, 153, 0); }
    50%      { box-shadow: 0 0 16px rgba(52, 211, 153, 0.55); }
}

.loading-spinner p { animation: breathe 1.7s ease-in-out infinite; }
.loading-spinner .spinner { animation: spin 0.8s linear infinite, breathe 1.7s ease-in-out infinite; }

@keyframes breathe {
    0%, 100% { opacity: 0.45; }
    50%      { opacity: 1; }
}

.no-scripts, .error-message { animation: floatIn 0.6s var(--ease-out) both; }

/* ---------- premium page ---------- */
.pricing-card { transition: transform 0.32s var(--ease-out), border-color 0.32s ease, box-shadow 0.32s ease; }
.pricing-card:hover { transform: translateY(-8px) scale(1.012); box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55); }
.pricing-card.featured { animation: featuredGlow 4.2s ease-in-out infinite; }

@keyframes featuredGlow {
    0%, 100% { box-shadow: 0 0 40px rgba(59, 130, 246, 0.18), 0 10px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
    50%      { box-shadow: 0 0 62px rgba(59, 130, 246, 0.34), 0 10px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
}

.price-amount { transition: transform 0.35s var(--ease-pop), text-shadow 0.35s ease; }
.pricing-card:hover .price-amount { transform: scale(1.06); text-shadow: 0 0 26px rgba(96, 165, 250, 0.45); }
.premium-features li { transition: transform 0.25s var(--ease-out), color 0.25s ease; }
.pricing-card:hover .premium-features li { color: var(--text); }
.premium-features li:hover { transform: translateX(5px); }
.premium-features svg { transition: transform 0.3s var(--ease-pop); }
.premium-features li:hover svg { transform: scale(1.25) rotate(-8deg); }

/* FAQ */
.faq-item { transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease-out); }
.faq-item:hover { transform: translateX(4px); }
.faq-item.active { background: rgba(59, 130, 246, 0.05); border-color: rgba(59, 130, 246, 0.3); }
.faq-question h3 { transition: color 0.25s ease; }
.faq-item:hover .faq-question h3, .faq-item.active .faq-question h3 { color: var(--blue-bright); }
.faq-question svg { transition: transform 0.35s var(--ease-pop), color 0.25s ease; }
.faq-item.active .faq-question svg { color: var(--blue-bright); }
.faq-answer { transition: max-height 0.4s var(--ease-out); }

.faq-answer p {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.35s var(--ease-out);
}

.faq-item.active .faq-answer p { opacity: 1; transform: none; transition-delay: 0.08s; }

/* ---------- misc chrome ---------- */
.back-link { transition: color 0.2s ease, transform 0.25s var(--ease-out); }
.back-link:hover { transform: translateX(-4px); }
.back-link svg { transition: transform 0.3s var(--ease-pop); }
.back-link:hover svg { transform: translateX(-3px); }

.video-embed-container { transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease, border-color 0.4s ease; }
.video-embed-container:hover { transform: translateY(-4px); border-color: rgba(59, 130, 246, 0.32); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 34px rgba(59, 130, 246, 0.12); }

.footer-brand { transition: color 0.3s ease, transform 0.3s var(--ease-out); }
.footer-brand:hover { color: var(--text); transform: translateX(2px); }

.social-icon { transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, transform 0.35s var(--ease-pop); }
.social-icon:hover { transform: translateY(-4px) rotate(8deg) scale(1.1); background: rgba(59, 130, 246, 0.14); border-color: rgba(59, 130, 246, 0.5); }

.page-hero h1 { animation: floatIn 0.9s var(--ease-out) both; }
.page-hero p { animation: floatIn 0.9s 0.14s var(--ease-out) both; }
.accent { animation: accentGlow 4.5s ease-in-out infinite; }

@keyframes accentGlow {
    0%, 100% { filter: drop-shadow(0 0 24px rgba(59, 130, 246, 0.4)); }
    50%      { filter: drop-shadow(0 0 40px rgba(59, 130, 246, 0.7)); }
}

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

    .reveal:not(.in-view) { opacity: 1 !important; }
    body::after { display: none; }
}
