:root {
    --bg-page: #0D0F12;
    /* Softer, more comfortable dark slate */
    --surface-card: #14171C;
    --surface-hover: #1A1E24;
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --border-color: #2D3748;
    --accent-glow: rgba(56, 189, 248, 0.15);
    --accent-solid: #38BDF8;
    /* Welcoming, calm sky blue */
}

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

body {
    flex-wrap: wrap;
    align-content: flex-start;
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-page);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 1.5rem;
    overflow-x: hidden;
}

.page-wrapper {
    width: 100%;
    max-width: 850px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
}

/* Navigation */
.main-nav {
    /* Fixed bar rather than a floating absolute strip. The right padding
       reserves the space the language control occupies, which is what stops
       the last nav items from sliding underneath it. */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.35rem;
    padding: 1.1rem 9.5rem 1.1rem 1.5rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    opacity: 0.75;
    transition: opacity 0.3s ease, background 0.3s ease;
    flex-wrap: wrap;
    background: rgba(13, 15, 18, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.main-nav:hover {
    opacity: 1;
}

.main-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding-bottom: 2px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-primary);
    border-bottom: 1px solid var(--text-muted);
}

/* Header & Hooks */
.header-section {
    text-align: center;
    max-width: 600px;
    margin-bottom: 3.5rem;
    animation: fadeIn 1s ease-out;
}

.hook-title {
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.core-message {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    width: 100%;
    align-items: stretch;
    animation: fadeIn 1.2s ease-out;
}

.tier-card {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 1.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.tier-card:hover {
    background: var(--surface-hover);
    border-color: #475569;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 255, 255, 0.03);
}

.tier-header {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.tier-price {
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tier-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Recommended Tier */
.tier-card.recommended {
    background: #1A202C;
    border: 1px solid rgba(56, 189, 248, 0.4);
    box-shadow: 0 10px 40px var(--accent-glow);
    transform: scale(1.03);
    z-index: 10;
}

.tier-card.recommended:hover {
    transform: scale(1.05);
    border-color: var(--accent-solid);
}

/* Buttons */
.action-btn {
    width: 100%;
    padding: 0.85rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    pointer-events: none;
}

.outline-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.solid-btn {
    background: var(--text-primary);
    border: none;
    color: var(--bg-page);
}

.tier-card:hover .outline-btn {
    background: rgba(255, 255, 255, 0.08);
}

.tier-card.recommended:hover .solid-btn {
    background: #FFFFFF;
}

/* Social Proof Section */
.social-proof-section {
    margin-top: 4rem;
    text-align: center;
    color: var(--text-secondary);
    animation: fadeIn 1.5s ease-out;
}

.proof-numbers {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.proof-stats {
    font-size: 0.85rem;
    color: #4ADE80;
    /* Soft green */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

.proof-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer & Trust */
.trust-footer {
    margin-top: 3rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.stripe-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

.closing-line {
    margin-top: 5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* Share Button */
.share-section {
    margin-top: 2rem;
    text-align: center;
}

.share-btn {
    background: transparent;
    border: 1px dashed var(--text-muted);
    color: var(--text-secondary);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.share-btn:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

/* Text Content pages */
.text-content {
    max-width: 600px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out;
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 300;
}

.text-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    margin-top: 3rem;
}

.section-divider {
    width: 1px;
    height: 20px;
    background: var(--border-color);
    margin: 1.5rem auto;
}

/* Animations Hub */
.page-wrapper>* {
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.page-wrapper>*:nth-child(1) {
    animation-delay: 0.1s;
}

.page-wrapper>*:nth-child(2) {
    animation-delay: 0.2s;
}

.page-wrapper>*:nth-child(3) {
    animation-delay: 0.3s;
}

.page-wrapper>*:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

/* Language Selection UI */
.lang-selector {
    position: fixed;
    top: 0.85rem;
    right: 1.25rem;
    z-index: 100;
    display: flex;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: rgba(20, 23, 28, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lang-selector span {
    cursor: pointer;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.2s ease, background 0.2s ease;
    letter-spacing: 0.6px;
    padding: 5px 10px;
    border-radius: 999px;
    line-height: 1;
    user-select: none;
}

.lang-selector span:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}

/* Which language is active was never indicated at all. */
.lang-selector span.active {
    color: var(--bg-page);
    background: var(--text-primary);
}

/* Native UI overrides to hide Google's messy implementation */
.skiptranslate,
.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0px !important;
}

/* Live Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1E293B;
    border: 1px solid #334155;
    color: #F8FAFC;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.toast-notification.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.toast-icon {
    color: #F43F5E;
    /* soft energetic pink */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Mobile Responsive */
/* On a narrow screen the language pill takes the first line of the fixed bar
   and the nav sits underneath it, so the two can never share a row and
   overlap. body is display:flex (a row), so the nav has to STAY fixed here:
   making it static would turn it into a column beside the content. */
@media (max-width: 780px) {
    .lang-selector {
        top: 0.55rem;
        right: 0.7rem;
    }

    .main-nav {
        padding: 2.75rem 0.7rem 0.75rem;
        gap: 0.7rem 0.85rem;
    }

    .main-nav a {
        font-size: 0.66rem;
    }

    body {
        padding-top: 7.5rem;
    }
}

@media (max-width: 850px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tier-card.recommended {
        transform: scale(1);
    }

    .tier-card.recommended:hover {
        transform: scale(1.02);
    }

    .toast-notification {
        bottom: 20px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: max-content;
    }

    .toast-notification.hidden {
        transform: translate(-50%, 20px);
    }
}

/* Footer Identity */
.site-footer {
    /* Was position:fixed, which pinned it over the page and let it land on top
       of content. It belongs at the end of the document.

       body is a flex ROW, so a static footer would become a column beside the
       content; `width:100%` plus `flex-wrap` on body forces it onto its own
       line underneath instead. */
    position: static;
    width: 100%;
    order: 99;
    margin-top: 4rem;
    padding-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.footer-center {
    color: var(--text-muted);
}

.footer-role {
    position: absolute;
    right: 2.5rem;
    color: var(--text-secondary);
    font-family: inherit;
    font-style: italic;
    opacity: 0.5;
}

/* Viral Popup */
.sale-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 15, 18, 0.8);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sale-popup {
    background: #1A1E24;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    min-width: 320px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: popIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes popIn {
    from {
        transform: scale(0.95) translateY(10px);
    }

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

.popup-close {
    position: absolute;
    top: 15px;
    left: 20px;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.popup-close:hover {
    color: var(--text-primary);
}

.sale-popup h3 {
    font-weight: 400;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.sale-prices {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.new-price {
    color: #4ADE80;
    font-size: 2rem;
    font-weight: 500;
    text-shadow: 0 0 15px rgba(74, 222, 128, 0.3);
}
/* ============================================================================
   Checkout (Stripe Elements), added alongside the original styles.
   Reuses the existing palette variables so it reads as the same site.
   ========================================================================= */

.co-card {
    width: 100%;
    max-width: 520px;
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.75rem;
    text-align: left;
}

.co-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.co-label {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.co-concept {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.co-amount {
    font-size: 1.9rem;
    font-weight: 400;
    color: var(--text-primary);
    white-space: nowrap;
}

.co-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    margin-bottom: 1.4rem;
}

.co-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.co-field input {
    width: 100%;
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem; /* >=16px keeps iOS from zooming the viewport on focus */
    min-height: 46px;
}

.co-field input:focus {
    outline: none;
    border-color: var(--accent-solid);
}

.co-field input::placeholder { color: var(--text-muted); }

.co-payment { min-height: 90px; margin-bottom: 1.25rem; }

.co-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 2rem 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
}

.co-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-color);
    border-top-color: var(--accent-solid);
    border-radius: 50%;
    display: inline-block;
    animation: co-spin 0.8s linear infinite;
}

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

.co-error {
    background: rgba(248, 113, 113, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #FECACA;
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.co-submit { pointer-events: auto; }
.co-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.co-fineprint {
    margin-top: 1rem;
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--text-muted);
    text-align: center;
}

.co-fineprint a { color: var(--text-secondary); }

.co-gift {
    margin-top: 2.5rem;
    max-width: 480px;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.co-gift strong { color: var(--text-secondary); font-weight: 500; }

/* Result panel on success.html */
.res-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.7rem;
    margin: 1.75rem 0;
    text-align: left;
}

.res-fact {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.7rem 0.85rem;
    background: rgba(255, 255, 255, 0.014);
}

.res-fact dt {
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.res-fact dd { margin: 0; font-size: 0.95rem; color: var(--text-primary); overflow-wrap: anywhere; }
.res-fact dd.accent { color: var(--accent-solid); }

.res-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.res-actions .action-btn { width: auto; padding: 0.8rem 1.5rem; pointer-events: auto; }

@media (max-width: 540px) {
    .co-fields { grid-template-columns: 1fr; }
    .co-card { padding: 1.25rem; }
    .co-amount { font-size: 1.6rem; }
}

/* The standalone "Claim" link inherits .action-btn's width:100% and had no
   rules of its own, so it rendered as a full-width bar floating across the
   page. Give it a real size and place it under the tiers. */
.claim-btn {
    /* This link sits outside .page-wrapper in the markup, and body is a flex
       row, so in normal flow it becomes a second column beside the content.
       Taking it out of flow makes it a deliberate floating affordance instead
       of a stray element wedged against the tiers. */
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 40;
    display: inline-block;
    width: auto;
    padding: 0.6rem 1.4rem;
    font-size: 0.8rem;
    text-align: center;
    text-decoration: none;
    pointer-events: auto;
    opacity: 0.85;
}

.claim-btn:hover { opacity: 1; }

@media (max-width: 540px) {
    /* Keep clear of the activity toast on a phone. */
    .claim-btn { left: 12px; bottom: 12px; padding: 0.5rem 1.1rem; }
}

/* Supporter counter: the inflated number animates and climbs, with the real
   figure stated underneath. See renderProof() for why it is built this way. */
.proof-numbers.proof-big {
    position: relative;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.proof-truth {
    color: var(--text-muted) !important;
    font-size: 0.78rem !important;
    display: block !important;
    margin-top: 0.35rem;
}

.proof-heart {
    position: absolute;
    left: 50%;
    top: -0.2rem;
    color: #f43f5e;
    font-size: 1rem;
    pointer-events: none;
    animation: proof-float 1.4s ease-out forwards;
}

@keyframes proof-float {
    0%   { opacity: 0; transform: translate(-50%, 0) scale(0.6); }
    18%  { opacity: 1; transform: translate(-50%, -0.35rem) scale(1.15); }
    100% { opacity: 0; transform: translate(-50%, -2.2rem) scale(0.9); }
}

/* Toast: a headline with a quiet meta line, rather than one run-on sentence. */
.toast-line { display: block; font-weight: 500; }

.toast-meta {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.3px;
    margin-top: 1px;
}

/* The weekly figure bumps when it climbs. */
.proof-bump { animation: proof-bump 0.5s ease-out; display: inline-block; }

@keyframes proof-bump {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.22); color: #4ADE80; }
    100% { transform: scale(1); }
}

/* ============================================================================
   Games
   ========================================================================= */

.game-page body, body.game-page { align-items: flex-start; }

.game-wrap {
    max-width: 620px;
    gap: 1rem;
    padding-bottom: 2rem;
}

.game-head {
    width: 100%;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.game-title {
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: 0;
}

.game-stats {
    display: flex;
    gap: 1.1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.game-stats strong { color: var(--text-primary); font-weight: 600; }

.game-stage {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.game-stage canvas {
    display: block;
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    /* The game handles gestures itself; the browser must not also pan or zoom. */
    touch-action: none;
    max-width: 100%;
}

.game-over {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-align: center;
    padding: 1.2rem;
    background: rgba(13, 15, 18, 0.92);
    border-radius: 10px;
}

.game-over[hidden] { display: none; }
.game-over h2 { font-size: 1.15rem; font-weight: 500; margin: 0; }
.game-over p { font-size: 0.9rem; color: var(--text-secondary); margin: 0 0 0.5rem; }

/* On-screen pad. Shown on touch devices, where there is no keyboard. */
.game-pad {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
    user-select: none;
}

.pad-row { display: flex; gap: 8px; }

.game-pad button {
    width: 62px;
    height: 52px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--surface-card);
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    touch-action: manipulation;
}

.game-pad button:active { background: var(--surface-hover); border-color: var(--accent-solid); }

@media (pointer: coarse) {
    .game-pad { display: flex; }
}

.game-mods {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.2rem;
}

.mods-label {
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-right: 0.2rem;
}

.game-mods button {
    padding: 0.5rem 0.95rem;
    min-height: 40px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.game-mods button:hover { color: var(--text-primary); border-color: #475569; }

.game-mods button.on {
    background: var(--accent-solid);
    border-color: var(--accent-solid);
    color: var(--bg-page);
    font-weight: 600;
}

.game-mods .mod-restart { border-style: dashed; }

.game-note {
    margin-top: 1.2rem;
    font-size: 0.8rem;
    line-height: 1.7;
    color: var(--text-muted);
    text-align: center;
    max-width: 460px;
}

.game-cta {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.game-cta p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 0.9rem;
    max-width: 420px;
}

/* Catalog */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 1rem;
    width: 100%;
}

.game-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 1.3rem;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.game-card:hover {
    background: var(--surface-hover);
    border-color: #475569;
    transform: translateY(-4px);
}

.game-card .gc-art {
    font-size: 1.8rem;
    margin-bottom: 0.7rem;
    display: block;
    line-height: 1;
}

.game-card h3 { font-size: 1rem; font-weight: 600; margin: 0 0 0.4rem; }
.game-card p { font-size: 0.82rem; color: var(--text-secondary); margin: 0; line-height: 1.5; }

.game-card.soon { opacity: 0.5; pointer-events: none; }
.game-card .gc-tag {
    display: inline-block;
    margin-top: 0.8rem;
    font-size: 0.65rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

@media (max-width: 540px) {
    .game-head { flex-direction: column; align-items: center; gap: 0.4rem; }
    .game-title { font-size: 1.35rem; }
    .game-pad button { width: 66px; height: 56px; }
}

/* "Most popular" ribbon on a tier. */
.tier-card[data-badge] { position: relative; overflow: visible; }

.tier-card[data-badge]::before {
    content: attr(data-badge);
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-solid);
    color: var(--bg-page);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.28);
}
