/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    background: #0f1115;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================
   HEADER
========================================= */

.main-header {
    width: 100%;
    height: 90px;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222;
}


.logo a {
    text-decoration: none;
    color: white;
    font-size: 32px;
    font-weight: bold;
}


/* =========================================
   MENU
========================================= */

.main-menu {
    display: flex;
    gap: 30px;
}


    .main-menu a {
        text-decoration: none;
        color: #d5d5d5;
        font-size: 16px;
        transition: .25s;
    }


        .main-menu a:hover {
            color: white;
        }


/* =========================================
   LOGIN
========================================= */

.login-area {
    display: flex;
    gap: 20px;
    align-items: center;
}


    .login-area span {
        color: #bbbbbb;
    }


    .login-area a {
        text-decoration: none;
        color: white;
    }


/* =========================================
   CONTEÚDO
========================================= */

.page-content {
    width: min(1400px, 90%);
    margin: 60px auto;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    text-align: center;
    padding: 40px;
    color: #777;
}


/* =========================================
   BOOSTER CARDS
========================================= */

.cards-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}


.card-box {
    width: 180px;
    height: 320px;
    background: #181818;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    transition: .3s;
}


    .card-box:hover {
        transform: translateY(-8px);
    }


.card-image {
    width: 180px;
    height: 230px;
    object-fit: cover;
    display: block;
}


.card-info {
    height: 90px;
    background: #181818;
    color: white;
    text-align: center;
    padding-top: 8px;
}


    .card-info h3 {
        font-size: 18px;
        margin: 5px;
    }


    .card-info p {
        margin: 5px;
    }


/* =========================================
   RARIDADES
========================================= */

.rarity-common {
    border: 4px solid #777;
}

.rarity-rare {
    border: 4px solid #2196f3;
    box-shadow: 0 0 10px #2196f3;
}

.rarity-legendary {
    border: 4px solid gold;
    box-shadow: 0 0 15px gold;
}

.rarity-mythic {
    border: 4px solid purple;
    box-shadow: 0 0 20px purple;
}


/* =========================================
   DUPLICADA
========================================= */

.duplicate {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ff9800;
    color: white;
    font-weight: bold;
    font-size: 14px;
}
/* ============================
   LOGO
============================ */

.logo a {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
}

.logo-image {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 30px;
    font-weight: 700;
    color: white;
    line-height: 30px;
}

.logo-subtitle {
    font-size: 15px;
    color: #ff8c00;
    letter-spacing: 4px;
    text-transform: uppercase;
}
/* ===================================================
   HEADER
=================================================== */

.main-header {
    background: #141414;
    position: sticky;
    top: 0;
    z-index: 9999;
    border-bottom: 1px solid #262626;
}

.header-container {
    width: 90%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

/* LOGO */

.site-logo {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
}

    .site-logo img {
        width: 70px;
        height: 70px;
    }

.logo-title {
    display: block;
    color: white;
    font-size: 30px;
    font-weight: 700;
    line-height: 28px;
}

.logo-subtitle {
    display: block;
    color: #ff8c00;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 13px;
}

/* MENU */

.main-menu {
    display: flex;
    gap: 30px;
}

    .main-menu a {
        color: #d7d7d7;
        text-decoration: none;
        font-size: 16px;
        position: relative;
        transition: .25s;
    }

        .main-menu a:hover {
            color: #ff8c00;
        }

        .main-menu a::after {
            content: "";
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 0;
            height: 2px;
            background: #ff8c00;
            transition: .25s;
        }

        .main-menu a:hover::after {
            width: 100%;
        }

/* USER */

.user-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.username {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
}

.username img,
.user-avatar-fallback {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border: 2px solid #9147ff;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(145deg, #2d183f, #ff8c00);
}

.hero-intro {
    display: grid;
    gap: 8px;
}

.hero-intro span {
    display: block;
}

.merch-page {
    min-height: 60vh;
    display: grid;
    align-content: center;
    justify-items: start;
    max-width: 760px;
}

.merch-page h1 {
    margin: 12px 0;
    font-size: clamp(3rem, 8vw, 6rem);
}

.merch-page > p {
    color: #c7c7c7;
    font-size: 1.2rem;
}

.merch-coming-soon {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 34px;
    padding: 24px 28px;
    border: 1px solid #303238;
    border-radius: 18px;
    background: linear-gradient(135deg, #191b20, #111216);
}

.merch-coming-soon img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.merch-coming-soon div {
    display: grid;
    gap: 6px;
}

.merch-coming-soon strong {
    color: #ff8c00;
    font-size: 1.2rem;
}

.merch-coming-soon span {
    color: #bbb;
}

.game-history-page {
    min-height: 60vh;
    display: grid;
    align-content: center;
    justify-items: start;
    max-width: 800px;
}

.game-history-page h1 {
    margin: 12px 0;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
}

.game-history-page > p {
    color: #c7c7c7;
    font-size: 1.2rem;
}

.game-history-empty {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 34px;
    padding: 24px 28px;
    border: 1px solid #303238;
    border-radius: 18px;
    background: linear-gradient(135deg, #191b20, #111216);
}

.game-history-empty img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.game-history-empty div {
    display: grid;
    gap: 6px;
}

.game-history-empty strong {
    color: #ff8c00;
    font-size: 1.2rem;
}

.game-history-empty span {
    color: #bbb;
}

/* CONTACTOS */
.contacts-hero {
    max-width: 780px;
    padding: 70px 0 44px;
}

.contacts-hero h1 {
    margin: 12px 0 16px;
    font-size: clamp(3.3rem, 8vw, 6rem);
}

.contacts-hero p {
    max-width: 680px;
    color: #b9bdc6;
    font-size: 1.2rem;
    line-height: 1.65;
}

.contacts-primary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-card {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 22px;
    min-height: 300px;
    border: 1px solid #2c3038;
    border-radius: 20px;
    padding: 30px;
    color: white;
    background: #17191e;
    text-decoration: none;
}

.contact-card > div {
    align-self: center;
}

.contact-card small {
    color: #aab0bb;
    font-weight: 900;
    letter-spacing: .12em;
}

.contact-card h2 {
    margin: 9px 0 12px;
    font-size: 2rem;
}

.contact-card p {
    color: #b9bdc6;
    line-height: 1.55;
}

.contact-card strong,
.contact-card a {
    display: inline-block;
    margin-top: 22px;
    color: white;
    font-weight: 900;
}

.contact-icon {
    display: grid;
    place-items: center;
    align-self: start;
    width: 66px;
    height: 66px;
    border-radius: 18px;
    color: white;
    background: #30343d;
    font-size: 1.8rem;
    font-weight: 900;
}

.contact-discord {
    background: linear-gradient(145deg, #242743, #17191e 65%);
}

.contact-discord .contact-icon {
    background: #5865f2;
}

.contact-discord:hover {
    border-color: #7781ff;
    transform: translateY(-2px);
}

.contact-email {
    background: linear-gradient(145deg, #352617, #17191e 65%);
}

.contact-email .contact-icon {
    color: #17191e;
    background: #ff8c00;
}

.contact-email button {
    display: block;
    margin-top: 12px;
    border: 1px solid #62441f;
    border-radius: 8px;
    padding: 9px 12px;
    color: #ffd39e;
    background: #2c2013;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.copy-email-feedback {
    display: block;
    min-height: 1.2em;
    margin-top: 8px;
    color: #91dba9;
    font-size: .8rem;
}

.website-support {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: center;
    gap: 22px;
    margin-top: 24px;
    border: 1px solid #34303d;
    border-radius: 18px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #1b1722, #15171b);
}

.website-support-icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border: 1px solid #72559a;
    border-radius: 16px;
    color: #e2caff;
    background: #2b1d3d;
    font-size: 1.8rem;
    font-weight: 900;
}

.website-support h2 {
    margin: 7px 0;
    font-size: 1.4rem;
}

.website-support p {
    color: #aeb2bc;
    line-height: 1.5;
}

.website-support > a {
    border: 1px solid #7065d8;
    border-radius: 10px;
    padding: 12px 15px;
    color: white;
    background: #5865f2;
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
}

.website-support > a:hover {
    background: #6975ff;
}

.contacts-social {
    margin-top: 65px;
}

.contacts-social > h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.contacts-social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.social-link {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    align-items: center;
    gap: 14px;
    border: 1px solid #2b2f37;
    border-radius: 14px;
    padding: 18px;
    color: white;
    background: #16181d;
    text-decoration: none;
}

.social-link > span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    color: white;
    background: #30343d;
    font-weight: 900;
}

.social-link div {
    display: grid;
    gap: 3px;
}

.social-link small {
    color: #9499a3;
}

.social-link i {
    color: #868b95;
    font-style: normal;
}

.social-link.twitch > span { background: #9147ff; }
.social-link.twitch svg {
    width: 25px;
    height: 25px;
}
.social-link.youtube > span { background: #ff0033; }
.social-link.tiktok > span { background: #13151a; box-shadow: -2px 0 #25f4ee, 2px 0 #fe2c55; }
.social-link:hover { border-color: #ff8c00; transform: translateY(-2px); }

.contacts-guidance {
    margin: 36px 0 80px;
    border-left: 3px solid #ff8c00;
    padding: 16px 20px;
    color: #b9bdc6;
    background: #15171b;
}

.contacts-guidance strong {
    display: block;
    margin-bottom: 5px;
    color: white;
}

/* JOGOS DA COMUNIDADE */
.community-games-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    padding: 65px 0 50px;
}

.community-games-hero h1 {
    max-width: 850px;
    margin: 10px 0 16px;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: .95;
}

.community-games-hero p {
    max-width: 720px;
    color: #b8bdc7;
    font-size: 1.16rem;
    line-height: 1.65;
}

.community-games-live {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    border: 1px solid #ae7dff;
    border-radius: 11px;
    padding: 13px 17px;
    color: white;
    background: #9147ff;
    text-decoration: none;
    font-weight: 900;
}

.community-games-live svg {
    width: 22px;
    height: 22px;
}

.community-games-live:hover {
    background: #a25fff;
    transform: translateY(-2px);
}

.community-games-grid {
    display: grid;
    gap: 28px;
}

.community-game-card {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
    overflow: hidden;
    border: 1px solid #2c3037;
    border-radius: 22px;
    background: #17191d;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .2);
}

.community-game-card:nth-child(even) {
    grid-template-columns: minmax(320px, .75fr) minmax(0, 1.45fr);
}

.community-game-card:nth-child(even) .community-game-image {
    grid-column: 2;
    grid-row: 1;
}

.community-game-card:nth-child(even) .community-game-copy {
    grid-column: 1;
    grid-row: 1;
}

.community-game-image {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 390px;
    border: 0;
    padding: 0;
    background: #090a0d;
    cursor: pointer;
}

.community-game-image img {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform .45s ease, filter .45s ease;
}

.community-game-image::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, transparent 65%, rgba(10, 11, 14, .2));
    pointer-events: none;
}

.community-game-image:hover img,
.community-game-image:focus-visible img {
    transform: scale(1.025);
    filter: saturate(1.08);
}

.community-game-image > span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    border: 1px solid rgba(255, 159, 43, .55);
    border-radius: 999px;
    padding: 7px 10px;
    color: #ffd09b;
    background: rgba(17, 13, 8, .85);
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .11em;
}

.community-game-copy {
    position: relative;
    display: grid;
    align-content: center;
    justify-items: start;
    padding: clamp(28px, 5vw, 58px);
}

.community-game-number {
    position: absolute;
    top: 22px;
    right: 24px;
    color: rgba(255, 140, 0, .24);
    font-size: 2.6rem;
    font-weight: 900;
}

.community-game-copy h2 {
    margin: 0 0 9px;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.community-game-copy > strong {
    color: #ff9d29;
    font-size: 1.05rem;
}

.community-game-copy > p {
    margin: 18px 0 26px;
    color: #b7bbc4;
    line-height: 1.6;
}

.community-game-copy > button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #454a54;
    border-radius: 9px;
    padding: 11px 14px;
    color: white;
    background: #22252b;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.community-game-copy > button:hover {
    border-color: #ff8c00;
    color: #ffc37a;
}

.community-games-how {
    margin: 75px 0;
    border: 1px solid #2c3037;
    border-radius: 20px;
    padding: clamp(28px, 5vw, 48px);
    background: linear-gradient(145deg, #191b20, #121317);
}

.community-games-how h2 {
    margin: 8px 0 28px;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.community-games-how > div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.community-games-how article {
    display: grid;
    grid-template-columns: 45px 1fr;
    align-items: center;
    gap: 12px;
    color: #bcc0c8;
}

.community-games-how article strong {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #6f4c23;
    border-radius: 50%;
    color: #ffad49;
    background: #25190e;
}

.community-leaderboards {
    margin: 0 0 80px;
}

.community-leaderboards-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 24px;
}

.community-leaderboards-heading h2 {
    margin: 8px 0 0;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.community-leaderboards-heading p {
    max-width: 400px;
    margin: 0;
    color: #aeb3bd;
    text-align: right;
}

.community-leaderboards-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
}

.community-leaderboard {
    overflow: hidden;
    border: 1px solid #30343c;
    border-radius: 20px;
    padding: 25px;
    background:
        radial-gradient(circle at 90% 0, rgba(255, 140, 0, .11), transparent 36%),
        #17191d;
}

.community-leaderboard-bomb {
    background:
        radial-gradient(circle at 90% 0, rgba(145, 71, 255, .14), transparent 38%),
        #17191d;
}

.community-leaderboard > header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.community-leaderboard > header span:not(.community-leaderboard-icon) {
    color: #ff9d29;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .15em;
}

.community-leaderboard h3 {
    margin: 2px 0 0;
    font-size: 1.55rem;
}

.community-leaderboard-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid #6b471d;
    border-radius: 14px;
    color: #ff9d29;
    background: #26190d;
    font-size: 1.45rem;
    font-weight: 1000;
}

.community-leaderboard-bomb .community-leaderboard-icon {
    border-color: #503879;
    background: #21182f;
}

.community-ranking-list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.community-ranking-list li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    border: 1px solid #292d34;
    border-radius: 13px;
    padding: 9px 13px 9px 10px;
    background: rgba(10, 11, 14, .58);
}

.community-ranking-list li.rank-1 {
    border-color: rgba(255, 185, 51, .55);
    background: linear-gradient(90deg, rgba(109, 72, 8, .3), rgba(10, 11, 14, .58));
}

.community-ranking-position {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #d6dae1;
    background: #292d34;
    font-weight: 1000;
}

.rank-1 .community-ranking-position {
    color: #17120a;
    background: linear-gradient(145deg, #fff2a8, #f4a51c);
}

.rank-2 .community-ranking-position {
    color: #1b1c20;
    background: linear-gradient(145deg, #f2f4f7, #9299a5);
}

.rank-3 .community-ranking-position {
    color: #21140d;
    background: linear-gradient(145deg, #e7a66b, #8f4f27);
}

.community-ranking-player {
    display: grid;
    min-width: 0;
}

.community-ranking-player small {
    overflow: hidden;
    color: #8f96a2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.community-ranking-score {
    color: #ffad49;
    text-align: right;
    font-size: 1.05rem;
    font-weight: 1000;
}

.community-ranking-score small {
    display: block;
    color: #858c97;
    font-size: .65rem;
    font-weight: 700;
}

.community-leaderboard-state {
    margin: 0;
    border: 1px dashed #383d46;
    border-radius: 13px;
    padding: 24px;
    color: #9299a5;
    text-align: center;
}

.community-game-dialog {
    width: min(920px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    margin: auto;
    border: 1px solid #393d46;
    border-radius: 22px;
    padding: 0;
    color: white;
    background: #17191d;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .7);
}

.community-game-dialog::backdrop {
    background: rgba(3, 4, 6, .84);
    backdrop-filter: blur(6px);
}

.community-game-dialog-shell {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.community-game-dialog-shell > img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.community-game-dialog-shell > div {
    align-self: center;
    padding: 42px;
}

.community-game-dialog-shell h2 {
    margin: 9px 0 15px;
    font-size: 2.15rem;
}

.community-game-dialog-shell p {
    color: #b9bdc6;
    line-height: 1.6;
}

.community-game-dialog-shell a {
    display: inline-block;
    margin-top: 25px;
    border-radius: 9px;
    padding: 12px 15px;
    color: white;
    background: #9147ff;
    text-decoration: none;
    font-weight: 900;
}

.community-game-dialog-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #484c55;
    border-radius: 50%;
    color: white;
    background: rgba(20, 22, 27, .9);
    font-size: 1.4rem;
    cursor: pointer;
}

@media (max-width: 850px) {
    .community-games-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .community-game-card,
    .community-game-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .community-game-card:nth-child(even) .community-game-image,
    .community-game-card:nth-child(even) .community-game-copy {
        grid-column: 1;
        grid-row: auto;
    }

    .community-game-image {
        min-height: auto;
    }

    .community-games-how > div {
        grid-template-columns: 1fr;
    }

    .community-leaderboards-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .community-leaderboards-heading p {
        text-align: left;
    }

    .community-leaderboards-grid {
        grid-template-columns: 1fr;
    }

    .community-game-dialog-shell {
        grid-template-columns: 1fr;
    }

    .community-game-dialog-shell > img {
        min-height: 0;
        max-height: 330px;
    }
}

@media (max-width: 520px) {
    .community-ranking-list li {
        grid-template-columns: 38px minmax(0, 1fr) auto;
        gap: 8px;
        padding-right: 9px;
    }

    .community-ranking-player small {
        font-size: .68rem;
    }
}

@media (max-width: 800px) {
    .contacts-primary,
    .contacts-social-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        grid-template-columns: 1fr;
    }

    .website-support {
        grid-template-columns: 1fr;
        justify-items: start;
    }
}

.history-month {
    margin: 18px 0 70px;
}

.history-month > header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 14px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid #2b2d32;
}

.history-month > header span {
    grid-column: 1 / -1;
    color: #ff8c00;
    font-weight: 900;
    letter-spacing: .14em;
}

.history-month > header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-transform: capitalize;
}

.history-month > header strong {
    align-self: end;
    color: #92959d;
}

.history-filters {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) 150px 170px;
    gap: 12px;
    margin: 0 0 42px;
    padding: 16px;
    border: 1px solid #292c32;
    border-radius: 14px;
    background: #15171b;
}

.history-filters label {
    display: grid;
    gap: 7px;
}

.history-filters label > span {
    color: #9ca0aa;
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.history-filters input,
.history-filters select {
    width: 100%;
    border: 1px solid #353942;
    border-radius: 9px;
    padding: 11px 12px;
    color: white;
    background: #0e1014;
    font: inherit;
}

.history-filters input:focus,
.history-filters select:focus {
    border-color: #ff8c00;
    outline: none;
}

.history-no-results {
    margin: 30px 0 70px;
    padding: 28px;
    border: 1px dashed #363a43;
    border-radius: 14px;
    color: #a9adb5;
    text-align: center;
}

.history-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 14px;
}

.history-game-tile {
    display: grid;
    grid-template-rows: 1fr auto;
    align-items: stretch;
    aspect-ratio: 4 / 5;
    min-width: 0;
    border: 1px solid #2b2d32;
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
    color: white;
    background: #17191d;
    font: inherit;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.history-game-tile span {
    padding: 12px 10px;
    overflow-wrap: anywhere;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
}

.history-game-tile > img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
}

.history-game-tile .history-game-placeholder {
    display: grid;
    place-items: center;
    padding: 0;
    font-size: 2.5rem;
}

.history-game-tile:hover,
.history-game-tile:focus-visible {
    border-color: #ff8c00;
    background: #1e1b17;
    transform: translateY(-2px);
}

.history-game-dialog {
    width: min(560px, calc(100vw - 32px));
    max-height: min(720px, calc(100vh - 32px));
    margin: auto;
    border: 1px solid #343740;
    border-radius: 18px;
    padding: 0;
    color: white;
    background: #17191d;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .65);
}

.history-game-dialog::backdrop {
    background: rgba(3, 4, 6, .82);
    backdrop-filter: blur(5px);
}

.history-dialog-shell {
    position: relative;
    padding: 30px;
}

.history-dialog-shell h2 {
    margin: 10px 42px 6px 0;
    font-size: clamp(1.8rem, 5vw, 2.7rem);
}

.history-dialog-shell > p {
    color: #9599a2;
}

.history-dialog-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #3b3e47;
    border-radius: 50%;
    color: white;
    background: #22252b;
    font-size: 1.4rem;
    cursor: pointer;
}

.history-game-dialog .history-vod-list {
    margin-top: 24px;
}

.platinum-page-intro {
    min-height: 42vh;
}

.platinum-game-tile {
    position: relative;
}

.platinum-number {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(220, 242, 255, .65);
    border-radius: 999px;
    padding: 6px 9px;
    color: #f3fbff;
    background: rgba(25, 39, 55, .9);
    box-shadow: 0 3px 14px rgba(0, 0, 0, .4);
    font-size: .82rem;
}

.platinum-number img {
    width: 25px;
    height: 25px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(120, 203, 255, .75));
}

.platinum-symbol {
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(120, 203, 255, .55));
}

.platinum-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 26px;
}

.platinum-links a {
    border: 1px solid #52697d;
    border-radius: 10px;
    padding: 14px;
    color: #e5f6ff;
    background: #1b2732;
    text-align: center;
    text-decoration: none;
    font-weight: 900;
}

.platinum-links a:hover {
    border-color: #9cddff;
    background: #223748;
}

.history-game-card {
    overflow: hidden;
    border: 1px solid #2b2d32;
    border-radius: 18px;
    background: #17191d;
}

.history-game-cover {
    position: relative;
    height: 190px;
    background: #0b0c0f;
}

.history-game-cover > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history-game-cover > span {
    display: grid;
    place-items: center;
    height: 100%;
    font-size: 3rem;
}

.history-game-cover small {
    position: absolute;
    right: 12px;
    bottom: 12px;
    border-radius: 999px;
    padding: 6px 10px;
    color: white;
    background: rgba(15, 17, 21, .88);
    font-weight: 800;
}

.history-game-cover small.status-completed { background: #167a43; }
.history-game-cover small.status-playing { background: #9147ff; }
.history-game-cover small.status-abandoned { background: #8e3434; }

.history-game-content {
    padding: 20px;
}

.history-game-content > h3 {
    margin-bottom: 4px;
    font-size: 1.35rem;
}

.history-game-content > span {
    color: #9699a1;
    font-size: .9rem;
}

.history-vod-list {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.history-vod-list a {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 2px 10px;
    padding: 11px 12px;
    border: 1px solid #292c32;
    border-radius: 10px;
    color: white;
    background: #111317;
    text-decoration: none;
}

.history-vod-list a:hover {
    border-color: #9147ff;
    background: #18131f;
}

.history-vod-list a > strong {
    grid-row: 1 / 3;
    align-self: center;
    color: #ff8c00;
}

.history-vod-list a > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
}

.history-vod-list a > small {
    color: #9c9fa8;
}

@media (max-width: 680px) {
    .history-month > header {
        grid-template-columns: 1fr;
    }

    .history-month > header strong {
        align-self: auto;
    }

    .history-game-grid {
        grid-template-columns: 1fr;
    }

    .history-filters {
        grid-template-columns: 1fr;
    }
}

.admin-nav-link {
    padding: 8px 12px;
    color: #d7bcff;
    background: rgba(145,70,255,.12);
    border: 1px solid rgba(177,128,255,.3);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
}

.admin-nav-link:hover {
    color: white;
    background: rgba(145,70,255,.24);
}

.login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    border: 1px solid #aa72ff;
    border-radius: 9px;
    padding: 10px 17px;
    color: white;
    background: #9147ff;
    box-shadow: 0 5px 18px rgba(145, 71, 255, .24);
    text-decoration: none;
    font-weight: 900;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.login-btn:hover,
.login-btn:focus-visible {
    border-color: #c49aff;
    color: white;
    background: #a463ff;
    transform: translateY(-1px);
}

.login-btn:focus-visible {
    outline: 3px solid rgba(177, 128, 255, .35);
    outline-offset: 3px;
}

.logout-btn {
    background: #ff8c00;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: .25s;
}

    .logout-btn:hover {
        background: #ff9d1f;
    }
/* =====================================
   HERO
===================================== */

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70vh;
    gap: 80px;
}

.hero-left {
    flex: 1;
}

.hero-small {
    color: #ff8c00;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 14px;
}

.hero h1 {
    font-size: 72px;
    line-height: 75px;
    margin: 20px 0;
}

.hero p {
    color: #bfbfbf;
    font-size: 20px;
    line-height: 36px;
    max-width: 550px;
}

.hero-buttons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: #ff8c00;
    color: white;
    padding: 16px 34px;
    border-radius: 10px;
    text-decoration: none;
    transition: .25s;
}

    .btn-primary:hover {
        transform: translateY(-3px);
    }

.btn-secondary {
    border: 1px solid #555;
    color: white;
    padding: 16px 34px;
    border-radius: 10px;
    text-decoration: none;
    transition: .25s;
}

    .btn-secondary:hover {
        border-color: #ff8c00;
    }

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

    .hero-right img {
        width: 420px;
        transition: .4s;
    }

        .hero-right img:hover {
            transform: scale(1.03);
        }
/* =====================================
   TWITCH PLAYER
===================================== */

.twitch-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

    .twitch-wrapper iframe:first-child {
        width: 640px;
        height: 360px;
        border: none;
        border-radius: 14px;
        overflow: hidden;
    }

    .twitch-wrapper iframe:last-child {
        width: 340px;
        height: 360px;
        border: none;
        border-radius: 14px;
        overflow: hidden;
    }
/* =====================================
   CONTENT CAROUSELS
===================================== */


.content-section {
    margin-top: 100px;
}


    .content-section h2 {
        font-size: 36px;
        margin-bottom: 35px;
    }



.horizontal-scroll {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding-bottom: 20px;
}



    .horizontal-scroll::-webkit-scrollbar {
        height: 6px;
    }



.release-card {
    min-width: 220px;
    background: #171717;
    border-radius: 18px;
    overflow: hidden;
    transition: .3s;
}

.game-card-button {
    width: 220px;
    min-width: 220px;
    padding: 0;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, .07);
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.game-card-button:focus-visible {
    outline: 3px solid rgba(145, 70, 255, .6);
    outline-offset: 3px;
}



    .release-card:hover {
        transform: translateY(-8px);
    }



.placeholder-image {
    height: 300px;
    background: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #777;
    font-size: 30px;
}



.release-card h3 {
    padding: 15px 15px 5px;
    font-size: 20px;
}



.release-card p {
    padding: 0 15px 20px;
    color: #999;
}
.release-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    background: #101216;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
}

    .release-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.release-info {
    padding: 14px;
}

.game-card-button .release-info h3 {
    padding: 0;
    margin: 0;
    overflow: hidden;
    font-size: .9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.series-popularity {
    display: block;
    margin-top: 12px;
    color: #ffb347;
    font-size: .8rem;
}

.series-trailer-panel {
    padding: 20px;
    background:
        linear-gradient(135deg, rgba(197, 40, 40, .14), transparent),
        #181b22;
    border: 1px solid rgba(224, 71, 71, .3);
    border-radius: 12px;
}

.series-trailer-panel p {
    color: #aeb3bd;
}

.series-trailer-panel a,
.series-external-links a {
    display: inline-flex;
    padding: 10px 15px;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
}

.series-trailer-panel a {
    background: #c52828;
}

.series-external-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.series-external-links a:first-child {
    color: #111;
    background: #f5c518;
}

.series-external-links a:last-child {
    background: #fa320a;
}

.gaming-news-section {
    padding-bottom: 40px;
}

.news-section-heading {
    margin-bottom: 24px;
}

.news-section-heading span {
    color: #ff923f;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .18em;
}

.news-section-heading h2 {
    margin: 7px 0 5px;
}

.news-section-heading p {
    margin: 0;
    color: #aeb3bd;
}

.gaming-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(350px, .75fr);
    gap: 18px;
}

.featured-news {
    position: relative;
    display: grid;
    min-height: 440px;
    overflow: hidden;
    color: white;
    background: #17191f;
    border: 1px solid #30333c;
    border-radius: 20px;
    text-decoration: none;
}

.featured-news > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .62;
    transition: transform .35s ease, opacity .35s ease;
}

.featured-news::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(
        to top,
        rgba(8, 9, 12, .98) 5%,
        rgba(8, 9, 12, .34) 75%);
}

.featured-news > div {
    position: relative;
    z-index: 1;
    align-self: end;
    padding: 30px;
}

.featured-news span,
.compact-news-list span {
    color: #d2b3ff;
    font-size: .64rem;
    font-weight: 800;
}

.featured-news h3 {
    max-width: 800px;
    margin: 10px 0;
    font-size: clamp(1.7rem, 4vw, 2.7rem);
    line-height: 1.08;
}

.featured-news p {
    max-width: 720px;
    color: #d0d3da;
    line-height: 1.5;
}

.featured-news strong {
    color: #ff9b4d;
    font-size: .8rem;
}

.featured-news:hover > img {
    opacity: .75;
    transform: scale(1.03);
}

.compact-news-list {
    display: grid;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.compact-news-list a {
    display: grid;
    grid-template-columns: 125px 1fr;
    min-height: 100px;
    overflow: hidden;
    color: white;
    background: #17191f;
    border: 1px solid #30333c;
    border-radius: 13px;
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease;
}

.compact-news-list a:nth-child(n+4) {
    display: none;
}

.compact-news-list img {
    width: 125px;
    height: 100%;
    object-fit: cover;
}

.compact-news-list div {
    align-self: center;
    padding: 14px;
}

.compact-news-list h3 {
    display: -webkit-box;
    margin: 7px 0 0;
    overflow: hidden;
    font-size: .9rem;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.compact-news-list a:hover {
    border-color: #9146ff;
    transform: translateX(3px);
}

.news-ticker {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    margin-top: 14px;
    overflow: hidden;
    background: #15171c;
    border: 1px solid #2e323b;
    border-radius: 12px;
}

.news-ticker > strong {
    position: relative;
    z-index: 2;
    align-self: stretch;
    display: grid;
    padding: 0 18px;
    place-items: center;
    color: #17100a;
    background: linear-gradient(135deg, #ffb14a, #ff7a18);
    font-size: .65rem;
    letter-spacing: .12em;
}

.news-ticker-window {
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent,
        black 3%,
        black 97%,
        transparent);
}

.news-ticker-track {
    display: flex;
    width: max-content;
    animation: news-ticker-scroll 55s linear infinite;
}

.news-ticker:hover .news-ticker-track,
.news-ticker:focus-within .news-ticker-track {
    animation-play-state: paused;
}

.news-ticker-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.news-ticker a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px 15px 16px;
    color: #d9dbe0;
    font-size: .78rem;
    text-decoration: none;
    white-space: nowrap;
}

.login-btn svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.news-ticker a::after {
    position: absolute;
    right: 12px;
    width: 4px;
    height: 4px;
    content: "";
    background: #9146ff;
    border-radius: 50%;
}

.news-ticker a span {
    color: #b88aff;
    font-size: .6rem;
    font-weight: 900;
    text-transform: uppercase;
}

.news-ticker a:hover {
    color: #ff9b4d;
}

@keyframes news-ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .news-ticker-window {
        overflow-x: auto;
        mask-image: none;
    }

    .news-ticker-track {
        animation: none;
    }

    .news-ticker-group[aria-hidden="true"] {
        display: none;
    }
}

@media (max-width: 850px) {
    .gaming-news-layout {
        grid-template-columns: 1fr;
    }

    .featured-news {
        min-height: 380px;
    }
}

@media (max-width: 520px) {
    .featured-news {
        min-height: 340px;
    }

    .featured-news > div {
        padding: 22px;
    }

    .compact-news-list a {
        grid-template-columns: 90px 1fr;
    }

    .compact-news-list img {
        width: 90px;
    }

    .news-ticker {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .news-ticker > strong {
        justify-content: start;
        min-height: 30px;
    }
}

.release-platform {
    margin-top: 8px;
    overflow: hidden;
    color: #B8B8B8;
    font-size: .68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.release-date {
    margin-top: 6px;
    color: #A7A7A7;
    font-size: .68rem;
}

.release-hype {
    margin-top: 9px;
    color: #ffb347;
    font-size: .68rem;
    font-weight: 700;
}

.game-carousel {
    position: relative;
    padding: 0 44px;
}

.game-carousel-track {
    gap: 16px;
    margin: 0;
    padding: 5px 1px 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.game-carousel-track::-webkit-scrollbar {
    display: none;
}

.game-carousel-track .game-card-button {
    scroll-snap-align: start;
}

.game-carousel-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: none;
    width: 38px;
    height: 58px;
    padding: 0;
    color: white;
    background: rgba(24, 26, 32, .94);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 11px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background .2s ease, opacity .2s ease, transform .2s ease;
}

.game-carousel.is-scrollable .game-carousel-arrow {
    display: grid;
    place-items: center;
}

.game-carousel-prev {
    left: 0;
}

.game-carousel-next {
    right: 0;
}

.game-carousel-arrow:hover:not(:disabled) {
    background: #9146ff;
    transform: translateY(-50%) scale(1.06);
}

.game-carousel-arrow:disabled {
    opacity: .22;
    cursor: default;
}

.game-dialog {
    width: min(1040px, calc(100% - 30px));
    max-height: calc(100vh - 40px);
    padding: 0;
    overflow: hidden;
    color: #f8f8fa;
    background: #111319;
    border: 1px solid #343844;
    border-radius: 22px;
}

.game-dialog::backdrop {
    background: rgba(4, 5, 8, .82);
    backdrop-filter: blur(8px);
}

.game-dialog-shell {
    position: relative;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.game-dialog-close {
    position: sticky;
    z-index: 3;
    top: 16px;
    float: right;
    width: 40px;
    height: 40px;
    margin: 16px 16px -56px 0;
    color: white;
    background: rgba(10, 11, 15, .86);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
}

.game-dialog-header {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 28px;
    min-height: 270px;
    padding: 28px;
    background:
        radial-gradient(circle at 80% 0, rgba(145, 70, 255, .22), transparent 42%),
        linear-gradient(135deg, rgba(255, 122, 24, .08), transparent 40%),
        #191b22;
}

.game-dialog-header > img {
    width: 190px;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, .45);
}

.game-dialog-header > div {
    align-self: center;
}

.game-dialog-header span {
    color: #bd93ff;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.game-dialog-header h2 {
    margin: 10px 0;
    font-size: clamp(2rem, 5vw, 3.4rem);
}

.game-dialog-header p,
.game-dialog-header time {
    display: block;
    margin: 5px 0;
    color: #aeb3bd;
}

.game-dialog-body {
    display: grid;
    gap: 30px;
    padding: 30px;
}

.game-dialog-body section h3 {
    margin: 0 0 13px;
}

.game-description {
    max-width: 85ch;
    margin: 0;
    color: #c1c5cd;
    line-height: 1.7;
}

.game-studios {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.game-studios span {
    display: grid;
    gap: 3px;
    padding: 10px 14px;
    color: #c8ccd4;
    background: #1b1e25;
    border: 1px solid #30343d;
    border-radius: 9px;
    font-size: .8rem;
}

.game-studios strong {
    color: #858b96;
    font-size: .6rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.game-trailer {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #08090c;
    border-radius: 14px;
}

.game-trailer iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.game-trailer-missing {
    padding: 20px;
    background: #181b22;
    border: 1px dashed #3b404b;
    border-radius: 12px;
}

.game-trailer-missing p {
    color: #aeb3bd;
}

.game-trailer-missing a {
    display: inline-flex;
    padding: 10px 14px;
    color: white;
    background: #c52828;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
}

.game-screenshots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.game-screenshots a {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
}

.game-screenshots img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.game-screenshots a:hover img {
    transform: scale(1.04);
}

.game-store-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.game-store-links a {
    padding: 11px 16px;
    color: white;
    background: linear-gradient(135deg, #762bd9, #9146ff);
    border-radius: 9px;
    text-decoration: none;
    font-weight: 800;
}

.game-store-links a:first-child {
    background: linear-gradient(135deg, #1d485d, #257ca3);
}

@media (max-width: 650px) {
    .game-card-button {
        width: 200px;
        min-width: 200px;
    }

    .release-image {
        height: 200px;
    }

    .game-carousel {
        padding: 0 34px;
    }

    .game-carousel-arrow {
        width: 30px;
        height: 50px;
    }

    .game-dialog-header {
        grid-template-columns: 105px 1fr;
        gap: 16px;
        min-height: auto;
        padding: 22px;
    }

    .game-dialog-header > img {
        width: 105px;
        height: 145px;
    }

    .game-dialog-header h2 {
        font-size: 1.65rem;
    }

    .game-dialog-body {
        padding: 22px;
    }

    .game-screenshots {
        grid-template-columns: 1fr;
    }
}
