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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #0a0a0a;
    min-height: 100vh;
    position: relative;
}

/* Casino Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 100, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 255, 255, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    z-index: -1;
}

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

/* Utility Classes */
.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Neon Glow Effect */
.neon-glow {
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 15px currentColor,
        0 0 20px currentColor;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(145deg, #1e1e2e, #2a2a3e);
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.modal-content h2 {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.modal-content p {
    margin-bottom: 1rem;
    color: #e0e0e0;
    font-size: 1.1rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Button Styles - Casino Theme */
.btn-primary, .btn-secondary, .btn-tertiary, .cta-button {
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary, .cta-button {
    background: linear-gradient(45deg, #ff6b35, #f7931e, #ffd700);
    color: #000;
    box-shadow: 
        0 4px 15px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 2px solid #ffd700;
}

.btn-primary:hover, .cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(255, 215, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.btn-secondary {
    background: linear-gradient(45deg, #6c757d, #495057);
    color: white;
    border: 2px solid #6c757d;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(45deg, #495057, #343a40);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

.btn-tertiary {
    background: transparent;
    color: #ffd700;
    border: 2px solid #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.btn-tertiary:hover {
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(145deg, rgba(30, 30, 46, 0.95), rgba(42, 42, 62, 0.95));
    backdrop-filter: blur(15px);
    padding: 1.5rem;
    box-shadow: 
        0 -5px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 215, 0, 0.1);
    z-index: 999;
    border-top: 2px solid rgba(255, 215, 0, 0.3);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cookie-content h3 {
    margin-bottom: 0.5rem;
    color: #ffd700;
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* Header and Navigation */
.navbar {
    background: linear-gradient(145deg, rgba(30, 30, 46, 0.9), rgba(42, 42, 62, 0.9));
    backdrop-filter: blur(15px);
    padding: 1.5rem 0;
    border-bottom: 3px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-brand h1 {
    color: #ffd700;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.25rem;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.8),
        0 0 20px rgba(255, 215, 0, 0.4),
        0 0 30px rgba(255, 215, 0, 0.2);
    letter-spacing: 2px;
}

.nav-brand .tagline {
    color: #ff6b35;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 5px rgba(255, 107, 53, 0.8);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 5rem 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #ffd700;
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.8),
        0 0 40px rgba(255, 215, 0, 0.4),
        0 0 60px rgba(255, 215, 0, 0.2);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-tagline {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ff6b35;
    text-shadow: 0 0 15px rgba(255, 107, 53, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
    line-height: 1.8;
}

.cta-button {
    font-size: 1.4rem;
    padding: 20px 40px;
    margin-top: 1rem;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 
            0 4px 15px rgba(255, 215, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 4px 25px rgba(255, 215, 0, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

/* Games Section */
.games-section {
    padding: 4rem 0;
    background: linear-gradient(145deg, rgba(30, 30, 46, 0.3), rgba(42, 42, 62, 0.3));
    backdrop-filter: blur(10px);
    border-top: 2px solid rgba(255, 215, 0, 0.2);
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

.games-section h2 {
    text-align: center;
    color: #ffd700;
    font-size: 3rem;
    margin-bottom: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 
        0 0 15px rgba(255, 215, 0, 0.8),
        0 0 30px rgba(255, 215, 0, 0.4);
}

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

.game-card {
    background: linear-gradient(145deg, rgba(30, 30, 46, 0.8), rgba(42, 42, 62, 0.8));
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 215, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.05), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.game-card:hover::before {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
}

.game-card h3 {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.game-card p {
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

/* Games Page */
.games-header {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(145deg, rgba(30, 30, 46, 0.5), rgba(42, 42, 62, 0.5));
    border-bottom: 3px solid rgba(255, 215, 0, 0.3);
}

.games-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.8),
        0 0 40px rgba(255, 215, 0, 0.4);
}

.games-header p {
    font-size: 1.3rem;
    color: #e0e0e0;
    max-width: 600px;
    margin: 0 auto;
}

.games-container {
    padding: 3rem 0;
}

.game-item {
    background: linear-gradient(145deg, rgba(30, 30, 46, 0.9), rgba(42, 42, 62, 0.9));
    margin-bottom: 4rem;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.game-item h2 {
    color: #ffd700;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.game-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 480px;
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid rgba(255, 215, 0, 0.3);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.game-iframe {
    width: 100%;
    max-width: 640px;
    height: 480px;
    border: none;
    border-radius: 12px;
}

/* Games Disclaimer */
.games-disclaimer {
    background: linear-gradient(145deg, rgba(255, 107, 53, 0.1), rgba(255, 215, 0, 0.1));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem auto;
    max-width: 800px;
    text-align: center;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.games-disclaimer h3 {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.games-disclaimer p {
    color: #e0e0e0;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Legal Pages */
.legal-content {
    background: linear-gradient(145deg, rgba(30, 30, 46, 0.95), rgba(42, 42, 62, 0.95));
    margin: 2rem auto;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(255, 215, 0, 0.1);
    max-width: 1000px;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.legal-content h1 {
    color: #ffd700;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.content-section {
    margin-bottom: 2.5rem;
}

.content-section h2 {
    color: #ffd700;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    border-bottom: 3px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.content-section h3 {
    color: #ff6b35;
    font-size: 1.3rem;
    margin: 1.5rem 0 0.8rem 0;
    text-shadow: 0 0 8px rgba(255, 107, 53, 0.6);
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #e0e0e0;
    font-size: 1rem;
}

.content-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.content-section li {
    margin-bottom: 0.8rem;
    color: #e0e0e0;
    line-height: 1.6;
}

.content-section a {
    color: #ffd700;
    text-decoration: none;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.6);
    transition: all 0.3s ease;
}

.content-section a:hover {
    color: #ff6b35;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.8);
}

.disclaimer-box {
    background: linear-gradient(145deg, rgba(255, 107, 53, 0.2), rgba(255, 215, 0, 0.2));
    border: 2px solid rgba(255, 215, 0, 0.4);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.disclaimer-box h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.disclaimer-box p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #fff;
}

/* Footer */
.footer {
    background: linear-gradient(145deg, rgba(10, 10, 10, 0.95), rgba(30, 30, 46, 0.95));
    color: #e0e0e0;
    padding: 3rem 0;
    margin-top: auto;
    border-top: 3px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    transform: translateY(-2px);
}

.footer-disclaimer {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
    background: rgba(255, 215, 0, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.5rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-buttons, .cookie-buttons {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .legal-content {
        margin: 1rem;
        padding: 2rem 1rem;
    }
    
    .game-wrapper {
        min-height: 300px;
    }
    
    .game-iframe {
        height: 300px;
    }
    
    .nav-brand h1 {
        font-size: 2rem;
    }
    
    .games-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .games-section {
        padding: 2rem 0;
    }
    
    .game-card {
        padding: 1.5rem;
    }
    
    .legal-content {
        padding: 1.5rem 1rem;
    }
    
    .games-disclaimer {
        padding: 1.5rem;
        margin: 2rem 1rem;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles for Keyboard Navigation */
button:focus,
a:focus,
input:focus {
    outline: 3px solid #ffd700;
    outline-offset: 2px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary, .cta-button {
        background: #ffd700;
        color: #000;
        border: 3px solid #fff;
    }
    
    .btn-secondary {
        background: #fff;
        color: #000;
        border: 3px solid #000;
    }
}

/* Loading States */
.game-iframe[data-src] {
    background: linear-gradient(90deg, #2a2a3e 25%, #3a3a4e 50%, #2a2a3e 75%);
    background-size: 200% 100%;
    animation: loading 2s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Slot Machine Style Elements */
.slot-decoration {
    position: relative;
}

.slot-decoration::before {
    content: '🎰';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 2rem;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Casino Chip Style Bullets */
.content-section ul li {
    position: relative;
    list-style: none;
}

.content-section ul li::before {
    content: '🔸';
    color: #ffd700;
    margin-right: 0.5rem;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.8);
}