* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

:root {
    --bg-color: #000000;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
}

body, html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Scroll desactivado por completo */
    background-color: #000; /* Fondo de seguridad */
    touch-action: none; /* Bloquea gestos de scroll/zoom */
}

#bg-canvas {
    position: fixed; /* Vuelve a ser fijo */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    background-color: #000;
    pointer-events: none;
}

.main-container {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    background: transparent;
}

.content-wrapper {
    width: 100%;
    text-align: center;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 7rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1; 
    text-transform: uppercase;
    white-space: nowrap;
    margin-bottom: 2rem;
    color: var(--text-primary);
    min-height: 1.2em; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

footer {
    position: absolute;
    bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px));
    width: 100%;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.7rem;
    opacity: 0.5;
    z-index: 20;
}

.lang-switcher {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    gap: 1.5rem;
    z-index: 100;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    text-transform: uppercase;
    transition: color 0.3s ease;
    padding: 0.5rem;
}

.lang-btn:hover, .lang-btn.active {
    color: var(--text-primary);
}

@media (max-width: 480px) {
    .lang-switcher {
        top: 1.5rem;
        right: 50%;
        transform: translateX(50%);
        width: 100%;
        justify-content: center;
        gap: 1rem;
    }
    
    .main-container {
        padding: 0 5%; 
    }
    
    h1 {
        font-size: clamp(2.2rem, 11vw, 4rem); 
        margin-bottom: 1.5rem;
    }

    .description {
        max-width: 90%; 
        font-size: 0.9rem;
    }

    footer {
        bottom: calc(3rem + env(safe-area-inset-bottom, 0px)); /* Más espacio para iPhones con barra inferior */
        font-size: 0.6rem;
        opacity: 0.4;
    }
}

.instagram-link {
    margin-top: 3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.instagram-link:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.instagram-icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
