/* ==========================================================================
   THE CROWN DANCE STUDIO - BASE & DESIGN SYSTEM (iOS 27 / APPLE DARK GLASS)
   ========================================================================== */

:root {
    /* Paleta Institucional */
    --apple-dark: #000000;
    --apple-surface: rgba(28, 28, 30, 0.45);
    --apple-surface-hover: rgba(38, 38, 44, 0.75);
    --apple-border: rgba(255, 255, 255, 0.08);
    --apple-border-bright: rgba(255, 102, 196, 0.4);
    
    /* Neón & Acentos */
    --rosa-neon: #FF66C4;
    --rosa-glow: rgba(255, 102, 196, 0.35);
    --dorado: #C19A51;
    --dorado-glow: rgba(193, 154, 81, 0.25);
    
    /* Tipografía & UI */
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --font-heading: 'League Spartan', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Glacial Indifference', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-cinzel: 'Cinzel Decorative', serif;
    
    /* Variables de interacción */
    --mouse-x: 50vw;
    --mouse-y: 50vh;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset Global */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--apple-dark);
}

body {
    max-width: 100vw;
    overflow-x: hidden;
    background-color: var(--apple-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
}

/* Luces Ambientales de Fondo */
body::before {
    content: '';
    position: fixed;
    top: -15%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--rosa-glow) 0%, transparent 70%);
    z-index: -3;
    pointer-events: none;
    filter: blur(100px);
    transition: transform 0.2s ease-out;
}

body::after {
    content: '';
    position: fixed;
    bottom: -20%;
    right: -10%;
    width: 65vw;
    height: 65vw;
    background: radial-gradient(circle, var(--dorado-glow) 0%, transparent 70%);
    z-index: -3;
    pointer-events: none;
    filter: blur(110px);
}

/* Tipografías Globales */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

p {
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Soporte Multilenguaje */
.en {
    display: none;
}

body.lang-en .en {
    display: inline-block;
}

body.lang-en .es {
    display: none !important;
}

body.lang-en div.en,
body.lang-en p.en,
body.lang-en section.en,
body.lang-en h2.en,
body.lang-en h3.en {
    display: block;
}

/* Scrollbar Personalizado */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 10, 12, 0.9);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 102, 196, 0.4);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--rosa-neon);
}
