/* ============================================
   FILE: css/variables.css
   VARIABLES GLOBALES Y RESET
============================================ */

:root {
    /* Colores principales */
    --gold: #d4af37;
    --gold-dark: #b8962e;
    --gold-light: #f0d060;
    --gold-rgb: 212, 175, 55;
    
    /* Fondos */
    --bg-dark: #0a0a0a;
    --bg-card: #0d0d0d;
    --bg-section: #0f0f0f;
    --bg-input: #1a1a1a;
    
    /* Texto */
    --text-light: #e8e0d0;
    --text-muted: #8a7e6a;
    --text-secondary: #b0a890;
    --text-dark: #0a0a0a;
    
    /* Bordes */
    --border-gold: rgba(212, 175, 55, 0.15);
    --border-gold-strong: rgba(212, 175, 55, 0.2);
    --border-gold-light: rgba(212, 175, 55, 0.08);
    
    /* Sombras */
    --shadow-gold: rgba(212, 175, 55, 0.25);
    --shadow-dark: rgba(0, 0, 0, 0.6);
    --shadow-heavy: rgba(0, 0, 0, 0.8);
    --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.4);
    
    /* Gradientes */
    --gradient-gold: linear-gradient(135deg, var(--gold), var(--gold-dark));
    --gradient-gold-light: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
    --gradient-dark: linear-gradient(135deg, #0a0a0a, #1a0a0a);
    --gradient-card: linear-gradient(145deg, #151515, var(--bg-card));
    
    /* Tamaños */
    --section-padding: 60px 16px;
    --card-padding: 28px 20px;
    
    /* Bordes */
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-full: 50px;
    
    /* Fuentes */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-xs: 10px;
    --font-size-sm: 12px;
    --font-size-md: 14px;
    --font-size-lg: 16px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 32px;
    --font-size-4xl: 48px;
    
    /* Transiciones */
    --transition-fast: all 0.2s ease;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Texto */
    --text-shadow-gold: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* ============================================
   RESET BASE
============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-family);
    background: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(212, 175, 55, 0.3);
    color: var(--gold);
}

::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-gold);
    border-radius: 4px;
}

/* ============================================
   UTILIDADES
============================================ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.gold-text {
    color: var(--gold);
}

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

/* ============================================
   ANIMACIONES REUTILIZABLES
============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glowPulse {
    0%,
    100% {
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
    }
    50% {
        text-shadow: 0 0 50px rgba(212, 175, 55, 0.25);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes borderGlow {
    0%,
    100% {
        border-color: rgba(212, 175, 55, 0.1);
    }
    50% {
        border-color: rgba(212, 175, 55, 0.3);
    }
}

/* ============================================
   SCROLL ANIMATIONS
============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 {
    transition-delay: 0.1s;
}
.animate-on-scroll.delay-2 {
    transition-delay: 0.2s;
}
.animate-on-scroll.delay-3 {
    transition-delay: 0.3s;
}
.animate-on-scroll.delay-4 {
    transition-delay: 0.4s;
}