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

/* Scroll suave global */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f5f7fc;
    color: #1e2a3a;  /* Cambiado: gris oscuro pero más suave */
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== HEADER MODERNO ========== */
.header {
    background: linear-gradient(135deg, #0a2b5e 0%, #123e7c 100%);
    color: white;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    backdrop-filter: blur(0px);
    transition: all 0.2s ease;
}

/* Efecto sutil al hacer scroll (opcional) */
.header.scrolled {
    padding: 0.5rem 0;
    background: linear-gradient(135deg, #0a2b5e 0%, #0f2e6b 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-content a {
    color: white;  /* Asegura que los enlaces sean blancos */
}

/* ===== LOGO ÁREA ===== */
.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

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

.logo-img img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.logo-text span {
    color: #5a9eff;
    font-weight: 800;
}

.logo-text p {
    font-size: 0.6rem;
    opacity: 0.75;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

/* ===== NAVEGACIÓN PRINCIPAL ===== */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
    padding: 0.5rem 0;
    position: relative;
}

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

/* Indicador de enlace activo */
.nav-links a.active {
    color: white;
    font-weight: 600;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #5a9eff;
    border-radius: 2px;
}

/* ===== BOTÓN CTA PRINCIPAL ===== */
.btn-header {
    background: linear-gradient(135deg, #ff6b4a, #ff8c5a);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(255,107,74,0.3);
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,107,74,0.4);
    background: linear-gradient(135deg, #e55a3a, #ff6b4a);
}

.btn-header i {
    font-size: 0.8rem;
}

/* ===== ELEMENTOS DE CONFIANZA ===== */
.trust-badge {
    background: rgba(90, 158, 255, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.75rem;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;  /* Texto blanco */
}

.trust-badge i {
    color: #5a9eff;
    font-size: 0.8rem;
}

/* ===== MENÚ HAMBURGUESA (Mobile) ===== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.menu-toggle:hover {
    background: rgba(255,255,255,0.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
    
    .trust-badge {
        display: none; /* Ocultar en tablet para más espacio */
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.6rem 0;
    }
    
    .logo-img {
        width: 38px;
        height: 38px;
    }
    
    .logo-img img {
        width: 30px;
        height: 30px;
    }
    
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .logo-text p {
        font-size: 0.5rem;
    }
    
    /* Menú hamburguesa */
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 60px);
        background: #0a2b5e;
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        transition: left 0.3s ease;
        box-shadow: 2px 0 12px rgba(0,0,0,0.2);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .nav-links a {
        display: block;
        padding: 0.5rem 0;
        font-size: 1rem;
    }
    
    .nav-links a.active::after {
        display: none;
    }
    
    .nav-links a.active {
        color: #5a9eff;
    }
    
    .btn-header {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Trust badge con imagen */
.trust-badge {
    background: rgba(90, 158, 255, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.75rem;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    /* filter: brightness(0) invert(1);  Si la imagen es oscura, la vuelve blanca */
}

/* Si la imagen ya es blanca, elimina el filter */
.trust-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* ========== GOOGLE ADS EN ARTÍCULOS ========== */
.ad-article {
    background: #f8fafc;
    margin: 2rem 0;
    padding: 1rem;
    text-align: center;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.ad-article .ad-label {
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.ad-article .ad-placeholder {
    min-height: 90px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #6c7a8e;
    font-size: 0.85rem;
    border: 1px dashed #cbd5e1;
}

/* Versión responsive */
@media (max-width: 768px) {
    .ad-article {
        margin: 1.5rem 0;
        padding: 0.75rem;
    }
    .ad-article .ad-placeholder {
        min-height: 70px;
    }
}

/* ========== ADS ========== */
.ad-container {
    background: white;
    margin: 24px auto;
    padding: 12px;
    text-align: center;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.ad-label {
    font-size: 0.65rem;
    color: #6c7a8e;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.ad-placeholder {
    min-height: 90px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #6c7a8e;
    border: 1px dashed #cbd5e1;
}

.ad-inline {
    margin: 1.5rem 0;
}

/* ========== ESTILOS PARA CTAs ========== */
.cta-button {
    display: inline-block;
    background: #1e6bd8;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.cta-button:hover {
    background: #0a2b5e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30,107,216,0.3);
}

.cta-button-small {
    background: #1e6bd8;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
}

.cta-button-small:hover {
    background: #0a2b5e;
    transform: translateY(-2px);
}

.cta-box {
    background: linear-gradient(135deg, #eef3fc, #ffffff);
    border-radius: 16px;
    padding: 1.2rem;
    margin: 1.5rem 0;
    border-left: 4px solid #1e6bd8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cta-inline {
    background: #f8fafc;
    border-radius: 16px;
    padding: 1rem;
    margin: 1.5rem 0;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.cta-highlight {
    background: linear-gradient(135deg, #0a2b5e, #123e7c);
    border-radius: 20px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
    color: white;
}

.cta-highlight h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.cta-highlight a {
    background: #ff6b4a;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
}

.cta-highlight a:hover {
    background: #e55a3a;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cta-box {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-highlight div {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .cta-highlight a {
        width: 100%;
        text-align: center;
    }
}

/* ========== HERO ========== */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, #eef3fc 100%);
    padding: 3rem 0;
    border-radius: 0 0 32px 32px;
}

.hero h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: #0a2b5e;
    margin-bottom: 1rem;
}

.hero h1 span {
    color: #1e6bd8;
}

.subtitle {
    font-size: 1.1rem;
    color: #4a5b6e;
    max-width: 750px;
    margin-bottom: 1.5rem;
}

.featured-games {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.game-badge {
    background: linear-gradient(135deg, #1e6bd8, #0a2b5e);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
}

/* ========== FILTROS ========== */
.filters {
    margin: 2rem 0;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 0.6rem 1.4rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    color: #1f2a3e;
    transition: all 0.2s;
}

.filter-btn.active {
    background: #1e6bd8;
    border-color: #1e6bd8;
    color: white;
    box-shadow: 0 4px 12px rgba(30,107,216,0.3);
}

.filter-btn:hover:not(.active) {
    border-color: #1e6bd8;
    color: #1e6bd8;
}

/* ========== RANKING ========== */
.ranking-header {
    margin: 1.5rem 0;
}

.ranking-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0a2b5e;
}

.ranking-header p {
    color: #6c7a8e;
}

/* ========== CASINO CARDS ========== */
.casino-card {
    background: white;
    border-radius: 24px;
    margin-bottom: 1.25rem;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    border: 1px solid #e9eef3;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.casino-card:hover {
    transform: translateY(-4px);
    border-color: #1e6bd8;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    box-shadow: 0 12px 28px rgba(30, 107, 216, 0.15);
}

/* Estilo para el rank-number al hacer hover */
.casino-card:hover .rank-number {
    border-color: #1e6bd8;
    box-shadow: 0 4px 12px rgba(30, 107, 216, 0.2);
}

/* Efecto en los botones al hacer hover en la tarjeta */
.casino-card:hover .btn-casino {
    background: #0a2b5e;
    transform: scale(1.02);
}

/* Clase temporal para resaltar */
.casino-card.highlight {
    box-shadow: 0 0 0 3px #1e6bd8, 0 8px 20px rgba(30,107,216,0.3);
}

.casino-card:hover .btn-review {
    border-color: #1e6bd8;
    color: #1e6bd8;
    background: #f0f7ff;
}

.rank-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.rank-number img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 12px;
}

.rank-number.rank-1 {
    border: 2px solid #ffd700;
    box-shadow: 0 4px 12px rgba(255,215,0,0.3);
}

.rank-number.rank-2 {
    border: 2px solid #c0c0c0;
}

.rank-number.rank-3 {
    border: 2px solid #cd7f32;
}

.casino-info {
    flex: 2;
    min-width: 220px;
    color: #2d3a4e;  /* Gris oscuro pero legible */
}

.casino-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0a2b5e;
}

.license {
    display: inline-block;
    background: #e8f0fe;
    color: #1e6bd8;
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-left: 0.5rem;
}

.rating {
    color: #f5b042;
    margin: 0.4rem 0;
}

.games-offered {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0.5rem 0;
}

.game-tag {
    background: #f0f4f9;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #2d3a4e;
}

.game-tag.highlight {
    background: #1e6bd8;
    color: white;
}

.bonus-info {
    color: #1e6bd8;
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.casino-buttons {
    text-align: right;
    min-width: 200px;
}

.btn-review {
    display: inline-block;
    border: 1.5px solid #cbd5e1;
    background: transparent;
    color: #4a5b6e;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    margin: 0.25rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-review:hover {
    border-color: #1e6bd8;
    color: #1e6bd8;
    background: #f8fafc;
}

.btn-casino {
    display: inline-block;
    background: #1e6bd8;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    margin: 0.25rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-casino:hover {
    background: #0a2b5e;
    transform: scale(1.02);
}

/* ========== MODAL ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: white;
    border-radius: 28px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

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

.modal-header {
    background: linear-gradient(135deg, #0a2b5e, #123e7c);
    color: white;
    padding: 1.5rem;
    border-radius: 28px 28px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
}

.modal-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover {
    background: rgba(255,255,255,0.4);
    transform: rotate(90deg);
}

.modal-body {
    padding: 1.8rem;
}

.review-section {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eef2f8;
    padding-bottom: 1rem;
}

.review-section:last-child {
    border-bottom: none;
}

.review-section h3 {
    color: #0a2b5e;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-section h3 i {
    color: #1e6bd8;
}

.review-section p {
    color: #4a5b6e;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.payment-badge {
    background: #eef3fc;
    color: #1e6bd8;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 500;
}

.modal-btn {
    display: inline-block;
    background: #1e6bd8;
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 0.5rem;
    transition: all 0.2s;
    text-align: center;
    width: 100%;
    border: none;
    cursor: pointer;
}

.modal-btn:hover {
    background: #0a2b5e;
    transform: translateY(-2px);
}

/* ========== GAMES SECTION ========== */
.games-section {
    background: linear-gradient(135deg, #0a2b5e 0%, #123e7c 100%);
    border-radius: 28px;
    padding: 2.5rem 2rem;
    margin: 2.5rem 0;
    color: white;
}

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

.game-card {
    background: rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 1.8rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.game-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.game-image {
    width: 100%;
    max-width: 260px;
    margin: 0 auto 1.2rem;
    border-radius: 20px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.game-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.game-link {
    display: inline-block;
    margin-top: 1rem;
    color: #5a9eff;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.game-link:hover {
    color: white;
}

/* ========== GUIDE SECTION ========== */
.guide-section {
    background: white;
    border-radius: 24px;
    padding: 1.8rem;
    margin: 2rem 0;
    border: 1px solid #e9eef3;
}

/* ========== LAYOUT ========== */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    margin: 2rem 0;
}

.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e9eef3;
}

.sidebar-widget h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #0a2b5e;
    font-weight: 700;
    border-left: 4px solid #1e6bd8;
    padding-left: 0.75rem;
}

.sidebar-widget p,
.sidebar-widget li {
    color: #2d3a4e;  /* Gris legible */
}

.top-casino-list {
    list-style: none;
}

.top-casino-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #eef2f8;
    cursor: pointer;
    transition: all 0.25s ease;
    border-radius: 12px;
    margin: 0 -0.5rem;
    padding: 0.8rem 0.5rem;
}

.top-casino-item:last-child {
    border-bottom: none;
}

.top-casino-item:hover {
    background: linear-gradient(90deg, #eef3fc, transparent);
    transform: translateX(4px);
}

.top-casino-item span:first-child {
    color: #1f2a3e;  /* Se mantiene porque fondo es blanco */
}

.top-casino-item:hover span:first-child {
    color: #1e6bd8;
    font-weight: 700;
}

.top-casino-item .fa-external-link-alt {
    opacity: 0.6;
    transition: all 0.2s ease;
}

.top-casino-item:hover .fa-external-link-alt {
    opacity: 1;
    transform: translateX(2px);
}

.featured-games-list {
    list-style: none;
}

.featured-games-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #eef2f8;
}

.featured-games-list li:last-child {
    border-bottom: none;
}

.game-name {
    font-weight: 600;
    color: #1f2a3e;
}

.game-badge-small {
    background: #e8f0fe;
    color: #1e6bd8;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.popularity {
    font-size: 0.7rem;
    color: #f5b042;
}

.ad-sidebar {
    background: #f8fafd;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    text-align: center;
    border: 1px dashed #cbd5e1;
    color: #6c7a8e;
}

/* ========== FOOTER ========== */
/* ========== FOOTER ========== */
.footer {
    background: #0a2b5e;
    color: #cbd5e6;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

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

.footer-col h4 {
    color: white;
    margin-bottom: 1.2rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-left: 3px solid #1e6bd8;
    padding-left: 0.75rem;
}

.footer-col p {
    color: #9aaebf;
    line-height: 1.6;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.footer-col a {
    color: #cbd5e6;  /* Gris claro, no blanco puro para contraste suave */
}

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

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

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

.footer-links a {
    color: #9aaebf;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s;
    display: inline-block;
}

.footer-links a:hover {
    color: #5a9eff;
    transform: translateX(4px);
}

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

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(90, 158, 255, 0.15);
    border-radius: 50%;
    color: #5a9eff;
    transition: all 0.2s;
    text-decoration: none;  /* ← Asegura que no haya subrayado */
    border: none;           /* ← ELIMINA CUALQUIER BORDE */
    outline: none;
}

.footer-social a:hover {
    background: #1e6bd8;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: none;
}

.footer-disclaimer {
    background: rgba(30, 107, 216, 0.1);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    text-align: center;
}

.footer-disclaimer p {
    font-size: 0.7rem;
    color: #cbd5e6;
    margin: 0;
}

.footer-disclaimer i {
    color: #f5b042;
    margin-right: 0.5rem;
}

.copyright {
    text-align: center;
    font-size: 0.7rem;
    color: #9aaebf;
}

.copyright a {
    color: #5a9eff;
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .footer-col h4 {
        margin-bottom: 0.8rem;
    }
    
    .footer-disclaimer p {
        font-size: 0.65rem;
    }
}

.coljuegos-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(90,158,255,0.15);
    padding: 0.6rem 1rem;
    border-radius: 40px;
    margin-top: 0.5rem;
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #1e3a6b;
    font-size: 0.75rem;
}

.copyright a {
    color: #5a9eff;
    text-decoration: none;
}

.disclaimer {
    background: #eef3fc;
    padding: 1rem;
    border-radius: 12px;
    margin: 1rem 0;
    font-size: 0.75rem;
    text-align: center;
    border-left: 4px solid #1e6bd8;
    color: #1f2a3e;
}

/* ========== SECCIÓN DE VISTA PREVIA DEL BLOG (PÁGINA PRINCIPAL) ========== */
.blog-preview-section {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #eef2f8;
}

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

.section-header h2 {
    font-size: 1.8rem;
    color: #0a2b5e;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #6c7a8e;
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.mini-blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e9eef3;
    transition: all 0.25s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.mini-blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-color: #cbdff5;
}

.mini-blog-image {
    height: 80px;
    overflow: hidden;
    background: #f0f4f9;
}

.mini-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mini-blog-card:hover .mini-blog-image img {
    transform: scale(1.05);
}

.mini-blog-content {
    padding: 1.2rem;
}

.mini-blog-date {
    font-size: 0.7rem;
    color: #94a3b8;
    display: block;
    margin-bottom: 0.5rem;
}

.mini-blog-date i {
    margin-right: 4px;
}

.mini-blog-content h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.mini-blog-content h4 a {
    color: #0a2b5e;
    text-decoration: none;
    transition: color 0.2s;
}

.mini-blog-content h4 a:hover {
    color: #1e6bd8;
}

.mini-read-more {
    font-size: 0.8rem;
    color: #1e6bd8;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.mini-read-more:hover {
    gap: 8px;
}

.blog-view-all {
    text-align: center;
    margin-top: 2rem;
}

.btn-outline {
    display: inline-block;
    border: 1.5px solid #cbd5e1;
    background: transparent;
    color: #4a5b6e;
    padding: 0.7rem 1.8rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: #1e6bd8;
    color: #1e6bd8;
    transform: translateY(-2px);
}

/* ========== ESTILOS ADICIONALES PARA EL BLOG ========== */
.breadcrumb {
    margin: 1rem 0;
    font-size: 0.85rem;
    color: #6c7a8e;
}

.breadcrumb a {
    color: #1e6bd8;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 0.5rem;
}

.blog-header {
    text-align: center;
    margin: 2rem 0 3rem;
}

.blog-header h1 {
    font-size: 2.2rem;
    color: #0a2b5e;
    margin-bottom: 1rem;
}

.blog-header p {
    color: #4a5b6e;
    max-width: 700px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.blog-sidebar {
    position: sticky;
    top: 100px;
}

.recent-posts-list {
    list-style: none;
}

.recent-posts-list li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eef2f8;
}

.recent-posts-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.recent-posts-list a {
    text-decoration: none;
    display: block;
}

.post-title {
    font-weight: 600;
    color: #1f2a3e;
    display: block;
    margin-bottom: 0.25rem;
    transition: color 0.2s;
}

.recent-posts-list a:hover .post-title {
    color: #1e6bd8;
}

.post-date {
    font-size: 0.7rem;
    color: #94a3b8;
}

.categories-list {
    list-style: none;
}

.categories-list li {
    margin-bottom: 0.75rem;
}

.categories-list a {
    color: #4a5b6e;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    padding: 0.3rem 0;
}

.categories-list a:hover {
    color: #1e6bd8;
}

/* Blog Cards */
.blog-posts-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e9eef3;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    border-color: #cbdff5;
}

.blog-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f0f4f9;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

.blog-category.aviator { background: #1e6bd8; }
.blog-category.mines { background: #8b5cf6; }
.blog-category.estrategias { background: #f59e0b; }
.blog-category.bonos { background: #10b981; }
.blog-category.noticias { background: #ef4444; }

.blog-card-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    color: #94a3b8;
}

.blog-meta i {
    margin-right: 4px;
}

.blog-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.blog-card-content h3 a {
    color: #0a2b5e;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card-content h3 a:hover {
    color: #1e6bd8;
}

.blog-card-content p {
    color: #4a5b6e;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: #1e6bd8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.read-more:hover {
    gap: 8px;
}

.no-posts {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    color: #6c7a8e;
}

.no-posts i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
}

/* Newsletter Form */
.newsletter-form {
    margin-top: 0.5rem;
}

.newsletter-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    font-family: inherit;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #1e6bd8;
    box-shadow: 0 0 0 3px rgba(30,107,216,0.1);
}

.newsletter-form button {
    width: 100%;
    background: #1e6bd8;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter-form button:hover {
    background: #0a2b5e;
}

/* ========== RESPONSIVE PARA BLOG ========== */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        position: static;
    }
    
    .blog-card-image {
        height: 180px;
    }
    
    .blog-preview-grid {
        grid-template-columns: 1fr;
    }
    
    .mini-blog-image {
        height: 160px;
    }
    
    .blog-header h1 {
        font-size: 1.6rem;
    }
    
    .section-header h2 {
        font-size: 1.4rem;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
    }
    .casino-card {
        flex-direction: column;
        text-align: center;
    }
    .casino-buttons {
        text-align: center;
    }
    .rank-number {
        margin: 0 auto;
    }
    .trust-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    .modal-container {
        width: 95%;
    }
    .modal-header h2 {
        font-size: 1.2rem;
    }
}