/* ================================================================
   SISTEMA DE SORTEOS - ESTILOS PRINCIPALES
   Archivo: assets/css/main.css
   Descripción: Estilos modulares y reutilizables para todo el sistema
   ================================================================ */

/* ================================================================
   1. VARIABLES CSS - Personalización Global
   ================================================================ */
:root {
    /* Colores Primarios */
    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --color-primary-light: #3b82f6;
    
    /* Colores de Estado */
    --color-success: #10b981;
    --color-success-bg: #d1fae5;
    --color-success-border: #6ee7b7;
    --color-success-text: #065f46;
    
    --color-error: #ef4444;
    --color-error-bg: #fee2e2;
    --color-error-border: #fca5a5;
    --color-error-text: #991b1b;
    
    --color-warning: #f59e0b;
    --color-warning-bg: #fef3c7;
    --color-warning-border: #fcd34d;
    --color-warning-text: #92400e;
    
    --color-info: #3b82f6;
    --color-info-bg: #dbeafe;
    --color-info-border: #93c5fd;
    --color-info-text: #1e40af;
    
    /* Escala de Grises */
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
    
    /* Tipografía */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    
    /* Espaciado */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 0.75rem;
    --spacing-lg: 1rem;
    --spacing-xl: 1.25rem;
    --spacing-2xl: 1.5rem;
    --spacing-3xl: 2rem;
    --spacing-4xl: 2.5rem;
    
    /* Bordes */
    --border-radius-sm: 4px;
    --border-radius-md: 6px;
    --border-radius-lg: 8px;
    --border-radius-xl: 12px;
    --border-radius-full: 9999px;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transiciones */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.2s ease;
    --transition-slow: 0.3s ease;
    
    
    /* === VARIABLES DE TEMA (BRANDING) === */
    /* Estas son las que modificaremos dinámicamente después desde la BD */
    --header-bg: #6366f1;       /* Un morado moderno (Indigo) por defecto */
    --header-text: #ffffff;     /* Texto blanco */
    --header-height: 70px;
    
    --mobile-bar-bg: #ffffff;   /* Fondo blanco para la barra móvil */
    --mobile-bar-text: #111827; /* Texto oscuro */
    --mobile-border: #6366f1;   /* Borde del color del tema */
}

/* ================================================================
   2. RESET Y ESTILOS BASE
   ================================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--color-gray-900);
    background-color: var(--color-gray-100);
}

/* ================================================================
   3. TIPOGRAFÍA
   ================================================================ */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-gray-900);
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }
h5 { font-size: var(--font-size-base); }
h6 { font-size: var(--font-size-sm); }

p {
    margin: 0;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-normal);
}

a:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

/* ================================================================
   El contenido siempre llenará el espacio restante, haciendo que el footer se quede pegado al fondo aunque no haya casi texto.
   ================================================================ */
.main-content {
    /* Esto asegura que el footer siempre esté abajo */
    min-height: calc(100vh - 200px); /* Ajusta los px según el alto real de tus partials */
    display: flex;
    flex-direction: column;
}

/* ================================================================
   4. CONTENEDORES Y LAYOUTS
   ================================================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.container-sm {
    max-width: 640px;
}

.container-md {
    max-width: 768px;
}

.container-lg {
    max-width: 1024px;
}

.card {
    background: white;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-4xl);
    width: 100%;
}

.card-sm {
    padding: var(--spacing-2xl);
}

.card-lg {
    padding: var(--spacing-3xl) var(--spacing-4xl);
}

/* ================================================================
   5. SISTEMA DE FORMULARIOS
   ================================================================ */

/* Grupo de Formulario */
.form-group {
    margin-bottom: var(--spacing-xl);
}

.form-group:last-child {
    margin-bottom: 0;
}

/* Labels */
label {
    display: block;
    margin-bottom: var(--spacing-sm);
    color: var(--color-gray-700);
    font-weight: 500;
    font-size: var(--font-size-sm);
}

label.required::after {
    content: " *";
    color: var(--color-error);
}

/* Inputs de Texto, Password, Email, etc. */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="datetime-local"],
input[type="time"],
textarea,
select {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--border-radius-md);
    font-family: inherit;
    font-size: var(--font-size-base);
    color: var(--color-gray-900);
    background-color: white;
    transition: all var(--transition-normal);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="date"]:focus,
input[type="datetime-local"]:focus,
input[type="time"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

input[type="text"]:disabled,
input[type="email"]:disabled,
input[type="password"]:disabled,
input[type="number"]:disabled,
input[type="tel"]:disabled,
input[type="url"]:disabled,
textarea:disabled,
select:disabled {
    background-color: var(--color-gray-100);
    color: var(--color-gray-500);
    cursor: not-allowed;
}

input::placeholder,
textarea::placeholder {
    color: var(--color-gray-400);
}

/* Textarea específico */
textarea {
    min-height: 100px;
    resize: vertical;
}

/* Select específico */
select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right var(--spacing-sm) center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Checkbox y Radio */
input[type="checkbox"],
input[type="radio"] {
    width: 1rem;
    height: 1rem;
    margin-right: var(--spacing-sm);
    cursor: pointer;
}

/* File Input */
input[type="file"] {
    padding: var(--spacing-sm);
    font-size: var(--font-size-sm);
}

/* Mensajes de ayuda */
.form-help {
    display: block;
    margin-top: var(--spacing-xs);
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
}

/* Mensajes de error en campos */
.form-error {
    display: block;
    margin-top: var(--spacing-xs);
    font-size: var(--font-size-sm);
    color: var(--color-error);
}

input.error,
textarea.error,
select.error {
    border-color: var(--color-error);
}

input.error:focus,
textarea.error:focus,
select.error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* ================================================================
   6. BOTONES
   ================================================================ */
.btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-2xl);
    font-family: inherit;
    font-size: var(--font-size-base);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    line-height: 1.5;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Botón Primario */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.45);
    text-decoration: none;
}

/* Botón Secundario */
.btn-secondary {
    background-color: var(--color-gray-200);
    color: var(--color-gray-800);
}

.btn-secondary:hover:not(:disabled) {
    background-color: var(--color-gray-300);
    text-decoration: none;
}

/* Botón de Éxito */
.btn-success {
    background-color: var(--color-success);
    color: white;
}

.btn-success:hover:not(:disabled) {
    background-color: #059669;
    text-decoration: none;
}

/* Botón de Error/Peligro */
.btn-danger {
    background-color: var(--color-error);
    color: white;
}

.btn-danger:hover:not(:disabled) {
    background-color: #dc2626;
    text-decoration: none;
}

/* Botón Outline */
.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover:not(:disabled) {
    background-color: var(--color-primary);
    color: white;
    text-decoration: none;
}

/* Tamaños de Botones */
.btn-sm {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: var(--spacing-lg) var(--spacing-3xl);
    font-size: var(--font-size-lg);
}

/* Botón de Ancho Completo */
.btn-block {
    width: 100%;
    display: block;
}

/* ================================================================
   7. ALERTAS Y MENSAJES
   ================================================================ */
.alert {
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-2xl);
    border: 1px solid transparent;
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

.alert-success {
    background-color: var(--color-success-bg);
    border-color: var(--color-success-border);
    color: var(--color-success-text);
}

.alert-error {
    background-color: var(--color-error-bg);
    border-color: var(--color-error-border);
    color: var(--color-error-text);
}

.alert-warning {
    background-color: var(--color-warning-bg);
    border-color: var(--color-warning-border);
    color: var(--color-warning-text);
}

.alert-info {
    background-color: var(--color-info-bg);
    border-color: var(--color-info-border);
    color: var(--color-info-text);
}

/* Alerta con icono */
.alert-with-icon {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.alert-icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
}

/* ================================================================
   8. UTILIDADES
   ================================================================ */

/* Ocultar visualmente (accesibilidad) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Ocultar elemento (honeypot) */
.visual-hidden {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

/* Texto centrado */
.text-center {
    text-align: center;
}

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

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

/* Márgenes */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-lg); }
.mt-3 { margin-top: var(--spacing-2xl); }
.mt-4 { margin-top: var(--spacing-3xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-lg); }
.mb-3 { margin-bottom: var(--spacing-2xl); }
.mb-4 { margin-bottom: var(--spacing-3xl); }

/* Padding */
.p-0 { padding: 0; }
.p-1 { padding: var(--spacing-sm); }
.p-2 { padding: var(--spacing-lg); }
.p-3 { padding: var(--spacing-2xl); }
.p-4 { padding: var(--spacing-3xl); }

/* ================================================================
   9. PÁGINA DE LOGIN ESPECÍFICA
   ================================================================ */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-card {
    background: white;
    padding: var(--spacing-4xl);
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 420px;
}

.login-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.login-header h2 {
    color: var(--color-gray-900);
    margin-bottom: var(--spacing-sm);
}

.login-header p {
    color: var(--color-gray-600);
    font-size: var(--font-size-sm);
}

.login-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-2xl);
    display: block;
}

.login-form .form-group:last-of-type {
    margin-bottom: var(--spacing-2xl);
}

.login-footer {
    text-align: center;
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-2xl);
    border-top: 1px solid var(--color-gray-200);
}

.login-footer a {
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
}

.login-footer a:hover {
    color: var(--color-primary);
}

/* ================================================================
   10. RESPONSIVE
   ================================================================ */
@media (max-width: 640px) {
    :root {
        --spacing-4xl: 2rem;
    }
    
    .card {
        padding: var(--spacing-2xl);
    }
    
    .login-card {
        padding: var(--spacing-3xl) var(--spacing-2xl);
    }
    
    h1 { font-size: var(--font-size-2xl); }
    h2 { font-size: var(--font-size-xl); }
    h3 { font-size: var(--font-size-lg); }
}

@media (max-width: 480px) {
    .btn {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--font-size-sm);
    }
    
    .btn-lg {
        padding: var(--spacing-md) var(--spacing-xl);
        font-size: var(--font-size-base);
    }
}

/* ================================================================
   11. ANIMACIONES Y TRANSICIONES
   ================================================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn var(--transition-normal) ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-down {
    animation: slideDown var(--transition-normal) ease-out;
}

/* ================================================================
   12. ESTADO DE CARGA
   ================================================================ */
.loading {
    pointer-events: none;
    opacity: 0.6;
}

.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ================================================================
   FIN DE ESTILOS PRINCIPALES
   ================================================================ */
   
  /* ================================================================
   HEADER - DISEÑO CON LOGO + MENÚ
   ================================================================ */

/* ================================================================
   DESKTOP - DOS CINTILLAS (Logo arriba, menú abajo)
   ================================================================ */

.header-desktop {
    display: none;
    overflow-x: hidden;
    position: sticky;
    top: 0;
    z-index: 900;
}

/* CINTILLA SUPERIOR - Solo Logo */
.header-top-band {
    background-color: var(--header-bg);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.header-logo-zone {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    padding: 10px 0;
}

.header-logo-zone a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.header-logo-img {
    height: 120px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}

.header-logo-img:hover {
    transform: scale(1.03);
}

/* CINTILLA INFERIOR - Menú */
.header-bottom-band {
    background-color: #000000;
    padding: 12px 0;
}

.header-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.header-menu a {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.header-menu a:hover {
    color: #cccccc;
    text-decoration: none;
}

.menu-separator {
    color: #ffffff;
    opacity: 0.5;
}

.menu-admin {
    color: #fbbf24 !important;
}

.menu-admin:hover {
    color: #f59e0b !important;
}

.menu-logout {
    color: #f87171 !important;
    font-size: 0.85rem !important;
}

.menu-logout:hover {
    color: #ef4444 !important;
}

/* ================================================================
   MÓVIL - CINTILLA NEGRA + MENÚ HAMBURGUESA
   ================================================================ */

.header-mobile {
    display: none;
    position: sticky;
    top: 0;
    z-index: 900;
}

.mobile-single-band {
    background-color: #000000;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    overflow: visible;
    position: relative;
    z-index: 100;
}

/* Texto izquierda - Métodos de pago */
.mobile-left {
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.15;
    text-transform: uppercase;
    flex: 0 0 80px;
    width: 80px;
    padding: 8px 6px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.mobile-left:hover {
    color: #d1d5db;
}

/* Logo central */
.mobile-logo-zone {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
    overflow: visible;
}

.mobile-logo-zone a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.mobile-logo-img {
    height: 85px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(255,255,255,0.3));
}

/* Hamburguesa derecha */
.mobile-right {
    flex: 0 0 80px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 6px;
}

.mobile-hamburger {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.4rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.mobile-hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Menú desplegable móvil */
.mobile-dropdown-menu {
    display: none;
    flex-direction: column;
    background: #111111;
    border-top: 1px solid #333;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.mobile-dropdown-menu.open {
    display: flex;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: #e5e7eb;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s ease;
    border-bottom: 1px solid #222;
}

.mobile-menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
    color: #ffffff;
}

.mobile-menu-item i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    color: #9ca3af;
}

.mobile-menu-divider {
    height: 1px;
    background: #333;
    margin: 4px 0;
}

.mobile-menu-admin {
    color: #fbbf24 !important;
}

.mobile-menu-admin i {
    color: #fbbf24 !important;
}

.mobile-menu-logout {
    color: #f87171 !important;
}

.mobile-menu-logout i {
    color: #f87171 !important;
}

/* ================================================================
   MODAL SELECTOR DE RIFA
   ================================================================ */

.raffle-selector-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
}

.raffle-selector-overlay.show {
    opacity: 1;
    visibility: visible;
}

.raffle-selector-modal {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 0;
    max-width: 420px;
    width: 90%;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.raffle-selector-overlay.show .raffle-selector-modal {
    transform: scale(1) translateY(0);
}

.raffle-selector-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #333;
}

.raffle-selector-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0;
}

.raffle-selector-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #444;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.raffle-selector-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.raffle-selector-list {
    padding: 12px;
    max-height: 400px;
    overflow-y: auto;
}

.raffle-selector-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.raffle-selector-item:last-child {
    margin-bottom: 0;
}

.raffle-selector-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.raffle-selector-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--header-bg, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.raffle-selector-icon i {
    color: #fff;
    font-size: 1rem;
}

.raffle-selector-info {
    flex: 1;
}

.raffle-selector-name {
    font-weight: 600;
    color: #f1f5f9;
    font-size: 0.95rem;
}

.raffle-selector-arrow {
    color: #6b7280;
    font-size: 0.85rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.raffle-selector-item:hover .raffle-selector-arrow {
    color: #f1f5f9;
    transform: translateX(4px);
}

.raffle-selector-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

.raffle-selector-empty i {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

/* ================================================================
   RESPONSIVE - MOSTRAR/OCULTAR
   ================================================================ */

@media (max-width: 768px) {
    .header-desktop {
        display: none;
    }
    .header-mobile {
        display: block;
    }
}

@media (min-width: 769px) {
    .header-desktop {
        display: block;
    }
    .header-mobile {
        display: none;
    }
}

/* ================================================================
   AJUSTES RESPONSIVE - DESKTOP
   ================================================================ */

@media (max-width: 992px) and (min-width: 769px) {
    .header-logo-img {
        height: 100px;
    }

    .header-menu {
        gap: 10px;
    }

    .header-menu a {
        font-size: 0.85rem;
    }

    .header-logo-zone {
        min-height: 90px;
    }
}

@media (min-width: 1400px) {
    .header-logo-img {
        height: 120px;
    }

    .header-menu a {
        font-size: 1rem;
    }

    .header-logo-zone {
        min-height: 120px;
    }
}

/* ================================================================
   AJUSTES RESPONSIVE - MÓVIL
   ================================================================ */

@media (max-width: 360px) {
    .mobile-left {
        font-size: 0.65rem;
        flex: 0 0 65px;
        width: 65px;
        line-height: 1.1;
        padding: 8px 4px;
    }

    .mobile-right {
        flex: 0 0 65px;
        width: 65px;
    }

    .mobile-logo-zone {
        min-height: 70px;
    }

    .mobile-logo-img {
        height: 75px;
    }
}

@media (min-width: 361px) and (max-width: 480px) {
    .mobile-left {
        font-size: 0.7rem;
        flex: 0 0 75px;
        width: 75px;
        line-height: 1.15;
        padding: 8px 5px;
    }

    .mobile-right {
        flex: 0 0 75px;
        width: 75px;
    }

    .mobile-logo-zone {
        min-height: 75px;
    }

    .mobile-logo-img {
        height: 80px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .mobile-left {
        font-size: 0.8rem;
        flex: 0 0 90px;
        width: 90px;
        line-height: 1.2;
        padding: 8px 6px;
    }

    .mobile-right {
        flex: 0 0 90px;
        width: 90px;
    }

    .mobile-logo-zone {
        min-height: 80px;
    }

    .mobile-logo-img {
        height: 85px;
    }
}

/* ================================================================
   EFECTO DE BRILLO EN EL LOGO
   ================================================================ */
@keyframes logo-glow {
    0%, 100% {
        filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
    }
    50% {
        filter: drop-shadow(0 2px 12px rgba(255,255,255,0.4));
    }
}

.header-logo-img {
    animation: logo-glow 3s ease-in-out infinite;
}

.mobile-logo-img {
    animation: logo-glow 3s ease-in-out infinite;
}


/* ================================================================
   17. FOOTER MINIMALISTA
   ================================================================ */
.main-footer {
    background-color: #000000;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #333; /* Un borde sutil opcional */
    margin-top: auto; /* Si usas flex en el body, esto lo empuja al final */
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.footer-logo {
    width: 85px; /* Ajustado al nombre de tu archivo, pero puedes cambiarlo */
    height: auto;
    display: block;
}

.footer-link {
    color: #9ca3af; /* Un gris claro para no lastimar la vista */
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-wa-link i {
    color: #25D366;
    margin-right: 4px;
    transition: color 0.3s ease;
}

.footer-wa-link:hover i {
    color: #25D366;
}

/* ========================================
   AVISO DE PRIVACIDAD
   ======================================== */
.aviso-privacidad {
    background-color: #0a0a0a;
    color: #e0e0e0;
    padding: 60px 20px;
}

.aviso-container {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.8;
}

.aviso-title {
    font-family: 'Manrope', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
}

.aviso-container h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 30px;
    margin-bottom: 10px;
}

.aviso-container p {
    margin-bottom: 12px;
    color: #c0c0c0;
}

.aviso-container strong {
    color: #ffffff;
}

.aviso-container ul,
.aviso-container ol {
    margin: 10px 0 15px 25px;
    color: #c0c0c0;
}

.aviso-container li {
    margin-bottom: 5px;
}

@media (max-width: 600px) {
    .aviso-privacidad {
        padding: 40px 16px;
    }
    .aviso-title {
        font-size: 1.5rem;
    }
    .aviso-container {
        font-size: 0.9rem;
    }
}