:root {
    --bg: #09090b;
    --bg-soft: #121217;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-strong: rgba(255, 255, 255, 0.06);
    --border: rgba(197, 160, 89, 0.22);
    --gold: #c5a059;
    --gold-soft: #f1ddb0;
    --text: #ececf1;
    --text-soft: #a7a9b3;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    --radius-lg: 28px;
    --radius-md: 18px;
    --container: 1180px;
    --font-heading: 'Barlow Condensed', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background:
        radial-gradient(circle at top right, rgba(197, 160, 89, 0.14), transparent 24%),
        radial-gradient(circle at left top, rgba(197, 160, 89, 0.08), transparent 22%),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    padding: 18px 0;
    border-bottom: 1px solid transparent;
    transition: background 0.28s ease, border-color 0.28s ease, padding 0.28s ease, backdrop-filter 0.28s ease;
}

.navbar.scrolled {
    background: rgba(9, 9, 11, 0.82);
    backdrop-filter: blur(16px);
    border-color: var(--border);
    padding: 14px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.9rem;
    line-height: 1;
    letter-spacing: -0.08em;
}

.logo span {
    color: var(--gold);
}

.nav-panel {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
    justify-content: flex-end;
}

.nav-links,
.footer-links {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
}

.nav-links a,
.footer-links a {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.9rem;
    font-weight: 700;
    transition: color 0.22s ease;
}

.nav-links a:hover,
.footer-links a:hover {
    color: var(--gold-soft);
}

.nav-actions {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.btn:hover,
.feature-card:hover,
.countdown-card:hover,
.steam-card:hover,
.wiki-card:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    color: #111215;
    box-shadow: 0 14px 32px rgba(197, 160, 89, 0.18);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    border-color: var(--border);
}

.mobile-nav-toggle {
    display: none;
    width: 50px;
    height: 50px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    padding: 11px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.mobile-nav-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text);
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    isolation: isolate;
}

.hero-media,
.hero-bg,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media {
    background-image: url("image/Imagen 3.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.34) saturate(0.88);
    z-index: -2;
}

.hero-overlay {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(9, 9, 11, 0.92) 0%, rgba(9, 9, 11, 0.74) 44%, rgba(9, 9, 11, 0.84) 100%),
        linear-gradient(180deg, rgba(9, 9, 11, 0.12), rgba(9, 9, 11, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.eyebrow,
.section-kicker,
.feature-tag {
    display: inline-block;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 800;
}

.hero h1,
.section-heading h2,
.countdown-card h2,
.steam-card h2,
.wiki-card h2 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: #fff;
}

.hero h1 {
    font-size: clamp(3.8rem, 9vw, 6.8rem);
    margin: 18px 0 18px;
}

.hero h1 span {
    color: var(--gold-soft);
}

.hero p,
.section-copy,
.section-heading p,
.feature-card p,
.main-footer p {
    color: var(--text-soft);
}

.hero p {
    font-size: 1.08rem;
    max-width: 640px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-points span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(197, 160, 89, 0.18);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.84rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.section {
    padding: 88px 0;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.section-heading {
    margin-bottom: 28px;
    max-width: 760px;
}

.section-heading h2,
.countdown-card h2,
.steam-card h2,
.wiki-card h2 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin: 10px 0 10px;
}

.countdown-card,
.steam-card,
.feature-card,
.wiki-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.countdown-card,
.steam-card {
    padding: 30px;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.time-block {
    min-height: 112px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(197, 160, 89, 0.16);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.time-block span {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    line-height: 1;
    color: #fff;
}

.time-block small {
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-weight: 700;
}

.steam-widget {
    margin-top: 22px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(197, 160, 89, 0.14);
}

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

.feature-card {
    padding: 28px;
}

.feature-card h3 {
    font-size: 1.45rem;
    line-height: 1.05;
    margin: 12px 0 10px;
    color: #fff;
}

.wiki-card {
    padding: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.main-footer {
    padding: 28px 0 42px;
    border-top: 1px solid rgba(197, 160, 89, 0.12);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 8px;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 960px) {
    .mobile-nav-toggle {
        display: flex;
    }

    .nav-panel {
        position: absolute;
        top: calc(100% + 10px);
        left: 20px;
        right: 20px;
        padding: 18px;
        border-radius: 22px;
        border: 1px solid var(--border);
        background: rgba(12, 12, 15, 0.98);
        backdrop-filter: blur(18px);
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    .nav-panel.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links,
    .nav-actions {
        flex-direction: column;
        align-items: stretch;
        margin: 0;
    }

    .section-grid,
    .features-grid,
    .wiki-card,
    .footer-content {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .hero {
        min-height: auto;
        padding: 128px 0 70px;
    }

    .hero-points {
        gap: 8px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(var(--container), calc(100% - 28px));
    }

    .navbar {
        padding: 14px 0;
    }

    .hero h1 {
        font-size: 3.35rem;
    }

    .hero p,
    .section-copy,
    .feature-card p,
    .main-footer p {
        font-size: 0.96rem;
    }

    .section {
        padding: 70px 0;
    }

    .countdown-card,
    .steam-card,
    .feature-card,
    .wiki-card {
        padding: 24px;
        border-radius: 24px;
    }

    .countdown-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .time-block {
        min-height: 98px;
    }
}
