:root {
    /* Reusing core variables for consistency */
    --pv-background: #050507;
    --pv-background-gradient: radial-gradient(circle at 50% 0%, rgba(247, 201, 72, 0.08) 0%, rgba(5, 7, 12, 0) 50%),
        linear-gradient(180deg, #0d0f1a 0%, #050507 100%);
    --pv-surface: rgba(22, 24, 31, 0.7);
    --pv-border: rgba(255, 255, 255, 0.08);
    --pv-text: #f8fafc;
    --pv-text-muted: rgba(226, 232, 240, 0.7);
    --pv-accent: #facc15;
    --pv-accent-strong: #f59e0b;
    --pv-accent-glow: rgba(250, 204, 21, 0.3);

    --font-main: 'Montserrat', system-ui, -apple-system, sans-serif;
    --nav-height: 80px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--pv-background);
    background-image: var(--pv-background-gradient);
    color: var(--pv-text);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Navigation --- */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 100;
    background: rgba(5, 7, 12, 0.6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--pv-border);
    transition: all 0.3s ease;
}

.landing-nav__container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--pv-text);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.landing-brand img {
    height: 40px;
    width: auto;
}

.landing-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--pv-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--pv-accent);
}

/* --- Nav Platform Picker --- */
.nav-play-picker {
    position: relative;
}

.nav-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-play-chevron {
    transition: transform 0.22s ease;
    opacity: 0.7;
}

.nav-play-picker.is-open .nav-play-chevron {
    transform: rotate(180deg);
}

.nav-play-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    min-width: 220px;
    background: rgba(13, 15, 26, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
    padding: 0.5rem;
    opacity: 0;
    transform: translateY(-6px) scale(0.97);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 200;
}

.nav-play-picker.is-open .nav-play-dropdown {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.nav-play-option {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--pv-text);
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-play-option:hover {
    background: rgba(250, 204, 21, 0.08);
    color: var(--pv-accent);
}

.nav-play-option svg {
    flex-shrink: 0;
    opacity: 0.85;
}

.nav-play-option:hover svg {
    opacity: 1;
}

.nav-play-option__text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    line-height: 1.2;
}

.nav-play-option__text strong {
    font-size: 0.9rem;
    font-weight: 700;
}

.nav-play-option__text small {
    font-size: 0.75rem;
    color: var(--pv-text-muted);
    opacity: 0.8;
}

.lang-selector {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
    border-left: 1px solid var(--pv-border);
    padding-left: 1.5rem;
}

.lang-link {
    color: var(--pv-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.6;
    transition: opacity 0.2s, color 0.2s;
}

.lang-link:hover {
    opacity: 1;
}

.lang-link.active {
    color: var(--pv-accent);
    opacity: 1;
}

/* --- Hero Section --- */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-height) + 4rem) 1.5rem 6rem;
    position: relative;
    overflow: hidden;
    /* Background Image Integration */
    background-image: linear-gradient(to bottom, rgba(5, 7, 12, 0.3), rgba(5, 7, 12, 0.9)),
        url('../images/hero_background_desktop.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Glow effect tweak for over image */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    /* Darker overlay for better contrast against busy game screenshot */
    background: radial-gradient(circle at center, rgba(5, 7, 12, 0.4) 0%, rgba(5, 7, 12, 0.95) 100%);
    z-index: 1;
    pointer-events: none;
    backdrop-filter: blur(2px);
    /* Slight blur to help text pop */
}

.hero__content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    /* Improved text shadow for readability over image */
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid rgba(250, 204, 21, 0.2);
    border-radius: 99px;
    color: var(--pv-accent);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
}

.hero__title {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--pv-text-muted);
    max-width: 680px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 99px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--pv-accent);
    color: #0f172a;
    box-shadow: 0 0 20px var(--pv-accent-glow);
}

.btn-primary:hover {
    background: var(--pv-accent-strong);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--pv-accent-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--pv-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--pv-text-muted);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--pv-text);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.brand-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    background: var(--pv-accent);
    color: #0f172a;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.24);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    vertical-align: middle;
}

.brand-link-button:hover,
.brand-link-button:focus-visible {
    background: var(--pv-accent-strong);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.28);
}

.brand-link-button--compact {
    padding: 0.16rem 0.5rem;
    font-size: 0.78rem;
}

.hero__meta {
    margin-top: 2.5rem;
    font-size: 0.9rem;
    color: var(--pv-text-muted);
    opacity: 0.8;
}

.landing-section {
    padding: 5rem 1.5rem;
}

.landing-section--split {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
}

.section-shell {
    max-width: 1200px;
    margin: 0 auto;
}

.section-shell--split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.section-header {
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--pv-accent);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
}

.section-title {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    color: var(--pv-text);
}

.section-lead {
    margin: 0;
    color: var(--pv-text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.section-lead--compact {
    max-width: 560px;
}

.feature-grid,
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.feature-card,
.faq-card {
    padding: 1.75rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--pv-border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.feature-card h3,
.faq-card h3 {
    margin: 0 0 0.85rem;
    color: var(--pv-text);
    font-size: 1.2rem;
}

.feature-card p,
.faq-card p {
    margin: 0;
    color: var(--pv-text-muted);
    line-height: 1.7;
}

.showcase-media {
    margin: 0;
}

.showcase-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 28px;
    border: 1px solid var(--pv-border);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.showcase-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.showcase-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.showcase-list li {
    position: relative;
    padding-left: 1.35rem;
    color: var(--pv-text-muted);
    line-height: 1.6;
}

.showcase-list li::before {
    content: '';
    position: absolute;
    top: 0.6rem;
    left: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: var(--pv-accent);
    box-shadow: 0 0 18px var(--pv-accent-glow);
}

/* --- Footer --- */
.landing-footer {
    border-top: 1px solid var(--pv-border);
    padding: 3rem 1.5rem;
    background: rgba(5, 7, 12, 0.8);
    font-size: 0.9rem;
    color: var(--pv-text-muted);
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--pv-text);
    font-weight: 700;
}

.footer__brand svg {
    width: 32px;
    height: 32px;
    fill: var(--pv-accent);
}

.footer__links {
    display: flex;
    gap: 1.5rem;
}

.footer__links a {
    color: var(--pv-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer__links a:hover {
    color: var(--pv-text);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
}

.footer__copyright {
    color: var(--pv-text);
    font-weight: 600;
}

.footer__publisher {
    opacity: 0.7;
}

.legal-toggle {
    background: none;
    border: none;
    color: var(--pv-text-muted);
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}

.legal-content {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
}

.legal-content.show {
    display: block;
}

@media (max-width: 768px) {
    .hero {
        background-image: linear-gradient(to bottom, rgba(5, 7, 12, 0.3), rgba(5, 7, 12, 0.9)),
            url('../images/hero_background_mobile.jpg');
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .landing-section {
        padding: 4rem 1rem;
    }

    .section-shell--split,
    .feature-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .landing-nav__container {
        padding: 0 1rem;
    }

    .landing-links {
        display: none;
        /* Simplify nav on mobile for now */
    }

    .lang-selector {
        border-left: none;
        padding-left: 0;
        margin-left: auto;
    }
}