/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Link Color Management */
a {
    color: inherit;
    text-decoration: none;
}

a:link {
    color: inherit;
    text-decoration: none;
}

a:visited {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: inherit;
    text-decoration: none;
}

a:active {
    color: inherit;
    text-decoration: none;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #1A1A33 0%, #331A4D 100%);
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 1440px;
    margin: 0 auto;
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1A1A33 0%, #331A4D 100%);
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 200px;
}

.logo a {
    text-decoration: none;
    display: block;
}

.logo img {
    max-width: 200px;
    height: auto;
    transition: opacity 0.3s ease;
}

.logo a:hover img {
    opacity: 0.8;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-link {
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:link {
    color: white !important;
    text-decoration: none;
}

.nav-link:visited {
    color: white !important;
    text-decoration: none;
}

.nav-link:hover {
    color: #FFD700 !important;
    text-decoration: none;
}

.header-cta {
    display: flex;
    align-items: center;
}

.header-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    background: #FFD700;
    color: #4A148C;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
}

.header-cta-btn:hover,
.header-cta-btn:focus {
    background: #FFC107;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.6);
    color: #4A148C;
    outline: none;
}

.header-cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.header-cta-btn:link,
.header-cta-btn:visited {
    color: #4A148C;
}

.header-cta-icon {
    position: relative;
    width: 26px;
    height: 26px;
    border: 2px solid currentColor;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.header-cta-icon::before {
    content: '↗';
    color: currentColor;
}

.nav-link:active {
    color: #FFD700 !important;
    text-decoration: none;
}

.nav-separator {
    color: white;
    font-weight: 300;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.mobile-menu-btn:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 107, 0, 0.3) 100%);
    border-color: rgba(255, 215, 0, 0.8);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #FFD700;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.4) 0%, rgba(255, 107, 0, 0.4) 100%);
    border-color: rgba(255, 215, 0, 0.9);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: white;
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: white;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 51, 0.95) 0%, rgba(51, 26, 77, 0.95) 100%);
    backdrop-filter: blur(15px);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.mobile-menu-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(168, 85, 247, 0.3) 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 50%;
    color: #FFD700;
    font-size: 24px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.mobile-menu-close:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 107, 0, 0.3) 100%);
    border-color: rgba(255, 215, 0, 0.8);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    animation: slideInFromTop 0.5s ease-out;
}

@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-link {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    display: block;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.mobile-nav-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-link:nth-child(2) { animation-delay: 0.2s; }
.mobile-nav-link:nth-child(3) { animation-delay: 0.3s; }
.mobile-nav-link:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.5s ease;
}

.mobile-nav-link:hover::before {
    left: 100%;
}

.mobile-nav-link:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 107, 0, 0.3) 100%);
    color: #FFD700;
    transform: scale(1.05);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

/* Mobile Header Fixed */
@media (max-width: 768px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: rgba(26, 26, 51, 0.95);
        backdrop-filter: blur(10px);
        padding: 15px 0;
    }
    
    .main-content {
        padding-top: 80px;
        padding-bottom: 40px;
    }
}

/* Side Decorations (Desktop only) */
.side-decorations {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    pointer-events: none;
    z-index: 1002; /* Sobre el footer (1001) y el botón fijo (1000) */
}

.side-left, .side-right {
    position: absolute;
    top: 100px;
    width: 250px;
    height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.side-left:hover, .side-right:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Banner Component Container */
.side-banner-component {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    pointer-events: auto;
}

.side-left img, .side-right img {
    width: 100%;
    height: auto;
    object-fit: cover;
    flex: 1;
    margin: 0;
    display: block;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.side-left img:hover, .side-right img:hover {
    transform: scale(1.05);
}

/* Side Logo Button Group */
.side-logo-button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    position: relative;
    z-index: 1001;
}

/* Side Logo Styles */
.side-logo {
    width: 80px !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 !important;
    display: block !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
}

.side-logo:hover {
    transform: scale(1.05) !important;
    box-shadow: none !important;
}

.side-left {
    left: calc(50% - 490px - 250px);
}

.side-right {
    right: calc(50% - 490px - 250px);
}

.roulette-strip {
    width: 100%;
    height: 80%;
    background: linear-gradient(135deg, #4C1D95 0%, #7C3AED 50%, #A855F7 100%);
    border-radius: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.roulette-strip::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: repeating-conic-gradient(
        #FFD700 0deg 15deg,
        #FF6B00 15deg 30deg,
        #FFD700 30deg 45deg,
        #FF6B00 45deg 60deg,
        #FFD700 60deg 75deg,
        #FF6B00 75deg 90deg,
        #FFD700 90deg 105deg,
        #FF6B00 105deg 120deg,
        #FFD700 120deg 135deg,
        #FF6B00 135deg 150deg,
        #FFD700 150deg 165deg,
        #FF6B00 165deg 180deg,
        #FFD700 180deg 195deg,
        #FF6B00 195deg 210deg,
        #FFD700 210deg 225deg,
        #FF6B00 225deg 240deg,
        #FFD700 240deg 255deg,
        #FF6B00 255deg 270deg,
        #FFD700 270deg 285deg,
        #FF6B00 285deg 300deg,
        #FFD700 300deg 315deg,
        #FF6B00 315deg 330deg,
        #FFD700 330deg 345deg,
        #FF6B00 345deg 360deg
    );
    animation: spin 3s linear infinite;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.side-decorations .play-now-btn {
    background: #FFD700;
    color: black;
    border: none;
    padding: 15px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.side-decorations .play-now-btn:hover {
    background: #FF6B00;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4);
}

/* Side Play Button Component */
.side-play-btn {
    background: linear-gradient(45deg, #FFD700, #FF6B00);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 180px;
    margin: 20px 0 0 0;
    display: block;
    position: relative;
    z-index: 20;
    width: 100%;
}

.side-play-btn:hover {
    background: linear-gradient(45deg, #FF6B00, #FFD700);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 100;
    padding: 100px 0 40px 0;
    margin-top: 0;
}

/* Mobile specific padding to prevent card overlap */
@media (max-width: 768px) {
    .main-content {
        padding-bottom: 60px;
    }
}

/* Mobile Banners */
.top-banner, .bottom-banner {
    background: linear-gradient(135deg, #331A4D 0%, #1A1A33 100%);
    position: relative;
    margin: 20px 0;
    border-radius: 15px;
    overflow: hidden;
    height: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.top-banner:hover, .bottom-banner:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.top-banner img, .bottom-banner img {
    width: 100%;
}

.top-banner a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.top-banner video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.banner-roulette {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, #8B5CF6 0%, #331A4D 70%);
    opacity: 0.7;
}
.mayoriaedad {
    width: 80px !important;
}
.banner-roulette::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: repeating-conic-gradient(
        #FFD700 0deg 30deg,
        #FF6B00 30deg 60deg,
        #FFD700 60deg 90deg,
        #FF6B00 90deg 120deg
    );
    animation: spin 3s linear infinite;
}

.mobile-only .play-now-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #FFD700;
    color: black;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.mobile-only .play-now-btn:hover {
    background: #FF6B00;
    transform: translate(-50%, -50%) scale(1.05);
}

/* Sections */
section {
    margin: 40px 0;
    padding: 30px;
    background: rgba(51, 26, 77, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    letter-spacing: 1px;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    z-index: -1;
}

.section-title::after {
    content: '✨';
    position: absolute;
    top: -10px;
    right: -20px;
    font-size: 20px;
    animation: sparkle 2s infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

/* Index page specific h2 styles */
.index-page .section-title {
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(45deg, #FFD700, #FF6B00, #FFD700);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    text-shadow: none;
    margin-bottom: 50px;
    padding: 20px 0;
}

.index-page .section-title::before {
    display: none;
}

.index-page .section-title::after {
    content: '🎯';
    animation: bounce 2s infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Joker's Jewels Demo Section */
.jokers-jewels-demo {
    margin: 40px 0;
    padding: 30px;
    background: rgba(51, 26, 77, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    text-align: center;
    position: relative;
    z-index: 1003;
}

.jokers-jewels-image {
    margin: 20px 0 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.jokers-jewels-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease;
}

.jokers-jewels-image img:hover {
    transform: scale(1.02);
}

.demo-container {
    position: relative;
    width: 100%;
}

.demo-btn {
    background: linear-gradient(45deg, #FFD700, #FF6B00);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 220px;
    margin: 20px auto;
    display: block;
    position: relative;
    z-index: 10;
}

.demo-btn:hover {
    background: linear-gradient(45deg, #FF6B00, #FFD700);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

.demo-btn:active {
    transform: translateY(-1px);
}

.demo-btn-text {
    display: inline-block;
}

.iframe-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

/* Desktop specific styles for popup */
@media (min-width: 769px) {
    .iframe-container {
        height: 80vh;
        padding-top: 0;
        box-sizing: border-box;
        align-items: flex-start;
    }
    
    .iframe-wrapper {
        height: 80vh;
        max-height: 80vh;
    }
}

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

.iframe-wrapper {
    position: relative;
    width: 95%;
    max-width: 1600px;
    height: 90vh;
    max-height: 90vh;
    background: rgba(26, 26, 51, 0.98);
    border-radius: 20px;
    padding: 45px 15px 15px 15px;
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.4);
    border: 2px solid rgba(255, 215, 0, 0.3);
    animation: slideUp 0.3s ease;
}

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

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.close-demo-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(168, 85, 247, 0.3) 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 50%;
    color: #FFD700;
    font-size: 32px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
    line-height: 1;
    padding: 0;
}

.close-demo-btn:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 107, 0, 0.3) 100%);
    border-color: rgba(255, 215, 0, 0.8);
    color: white;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Featured Games */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.game-card {
    background: rgba(26, 26, 51, 0.6);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.game-card:link {
    color: inherit;
    text-decoration: none;
}

.game-card:visited {
    color: inherit;
    text-decoration: none;
}

.game-card:hover {
    color: inherit;
    text-decoration: none;
}

.game-card:active {
    color: inherit;
    text-decoration: none;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.game-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-title {
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: white;
    text-decoration: none;
}

.game-card .game-title {
    color: white;
    text-decoration: none;
}

.game-card:hover .game-title {
    color: white;
    text-decoration: none;
}

/* News Carousel */
.news-carousel {
    position: relative;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.news-card {
    min-width: 100%;
    background: rgba(26, 26, 51, 0.6);
    border-radius: 15px;
    overflow: hidden;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-card:link {
    color: inherit;
    text-decoration: none;
}

.news-card:visited {
    color: inherit;
    text-decoration: none;
}

.news-card:hover {
    color: inherit;
    text-decoration: none;
}

.news-card:active {
    color: inherit;
    text-decoration: none;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    text-decoration: none;
    color: inherit;
}

.news-image {
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-date {
    color: #FFD700;
    font-size: 14px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 26, 51, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0.5;
}

.carousel-btn:hover {
    background: #FFD700;
    color: black;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.view-more-btn {
    display: block;
    margin: 20px auto 0;
    background: #8B5CF6;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.view-more-btn:link {
    color: white;
    text-decoration: none;
}

.view-more-btn:visited {
    color: white;
    text-decoration: none;
}

.view-more-btn:hover {
    color: white;
    text-decoration: none;
}

.view-more-btn:active {
    color: white;
    text-decoration: none;
}

.view-more-btn:hover {
    background: #A855F7;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

/* Live Casino */
.casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.casino-card {
    background: rgba(26, 26, 51, 0.6);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.casino-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.casino-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.casino-title {
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

/* Main Banner Section */
.main-banner {
    margin: 40px 0;
    text-align: center;
}

.main-banner img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.main-banner img:hover {
    transform: translateY(-5px);
}

/* Sections Banners Section */
.sections-banners {
    margin: 40px 0;
    background: #191A39;
    padding: 30px;
    border-radius: 20px;
}

.sections-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.sections-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    width: 100%;
    max-width: 100%;
}

.sections-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
    width: 100%;
    min-width: 0;
}

.sections-card {
    min-width: 100%;
    flex-shrink: 0;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.sections-card a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.sections-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.sections-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.5);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
}

.sections-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.sections-btn.prev {
    left: 15px;
}

.sections-btn.next {
    right: 15px;
}

/* Promotional Banners Section */
.promotional-banners {
    margin: 40px 0;
    background: #191A39;
    padding: 30px;
    border-radius: 20px;
    min-height: 400px;
}

.promo-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: auto;
}

.promo-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: auto;
}

.promo-track {
    display: flex;
    transition: transform 0.5s ease;
    height: auto;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.promo-track:active {
    cursor: grabbing;
}

.promo-card {
    min-width: 100%;
    flex-shrink: 0;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    display: block;
    width: 100%;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

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

.promo-card a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.promo-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    object-fit: cover;
}

.promo-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 26, 51, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0.5;
}

.promo-btn:hover {
    background: #FFD700;
    color: black;
}

.promo-btn.prev {
    left: 10px;
}

.promo-btn.next {
    right: 10px;
}

/* Promotional Banner */
.promo-banner {
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 100%);
    border-radius: 20px;
    padding: 0;
    margin: 40px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.promo-banner:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    filter: brightness(1.1);
}

.promo-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.banner-text {
    flex: 1;
}

.banner-labels {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.label {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.banner-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.banner .play-now-btn {
    background: #FFD700;
    color: black;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner .play-now-btn:hover {
    background: #FF6B00;
    transform: scale(1.05);
}

.banner-graphic {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hamster-graphic {
    font-size: 60px;
}

.coins {
    font-size: 30px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1A1A33 0%, #331A4D 100%);
    padding: 20px 0;
    margin-top: 20px;
    width: 100%;
    position: relative;
    z-index: 1001; /* Sobre el botón (1000) pero bajo los banners laterales (1002) */
}

.footer .container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
    align-items: center;
    margin-top: 20px;
}

.footer-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.footer-item img {
    width: 250px;
}

.footer-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid white;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.footer-text, .footer-phone {
    font-size: 12px;
    line-height: 1.3;
    text-align: left;
    margin: 0;
    color: white;
    font-weight: 600;
}

.footer-link {
    background: white;
    color: black;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    text-decoration: none;
}

.footer-link:link {
    color: black;
    text-decoration: none;
}

.footer-link:visited {
    color: black;
    text-decoration: none;
}

.footer-link:hover {
    color: black;
    text-decoration: none;
}

.footer-link:active {
    color: black;
    text-decoration: none;
}

.footer-link:hover {
    background: #FFD700;
    transform: translateY(-2px);
    text-decoration: none;
    color: black;
}

.footer-description {
    font-size: 10px;
    color: white;
    margin: 0;
    line-height: 1.2;
    font-weight: 400;
}

.footer-phone {
    font-size: 16px;
    font-weight: 700;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .side-decorations, .promo-banner {
        display: none;
    }
    
    .desktop-only {
        display: none;
    }
    
    .header .header-content {
        justify-content: space-between;
        align-items: center;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .navigation {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .games-grid, .casino-grid {
        grid-template-columns: 1fr;
    }
    
    .jokers-jewels-demo {
        padding: 20px;
        margin: 20px 0;
    }
    
    .demo-btn {
        padding: 15px 30px;
        font-size: 16px;
        min-width: 180px;
    }
    
    .iframe-container {
        padding: 0;
        align-items: center;
        z-index: 9999999 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
    }
    
    .iframe-wrapper {
        width: 100%;
        padding: 50px 0 0 0;
        height: 500px;
        max-height: 90vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 0;
    }
    
    .iframe-wrapper iframe {
        height: 80%;
        width: 100%;
        border-radius: 0;
    }
    
    .close-demo-btn {
        width: 40px;
        height: 40px;
        font-size: 28px;
        top: 10px;
        right: 10px;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .banner-title {
        font-size: 20px;
    }
    
    .banner-graphic {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-item {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 20px;
        margin: 20px 0;
    }
    
    /* Sections carousel mobile styles */
    .sections-container {
        overflow: hidden;
        position: relative;
        width: 100%;
    }
    
    .sections-track {
        display: flex;
        transition: transform 0.5s ease;
        gap: 0;
        width: 100%;
        min-width: 0;
    }
    
    .sections-card {
        min-width: 100%;
        flex-shrink: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .sections-card img {
        width: 100%;
        height: 120px;
        object-fit: cover;
        border-radius: 15px;
        max-width: 100%;
    }
    
    .sections-btn {
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.5);
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        font-size: 18px;
        font-weight: bold;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
        opacity: 0.5;
    }
    
    .sections-btn:hover {
        background: rgba(255, 255, 255, 1);
        transform: translateY(-50%) scale(1.1);
    }
    
    .sections-btn.prev {
        left: 10px;
    }
    
    .sections-btn.next {
        right: 10px;
    }
    
    /* Promotional carousel mobile styles */
    .promotional-banners {
        padding: 20px;
        min-height: 60vh;
        margin: 20px 0;
    }
    
    .promo-carousel {
        border-radius: 20px;
        height: auto;
        width: 100%;
    }
    
    .promo-container {
        overflow: hidden;
        position: relative;
        height: auto;
        width: 100%;
        border-radius: 20px;
    }
    
    .promo-track {
        display: flex;
        transition: transform 0.5s ease;
        height: auto;
        width: 100%;
    }
    
    .promo-card {
        min-width: 100%;
        flex-shrink: 0;
        display: block;
        border-radius: 15px;
        width: 100%;
    }
    
    .promo-card img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 15px;
    }
    
    .promo-btn {
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.5);
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        font-size: 18px;
        font-weight: bold;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
        opacity: 0.5;
    }
    
    .promo-btn:hover {
        background: rgba(255, 255, 255, 1);
        transform: translateY(-50%) scale(1.1);
    }
    
    .promo-btn.prev {
        left: 10px;
    }
    
    .promo-btn.next {
        right: 10px;
    }
    
    /* Reduce bottom spacing on mobile */
    .footer {
        margin-top: 10px;
    }
    
    .main-content {
        padding-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 20px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .banner-title {
        font-size: 18px;
    }
    
    .hamster-graphic {
        font-size: 40px;
    }
    
    .coins {
        font-size: 20px;
    }
    
    /* Extra small screens - ensure sections track doesn't break */
    .sections-container {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .sections-track {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        flex-wrap: nowrap;
    }
    
    .sections-card {
        min-width: 100%;
        width: 100%;
        max-width: 100%;
        flex-shrink: 0;
        box-sizing: border-box;
    }
    
    .sections-card img {
        width: 100%;
        max-width: 100%;
        height: 100px;
        object-fit: cover;
    }
}

/* Card Gloobet Styles - Fixed for Mobile, Content Width for Desktop */
.card-gloobet {
    background: #7E58F7;
    color: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(126, 88, 247, 0.3);
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.card-gloobet:hover {
    text-decoration: none;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(126, 88, 247, 0.4);
}

.card-gloobet a {
    text-decoration: none;
    color: inherit;
    display: flex;
    width: 100%;
    height: 100%;
}

.card-gloobet a:hover {
    text-decoration: none;
    color: inherit;
}

.ad-logo {
    text-align: center;
    margin-bottom: 15px;
}

.ad-logo img {
    max-width: 150px;
    height: auto;
}

.ad-content {
    text-align: center;
}

.ad-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.ad-btn {
    background: #FFD700;
    color: #4A148C;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 200px;
    width: 100%;
    position: relative;
}

.ad-btn::after {
    content: "↗";
    font-size: 18px;
    font-weight: bold;
    color: #4A148C;
    border: 2px solid #4A148C;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.ad-btn:hover {
    background: #FFC107;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.6);
    color: #4A148C;
    text-decoration: none;
}

.ad-btn:hover::after {
    color: #4A148C;
    border-color: #4A148C;
}

.ad-btn:link,
.ad-btn:visited,
.ad-btn:active {
    color: #4A148C;
    text-decoration: none;
}

/* Mobile Fixed Card */
@media (max-width: 768px) {
    .card-gloobet {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
        width: calc(100% - 40px);
        max-width: 400px;
        box-shadow: 0 8px 25px rgba(126, 88, 247, 0.4);
    }
    
    .card-gloobet:hover {
        transform: translateX(-50%) translateY(-2px);
    }
    
    .card-gloobet a {
        flex-direction: column;
    }
}

/* Desktop Content Width Card */
@media (min-width: 769px) {
    .card-gloobet {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 500px;
        max-width: 500px;
        margin: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 20px;
        z-index: 1000;
        padding: 20px;
        min-height: 100px;
    }
    
    .card-gloobet:hover {
        transform: translateX(-50%) translateY(-2px);
    }
    
    .card-gloobet .ad-logo {
        margin-bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        padding: 15px;
        width: 100px;
        height: 80px;
        flex-shrink: 0;
    }
    
    .card-gloobet .ad-logo img {
        max-width: 70px;
        width: 100%;
        height: auto;
    }
    
    .card-gloobet .ad-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        flex: 1;
        gap: 15px;
    }
    
    .card-gloobet .ad-title {
        margin-bottom: 0;
        font-size: 16px;
        line-height: 1.4;
        text-align: center;
    }
    
    .card-gloobet .ad-btn {
        width: auto;
        min-width: 200px;
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* Desktop specific styles */
@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }
    
    .desktop-only {
        display: block;
    }
    
    /* News section - show all 3 cards side by side on desktop */
    .carousel-container {
        overflow: visible;
    }
    
    .carousel-track {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        transform: none !important;
    }
    
    .news-card {
        min-width: auto;
        width: 100%;
    }
    
    .carousel-btn {
        display: none;
    }
    
    /* Sections banners - show all 4 cards side by side on desktop */
    .sections-container {
        overflow: visible;
    }
    
    .sections-track {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        transform: none !important;
    }
    
    .sections-card {
        min-width: auto;
        width: 100%;
    }
    
    .sections-btn {
        display: none;
    }
    
    /* Promotional banners - show all cards side by side on desktop */
    .promo-container {
        overflow: visible;
    }
    
    .promo-track {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        transform: none !important;
        height: auto;
    }
    
    .promo-card {
        min-width: auto;
        width: 100%;
        height: auto;
        display: block;
    }
    
    .promo-btn {
        display: none;
    }
}