/* Hoja de estilos base de 1xbetpanama.net: copia del bloque <style> de la portada.
   La cargan las guias internas para heredar la paleta y los componentes del tema. */
:root {
    --primary-color: #4B0082;
    --secondary-color: #e74c3c;
    --background-color: #f5f7fa;
    --text-color: #2c3e50;
    --star-color: #FFD700;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
}

.navbar {
    background-color: grey;
}

.hero-section {
    background-color: white;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.container-md {
    max-width: 800px;  /* Adjust this value to control card width */
    margin: 0 auto;
}

.casino-card {
    padding: 1.5rem;
    margin: 3rem auto;  /* Changed to auto for horizontal centering */
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
    background: white;
    transition: transform 0.3s ease;
}

.casino-card:hover {
    transform: translateY(-5px);
}

.casino-logo {
    max-height: 80px;
    width: auto;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.casino-logo-link:hover .casino-logo {
    transform: scale(1.05);
}

a.casino-logo-link {
    text-decoration: none;
}

.btn-play {
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1;
    min-width: 200px;
    cursor: pointer;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.btn-play:before {
    content: '';
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255,255,255,0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
    z-index: -1;
}

.btn-play:active {
    transform: translateY(1px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-play:after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes shine {
    0% {
        left: -50%;
    }
    100% {
        left: 100%;
    }
}

.promo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.star-rating {
    font-size: 1.2rem;
    color: var(--star-color);
}

.btn-primary {
    padding: 0.75rem 2rem;  /* Bigger padding */
    font-size: 1.1rem;  /* Larger font */
    font-weight: 600;
    min-width: 160px;  /* Minimum width */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promo-text {
    font-size: 1rem;
}

.btn-primary {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.star-rating {
    font-size: 0.8rem;
}

.btn-play {
    transition: all 0.3s ease;
}

.btn-play:hover {
    background-color: #c0392b;
    color: white;
}

.content h1, .content h2, .content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.rank-badge {
    margin-left: 20px;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 2;
}

.promo-text {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
}

.casino-logo {
    width: auto;
    height: 100px;
    margin: 0 auto;
    display: block;
}

.star-rating {
    color: var(--star-color);
}

.quick-nav {
    border-left: 4px solid var(--primary-color);
}

.quick-nav a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.quick-nav a:hover {
    color: var(--primary-color);
}

.list-unstyled li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.list-unstyled li:before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.top-cta-section {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

.btn-cta {
    background-color: white;
    color: var(--primary-color);
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 2rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.btn-cta:hover {
    background-color: transparent;
    color: white;
}

.welcome-bonus {
    margin: 3.5rem 0 0 0;
    position: relative;
    z-index: 1;
}

.welcome-bonus .card {
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.welcome-bonus .card:hover {
    transform: translateY(-5px);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.promo-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-2px);
}

.promo-text {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

footer {
    padding: 4rem 0 3rem !important;
    margin-top: 5rem !important;
}

footer .container {
    padding: 0 2rem;
}

footer .row {
    margin-bottom: 3rem;
}

footer img {
    margin: 0 1.5rem;
    padding: 0.5rem;
}

footer .small {
    padding: 0 1rem;
}

footer {
    padding: 4rem !important;
}

@media (max-width: 768px) {
    footer {
        padding: 3rem 0 2rem !important;
    }
    
    footer .container {
        padding: 0 1rem;
    }
    
    footer img {
        margin: 0.75rem;
    }
}

.casino-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.casino-card:hover {
    transform: translateY(-5px);
}

.casino-logo {
    max-height: 60px;
    width: auto;
    margin: 20px auto;
    object-fit: contain;
}

.star-rating {
    color: var(--star-color);
    font-size: 24px;
    letter-spacing: 2px;
}
    
    .medal-1 {
        background: linear-gradient(145deg, #FFD700, #FFA500);
        color: #000;
        font-size: 1.5rem;
        box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    }
    
    .medal-2 {
        background: linear-gradient(145deg, #C0C0C0, #A0A0A0);
        color: #000;
        font-size: 1.4rem;
        box-shadow: 0 2px 8px rgba(192, 192, 192, 0.3);
    }
    
    .medal-3 {
        background: linear-gradient(145deg, #CD7F32, #A0522D);
        color: #fff;
        font-size: 1.3rem;
        box-shadow: 0 2px 8px rgba(205, 127, 50, 0.3);
    }
    
    .rank-normal {
        background: #f0f2f5;
        color: #666;
        box-shadow: none;
    }

    .table-rank {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: 4px;
        font-weight: bold;
        font-size: 1rem;
    }
    
    .table-rank.rank-1 {
        background: linear-gradient(145deg, #FFD700, #FFA500);
        color: #000;
    }
    
    .table-rank.rank-2 {
        background: linear-gradient(145deg, #C0C0C0, #A0A0A0);
        color: #000;
    }
    
    .table-rank.rank-3 {
        background: linear-gradient(145deg, #CD7F32, #A0522D);
        color: #fff;
    }
    
    .table-rank.rank-normal {
        background: #f0f2f5;
        color: #666;
    }

    .brand-logo-table {
        width: 120px;
        height: 40px;
        object-fit: contain;
        object-position: left;
    }

.table-responsive {
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.table {
    margin-bottom: 0;
}

.table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 1rem;
    border: none;
}

.table td {
    padding: 1rem;
    vertical-align: middle;
    border-color: rgba(0,0,0,0.05);
}

.brand-logo-table {
    width: 120px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .table {
        /* Enable horizontal scroll for very small screens */
        min-width: 500px;
    }
    
    .table th, .table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .brand-logo-table {
        max-height: 25px;
    }
    
    /* Hide less important columns on mobile */
    .table .hide-mobile {
        display: none;
    }
    
    /* Make rank column narrower */
    .table td:first-child {
        width: 50px;
        padding-left: 0.5rem;
    }
    
    /* Adjust button size */
    .table .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Rank badge styles */
.table-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .table-rank {
        width: 24px;
        height: 24px;
        font-size: 0.9rem;
    }
}

            :root {
                --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            }
            
            body {
                font-size: 1.125rem;
                line-height: 1.7;
                font-family: var(--font-primary);
                font-weight: 400;
                -webkit-font-smoothing: antialiased;
            }
            
            h1 {
                font-size: 3.5rem;
                font-weight: 800;  /* Increased from 700 to 800 for extra boldness */
                line-height: 1.2;  /* Slightly tighter line height */
                letter-spacing: -0.03em;  /* Slightly more negative tracking */
                color: #1a1a1a;  /* Darker color for better contrast */
                margin-bottom: 1.5rem;
            }
            
            .welcome-bonus {
                margin: 2rem 0 3rem;
            }
            
            .promo-text {
                font-size: 1.2rem;
                font-weight: 600;
                color: var(--primary-color);
                letter-spacing: -0.01em;
            }
            
            .btn-primary {
                background-color: var(--primary-color);
                border-color: var(--primary-color);
                padding: 0.5rem 1.25rem;
                font-size: 1rem;
                font-weight: 600;
            }
            
            .btn-primary:hover {
                background-color: var(--secondary-color);
                border-color: var(--secondary-color);
            }
            
            .text-muted {
                font-size: 0.95rem;
                font-weight: 500;
            }
            
            h2, h3, h4, h5, h6 {
                font-family: var(--font-primary);
                letter-spacing: -0.02em;
            }
            
            h2 {
                font-size: 1.875rem;
                font-weight: 700;
                margin-top: 2.5rem;
            }
            
            h3 {
                font-size: 1.5rem;
                font-weight: 700;
            }
            
            .content p {
                font-size: 1.125rem;
                line-height: 1.7;
                margin-bottom: 1.5rem;
                font-weight: 450;
            }
            
            .quick-nav {
                font-size: 1.1rem;
                font-weight: 500;
            }
            
            .quick-nav a {
                font-weight: 500;
            }
            
            .welcome-bonus {
                margin: 1.5rem 0;
            }
            
            .btn-pulse {
                animation: pulse 2s infinite;
                transform-origin: center;
            }
            
            @keyframes pulse {
                0% {
                    transform: scale(1);
                }
                50% {
                    transform: scale(1.05);
                }
                100% {
                    transform: scale(1);
                }
            }
            
            .btn-primary:hover {
                animation: none;
                transform: scale(1.05);
                transition: transform 0.3s ease;
            }

            /* Update container width to be wider */
            @media (min-width: 768px) {
                .welcome-bonus .container {
                    max-width: 1000px;
                }
            }
