/* ========================================
   LOTTOSOFT - ESTILOS PRINCIPALES
   ======================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

/* ========================================
   VARIABLES CSS
   ======================================== */
:root {
    /* Colores principales */
    --primary-500: #2563eb;
    --primary-600: #1d4ed8;
    --primary-700: #1e40af;
    --secondary-500: #f59e0b;
    --secondary-600: #d97706;
    --success-500: #10b981;
    --success-600: #059669;
    --danger-500: #ef4444;
    --danger-600: #dc2626;
    --warning-500: #f59e0b;
    --warning-600: #d97706;
    
    /* Neutros */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Efectos */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Bordes */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
}

/* ========================================
   RESET Y BASE
   ======================================== */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* ========================================
   NAVBAR MODERNO
   ======================================== */
.navbar-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.navbar-modern.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.navbar-brand-modern {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--gray-800);
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-brand-modern:hover {
    color: var(--primary-600);
    transform: translateY(-1px);
}

.brand-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--secondary-500) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    position: relative;
    overflow: hidden;
}

.brand-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 100%);
}

.brand-icon i {
    color: white;
    font-size: 1.4rem;
    z-index: 2;
}

.nav-link-modern {
    color: var(--gray-600);
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.nav-link-modern:hover,
.nav-link-modern.active {
    color: var(--primary-600);
    background: rgba(37, 99, 235, 0.08);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    padding-top: 100px;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.hero-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ========================================
   SEARCH CARD
   ======================================== */
.search-card-ultra {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-3xl);
    padding: 3rem;
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-card-ultra::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500) 0%, var(--secondary-500) 100%);
}

.search-card-ultra:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.25);
}

.search-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gray-800);
    text-align: center;
    margin-bottom: 1rem;
}

.search-subtitle {
    color: var(--gray-600);
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

/* ========================================
   FORM CONTROLS
   ======================================== */
.form-group-modern {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-label-modern {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.form-label-modern i {
    margin-right: 0.5rem;
    color: var(--primary-500);
}

.form-control-modern {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: white;
}

.form-control-modern:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.numero-input {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.5rem;
    color: var(--primary-600);
}

/* ========================================
   BOTONES
   ======================================== */
.btn-search-ultra {
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border: none;
    border-radius: var(--radius-xl);
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
}

.btn-search-ultra::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-search-ultra:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -12px rgba(37, 99, 235, 0.35);
}

.btn-search-ultra:hover::before {
    left: 100%;
}

.btn-search-ultra:active {
    transform: translateY(-1px);
}

/* ========================================
   RESULTADOS
   ======================================== */
.resultado-card {
    background: white;
    border: none;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.resultado-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.numero-ganador {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--secondary-500) 0%, var(--warning-500) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    margin: 0 auto 1rem;
    position: relative;
}

.numero-ganador::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(245, 158, 11, 0.1));
    border-radius: 50%;
    z-index: -1;
}

.loteria-header {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: white;
    padding: 1rem;
    position: relative;
}

.premio-amount {
    color: var(--success-500);
    font-size: 2.2rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* ========================================
   STATS CARDS
   ======================================== */
.stats-card {
    background: white;
    border: none;
    border-radius: var(--radius-2xl);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    height: 100%;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.stats-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
}

/* ========================================
   ALERTAS
   ======================================== */
.alert-ganador {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: none;
    border-left: 5px solid var(--success-500);
    border-radius: var(--radius-xl);
}

.alert-perdedor {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: none;
    border-left: 5px solid var(--danger-500);
    border-radius: var(--radius-xl);
}

/* ========================================
   FLOATING ELEMENTS
   ======================================== */
.floating-element {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(2) {
    animation-delay: -2s;
}

.floating-element:nth-child(3) {
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(-10px) rotate(240deg);
    }
}

.shape-1 {
    top: 10%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-500), var(--warning-500));
    border-radius: 50%;
    opacity: 0.1;
}

.shape-2 {
    top: 70%;
    right: 15%;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--success-500), var(--primary-500));
    border-radius: 30%;
    opacity: 0.08;
}

.shape-3 {
    bottom: 20%;
    left: 20%;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--danger-500), var(--secondary-500));
    border-radius: 20%;
    opacity: 0.1;
}

/* ========================================
   FOOTER
   ======================================== */
.footer-modern {
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* ========================================
   ANIMACIONES
   ======================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .search-card-ultra {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .hero-modern {
        padding-top: 100px;
        min-height: auto;
    }

    .numero-input {
        font-size: 1.5rem;
        letter-spacing: 0.3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .search-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .search-card-ultra {
        padding: 1.5rem 1rem;
    }
    
    .brand-icon {
        width: 40px;
        height: 40px;
    }
    
    .navbar-brand-modern {
        font-size: 1.5rem;
    }
}

/* ========================================
   CLASES ADICIONALES PARA INDEX.PHP
   Agregar al final de main.css
   ======================================== */

/* ========================================
   HERO SECTION ACTUALIZADA
   ======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    padding-top: 120px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.hero-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--secondary-500) 0%, var(--warning-500) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
    animation: pulse 2s infinite;
}

.hero-icon i {
    font-size: 3rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* ========================================
   SEARCH CARD MEJORADA
   ======================================== */
.search-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-3xl);
    padding: 3rem;
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.search-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.search-icon i {
    font-size: 2rem;
    color: white;
}

.search-form {
    position: relative;
}

.lottery-number-input {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.4rem;
    color: var(--primary-600);
}

/* ========================================
   BOTONES ACTUALIZADOS
   ======================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border: none;
    border-radius: var(--radius-xl);
    color: white;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -12px rgba(37, 99, 235, 0.35);
}

.btn-search {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.2rem;
}

/* ========================================
   FEATURE CARDS
   ======================================== */
.feature-card {
    background: white;
    border: none;
    border-radius: var(--radius-2xl);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ========================================
   RESULTS SECTION
   ======================================== */
.results-section {
    padding: 5rem 0;
    background: white;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-800);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--secondary-500));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-top: 1rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.result-card {
    background: white;
    border: none;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.result-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.result-header {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: between;
    align-items: center;
}

.lottery-info h5 {
    margin-bottom: 0.25rem;
}

.lottery-name {
    font-size: 1.2rem;
    font-weight: 700;
}

.agency-name {
    opacity: 0.8;
    font-size: 0.9rem;
}

.time-badge {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.result-body {
    padding: 2rem;
    text-align: center;
}

.winning-number {
    margin-bottom: 1.5rem;
}

.number-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--secondary-500) 0%, var(--warning-500) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    margin: 0 auto;
    position: relative;
}

.prize-info {
    margin-bottom: 1rem;
}

.prize-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--success-500);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    margin-bottom: 0.5rem;
}

.prize-label {
    color: var(--gray-600);
    margin-bottom: 0;
}

.additional-info {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* ========================================
   ADMIN SECTION
   ======================================== */
.admin-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
}

.admin-card {
    background: white;
    border: none;
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    height: 100%;
}

.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.admin-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
}

.admin-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.admin-content p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ========================================
   ALERTAS MODERNAS
   ======================================== */
.alert-modern {
    border: none;
    border-radius: var(--radius-xl);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-md);
}

.alert-winner {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left: 5px solid var(--success-500);
}

.alert-no-winner {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 5px solid var(--primary-500);
}

.winner-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.winner-icon {
    width: 60px;
    height: 60px;
    background: var(--success-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.winner-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--success-600);
    margin-bottom: 0.5rem;
}

.winner-number {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.highlight-number {
    background: var(--primary-500);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-md);
    font-weight: bold;
}

.winner-details {
    margin-bottom: 0.5rem;
}

.prize-amount {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--success-500);
    margin-right: 1rem;
}

.lottery-info {
    color: var(--gray-600);
}

.additional-info {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.no-winner-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.no-winner-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.encouragement {
    color: var(--primary-600);
    font-style: italic;
    margin-top: 0.5rem;
}

/* ========================================
   WINNING NUMBERS SECTION
   ======================================== */
.winning-numbers-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.winning-numbers-title {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.winning-numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.winning-number-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1rem;
    text-align: center;
}

.winning-number-card .number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-600);
    margin-bottom: 0.25rem;
}

.winning-number-card .lottery {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.winning-number-card .prize {
    font-size: 0.9rem;
    color: var(--success-500);
    font-weight: 600;
}

/* ========================================
   NO RESULTS CARD
   ======================================== */
.no-results-card {
    background: white;
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-2xl);
    padding: 3rem 2rem;
    text-align: center;
    color: var(--gray-500);
}

.no-results-card i {
    font-size: 4rem;
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.no-results-card h4 {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

/* ========================================
   SEARCH RESULTS
   ======================================== */
.search-results {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

/* ========================================
   RESPONSIVE ADICIONAL
   ======================================== */
@media (max-width: 768px) {
    .admin-card {
        flex-direction: column;
        text-align: center;
    }
    
    .admin-icon {
        margin-bottom: 1rem;
    }
    
    .winner-content,
    .no-winner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .winning-numbers-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .result-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 100px;
    }
    
    .search-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}


/* ===== RESULT CARDS – Tema morado tipo “landing” ===== */
.results-section.violeta {
  /* fondo morado oscuro tipo gradient */
  background: radial-gradient(120% 120% at 0% 0%, #2a0c4b 0%, #1a0733 45%, #120428 100%);
  color: #fff;
}

.results-section.violeta .section-title,
.results-section.violeta .section-subtitle {
  color: #fff;
  opacity: .95;
}

.results-section.violeta .results-grid { gap: 2.5rem; }

/* Tarjeta */
.results-section.violeta .result-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
  overflow: hidden;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.results-section.violeta .result-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0,0,0,.45);
}
/* adorno circular en la esquina */
.results-section.violeta .result-card::before{
  content:'';
  position:absolute; width:220px; height:220px; left:-70px; top:-70px;
  background:
    radial-gradient(closest-side, rgba(255,255,255,.15), rgba(255,255,255,0) 70%),
    conic-gradient(from 210deg, #8a2be2, #ff3fa4, #f59e0b);
  border-radius:50%;
  filter: blur(2px);
  opacity:.18;
}

/* Header de la tarjeta */
.results-section.violeta .result-header{
  background: transparent;           /* quitamos el azul sólido del tema base */
  color:#fff;
  padding: 1.25rem 1.5rem;
  display:flex; align-items:center; justify-content:space-between;
}
.results-section.violeta .lottery-name{ color:#fff; font-weight:700; margin:0; }
.results-section.violeta .agency-name{ color:rgba(255,255,255,.70); }
.results-section.violeta .time-badge{
  background: rgba(255,255,255,.12);
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
}
.results-section.violeta .time-badge::before{
  content:'FECHA ';
  font-weight:600;
  opacity:.9;
  margin-right:.35rem;
}

/* Cuerpo de la tarjeta */
.results-section.violeta .result-body{ padding: 1rem 1.5rem 1.25rem; }

/* Línea “NÚMERO …” como en la captura */
.results-section.violeta .winning-number{ margin:0; text-align:left; }
.results-section.violeta .number-circle{
  background: transparent; width:auto; height:auto; border-radius:0;
  margin:0; padding:.25rem 0 .75rem;
  box-shadow:none;                    /* sin círculo */
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight:800; letter-spacing:.35rem;
  color:#fff; display:inline-block;
  border-bottom:1px dashed rgba(255,255,255,.15);
}
.results-section.violeta .number-circle::before{
  content:'NÚMERO';
  display:block; margin-bottom:.35rem;
  font-weight:700; letter-spacing:0; font-size:.85rem;
  color: rgba(255,255,255,.80);
}

/* Premio / meta info */
.results-section.violeta .prize-info{
  display:flex; align-items:center; gap:.5rem;
  margin-top:.75rem;
}
.results-section.violeta .prize-amount{ color:#22c55e; text-shadow:none; font-size:1.25rem; }
.results-section.violeta .prize-label{ color:rgba(255,255,255,.75); margin:0; }

.results-section.violeta .additional-info{ color:rgba(255,255,255,.65); margin-top:.5rem; }


/* ===== HERO CONSULTA ===== */
.hero-consulta {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #5b21b6 0%, #3b82f6 100%);
  padding-top: 120px;
}

.hero-consulta .hero-background {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.08), transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(255,255,255,.05), transparent 50%);
}

.consulta-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 950px;
  padding: 1rem;
}

.consulta-card {
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  text-align: center;
}

.consulta-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin: 1rem 0 .5rem;
  color: #111827;
}
.consulta-header p {
  color: #6b7280;
  margin-bottom: 2rem;
}
.consulta-icon {
  width: 80px; height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#2563eb,#1d4ed8);
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37,99,235,.4);
}

/* form */
.consulta-form .form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.consulta-form .form-control-modern {
  font-size: 1rem;
  border-radius: 12px;
}

/* botón */
.btn-consulta {
  display: inline-block;
  width: 100%;
  padding: 1.25rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg,#2563eb,#1d4ed8);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(37,99,235,.35);
  transition: all .3s ease;
}
.btn-consulta:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(37,99,235,.45);
}


/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  background: #120428;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide.active { opacity: 1; }

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18,4,40,0.85) 0%, rgba(18,4,40,0.4) 100%);
}

.slide-content {
  position: relative;
  color: #fff;
  text-align: center;
  max-width: 800px;
  z-index: 2;
}
.slide-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.slide-subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  margin-bottom: 2rem;
  opacity: .9;
}
.btn-slide {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  background: linear-gradient(135deg,#ec4899,#8b5cf6);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: all .3s ease;
}
.btn-slide:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,.35);
}

/* Controles */
.prev, .next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.5);
  color: #fff; border: none;
  font-size: 2rem; cursor: pointer;
  padding: .5rem 1rem;
  border-radius: 50%;
  z-index: 3;
}
.prev { left: 20px; }
.next { right: 20px; }

/* Indicadores */
.indicators {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: .5rem;
  z-index: 3;
}
.indicators span {
  width: 12px; height: 12px;
  background: rgba(255,255,255,.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background .3s;
}
.indicators span.active { background: #fff; }


/* ===== HEADER THEME ===== */
.site-header {
  background: linear-gradient(135deg, #1a0733 0%, #2a0c4b 50%, #3b0d60 100%);
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
}

.site-header .navbar {
  padding: 1rem 2rem;
}

.site-header .navbar-brand img {
  max-height: 50px;
}

.site-header .navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 600;
  margin: 0 1rem;
  transition: color .3s ease;
}

.site-header .navbar-nav .nav-link:hover {
  color: #ec4899 !important; /* fucsia */
}

.site-header .btn-login {
  border: 2px solid #ec4899;
  color: #ec4899;
  padding: .5rem 1rem;
  border-radius: 30px;
  font-weight: 600;
  transition: all .3s ease;
  background: transparent;
}
.site-header .btn-login:hover {
  background: #ec4899;
  color: #fff;
  box-shadow: 0 6px 20px rgba(236,72,153,.4);
}

.site-header .btn-cart {
  color: #fff;
  font-size: 1.3rem;
  margin-left: 1rem;
  transition: color .3s ease;
}
.site-header .btn-cart:hover {
  color: #ec4899;
}
