/* ============================================
   FIFA 2026 GUIDE - DISEÑO PREMIUM
   ============================================ */

:root {
    /* Paleta de colores profesional */
    --primary: #2ecc71;
    --primary-dark: #27ae60;
    --primary-light: #6fcf97;
    --secondary: #e74c3c;
    --secondary-dark: #c0392b;
    --accent: #f39c12;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f8fafc;
    --white: #ffffff;
    
    /* Gradientes premium */
    --gradient-primary: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    --gradient-secondary: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    --gradient-accent: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #2ecc71 100%);
    
    /* Sombras (sistema de elevación) */
    --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);
    --shadow-glow: 0 0 15px rgba(46, 204, 113, 0.3);
    
    /* Bordes */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;
    
    /* Transiciones */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ============================================
   TIPOGRAFÍA PREMIUM
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.text-center h2:after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

/* ============================================
   HERO SECTION PREMIUM
   ============================================ */

.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-hero);
    isolation: isolate;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(46,204,113,0.1)' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
    opacity: 0.15;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(46,204,113,0.08) 0%, transparent 70%);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-section .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   CARDS CON GLASSMORPHISM
   ============================================ */

.card {
    background: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    overflow: hidden;
    height: 100%;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.card:hover::before {
    opacity: 1;
}

.card-body {
    padding: 1.75rem;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card i {
    color: var(--primary);
    transition: all var(--transition-base);
}

.card:hover i {
    transform: scale(1.1);
    color: var(--primary-dark);
}

/* Cards de bookmakers */
.bookmakers .card {
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.bookmakers .card h3 {
    color: var(--primary-dark);
}

/* ============================================
   BOTONES PREMIUM
   ============================================ */

.btn {
    border-radius: var(--radius-full);
    padding: 12px 32px;
    font-weight: 600;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.05);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow);
}

.btn-success {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-warning {
    background: var(--gradient-accent);
    color: var(--white);
    animation: pulse 2s infinite;
}

.btn-warning:hover {
    animation: none;
}

.btn-danger {
    background: var(--gradient-secondary);
    color: var(--white);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ============================================
   NAVBAR PREMIUM
   ============================================ */

.navbar {
    padding: 1rem 0;
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform var(--transition-fast);
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    transition: all var(--transition-base);
    margin: 0 4px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

.navbar-nav .nav-link:hover {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.08);
}

.navbar-nav .nav-link i {
    margin-right: 6px;
}

/* ============================================
   SELECTOR DE IDIOMA PREMIUM
   ============================================ */

.language-selector {
    position: relative;
    margin-left: 15px;
}

.language-selector .dropdown-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    cursor: pointer;
    transition: all var(--transition-base);
}

.language-selector .dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.language-selector .dropdown-menu {
    min-width: 160px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: none;
    margin-top: 12px;
    overflow: hidden;
}

.language-selector .dropdown-item {
    padding: 10px 20px;
    transition: all var(--transition-fast);
}

.language-selector .dropdown-item:hover {
    background: var(--gradient-primary);
    color: var(--white);
}

.language-selector .dropdown-item.active {
    background: var(--gradient-primary);
    color: var(--white);
}

/* ============================================
   TABLAS PREMIUM
   ============================================ */

.table {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.table thead {
    background: var(--gradient-dark);
    color: var(--white);
}

.table thead th {
    border: none;
    padding: 1rem 1.25rem;
    font-weight: 600;
}

.table tbody tr {
    transition: all var(--transition-fast);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.table tbody tr:hover {
    background: linear-gradient(90deg, rgba(46, 204, 113, 0.05) 0%, transparent 100%);
    transform: scale(1.01);
}

.table tbody td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
}

/* ============================================
   ACCORDION PREMIUM
   ============================================ */

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: var(--radius-md) !important;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.accordion-button {
    background: var(--white);
    font-weight: 600;
    padding: 1rem 1.5rem;
    transition: all var(--transition-base);
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    padding: 1.5rem;
    background: var(--light);
}

/* ============================================
   COUNTDOWN TIMER PREMIUM
   ============================================ */

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.countdown-timer > div {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    text-align: center;
    min-width: 100px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #dbf748;
}

.countdown-timer span {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.countdown-timer small {
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   FOOTER PREMIUM
   ============================================ */

footer {
    background: var(--dark) !important;
    margin-top: 4rem;
    padding: 3rem 0 1.5rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

footer h5 {
    color: var(--white);
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

footer p, footer a {
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-fast);
}

footer a:hover {
    color: var(--primary);
    text-decoration: none;
    transform: translateX(4px);
    display: inline-block;
}

footer .fab {
    transition: all var(--transition-base);
    font-size: 1.5rem;
}

footer .fab:hover {
    transform: translateY(-4px);
    color: var(--primary);
}

/* ============================================
   ALERTAS PREMIUM
   ============================================ */

.alert {
    border-radius: var(--radius-lg);
    border: none;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.alert-warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #e65100;
}

.alert-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #01579b;
}

.alert-success {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #1b5e20;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    .countdown-timer > div {
        min-width: 80px;
        padding: 0.8rem 1rem;
    }
    
    .countdown-timer span {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        display: inline-block;
        margin: 4px;
    }
    
    .language-selector {
        margin: 10px 0;
        text-align: center;
    }
    
    .countdown-timer {
        gap: 0.6rem;
    }
    
    .countdown-timer > div {
        min-width: 65px;
        padding: 0.6rem 0.8rem;
    }
    
    .countdown-timer span {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 12px 28px;
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    footer {
        text-align: center;
    }
    
    footer .col-md-4 {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .countdown-timer {
        gap: 0.4rem;
    }
    
    .countdown-timer > div {
        min-width: 55px;
        padding: 0.5rem;
    }
    
    .countdown-timer span {
        font-size: 1.2rem;
    }
    
    .countdown-timer small {
        font-size: 0.65rem;
    }
}

/* ============================================
   ANIMACIONES
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--shadow-md);
    }
    50% {
        transform: scale(1.02);
        box-shadow: var(--shadow-glow);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.card, .hero-section, .table, .accordion-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll reveals */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SCROLLBAR PERSONALIZADA
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ============================================
   UTILIDADES
   ============================================ */

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bg-gradient {
    background: var(--gradient-primary);
    color: var(--white);
}

.rounded-custom {
    border-radius: var(--radius-lg);
}

.shadow-custom {
    box-shadow: var(--shadow-lg);
}

.hover-lift {
    transition: all var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   HEADER Y NAVBAR REDISEÑADO
   ============================================ */

.navbar {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(12px);
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-spacer {
    height: 76px;
}

/* Brand / Logo */
.navbar-brand .brand-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand .brand-icon {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
}

.navbar-brand .brand-text {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: white;
}

.navbar-brand .brand-highlight {
    color: #2ecc71;
    font-weight: 800;
}

/* Navbar links */
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 8px 18px;
    margin: 0 2px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-nav .nav-link i {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.navbar-nav .nav-link:hover i {
    transform: translateY(-2px);
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background: rgba(46, 204, 113, 0.15);
}

.navbar-nav .nav-link.active {
    color: white !important;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
}

/* Selector de idioma */
.language-selector {
    margin-left: 15px;
}

.language-selector .dropdown-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 8px 18px;
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-selector .dropdown-toggle:hover {
    background: rgba(46, 204, 113, 0.2);
    border-color: rgba(46, 204, 113, 0.5);
}

.language-selector .dropdown-menu {
    background: #1e293b;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-top: 10px;
    padding: 0.5rem 0;
}

.language-selector .dropdown-item {
    color: #e2e8f0;
    padding: 8px 20px;
    transition: all 0.2s ease;
}

.language-selector .dropdown-item:hover {
    background: #2ecc71;
    color: white;
}

.language-selector .dropdown-item.active {
    background: #2ecc71;
    color: white;
}

/* ============================================
   FOOTER REDISEÑADO
   ============================================ */

.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2ecc71, #27ae60, #2ecc71);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand .brand-icon {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.footer-brand .brand-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.footer-brand .brand-highlight {
    color: #2ecc71;
}

.footer-description {
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 1rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #2ecc71;
    color: white;
    transform: translateY(-3px);
}

.footer h5 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: #2ecc71;
    padding-left: 5px;
}

.footer-newsletter-text {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.footer-newsletter .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50px;
    padding: 8px 15px;
    font-size: 0.85rem;
}

.footer-newsletter .form-control:focus {
    border-color: #2ecc71;
    box-shadow: none;
}

.footer-hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0 1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .navbar-brand .brand-text {
        font-size: 1.1rem;
    }
    
    .navbar-brand .brand-icon {
        font-size: 1.4rem;
        width: 35px;
        height: 35px;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px;
        justify-content: center;
    }
    
    .language-selector {
        margin: 10px 0;
        text-align: center;
    }
    
    .language-selector .dropdown-toggle {
        width: 100%;
        justify-content: center;
    }
    
    .language-selector .dropdown-menu {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar-spacer {
        height: 68px;
    }
    
    .navbar-brand .brand-text {
        font-size: 1rem;
    }
    
    .navbar-brand .brand-icon {
        font-size: 1.2rem;
        width: 30px;
        height: 30px;
    }
}


/* ============================================
   HERO CARROUSEL - BANNER ROTATIVO
   ============================================ */

.hero-carousel {
    position: relative;
    width: 100%;
    min-height: 80vh;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 80vh;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.7) 0%, rgba(46,204,113,0.6) 100%);
    z-index: 0;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.carousel-slide .container {
    position: relative;
    z-index: 2;
}

/* Botones de navegación */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(46, 204, 113, 0.8);
    transform: translateY(-50%) scale(1.1);
}

/* Indicadores (puntos) */
.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #2ecc71;
    width: 30px;
    border-radius: 6px;
}

.carousel-dot:hover {
    background: #2ecc71;
    transform: scale(1.2);
}

/* Hero particles (asegurar que no interfiera) */
.hero-particles {
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .carousel-dot {
        width: 8px;
        height: 8px;
    }
    
    .carousel-dot.active {
        width: 20px;
    }
}

@media (max-width: 480px) {
    .carousel-prev,
    .carousel-next {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* ============================================
   BOTÓN DE CONTACTO EN NAVBAR
   ============================================ */

.contact-btn {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    border-radius: 50px !important;
    padding: 6px 16px !important;
    margin-left: 8px !important;
    font-size: 0.85rem !important;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: linear-gradient(135deg, #27ae60, #219a52);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
}

.contact-btn i {
    font-size: 0.85rem;
}

/* Responsive: ajuste para móvil */
@media (max-width: 992px) {
    .contact-btn {
        margin: 5px auto !important;
        width: fit-content;
        padding: 8px 20px !important;
    }
}

@media (max-width: 768px) {
    .contact-btn {
        font-size: 0.8rem !important;
        padding: 6px 16px !important;
    }
}


/* ============================================
   NAVBAR OPTIMIZADO - SIN AMONTONAMIENTO
   ============================================ */

.navbar {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(12px);
    padding: 0.6rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-spacer {
    height: 70px;
}

/* Brand / Logo */
.navbar-brand .brand-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand .brand-icon {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.navbar-brand .brand-text {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: white;
    white-space: nowrap;
}

.navbar-brand .brand-highlight {
    color: #2ecc71;
}

/* Navbar links - centrados y con espacio adecuado */
.navbar-nav {
    gap: 0.25rem;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.navbar-nav .nav-link i {
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background: rgba(46, 204, 113, 0.15);
}

.navbar-nav .nav-link.active {
    color: white !important;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

/* Selector de idioma */
.language-selector {
    margin-left: 1rem;
}

.language-selector .dropdown-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    color: white;
    font-size: 0.85rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.language-selector .dropdown-menu {
    background: #1e293b;
    border: none;
    border-radius: 12px;
    margin-top: 0.5rem;
    min-width: 140px;
}

.language-selector .dropdown-item {
    color: #e2e8f0;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.language-selector .dropdown-item:hover {
    background: #2ecc71;
    color: white;
}

/* ============================================
   RESPONSIVE PARA MÓVIL
   ============================================ */

@media (max-width: 1199px) {
    .navbar-nav .nav-link span {
        font-size: 0.85rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem;
        gap: 6px;
    }
}

@media (max-width: 991px) {
    .navbar-nav {
        gap: 0;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        justify-content: center;
        padding: 0.75rem 1rem;
        margin: 0.25rem 0;
    }
    
    .navbar-nav .nav-link span {
        font-size: 1rem;
    }
    
    .language-selector {
        margin: 0.75rem 0 0.5rem;
        text-align: center;
    }
    
    .language-selector .dropdown-toggle {
        width: 100%;
        justify-content: center;
    }
    
    .language-selector .dropdown-menu {
        width: 100%;
        text-align: center;
    }
    
    .navbar-brand .brand-text {
        font-size: 1rem;
    }
    
    .navbar-brand .brand-icon {
        font-size: 1.2rem;
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 768px) {
    .navbar-spacer {
        height: 62px;
    }
    
    .navbar-nav .nav-link i {
        width: 24px;
    }
}

@media (max-width: 480px) {
    .navbar-brand .brand-text {
        font-size: 0.9rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.6rem;
    }
    
    .navbar-nav .nav-link span {
        font-size: 0.9rem;
    }
}

/* ============================================
   SECCIÓN DE CONTACTO PROFESIONAL
   ============================================ */

.contact-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%232ecc71' fill-opacity='0.05' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
    pointer-events: none;
}

.contact-wrapper {
    background: white;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    padding: 3rem;
    position: relative;
    z-index: 1;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.contact-info h2 {
    font-size: 1.8rem;
    line-height: 1.3;
}

.contact-benefits li {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.contact-benefits i {
    width: 24px;
}

.contact-card {
    background: #f8fafc;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-method {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

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

.contact-icon.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.contact-method h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-method p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-wrapper {
        padding: 2rem;
    }
    
    .contact-info h2 {
        font-size: 1.5rem;
    }
    
    .contact-card {
        padding: 1.5rem;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .contact-wrapper {
        padding: 1.5rem;
    }
    
    .contact-method {
        padding: 1rem;
    }
    
    .contact-icon {
        width: 55px;
        height: 55px;
    }
    
    .contact-icon i {
        font-size: 1.5rem;
    }
    
    .contact-info h2 {
        font-size: 1.3rem;
    }
}



/* Botones de contacto estilo icono grande */
.btn-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #f1f5f9;
    border-radius: 60px;
    padding: 12px 20px;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-contact-icon i {
    font-size: 1.8rem;
}

.btn-contact-icon span {
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-contact-icon:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

/* Email específico */
.btn-contact-icon.email:hover {
    background: #dbeafe;
    color: #2563eb;
}

/* WhatsApp específico */
.btn-contact-icon.whatsapp:hover {
    background: #dcfce7;
    color: #059669;
}

@media (max-width: 768px) {
    .btn-contact-icon {
        padding: 10px 16px;
        gap: 8px;
    }
    
    .btn-contact-icon i {
        font-size: 1.4rem;
    }
    
    .btn-contact-icon span {
        font-size: 0.8rem;
    }
}

/* Banner integrado en la card */
.bookmakers .card .card-body.p-0 iframe {
    border-radius: 16px 16px 0 0;
    width: 100%;
    height: auto;
    min-height: 90px;
}

@media (max-width: 768px) {
    .bookmakers .card .card-body.p-0 iframe {
        min-height: 70px;
    }
}

@media (max-width: 480px) {
    .bookmakers .card .card-body.p-0 iframe {
        min-height: 60px;
    }
}

/* Banner alineado en la card de Melbet */
.bookmakers .card iframe {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: #f8fafc;
}

@media (max-width: 992px) {
    .bookmakers .card iframe {
        width: 100%;
        height: auto;
        min-height: 80px;
    }
}

/* Mejora logo Melbet (letras blancas sobre fondo blanco) */
.melbet-logo {
    background: rgba(0, 0, 0, 0.08);
    padding: 8px 16px;
    border-radius: 12px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

/* ============================================
   ESTILOS PARA BETTING.PHP MEJORADO
   ============================================ */

/* Contador social */
.social-proof {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.counter-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2ecc71;
}

/* Pasos para nuevos apostadores */
.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Badges de cuotas */
.badge.bg-success, .badge.bg-warning, .badge.bg-danger {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    min-width: 70px;
}

/* Tabla de bonos */
.bonus-comparison .card {
    transition: transform 0.3s ease;
}

.bonus-comparison .card:hover {
    transform: translateY(-5px);
}

/* Testimonios */
.testimonials .card {
    background: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .counter-number {
        font-size: 1.3rem;
    }
    
    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .badge.bg-success, .badge.bg-warning, .badge.bg-danger {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
        min-width: 55px;
    }
}


/* ============================================
   TÍTULO PRINCIPAL DE BETTING.PHP
   ============================================ */

/* Gradiente para el texto del título */
.title-gradient {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 50%, #1e7e34 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Emoji destacado */
.emoji-title {
    font-size: 2rem;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Responsive */
@media (min-width: 768px) {
    .title-gradient {
        font-size: 2.5rem;
    }
    .emoji-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 992px) {
    .title-gradient {
        font-size: 3rem;
    }
    .emoji-title {
        font-size: 3rem;
    }
}