:root {
    --bg: #050b14;
    --text: #f3f8ff;
    --muted: #9fb2d4;
    --line: rgba(255,255,255,0.08);
    --blue: #0a84ff;
    --blue-soft: #4ba5ff;
    --gold: #d6ab44;
    --shadow-xl: 0 30px 70px rgba(0,0,0,.42);
    --shadow-lg: 0 18px 42px rgba(0,0,0,.36);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 50% -10%, rgba(14,116,255,.35), transparent 24%),
        radial-gradient(circle at 90% 10%, rgba(10,132,255,.18), transparent 20%),
        linear-gradient(180deg, #071120 0%, var(--bg) 34%, #040912 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(100% - 32px, 1320px);
    margin-inline: auto;
}

/* ===== topo ===== */

.topbar {
    position: sticky;
    top: 0;
    z-index: 80;
    padding-top: 10px;
    backdrop-filter: blur(22px);
    background: linear-gradient(180deg, rgba(4,9,18,.72), rgba(4,9,18,.28) 70%, transparent);
}

.nav-shell {
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(15,26,42,.78), rgba(10,17,29,.62));
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.05);
    padding: 8px 16px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 54px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(214,171,68,.24), rgba(10,132,255,.22));
    border: 1px solid rgba(255,255,255,.12);
    color: var(--gold);
    font-weight: 900;
    letter-spacing: .08em;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.brand-copy h1 {
    margin: 0;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: .18em;
    font-weight: 900;
}

.brand-copy span {
    display: block;
    margin-top: 6px;
    color: #9eb5dd;
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.menu {
    min-width: 0;
}

.menu .menu-list,
.menu ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.menu .menu-list li,
.menu ul li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu .menu-list li a,
.menu ul li a {
    display: inline-block;
    padding: 9px 13px;
    border-radius: 999px;
    font-size: .92rem;
    color: #dce9ff;
    border: 1px solid transparent;
    transition: .22s ease;
    white-space: nowrap;
}

.menu .menu-list li a:hover,
.menu ul li a:hover {
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.08);
    color: #fff;
}

/* destaque especial para "Vídeos" se estiver por último */
.menu .menu-list li:last-child a,
.menu ul li:last-child a {
    background: linear-gradient(135deg, rgba(10,132,255,.95), rgba(75,168,255,.9));
    color: #fff;
    box-shadow: 0 10px 22px rgba(10,132,255,.22);
}

.menu .menu-list li:last-child a:hover,
.menu ul li:last-child a:hover {
    background: linear-gradient(135deg, rgba(12,142,255,1), rgba(88,176,255,.95));
    border-color: rgba(255,255,255,.12);
}

/* ===== atalhos dos jogos ===== */

.games-shortcuts {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0 0 16px;
    padding: 14px 0 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;

}

.games-shortcuts::-webkit-scrollbar {
    display: none;
}

.game-btn {
    width: 160px;
    height: 90px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(24,40,70,.95), rgba(12,20,36,.98));
    border: 1px solid rgba(255,255,255,.08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
    box-shadow: 0 12px 24px rgba(0,0,0,.25);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.game-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
    pointer-events: none;
    z-index: 1;
}

.game-btn::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: radial-gradient(circle at center, rgba(10,132,255,.28), transparent 60%);
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
    z-index: 0;
}

.game-btn img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 2;
    padding: 8px;
    filter: drop-shadow(0 4px 14px rgba(0,0,0,.28));
    transition: .25s ease;
}

.game-btn:hover,
.games-shortcuts .game-btn:first-child {
    z-index: 5;
    transform: translateY(-3px) scale(1.06);
    box-shadow:
        0 0 0 2px rgba(10,132,255,.25),
        0 0 24px rgba(10,132,255,.45),
        0 16px 30px rgba(0,0,0,.35);
    border-color: rgba(10,132,255,.7);
    background: linear-gradient(180deg, rgba(18,32,56,.96), rgba(9,16,28,.98));
}

.game-btn:hover::after,
.games-shortcuts .game-btn:first-child::after {
    opacity: 1;
}

.game-btn:hover img,
.games-shortcuts .game-btn:first-child img {
    transform: scale(1.08);
    filter: brightness(1.08) drop-shadow(0 6px 16px rgba(0,0,0,.32));
}

.game-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* ===== hero ===== */

.hero-wrap {
    padding: 16px 0 20px;
}

.hero-shell {
    display: grid;
    grid-template-columns: 1.55fr .85fr;
    gap: 18px;
    align-items: stretch;
}

.hero-main {
    position: relative;
    min-height: 590px;
    overflow: hidden;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,.09);
    background:
        linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.78)),
        radial-gradient(circle at 22% 14%, rgba(54,144,255,.42), transparent 24%),
        linear-gradient(140deg, #15365e 0%, #0a1321 54%, #09111a 100%);
    box-shadow: var(--shadow-xl);
}

.hero-content {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 30px;
    z-index: 2;
    max-width: 860px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    color: #eef5ff;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.hero-main h2 {
    margin: 0 0 14px;
    font-size: clamp(2.4rem, 5vw, 4.7rem);
    line-height: .98;
    letter-spacing: -.055em;
    max-width: 10.5ch;
}

.hero-main p {
    margin: 0;
    font-size: 1.04rem;
    line-height: 1.62;
    color: #d5e5ff;
    max-width: 62ch;
}

.hero-meta,
.card-meta,
.mini-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
    color: #9fb2d4;
    font-size: .88rem;
}

.hero-side {
    display: grid;
    gap: 16px;
    grid-template-rows: 1fr 1fr;
}

.glass-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    min-height: 286px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(135deg, rgba(18, 31, 51, 0.88), rgba(10, 16, 27, 0.92));
    box-shadow: var(--shadow-lg);
    padding: 24px;
    display: flex;
    align-items: end;
}

.glass-card h3 {
    margin: 0 0 10px;
    font-size: clamp(1.3rem, 2.4vw, 1.95rem);
    line-height: 1.04;
    letter-spacing: -.035em;
    max-width: 12ch;
}

.glass-card p {
    margin: 0;
    color: #c8d7f0;
    line-height: 1.6;
    max-width: 36ch;
}

/* ===== blocos intermediários ===== */

.hub-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.hub-tile {
    position: relative;
    min-height: 168px;
    border-radius: 28px;
    overflow: hidden;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: end;
    transition: transform .22s ease, box-shadow .22s ease;
}

.hub-tile:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 22px 42px rgba(0,0,0,.34);
}

.hub-tile.gta {
    background: linear-gradient(135deg, #123d59, #0b1320 74%);
}

.hub-tile.re9 {
    background: linear-gradient(135deg, #47141c, #0f1118 76%);
}

.hub-tile.rdr2 {
    background: linear-gradient(135deg, #5c2400, #111017 76%);
}

.hub-kicker {
    display: block;
    color: #bfd4f4;
    font-size: .74rem;
    letter-spacing: .11em;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 700;
}

.hub-copy strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1.04;
    letter-spacing: -.03em;
    margin-bottom: 8px;
}

.hub-copy p {
    margin: 0;
    color: #cfdbef;
    line-height: 1.5;
    max-width: 28ch;
    font-size: .94rem;
}

/* ===== seções ===== */

.section {
    padding: 34px 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.section-head h3 {
    margin: 0;
    font-size: clamp(1.55rem, 2.8vw, 2.5rem);
    letter-spacing: -.05em;
    line-height: 1;
}

.section-head p {
    margin: 9px 0 0;
    color: var(--muted);
    max-width: 62ch;
    line-height: 1.6;
}

.section-head a {
    white-space: nowrap;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    color: #e3efff;
    font-weight: 700;
}

.carousel-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(300px, 1fr);
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.carousel-row::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    min-height: 236px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #132742, #0a101a 72%);
    padding: 22px;
    display: flex;
    align-items: end;
}

.carousel-card:nth-child(2) {
    background: linear-gradient(135deg, #461921, #0f1118 72%);
}

.carousel-card:nth-child(3) {
    background: linear-gradient(135deg, #50301a, #101117 72%);
}

.carousel-card strong {
    display: block;
    font-size: 1.4rem;
    line-height: 1.04;
    letter-spacing: -.03em;
    margin-bottom: 9px;
    max-width: 14ch;
}

.carousel-card p {
    margin: 0;
    color: #cfddf7;
    line-height: 1.55;
    max-width: 32ch;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.news-card {
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
    box-shadow: var(--shadow-lg);
    transition: transform .22s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.thumb {
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #163258, #0a1220 72%);
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-label {
    position: absolute;
    left: 16px;
    top: 16px;
    z-index: 2;
    background: rgba(0,0,0,.42);
    border: 1px solid rgba(255,255,255,.10);
    color: #edf5ff;
    border-radius: 999px;
    padding: 8px 11px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.thumb-title {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    font-weight: 900;
    font-size: 1.12rem;
    line-height: 1.06;
    letter-spacing: -.025em;
    text-shadow: 0 6px 24px rgba(0,0,0,.42);
    max-width: 16ch;
}

.card-body {
    padding: 18px;
}

.card-body h4 {
    margin: 0 0 10px;
    font-size: 1.18rem;
    line-height: 1.12;
    letter-spacing: -.03em;
}

.card-body p {
    margin: 0;
    color: #c8d7ef;
    font-size: .97rem;
    line-height: 1.58;
}

.footer {
    border-top: 1px solid rgba(255,255,255,.07);
    margin-top: 26px;
    padding: 30px 0 42px;
    color: var(--muted);
}

.footer p {
    margin: 0;
}

/* ===== responsivo ===== */

@media (max-width: 1120px) {
    .hero-shell,
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-main {
        min-height: 520px;
    }

    .hero-side {
        grid-template-columns: 1fr;
    }

    .hub-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .topbar {
        padding-top: 8px;
    }

    .nav-shell {
        border-radius: 28px;
    }

    .nav {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        min-height: auto;
    }

    .menu .menu-list,
    .menu ul {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .games-shortcuts {
        justify-content: flex-start;
        gap: 12px;
        padding-bottom: 6px;
    }

    .game-btn {
        width: 110px;
        height: 64px;
        border-radius: 14px;
    }

    .game-btn::before {
        border-radius: 14px;
    }

    .game-btn::after {
        border-radius: 16px;
    }

    .hero-wrap {
        padding-top: 12px;
    }

    .hero-shell,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .hero-main {
        min-height: 460px;
        border-radius: 30px;
    }

    .hero-content {
        left: 22px;
        right: 22px;
        bottom: 22px;
    }

    .hero-main h2 {
        max-width: 12ch;
        font-size: clamp(2rem, 10vw, 3.1rem);
    }

    .glass-card,
    .hub-tile,
    .news-card {
        border-radius: 24px;
    }

    .section-head {
        flex-direction: column;
        align-items: start;
    }
}