:root {
    --bg: #000000;
    --bg-secondary: #0A0A0A;
    --text: #FFFFFF;
    --text-dim: #888888;
    --accent: #FF0000;
    --accent-cyan: #00FFFF;
    --accent-soft: rgba(255, 0, 0, 0.1);
    --border: rgba(255,255,255,0.08);
    --shadow: 0 0 60px rgba(0,0,0,0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Language toggle */
.lang-toggle {
    position: fixed;
    top: 10px;
    right: 50px; /* a la izquierda del hamburger */
    z-index: 1100;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid var(--accent);
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    background: var(--accent);
    color: var(--bg);
}

.lang-toggle .lang-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    transition: color 0.3s ease;
}

.lang-toggle:hover .lang-label {
    color: var(--bg);
}

/* Typography */
h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.9;
    text-shadow: -2px 0 var(--accent), 2px 0 var(--accent-cyan);
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    line-height: 1;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    color: var(--text-dim);
    font-size: 1.05rem;
    font-weight: 400;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 3rem;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
}

.logo::after {
    content: 'VACÍO';
    position: absolute;
    top: -8px;
    right: -30px;
    font-size: 0.6rem;
    color: var(--accent);
    font-weight: 400;
    letter-spacing: 0.3em;
}

.nav-links {
    display: flex;
    gap: 2.4rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

/* Nudge links left to make space for lang toggle */
.nav-container .nav-links { margin-right: 56px; }

/* Hamburger button */
.hamburger {
    position: fixed;
    top: 12px;
    right: 12px; /* pegada a la esquina superior derecha */
    z-index: 1100;
    width: 30px;
    height: 24px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--text);
    width: 100%;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

.nav-links a:hover {
    color: var(--text);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 3rem;
    background: var(--bg);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 50px,
            var(--border) 50px,
            var(--border) 51px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            var(--border) 50px,
            var(--border) 51px
        );
    opacity: 0.2;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.tagline {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    color: var(--text-dim);
    font-weight: 300;
    letter-spacing: 0.02em;
}

.warning {
    color: var(--accent);
    font-size: 0.9rem;
    margin: 2rem 0 3rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Buttons */
.btn {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--text);
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    color: var(--bg);
    background: var(--text);
    transform: translateY(-2px);
}

.btn-danger {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-danger:hover {
    background: var(--accent);
    color: var(--bg);
}

/* Sections */
section {
    padding: 140px 3rem;
    position: relative;
    background: var(--bg);
}

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

/* What is */
.what-is-section {
    background: var(--bg-secondary);
    position: relative;
}

.what-is-section::before,
.what-is-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.what-is-section::before { top: 0; }
.what-is-section::after { bottom: 0; }

.what-is-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 4rem;
    font-weight: 300;
}

.phases {
    margin-top: 4rem;
    text-align: left;
}

.phase {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
    position: relative;
}

.phase:last-child {
    border-bottom: 1px solid var(--border);
}

.phase::before {
    content: '';
    position: absolute;
    left: -3rem;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border: 1px solid var(--accent);
    background: var(--bg);
}

.phase-number {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    margin-bottom: 0.5rem;
}

.phase h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.phase-subtitle {
    color: var(--text-dim);
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
    font-weight: 300;
}

/* Studio Section */
.studio-section {
    position: relative;
    background: var(--bg);
}

.studio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 50px,
            var(--border) 50px,
            var(--border) 51px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            var(--border) 50px,
            var(--border) 51px
        );
    opacity: 0.1;
    pointer-events: none;
}

.studio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.studio-features {
    margin: 3rem 0;
}

.feature-row {
    margin-bottom: 2.5rem;
    padding-left: 2rem;
    position: relative;
}

.feature-row::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-size: 1.2rem;
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-text p {
    color: var(--text-dim);
    font-style: italic;
}

.screen-mockup {
    width: 320px;
    height: 640px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.screen-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--accent);
}

.screen-mockup::after {
    content: 'MODO VERDAD: ON';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--bg);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    font-weight: 700;
}

.question {
    color: var(--text);
    font-size: 1.3rem;
    font-weight: 300;
    text-align: center;
    padding: 80px 20px 20px;
    line-height: 1.8;
}

.question span {
    display: block;
    color: var(--accent);
    font-weight: 700;
    margin-top: 2rem;
}

/* La Sala Vacía */
.sala-section {
    background: var(--bg);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--accent);
    border-bottom: 1px solid var(--accent);
}

.sala-badge {
    position: absolute;
    top: 20px;
    right: -50px;
    transform: rotate(45deg);
    background: var(--accent);
    color: var(--bg);
    padding: 0.5rem 4rem;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    font-weight: 700;
}

.sala-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.sala-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 2rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-shadow: -1px 0 var(--accent), 1px 0 var(--accent-cyan);
}

.sala-warning {
    background: var(--bg-secondary);
    border: 2px solid var(--accent);
    padding: 2rem;
    margin: 3rem 0;
    position: relative;
}

.sala-warning::before {
    content: '⚠';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg);
    padding: 0 10px;
    color: var(--accent);
    font-size: 2rem;
}

.sala-warning h4 {
    color: var(--accent);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
}

.requirements {
    text-align: left;
    margin: 2rem auto;
    max-width: 400px;
}

.requirements li {
    color: var(--text);
    margin-bottom: 0.8rem;
    list-style: none;
    padding-left: 1.5rem;
    position: relative;
    font-weight: 500;
}

.requirements li::before {
    content: '□';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Community */
.community-section {
    background: var(--bg-secondary);
    position: relative;
}

.community-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.explorers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
    margin-bottom: 4rem;
    border: 1px solid var(--border);
}

.explorer-card {
    background: var(--bg);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.explorer-card:hover {
    background: var(--accent-soft);
    transform: scale(1.02);
    z-index: 10;
    box-shadow: 0 0 30px rgba(255,0,0,0.2);
}

.explorer-status {
    color: var(--accent);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    font-weight: 700;
}

.explorer-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.explorer-journey {
    color: var(--text-dim);
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.4;
}

/* Footer */
footer {
    background: var(--bg);
    color: var(--text);
    padding: 4rem 3rem 2rem;
    text-align: center;
    position: relative;
    border-top: 1px solid var(--border);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.footer-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.footer-content p {
    color: var(--text-dim);
    font-weight: 300;
}

.footer-warning {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    line-height: 1.8;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--accent);
}

/* Mobile */
@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .hamburger { display: flex; }
    .nav-container .nav-links { margin-right: 0; }
    .nav-links {
        position: fixed;
        top: 64px;
        right: 12px;
        display: none;
        flex-direction: column;
        gap: 1rem;
        background: rgba(0,0,0,0.95);
        border: 1px solid var(--border);
        padding: 1rem 1rem;
        width: calc(100% - 24px);
        max-width: 320px;
        z-index: 1200; /* cubre el selector de idioma */
    }
    .nav-links.open { display: flex; }

    section {
        padding: 80px 1.5rem;
    }

    .studio-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .screen-mockup {
        width: 280px;
        height: 560px;
        margin: 0 auto;
    }

    .explorers-grid {
        grid-template-columns: 1fr;
    }

    .phase::before {
        display: none;
    }

    h1 {
        text-shadow: -1px 0 var(--accent), 1px 0 var(--accent-cyan);
    }

    .sala-title {
        text-shadow: -1px 0 var(--accent), 1px 0 var(--accent-cyan);
    }
}


