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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #2d0a17;
    color: #fff5e1;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 48px;
    color: #fff5e1;
    opacity: 0.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Header Styles */
.main-header {
    background: linear-gradient(135deg, #2d0a17 0%, #4a1625 100%);
    border-bottom: 2px solid #ffd700;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo .crown-icon {
    font-size: 2.5rem;
    animation: crownFloat 3s ease-in-out infinite;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.logo h1 a {
    color: inherit;
    text-decoration: none;
}

.main-nav .nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: #fff5e1;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ffd700;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2d0a17 0%, #4a1625 50%, #2d0a17 100%);
}

.curtain-left, .curtain-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30%;
    background: linear-gradient(90deg, #1a0510 0%, #2d0a17 100%);
    animation: curtainPull 3s ease-in-out infinite alternate;
}

.curtain-left {
    left: 0;
    transform-origin: left;
}

.curtain-right {
    right: 0;
    transform-origin: right;
    background: linear-gradient(-90deg, #1a0510 0%, #2d0a17 100%);
}

.spotlight {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, rgba(255, 215, 0, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    animation: spotlightPulse 4s ease-in-out infinite;
}

@keyframes curtainPull {
    0% { transform: scaleX(1); }
    100% { transform: scaleX(0.95); }
}

@keyframes spotlightPulse {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 10;
    max-width: 800px;
    padding: 0 24px;
}

.hero-logo {
    margin-bottom: 32px;
}

.hero-logo .crown-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    animation: crownFloat 3s ease-in-out infinite;
}

@keyframes crownFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-logo h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #ffd700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    margin-bottom: 16px;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 24px;
    color: #fff5e1;
    opacity: 0.9;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #fff5e1;
    opacity: 0.8;
    line-height: 1.6;
}

.cta-button {
    background: linear-gradient(45deg, #ffd700, #ffed4a);
    color: #2d0a17;
    border: none;
    padding: 16px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.5);
    background: linear-gradient(45deg, #ffed4a, #ffd700);
}

/* Games Section */
.games-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #2d0a17 0%, #241017 100%);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.game-card {
    background: linear-gradient(145deg, #3d1a27, #2d0a17);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: #ffd700;
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.game-card:hover .game-image::after {
    opacity: 1;
}

.game-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.game-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 215, 0, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

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

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

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 10, 23, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-button {
    background: linear-gradient(45deg, #ffd700, #ffed4a);
    color: #2d0a17;
    border: none;
    padding: 12px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.game-title {
    padding: 20px 20px 12px;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    color: #ffd700;
}

.game-description {
    padding: 0 20px 20px;
    font-size: 0.9rem;
    text-align: center;
    color: #fff5e1;
    opacity: 0.8;
    line-height: 1.5;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: #241017;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #fff5e1;
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: #ffd700;
    opacity: 0.9;
}

.about-text p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-item {
    text-align: center;
    background: linear-gradient(145deg, #3d1a27, #2d0a17);
    padding: 24px;
    border-radius: 12px;
    border: 2px solid #ffd700;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffd700;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.9rem;
    color: #fff5e1;
    opacity: 0.8;
    margin-top: 8px;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #241017 0%, #2d0a17 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: linear-gradient(145deg, #3d1a27, #2d0a17);
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #ffd700;
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: #ffd700;
    margin-bottom: 16px;
    font-weight: 600;
}

.feature-card p {
    color: #fff5e1;
    opacity: 0.8;
    line-height: 1.6;
}

/* Provider Section */
.provider-section {
    padding: 80px 0;
    background: #1a0510;
}

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

.provider-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #fff5e1;
    margin-bottom: 40px;
    opacity: 0.9;
}

.provider-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.provider-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(145deg, #3d1a27, #2d0a17);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #ffd700;
    color: #fff5e1;
    font-weight: 500;
}

.provider-icon {
    font-size: 1.5rem;
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 60px 0;
    background: #2d0a17;
}

.disclaimer-box {
    background: linear-gradient(145deg, #2d0a17, #3d1a27);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid #ffd700;
    max-width: 900px;
    margin: 0 auto;
}

.disclaimer-box h3 {
    color: #ffd700;
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.disclaimer-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #fff5e1;
}

/* Footer */
.footer {
    background: #1a0510;
    padding: 60px 0 30px;
    border-top: 2px solid #ffd700;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
}

.footer-logo .crown-icon {
    font-size: 2rem;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.footer-link:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.footer-icon {
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #3d1a27;
    color: #fff5e1;
    opacity: 0.7;
}

/* Game Page Styles */
.game-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.game-header {
    background: linear-gradient(135deg, #2d0a17 0%, #4a1625 100%);
    padding: 32px 0;
    text-align: center;
    border-bottom: 2px solid #ffd700;
}

.game-header h1 {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 16px;
}

.back-button {
    background: linear-gradient(45deg, #ffd700, #ffed4a);
    color: #2d0a17;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.game-container {
    flex: 1;
    padding: 32px;
    background: #241017;
}

.game-frame {
    width: 100%;
    height: 70vh;
    border: 4px solid #ffd700;
    border-radius: 16px;
    background: #2d0a17;
}

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

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2d0a17 0%, #241017 100%);
    min-height: 80vh;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(145deg, #3d1a27, #2d0a17);
    padding: 48px;
    border-radius: 16px;
    border: 2px solid #ffd700;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ffd700;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 245, 225, 0.1);
    border: 2px solid #3d1a27;
    border-radius: 8px;
    color: #fff5e1;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-button {
    background: linear-gradient(45deg, #ffd700, #ffed4a);
    color: #2d0a17;
    border: none;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.4);
}

.contact-info {
    text-align: center;
    margin-top: 40px;
    padding: 32px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    border: 1px solid #ffd700;
}

.contact-info h3 {
    color: #ffd700;
    margin-bottom: 16px;
    font-size: 1.4rem;
}

.contact-info p {
    color: #fff5e1;
    font-size: 1.1rem;
}

/* Legal Pages Styles */
.legal-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2d0a17 0%, #241017 100%);
    min-height: 80vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(145deg, #3d1a27, #2d0a17);
    padding: 48px;
    border-radius: 16px;
    border: 2px solid #ffd700;
}

.legal-content h2 {
    color: #ffd700;
    margin-bottom: 32px;
    font-size: 2rem;
    text-align: center;
}

.legal-content h3 {
    color: #ffd700;
    margin-top: 32px;
    margin-bottom: 16px;
    font-size: 1.4rem;
}

.legal-content p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: #fff5e1;
}

.legal-content ul {
    margin: 16px 0;
    padding-left: 32px;
}

.legal-content li {
    margin-bottom: 8px;
    color: #fff5e1;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-logo h2 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 24px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        height: 80vh;
    }
    
    .hero-logo h2 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 32px;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .footer-links {
        justify-content: center;
        gap: 20px;
    }
    
    .game-frame {
        height: 60vh;
    }
    
    .contact-form,
    .legal-content {
        padding: 32px 24px;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .provider-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .crown-icon {
        font-size: 3rem;
    }
    
    .hero-logo h2 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 14px 32px;
        font-size: 1rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .game-frame {
        height: 50vh;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}

/* Animations and Transitions */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    border-top-color: #ffd700;
    animation: spin 1s ease-in-out infinite;
}

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

/* Utility Classes */
.text-center { text-align: center; }
.text-gold { color: #ffd700; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.mt-32 { margin-top: 32px; }