/* =========================
   Base / Tokens
========================= */
:root {
    --bg-0: #050b13;
    --bg-1: #071321;
    --bg-2: #0b1e33;
    --panel: #0b1524;
    --panel-2: #0f2138;

    --text: #e8edf7;
    --muted: #a8b4ca;

    --accent: #ff2b3b;
    --accent-2: #00d4ff;

    --radius: 16px;
    --radius-sm: 12px;

    --shadow: 0 18px 45px rgba(0, 0, 0, .45);
    --shadow-soft: 0 12px 30px rgba(0, 0, 0, .35);

    --container: 1180px;

    --focus: 0 0 0 3px rgba(255, 43, 59, .35);
}

* {
    box-sizing: border-box;
}

html {
    color-scheme: dark;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    background: radial-gradient(1200px 800px at 50% -10%, rgba(0, 212, 255, .15), transparent 55%),
        radial-gradient(1000px 700px at 10% 20%, rgba(255, 43, 59, .10), transparent 60%),
        linear-gradient(180deg, var(--bg-0), var(--bg-1) 35%, var(--bg-0));
    color: var(--text);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible {
    outline: none;
    box-shadow: var(--focus);
    border-radius: 10px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 18px;
}

.skip {
    position: absolute;
    left: 16px;
    top: 16px;
    background: var(--panel);
    color: var(--text);
    padding: 10px 14px;
    border-radius: 12px;
    transform: translateY(-120%);
    transition: transform .2s ease;
    z-index: 9999;
}

.skip:focus {
    transform: translateY(0);
}

/* =========================
   Topbar
========================= */
.topbar {
    background: linear-gradient(180deg, rgba(0, 0, 0, .65), rgba(0, 0, 0, .10));
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 44px;
    font-size: 13px;
    color: var(--muted);
}

.topbar__left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar__label {
    text-transform: lowercase;
    letter-spacing: .2px;
}

.topbar__icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .06);
    transition: transform .15s ease, border-color .15s ease;
}

.icon-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 43, 59, .35);
}

.icon {
    width: 15px;
    height: 15px;
    fill: currentColor;
    opacity: .95;
}

.topbar__right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar__mail {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* =========================
   Navbar
========================= */
.nav {
    position: sticky;
    top: 0;
    z-index: 2000;
    background: rgba(5, 11, 19, .72);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 62px;
    gap: 14px;
}

.nav__left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav__toggle {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    cursor: pointer;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: .6px;
}

.brand__mark {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(255, 43, 59, .15);
}

.brand__logo {
    height: 40px;
    width: auto;
}

.brand__name {
    font-size: 16px;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav__link {
    color: rgba(232, 237, 247, .82);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .9px;
    text-transform: uppercase;
    opacity: .92;
    position: relative;
    padding: 8px 4px;
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0%;
    background: var(--accent);
    transition: width .2s ease;
}

.nav__link:hover::after {
    width: 100%;
}

.nav__right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(232, 237, 247, .86);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .6px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .03);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 43, 59, .35);
    background: linear-gradient(180deg, rgba(255, 43, 59, .95), rgba(255, 43, 59, .75));
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .7px;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(255, 43, 59, .18);
}

.btn:hover {
    filter: brightness(1.05);
}

.btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .12);
    color: rgba(232, 237, 247, .90);
    box-shadow: none;
}

.btn--ghost:hover {
    border-color: rgba(255, 43, 59, .35);
}

/* Mobile menu behavior */
@media (max-width: 980px) {
    .nav__menu {
        position: absolute;
        left: 18px;
        right: 18px;
        top: 68px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px;
        background: rgba(11, 21, 36, .92);
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 16px;
        box-shadow: var(--shadow-soft);
        display: none;
    }

    .nav__menu.nav__menu--open {
        display: flex;
    }
}

/* =========================
   Hero
========================= */
.hero {
    padding: 22px 0 10px;
}

.hero__card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, .08);
    background: var(--panel);
}

.hero__media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 11, 19, .85) 0%, rgba(5, 11, 19, .55) 38%, rgba(5, 11, 19, .22) 62%, rgba(5, 11, 19, .10) 100%),
        url("/assets/img/hero.jpg") center/cover no-repeat;
    filter: saturate(1.05) contrast(1.05);
}

.hero__content {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 18px;
    padding: 44px 42px;
    min-height: 360px;
}

.hero__title {
    margin: 0;
    font-size: clamp(42px, 5vw, 64px);
    letter-spacing: .8px;
    line-height: .95;
}

.hero__title span {
    display: block;
}

.hero__title .thin {
    font-weight: 700;
    opacity: .92;
}

.hero__title .bold {
    font-weight: 900;
}

.hero__desc {
    margin: 14px 0 18px;
    color: rgba(232, 237, 247, .78);
    font-size: 12px;
    letter-spacing: .7px;
    text-transform: uppercase;
    line-height: 1.55;
    max-width: 520px;
}

.hero__desc strong {
    color: rgba(255, 255, 255, .92);
    font-weight: 900;
}

.badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(0, 0, 0, .45);
    border: 1px solid rgba(255, 255, 255, .10);
}

.badge__meta {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.badge__small {
    font-size: 10px;
    color: rgba(232, 237, 247, .72);
}

.badge__big {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .2px;
}

.hero__aside {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.hero__asideHint {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    background:
        radial-gradient(260px 260px at 70% 45%, rgba(255, 43, 59, .25), transparent 60%),
        radial-gradient(280px 280px at 35% 55%, rgba(0, 212, 255, .18), transparent 62%),
        linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .08);
    opacity: .0;
    /* na imagem, o foco é o personagem; aqui deixo “invisível” */
}

@media (max-width: 980px) {
    .hero__content {
        grid-template-columns: 1fr;
        padding: 34px 22px;
        min-height: 340px;
    }

    .hero__asideHint {
        display: none;
    }
}

/* =========================
   Platforms row
========================= */
.platforms {
    padding: 18px 0 8px;
}

.platforms__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.platform {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 16px;
    border-radius: 16px;
    background: rgba(15, 33, 56, .55);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .20);
}

.platform__icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
}

.platform__name {
    font-weight: 900;
    letter-spacing: .4px;
    font-size: 13px;
}

.platform__cta {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: rgba(255, 43, 59, .9);
    font-weight: 900;
}

@media (max-width: 980px) {
    .platforms__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .platforms__grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   Games grid (cards)
========================= */
.section {
    padding: 22px 0;
}

.games__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.card {
    border-radius: 18px;
    background: rgba(11, 21, 36, .55);
    border: 1px solid rgba(255, 255, 255, .08);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.card__thumb {
    height: 150px;
    background: rgba(255, 255, 255, .06);
}

.card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card__body {
    padding: 14px 14px 16px;
}

.card__title {
    margin: 2px 0 8px;
    font-size: 12px;
    letter-spacing: .8px;
    text-transform: uppercase;
    font-weight: 900;
}

.card__text {
    margin: 0 0 14px;
    color: rgba(232, 237, 247, .70);
    font-size: 12px;
    line-height: 1.45;
    min-height: 52px;
}

.card__tag {
    font-weight: 900;
    color: rgba(255, 43, 59, .92);
    letter-spacing: .8px;
    text-transform: uppercase;
    font-size: 12px;
}

@media (max-width: 1180px) {
    .games__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 880px) {
    .games__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .games__grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   Divider "ALL GAMES"
========================= */
.divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 18px 0 8px;
}

.divider__line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 43, 59, .55), transparent);
    position: relative;
}

.divider__line::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 43, 59, .85);
    transform: translateY(-50%);
    box-shadow: 0 0 0 5px rgba(255, 43, 59, .14);
}

.divider__line--left::after {
    left: 0;
    right: auto;
}

.divider__btn {
    padding: 12px 18px;
    border-radius: 0;
    border: 1px solid rgba(255, 43, 59, .55);
    background: rgba(0, 0, 0, .22);
    color: rgba(232, 237, 247, .94);
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .9px;
    text-transform: uppercase;
}

.divider__btn:hover {
    border-color: rgba(255, 43, 59, .9);
}

/* =========================
   Giveaway section
========================= */
.giveaway {
    padding: 22px 0 40px;
}

.giveaway__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.promo {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(11, 21, 36, .55);
    box-shadow: var(--shadow-soft);
    min-height: 170px;
    position: relative;
}

.promo__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 11, 19, .35), rgba(5, 11, 19, .65)),
        var(--promo-img) center/cover no-repeat;
    filter: saturate(1.05) contrast(1.05);
}

.promo__content {
    position: relative;
    padding: 18px;
    max-width: 68%;
}

.promo__kicker {
    margin: 0 0 6px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .9px;
    font-size: 12px;
}

.promo__text {
    margin: 0;
    color: rgba(232, 237, 247, .74);
    font-size: 11px;
    letter-spacing: .4px;
    line-height: 1.45;
}

@media (max-width: 980px) {
    .giveaway__grid {
        grid-template-columns: 1fr;
    }

    .promo__content {
        max-width: 85%;
    }
}

/* =========================
   Footer spacing (subtle)
========================= */
.footer-space {
    height: 14px;
}