/* ===== BASE.CSS - Estilos Base y Variables ===== */

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables CSS */
:root {
    /* Colores principales */
    --color-primary: #ffd700;
    --color-primary-light: #ffed4e;
    --color-secondary: #1e1e1e;
    --color-secondary-light: #2d2d2d;
    --color-accent: #434343;
    
    /* Colores de estado */
    --color-success: #00ff88;
    --color-error: #ff4757;
    --color-warning: #ffa502;
    
    /* Colores de texto */
    --color-text-primary: #ffffff;
    --color-text-secondary: #cccccc;
    --color-text-muted: #bbbbbb;
    
    /* Colores de fondo */
    --bg-primary: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
    --bg-header: linear-gradient(135deg, #000000 0%, #434343 100%);
    --bg-glass: rgba(255,255,255,0.05);
    --bg-glass-hover: rgba(255,255,255,0.1);
    
    /* Sombras */
    --shadow-small: 0 4px 20px rgba(0,0,0,0.2);
    --shadow-medium: 0 8px 30px rgba(0,0,0,0.3);
    --shadow-large: 0 20px 60px rgba(0,0,0,0.5);
    --shadow-glow: 0 8px 25px rgba(255,215,0,0.3);
    
    /* Bordes */
    --border-glass: 1px solid rgba(255,255,255,0.1);
    --border-primary: 1px solid rgba(255,215,0,0.3);
    --border-radius-small: 15px;
    --border-radius-medium: 20px;
    --border-radius-large: 25px;
    --border-radius-full: 50%;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Tipografía */
    --font-family: 'Arial', sans-serif;
    --font-size-xs: 0.8rem;
    --font-size-sm: 0.9rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.2rem;
    --font-size-xl: 1.3rem;
    --font-size-2xl: 1.8rem;
    --font-size-3xl: 3rem;
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-index */
    --z-cartelones: 5;
    --z-navigation: 1000;
    --z-modal: 10000;
    --z-notification: 10001;
}

/* Estilos base del body */
body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--color-text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Estilos para elementos de formulario */
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

input, textarea, select {
    font-family: inherit;
    outline: none;
}

/* Enlaces */
a {
    color: inherit;
    text-decoration: none;
}

/* Imágenes responsivas */
img {
    max-width: 100%;
    height: auto;
}

/* Utilidades de texto */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-text-secondary); }
.text-muted { color: var(--color-text-muted); }

/* Utilidades de espaciado */
.m-0 { margin: 0; }
.p-0 { padding: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }

/* Utilidades de display */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Utilidades de flexbox */
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }

/* Utilidades de posición */
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }