.games-page {
    flex: 1;
    padding: 8rem 4rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 10;
    isolation: isolate;
}

.kofi-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #3f6bb0 0%, #2e4f80 100%);
    color: white;
    text-decoration: none;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(114, 164, 242, 0.3);
}

.kofi-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(114, 164, 242, 0.5);
}

.kofi-icon-svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* À propos / équipe */
.about-section {
    margin-top: 4rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.about-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.about-intro {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.about-credits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

/* Ligne de profil horizontale (avatar à gauche, texte à droite, aligné à
   gauche) plutôt qu'une carte empilée verticalement — pour distinguer
   visuellement l'équipe des donateurs juste en dessous, qui gardent, eux,
   le format carte/pile. */
.about-credit-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(20, 26, 55, 0.85);
    border: 1px solid rgba(184, 193, 219, 0.1);
    border-radius: 22px;
    /* Pas de backdrop-filter ici : combiné à la rotation (--tilt), le flou
       est rasterisé à un angle et rend le texte de la carte flou avec —
       fond légèrement plus opaque pour compenser visuellement l'absence
       de flou du fond. */
    padding: 1.5rem;
    text-align: left;
    transform: rotate(var(--tilt, 0deg));
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease;
    /* Pas de will-change ici : combiné à la rotation (--tilt), ça force
       Chromium à rasteriser la carte sur une texture GPU, ce qui rend le
       texte flou pendant toute la transition hover. */
}

/* Léger effet "mur de photos" plutôt qu'une grille bien sagement alignée. */
.about-credit-card:nth-child(1) { --tilt: -1.2deg; }
.about-credit-card:nth-child(2) { --tilt: 0.8deg; }
.about-credit-card:nth-child(3) { --tilt: -0.6deg; }

.about-credit-card:hover {
    transform: rotate(0deg) translateY(-4px) scale(1.02);
    border-color: rgba(247, 197, 96, 0.35);
}

.about-credit-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.about-credit-avatar,
.about-credit-avatar-slot {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex-shrink: 0;
}

.about-credit-avatar {
    object-fit: cover;
    border: 2px solid rgba(247, 197, 96, 0.55);
    box-shadow: 0 4px 16px rgba(247, 197, 96, 0.4);
}

.about-credit-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
}

.about-credit-role {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(114, 164, 242, 0.95);
}

.about-credit-desc {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.about-credit-links {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.35rem;
}

.about-credit-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(184, 193, 219, 0.08);
    color: var(--text-gray);
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.about-credit-link svg {
    width: 16px;
    height: 16px;
}

.about-credit-link:hover {
    color: rgba(247, 197, 96, 0.95);
    background: rgba(247, 197, 96, 0.12);
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .about-title {
        font-size: 1.5rem;
    }

    .about-intro {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
}

/* Remerciements */
.thanks-section {
    margin-top: 4rem;
}

.thanks-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.6rem;
}

.thanks-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.thanks-kofi-btn {
    display: flex;
    width: fit-content;
    margin: 0 auto 3rem;
}

.donateurs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.donateur-card {
    position: relative;
    background: rgba(20, 26, 55, 0.6);
    border-radius: 22px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(184, 193, 219, 0.1);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: transform;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
    padding: 2rem 1.75rem 1.5rem;
    overflow: hidden;
}

/* Léger effet "mur de photos" sur la grille (pas le podium, qui a déjà sa
   propre mise en avant et un transform de hover qui ne doit pas composer
   avec une rotation en plus). */
/* Pas de backdrop-filter ni de will-change sur ces cartes-là : combiné à la
   rotation, ça fait rasteriser le texte sur une couche GPU inclinée et le
   rend flou pendant le hover. Fond plus opaque pour compenser visuellement
   l'absence de flou du fond derrière la carte. */
.donateurs-grid > .donateur-card {
    backdrop-filter: none;
    background: rgba(20, 26, 55, 0.85);
    will-change: auto;
}

.donateurs-grid > .donateur-card:nth-child(odd) {
    transform: rotate(-1deg);
}

.donateurs-grid > .donateur-card:nth-child(even) {
    transform: rotate(1deg);
}

.donateurs-grid > .donateur-card:hover {
    transform: rotate(0deg) translateY(-4px) scale(1.02);
}

.donateur-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(114, 164, 242, 0.7), transparent);
}

.donateur-card:hover {
    transform: translateY(-4px);
    border-color: rgba(114, 164, 242, 0.3);
    box-shadow: 0 12px 22px -8px rgba(74, 111, 165, 0.35);
}

/* Podium (top 3) */
.podium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.donateur-podium {
    padding-top: 2.5rem;
}

.donateur-podium--1 {
    order: 2;
    padding-bottom: 2.25rem;
    transform: translateY(-1.75rem);
    z-index: 2;
}

.donateur-podium--2 {
    order: 1;
}

.donateur-podium--3 {
    order: 3;
}

.podium-medal {
    position: absolute;
    top: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.6rem;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.donateur-podium--1 .podium-medal {
    font-size: 2.1rem;
}

.donateur-podium--1 {
    border-color: rgba(247, 197, 96, 0.4);
    background: linear-gradient(180deg, rgba(247, 197, 96, 0.1) 0%, rgba(20, 26, 55, 0.6) 32%);
}

.donateur-podium--1::before {
    background: linear-gradient(90deg, transparent, rgba(247, 197, 96, 0.9), transparent);
}

.donateur-podium--1:hover {
    /* .donateur-card:hover pose transform:translateY(-4px), qui REMPLACE
       (au lieu de s'additionner à) le translateY(-1.75rem) de base de la
       1ère place — sans ce transform explicite, la carte "retombait" au
       hover au lieu de simplement s'élever un peu plus. */
    transform: translateY(calc(-1.75rem - 4px));
    border-color: rgba(247, 197, 96, 0.6);
    box-shadow: 0 10px 28px rgba(247, 197, 96, 0.22);
}

.donateur-podium--1 .donateur-avatar {
    width: 88px;
    height: 88px;
    border-color: rgba(247, 197, 96, 0.65);
    box-shadow: 0 4px 14px rgba(247, 197, 96, 0.4);
}

.donateur-podium--2 {
    border-color: rgba(196, 205, 224, 0.35);
    background: linear-gradient(180deg, rgba(196, 205, 224, 0.08) 0%, rgba(20, 26, 55, 0.6) 32%);
}

.donateur-podium--2::before {
    background: linear-gradient(90deg, transparent, rgba(196, 205, 224, 0.8), transparent);
}

.donateur-podium--2:hover {
    border-color: rgba(196, 205, 224, 0.55);
    box-shadow: 0 10px 28px rgba(196, 205, 224, 0.18);
}

.donateur-podium--2 .donateur-avatar {
    border-color: rgba(196, 205, 224, 0.55);
    box-shadow: 0 4px 14px rgba(196, 205, 224, 0.3);
}

.donateur-podium--3 {
    border-color: rgba(205, 148, 106, 0.4);
    background: linear-gradient(180deg, rgba(205, 148, 106, 0.09) 0%, rgba(20, 26, 55, 0.6) 32%);
}

.donateur-podium--3::before {
    background: linear-gradient(90deg, transparent, rgba(205, 148, 106, 0.85), transparent);
}

.donateur-podium--3:hover {
    border-color: rgba(205, 148, 106, 0.6);
    box-shadow: 0 10px 28px rgba(205, 148, 106, 0.2);
}

.donateur-podium--3 .donateur-avatar {
    border-color: rgba(205, 148, 106, 0.55);
    box-shadow: 0 4px 14px rgba(205, 148, 106, 0.3);
}

.donateur-avatar {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(114, 164, 242, 0.35);
    box-shadow: 0 4px 14px rgba(74, 111, 165, 0.35);
}

.donateur-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.donateur-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.donateur-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.donateur-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
}

.donateur-role {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.donateur-role a {
    color: var(--accent-blue, #72a4f2);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.donateur-role a:hover {
    color: var(--text-white);
}

.donateur-message {
    position: relative;
    font-size: 0.92rem;
    color: var(--text-gray);
    line-height: 1.6;
    font-style: italic;
    padding: 0 0.25rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.donateur-message::before {
    content: '\201C';
    margin-right: 0.15em;
    font-family: Georgia, serif;
    font-style: normal;
    font-weight: 700;
    color: rgba(114, 164, 242, 0.6);
}

.donateur-message::after {
    content: '\201D';
    margin-left: 0.1em;
    font-family: Georgia, serif;
    font-style: normal;
    font-weight: 700;
    color: rgba(114, 164, 242, 0.6);
}

.donateur-montant {
    flex-shrink: 0;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(114, 164, 242, 0.12);
    padding: 0.45rem 1rem;
    border-radius: 25px;
    border: 1px solid rgba(114, 164, 242, 0.25);
    white-space: nowrap;
}

.donateur-podium--1 .donateur-montant {
    background: rgba(247, 197, 96, 0.14);
    border-color: rgba(247, 197, 96, 0.35);
}

.donateur-podium--2 .donateur-montant {
    background: rgba(196, 205, 224, 0.12);
    border-color: rgba(196, 205, 224, 0.3);
}

.donateur-podium--3 .donateur-montant {
    background: rgba(205, 148, 106, 0.14);
    border-color: rgba(205, 148, 106, 0.3);
}

.kofi-icon {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
}

.donateur-montant span {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1;
}

@media (max-width: 768px) {
    .thanks-title {
        font-size: 1.8rem;
    }

    .about-credits {
        grid-template-columns: 1fr;
    }

    .donateurs-grid {
        grid-template-columns: 1fr;
    }

    .podium {
        grid-template-columns: 1fr;
    }

    .donateur-podium--1,
    .donateur-podium--2,
    .donateur-podium--3 {
        transform: none;
    }

    .donateur-podium--1 {
        order: 1;
    }

    .donateur-podium--2 {
        order: 2;
    }

    .donateur-podium--3 {
        order: 3;
    }
}

@media (max-width: 480px) {
    .thanks-title {
        font-size: 1.5rem;
    }

    .thanks-subtitle {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .donateur-card {
        padding: 1.75rem 1.25rem 1.25rem;
    }
}

.games-eyebrow {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(247, 197, 96, 0.9);
    margin-bottom: 0.6rem;
}

.games-greeting {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: fit-content;
    margin: 0 auto 1rem;
    padding: 0.4rem 1.1rem 0.4rem 0.4rem;
    background: rgba(247, 197, 96, 0.08);
    border: 1px solid rgba(247, 197, 96, 0.25);
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
}

.games-greeting-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(247, 197, 96, 0.6);
}

.games-title {
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.6rem;
}

.games-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Stats du hub — une seule pastille horizontale plutôt que 3 cartes séparées,
   pour rester léger et prolonger naturellement le hero au lieu d'ajouter un
   nouveau bloc encadré. */
.hub-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 2.5rem;
    background: rgba(20, 26, 55, 0.5);
    border: 1px solid rgba(184, 193, 219, 0.1);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    padding: 0.85rem 1.75rem;
}

.hub-stat {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0 1.25rem;
}

.hub-stats-divider {
    width: 1px;
    height: 30px;
    background: rgba(184, 193, 219, 0.15);
    flex-shrink: 0;
}

.hub-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: rgba(114, 164, 242, 0.9);
}

.hub-stat-icon svg {
    width: 100%;
    height: 100%;
}

.hub-stat-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.hub-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

@keyframes statPulse {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.8; }
}

.hub-stats--loading .hub-stat-value {
    display: inline-block;
    min-width: 2.5em;
    color: transparent;
    background: rgba(184, 193, 219, 0.25);
    border-radius: 6px;
    animation: statPulse 1.2s ease-in-out infinite;
}

.hub-stat-value--text {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hub-stat-label {
    font-size: 0.7rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.hub-stat--top .hub-stat-icon {
    color: rgba(247, 197, 96, 0.9);
}

@media (max-width: 640px) {
    .hub-stats {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        border-radius: 20px;
        padding: 1rem 1.25rem;
        gap: 0.75rem;
    }

    .hub-stat {
        padding: 0;
    }

    .hub-stat-value--text {
        max-width: none;
    }

    .hub-stats-divider {
        width: 100%;
        height: 1px;
    }
}

/* Hub hero — jeu à la une, grand bandeau image + dégradé + CTA, à la manière
   d'une bibliothèque de jeu (Steam/Xbox) plutôt qu'un simple carrousel. */
.hub-hero {
    position: relative;
    display: block;
    height: 420px;
    border-radius: 28px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(184, 193, 219, 0.12);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    will-change: transform;
}

.hub-hero:hover,
.hub-hero:focus-visible {
    transform: translateY(-4px) scale(1.01);
    /* Spread négatif : sans ça, un flou (48px) plus grand que le décalage
       (20px) déborde sur les côtés et en haut de la carte et se voit comme
       un halo/bord lumineux au lieu d'une ombre portée en dessous. */
    box-shadow: 0 20px 36px -10px rgba(74, 111, 165, 0.45);
}

.hub-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hub-hero:hover .hub-hero-bg {
    transform: scale(1.04);
}

.hub-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 11, 28, 0.96) 0%, rgba(8, 11, 28, 0.55) 45%, rgba(8, 11, 28, 0.15) 100%);
}

.hub-hero-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2.5rem;
    max-width: 640px;
}

.hub-hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #f7c560;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.6rem;
}

.hub-hero-title {
    /* Toujours blanc, même en light mode : le titre repose sur la
       photo/dégradé sombre de la bannière, pas sur le fond de page. */
    color: #ffffff;
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.hub-hero-desc {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.hub-hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.hub-hero-meta .game-card-badge,
.hub-hero-meta .game-card-plays {
    position: static;
}

.hub-hero-top-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    color: #1a1300;
    background: linear-gradient(135deg, #ffd876 0%, #f7c560 100%);
    border-radius: 20px;
    padding: 0.3rem 0.7rem;
    box-shadow: 0 2px 10px rgba(247, 197, 96, 0.5);
    transform: rotate(-4deg);
}

.hub-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f7c560, #f2a93b);
    color: #14182f;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    transition: filter 0.2s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hub-hero-cta svg {
    width: 18px;
    height: 18px;
}

.hub-hero:hover .hub-hero-cta {
    filter: brightness(1.08);
    transform: scale(1.05);
}

/* Bibliothèque — les autres jeux, en grille simple plutôt qu'en carrousel. */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.game-card {
    display: flex;
    flex-direction: column;
    background: rgba(20, 26, 55, 0.92);
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(184, 193, 219, 0.12);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    box-shadow: 0 16px 40px rgba(74, 111, 165, 0.15);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    backface-visibility: hidden;
    will-change: transform;
}

.game-card:hover,
.game-card:focus-visible {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 36px -10px rgba(74, 111, 165, 0.45);
    border-color: rgba(114, 164, 242, 0.5);
}

.game-card-image {
    position: relative;
    width: 100%;
    height: 235px;
    margin-bottom: -1px;
    overflow: hidden;
    /* Sans ça, le hover (translateY sur .game-card + scale sur l'<img>) fait
       apparaître une ligne de 1px entre l'image et le bloc de contenu en
       dessous : deux transforms imbriqués qui se composent avec un
       arrondi sous-pixel légèrement différent. Forcer une couche GPU stable
       + chevaucher le bloc suivant d'1px masque le résidu. */
    transform: translateZ(0);
    backface-visibility: hidden;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.game-card:hover .game-card-image img {
    transform: scale(1.06);
}

.game-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 17, 38, 0.95) 0%, transparent 60%);
}

.game-card-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    /* Fixe, pas var(--text-white) : ce badge repose sur la photo du jeu,
       toujours sombre, quel que soit le thème du site. */
    color: #ffffff;
    background: rgba(10, 14, 39, 0.65);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 0.3rem 0.7rem;
    transform: rotate(3deg);
}

.game-card-top-badge {
    display: none;
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 2;
    font-size: 0.68rem;
    font-weight: 700;
    color: #1a1300;
    background: linear-gradient(135deg, #ffd876 0%, #f7c560 100%);
    border-radius: 20px;
    padding: 0.3rem 0.7rem;
    box-shadow: 0 2px 10px rgba(247, 197, 96, 0.5);
    transform: rotate(-4deg);
}

.game-card-plays {
    position: absolute;
    bottom: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    font-size: 0.68rem;
    font-weight: 600;
    color: #ffffff;
    background: rgba(10, 14, 39, 0.65);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 0.3rem 0.7rem;
}

.game-card--top-played {
    border-color: rgba(247, 197, 96, 0.35);
}

.game-card--top-played:hover {
    border-color: rgba(247, 197, 96, 0.6);
    box-shadow: 0 10px 24px rgba(247, 197, 96, 0.3);
}

.game-card--top-played .game-card-top-badge {
    display: inline-flex;
}

.game-card-play {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.game-card-play-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(10, 14, 39, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transform: scale(0.75);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.game-card-play-icon svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
    margin-left: 3px;
}

.game-card.is-active:hover .game-card-play {
    opacity: 1;
}

.game-card.is-active:hover .game-card-play-icon {
    transform: scale(1);
}

.game-card-content {
    padding: 1.4rem 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.game-card-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.game-card-desc {
    font-size: 0.92rem;
    color: var(--text-gray);
    line-height: 1.55;
    flex: 1;
}

.game-card-cta {
    margin-top: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.1rem;
    background: linear-gradient(135deg, #2b3a87 0%, #4a6fa5 100%);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
    transition: background 0.25s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.game-card:hover .game-card-cta {
    background: linear-gradient(135deg, #3545a0 0%, #5a80c5 100%);
    transform: scale(1.05);
}

.game-card-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}

.game-card:hover .game-card-cta svg {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 768px) {
    .games-page {
        padding: 6rem 2rem 3rem;
    }

    .games-title {
        font-size: 3rem;
    }

    .hub-hero {
        height: 340px;
    }

    .hub-hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .hub-hero {
        height: 300px;
    }

    .hub-hero-content {
        padding: 1.5rem;
    }

    .hub-hero-desc {
        font-size: 0.9rem;
    }

    .hub-grid {
        grid-template-columns: 1fr;
    }

    .game-card-image {
        height: 190px;
    }
}

@media (max-width: 480px) {
    .games-page {
        padding: 6rem 1.25rem 3rem;
    }

    .games-title {
        font-size: 2.5rem;
    }

    .games-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .game-card-image {
        height: 170px;
    }

    .game-card-content {
        padding: 1.25rem;
    }
}
