/* Dark Knight Theme - Midnight Casino CA */
:root {
    --primary-color: #f0c040;
    --secondary-color: #333333;
    --accent-color: #1a1a1a;
    --background-dark: #0a0a0a;
    --background-secondary: #1a1a1a;
    --text-light: #ffffff;
    --text-secondary: #cccccc;
    --border-color: #444444;
    --shadow-color: rgba(0, 0, 0, 0.8);
    --glow-color: rgba(240, 192, 64, 0.3);
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box !important;
    max-width: 100% !important;
}

html, body {
    overflow-x: hidden !important;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-secondary) 100%);
    color: var(--text-light);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px var(--shadow-color);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }

p {
    margin-bottom: 1rem;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--text-secondary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-secondary) 100%);
    padding: 15px 20px;
    box-shadow: 0 4px 20px var(--shadow-color);
    border-bottom: 2px solid var(--border-color);
    backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo h1 {
    color: var(--primary-color);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    text-shadow: 0 0 10px var(--glow-color);
    margin: 0;
}

.free-badge {
    background: var(--success-color);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    text-shadow: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid transparent;
}

.nav-menu a:hover {
    color: var(--primary-color);
    background: rgba(240, 192, 64, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--glow-color);
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    z-index: 1001;
    border: 1px solid var(--border-color);
}

.burger-line {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url("/assets?p=%2F..%2Fimages%2Fhero_desktop_bg.png") center/cover;
    background-attachment: scroll;
    padding: 120px 15px 40px;
    text-align: center;
    margin-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.7) 0%, rgba(26, 26, 26, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}



.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--glow-color);
    letter-spacing: 2px;
    font-weight: 900;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 4vw, 2rem);
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px var(--shadow-color);
}

.hero-description {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #d4a532 100%);
    color: var(--background-dark);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-color);
    box-shadow: 0 0 25px var(--glow-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 15px rgba(240, 192, 64, 0.2);
}

.btn-large {
    padding: 16px 32px;
    font-size: clamp(1rem, 3vw, 1.2rem);
}

/* Games Section */
.games-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--background-secondary) 0%, var(--background-dark) 100%);
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 15px var(--glow-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: clamp(1rem, 3vw, 1.3rem);
}

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

.game-card {
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-secondary) 100%);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    position: relative;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
    border-color: var(--primary-color);
}

.game-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.7) 0%, rgba(26, 26, 26, 0.8) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-button {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--glow-color);
}

.game-overlay p {
    color: var(--text-light);
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 2px 2px 4px var(--shadow-color);
}

.game-info {
    padding: 1.5rem;
}

.game-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--glow-color);
}

.game-info p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-secondary) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: linear-gradient(135deg, var(--background-secondary) 0%, var(--background-dark) 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px var(--shadow-color);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--glow-color);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Reviews Section */
.reviews-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--background-secondary) 0%, var(--background-dark) 100%);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-secondary) 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.review-text {
    margin-bottom: 1.5rem;
}

.review-text p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
}

.review-author strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.review-author span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-secondary) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-shadow: 0 0 15px var(--glow-color);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px var(--glow-color);
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.about-image {
    text-align: center;
}

.section-image {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    box-shadow: 0 15px 30px var(--shadow-color);
}

/* Disclaimer Section */
.disclaimer-section {
    background: linear-gradient(135deg, #1a0a0a 0%, #2a1a1a 100%);
    padding: 40px 0;
    border-top: 2px solid var(--danger-color);
    border-bottom: 2px solid var(--danger-color);
}

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

.disclaimer-content h3 {
    color: var(--warning-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
}

.disclaimer-content p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.disclaimer-content strong {
    color: var(--warning-color);
    font-weight: bold;
}

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

.badge {
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-secondary) 100%);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    border: 1px solid var(--primary-color);
    text-shadow: 0 0 5px var(--glow-color);
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, var(--background-dark) 0%, #000000 100%);
    padding: 60px 0 20px;
    border-top: 2px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--glow-color);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.free-notice {
    color: var(--success-color) !important;
    font-size: 0.9rem !important;
    margin-bottom: 0.5rem !important;
    text-shadow: 0 0 5px rgba(40, 167, 69, 0.3) !important;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--glow-color);
}

.compliance-logos {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.compliance-logo {
    height: 40px;
    background: var(--text-light);
    padding: 8px;
    border-radius: 8px;
    opacity: 0.9;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.compliance-logo:hover {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-color);
}

.age-notice {
    color: var(--warning-color);
    font-weight: bold;
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 350px;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-secondary) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 10px 30px var(--shadow-color);
    display: none;
}

.cookie-content p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.8rem;
}

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

.popup-content {
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-secondary) 100%);
    padding: 2rem;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    border: 2px solid var(--primary-color);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.popup-content h2,
.popup-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 15px var(--glow-color);
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-header {
        padding: 12px 15px;
    }
    
    .hero-section {
        background: url("/assets?p=%2F..%2Fimages%2Fhero_mobile_bg.png") center top/cover;
        background-attachment: scroll;
        margin-top: 70px;
        padding: 80px 15px 40px;
        min-height: calc(100vh - 70px);
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-secondary) 100%);
        flex-direction: column;
        padding: 20px;
        z-index: 999;
        border-top: 2px solid var(--border-color);
        box-shadow: 0 4px 20px var(--shadow-color);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-row {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .popup-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .disclaimer-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .badge {
        width: fit-content;
    }
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        padding: 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 60px 15px 30px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stats-row {
        gap: 1rem;
    }
    
    .compliance-logos {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-banner {
        bottom: 5px;
        right: 5px;
        left: 5px;
        padding: 1rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--background-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d4a532;
}

/* Selection Styling */
::selection {
    background: var(--primary-color);
    color: var(--background-dark);
}

/* Smooth Transitions */
* {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
