body {
    background-color: #0b0f19; /* Fondo oscuro premium */
    color: #f3f4f6;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
}

.redirect-container {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.redirect-card {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    width: 100%;
    max-width: 640px;
    padding: 2rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    text-align: center;
}

/* Círculo animado del contador */
.loader-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #3b82f6; /* Azul de carga */
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: #3b82f6;
    animation: spinRelaxed 2s linear infinite;
}

/* Evita que el número gire con el círculo */
#countdown {
    animation: none;
}

@keyframes spinRelaxed {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.redirect-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.redirect-note {
    color: #9ca3af;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* El botón de acción */
.btn-destination {
    display: inline-block;
    width: 100%;
    padding: 1rem;
    background: #3b82f6;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    transition: background 0.2s, transform 0.1s;
}

.btn-destination:not(.disabled):hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.btn-destination.disabled {
    background: #374151;
    color: #9ca3af;
    cursor: not-allowed;
    pointer-events: none;
}

/* Bloques de publicidad estables para no romper el layout */
.ad-slot {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px; /* Tamaño estándar de banner leaderboard */
}

.ad-top {
    margin-bottom: 2rem;
}

.ad-bottom {
    margin-top: 2rem;
}

.ad-placeholder {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}