/* ==========================================================================  
   TOPSPIN STORE - GLOBAL CSS (ARQUITECTURA COMPARTIDA DEFINITIVA)  
   ========================================================================== */  
:root {
    /* === PALETA ÉLITE (CRISTALIZADA) === */
    --bg-darker: #080C13;                    /* Se queda sólido para la base del body */
    --bg-dark: rgba(11, 17, 26, 0.85);       /* Vidrio oscuro (Split-screen) */
    --bg-light: rgba(18, 27, 42, 0.70);      /* Vidrio medio (Cards y Modales) */
    --bg-light-alt: rgba(26, 38, 57, 0.65);  /* Vidrio claro (Hovers) */
    --bg-dark-rgb: 11, 17, 26;
    
    /* === ACENTOS DORADOS (Intactos) === */
    --gold-primary: #C59B27;
    --gold-light: #E2BE5B;
    --gold-hover: #A6811E;
    --gold-rgb: 197, 155, 39;
    
    /* === TIPOGRAFÍA (Optimizada para fatiga visual cero) === */
    --font-base: 'Montserrat', sans-serif;
    --font-display: 'Oswald', sans-serif;
    --text-light: #FFFFFF;     /* Títulos puros y botones */
    --text-dark: #E2E8F0;      /* Textos base y descripciones (Gris perla) */
    --text-muted: #94A3B8;     /* Textos secundarios y filtros */

    /* === BORDES === */
    --border-color: rgba(197, 155, 39, 0.3);       /* Bordes dorados sutiles */
    --border-color-light: rgba(255, 255, 255, 0.08); /* Líneas divisorias internas */

    /* === UTILS === */
    --transition-std: all 0.3s ease;
}

/* ==========================================================================  
   1. RESET Y TIPOGRAFÍA BASE  
   ========================================================================== */  
* {  
    margin: 0;  
    padding: 0;  
    box-sizing: border-box;  
}  

html {  
    font-size: 62.5%;   
    scroll-behavior: smooth;  
}  

body {
    background-color: var(--bg-darker);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(var(--gold-rgb), 0.04), transparent 40%),
        radial-gradient(circle at 85% 20%, rgba(var(--gold-rgb), 0.04), transparent 40%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    background-attachment: fixed;
    color: var(--text-dark);
    font-family: var(--font-base);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden; /* Previene scroll horizontal accidental */
}   

/* CLASE MAESTRA PARA FONDOS INMERSIVOS (Exclusiva para el Armador) */
body.layout-oscuro {
    background-color: var(--bg-darker); /* Azul casi negro */
    color: var(--text-light); 
}

h1, h2, h3, h4, h5, h6 {  
    font-family: var(--font-primary);  
    color: var(--text-dark);  
    font-weight: 800;  
}  

p {  
    font-family: var(--font-primary);  
    color: var(--text-reading);  
}  

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

ul {  
    list-style: none;  
}  

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

/* ==========================================================================  
   2. CLASES UTILITARIAS Y DE ESTADO (Para delegación en JS)  
   ========================================================================== */  
body.no-scroll {  
    overflow: hidden;  
}

.is-hidden {
    display: none !important; /* Único !important justificado para ocultamiento absoluto de JS */
}

.is-flex {
    display: flex;
}

.is-block {
    display: block;
}

.text-center {
    text-align: center;
}