/* Estilos generales - Inspirados en PokerStars */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

body {
    background: linear-gradient(135deg, #0f1a2f 0%, #1a2c45 100%);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
}

/* Tarjetas con efecto premium */
.card {
    background: rgba(25, 35, 55, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 160, 255, 0.2);
    border-color: rgba(0, 160, 255, 0.3);
}

.card-header {
    background: linear-gradient(135deg, #1e2a3a, #15202b);
    border-bottom: 2px solid #00a0ff;
    border-radius: 12px 12px 0 0 !important;
    padding: 1rem 1.25rem;
}

.card-header h1, .card-header h2, .card-header h3, 
.card-header h4, .card-header h5, .card-header h6 {
    color: white !important;
    font-weight: 700;
    margin: 0;
}

/* Botones estilo PokerStars */
.btn {
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Botón Primario - Azul PokerStars */
.btn-primary {
    background: linear-gradient(135deg, #00a0ff, #0080cc);
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0080cc, #0066a0);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 160, 255, 0.4);
    color: white !important;
}

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

/* Botón Secundario - Rojo PokerStars */
.btn-danger {
    background: linear-gradient(135deg, #e63946, #c82333);
    color: white !important;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c82333, #a71d2a);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.4);
}

/* Botón Éxito - Verde PokerStars */
.btn-success {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white !important;
}

.btn-success:hover {
    background: linear-gradient(135deg, #1e7e34, #155724);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
}

/* Botón Info - Celeste */
.btn-info {
    background: linear-gradient(135deg, #17a2b8, #117a8b);
    color: white !important;
}

.btn-info:hover {
    background: linear-gradient(135deg, #117a8b, #0c5f6b);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(23, 162, 184, 0.4);
}

/* Botón Secundario - Gris */
.btn-secondary {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: white !important;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #5a6268, #494f54);
    transform: translateY(-2px);
}

/* Botón Outline */
.btn-outline-primary {
    background: transparent;
    border: 2px solid #00a0ff;
    color: #00a0ff !important;
}

.btn-outline-primary:hover {
    background: #00a0ff;
    color: white !important;
}

/* Navbar estilo PokerStars */
.navbar {
    background: linear-gradient(135deg, #0a111f, #0f1a2f) !important;
    border-bottom: 3px solid #00a0ff;
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.navbar-brand img {
    height: 45px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    margin: 0 12px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #00a0ff !important;
}

.nav-link.btn {
    padding: 8px 20px !important;
}

/* Números de sorteo estilo PokerStars */
.numero-disponible {
    background: linear-gradient(135deg, #2a3a55, #1e2a3a);
    color: white;
    border: 2px solid #00a0ff;
    border-radius: 10px;
    padding: 12px;
    margin: 5px;
    min-width: 70px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.numero-disponible:hover {
    transform: scale(1.1);
    background: #00a0ff;
    border-color: white;
    box-shadow: 0 8px 20px rgba(0, 160, 255, 0.4);
}

.numero-reservado {
    background: linear-gradient(135deg, #dc3545, #a71d2a);
    color: white;
    border: 2px solid #ff6b6b;
    border-radius: 10px;
    padding: 12px;
    margin: 5px;
    min-width: 70px;
    opacity: 0.8;
    cursor: not-allowed;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.numero-seleccionado {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
    border: 2px solid white;
    border-radius: 10px;
    padding: 12px;
    margin: 5px;
    min-width: 70px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

/* Buscador estilo PokerStars */
.buscador-sorteos {
    background: linear-gradient(135deg, #1e2a3a, #15202b);
    border: 2px solid #00a0ff;
    border-radius: 50px;
    padding: 10px 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.buscador-sorteos input {
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    padding: 10px 15px;
}

.buscador-sorteos input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.buscador-sorteos input:focus {
    outline: none;
    box-shadow: none;
}

.buscador-sorteos button {
    border-radius: 30px;
    padding: 10px 25px;
}

/* Badges estilo PokerStars */
.badge {
    padding: 8px 15px;
    font-weight: 600;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.badge.bg-success {
    background: linear-gradient(135deg, #28a745, #1e7e34) !important;
    color: white !important;
}

.badge.bg-primary {
    background: linear-gradient(135deg, #00a0ff, #0080cc) !important;
    color: white !important;
}

.badge.bg-info {
    background: linear-gradient(135deg, #17a2b8, #117a8b) !important;
    color: white !important;
}

.badge.bg-warning {
    background: linear-gradient(135deg, #ffc107, #e0a800) !important;
    color: black !important;
}

.badge.bg-danger {
    background: linear-gradient(135deg, #dc3545, #a71d2a) !important;
    color: white !important;
}

/* Tablas estilo PokerStars */
.table {
    color: white !important;
}

.table-dark {
    background: linear-gradient(135deg, #1e2a3a, #15202b);
}

.table-dark td, .table-dark th {
    color: white !important;
    border-color: #2a3a55;
    padding: 12px;
}

.table-dark thead th {
    background: rgba(0, 160, 255, 0.2);
    color: #00a0ff !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Alertas estilo PokerStars */
.alert {
    border-radius: 12px;
    border: none;
    padding: 15px 20px;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.alert-success {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white !important;
}

.alert-info {
    background: linear-gradient(135deg, #17a2b8, #117a8b);
    color: white !important;
}

.alert-warning {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: black !important;
}

.alert-danger {
    background: linear-gradient(135deg, #dc3545, #a71d2a);
    color: white !important;
}

/* Links */
a {
    color: #00a0ff !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

a:hover {
    color: #0080cc !important;
    text-decoration: underline;
}

/* Títulos */
h1, h2, h3, h4, h5, h6 {
    color: white !important;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.text-primary {
    color: #00a0ff !important;
}

.text-success {
    color: #28a745 !important;
}

.text-info {
    color: #17a2b8 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.text-danger {
    color: #dc3545 !important;
}

/* Números ganadores estilo PokerStars */
.ganador-numero {
    font-size: 6rem;
    font-weight: 900;
    color: #ffd700 !important;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    line-height: 1;
    margin: 20px 0;
}

/* Progress bar */
.progress {
    background: #2a3a55;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, #00a0ff, #0080cc) !important;
    color: white !important;
    font-weight: 600;
    font-size: 0.8rem;
}

/* Forms estilo PokerStars */
.form-control, .form-select {
    background: #1e2a3a;
    border: 2px solid #2a3a55;
    border-radius: 8px;
    color: white !important;
    padding: 12px 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    background: #2a3a55;
    border-color: #00a0ff;
    box-shadow: 0 0 0 3px rgba(0, 160, 255, 0.2);
    color: white !important;
    outline: none;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.form-label {
    color: white !important;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Breadcrumbs */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item, .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500;
}

.breadcrumb-item.active {
    color: #00a0ff !important;
    font-weight: 700;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0a111f, #0f1a2f) !important;
    border-top: 3px solid #00a0ff;
    margin-top: 50px !important;
}

footer p, footer h5, footer a {
    color: white !important;
}

footer a:hover {
    color: #00a0ff !important;
}

/* Efectos especiales */
.glow-effect {
    box-shadow: 0 0 20px rgba(0, 160, 255, 0.3);
}

.glow-effect:hover {
    box-shadow: 0 0 30px rgba(0, 160, 255, 0.5);
}

/* Tarjetas de premios */
.premio-card {
    background: linear-gradient(135deg, #1e2a3a, #15202b);
    border-left: 4px solid #00a0ff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.premio-card h6 {
    color: #00a0ff !important;
    font-weight: 700;
    margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .numeros-grid {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 5px;
    }
    
    .numero-disponible, .numero-reservado, .numero-seleccionado {
        min-width: 50px;
        padding: 8px;
        font-size: 0.9rem;
    }
    
    .ganador-numero {
        font-size: 4rem;
    }
}

/* Responsive para el logo */
@media (max-width: 768px) {
    header img {
        height: 80px !important;
    }
    
    .navbar-nav {
        text-align: center;
        width: 100%;
    }
    
    .nav-item {
        margin: 5px 0;
    }
    
    .nav-link.btn {
        display: inline-block;
        width: auto;
        margin: 5px auto !important;
    }
}

/* Estilo para el navbar */
.navbar {
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.navbar-nav {
    align-items: center;
}

.nav-link {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 10px 15px !important;
}

.nav-link:hover {
    color: #00a0ff !important;
    transform: translateY(-2px);
}

.nav-link.btn {
    border-radius: 30px;
    padding: 8px 20px !important;
}

/* Animación para el logo */
header img {
    transition: all 0.3s ease;
}

header img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0, 160, 255, 0.3));
}

/* Línea decorativa debajo del navbar */
.navbar {
    position: relative;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, transparent, #00a0ff, #ffd700, #00a0ff, transparent);
    opacity: 0.5;
}
/* Estilos para banners de Monetag */
.ad-banner {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin: 5px 0;
}

/* Para que los popunders no afecten el diseño */
#monetag-top, #monetag-bottom {
    position: relative;
    z-index: 1000;
}

/* Optimización para móviles */
@media (max-width: 768px) {
    .ad-banner {
        min-height: 50px;
    }
}