* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #1F2937;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #8B5CF6;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1.05rem;
}

.nav-menu a:hover {
    color: #8B5CF6;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #8B5CF6;
    border-radius: 2px;
    transition: 0.3s;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    max-width: 500px;
    text-align: center;
    animation: slideIn 0.3s;
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    color: #8B5CF6;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.modal-content p {
    margin-bottom: 1.5rem;
    color: #4B5563;
    font-size: 1.1rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-primary, .btn-secondary {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #8B5CF6;
    color: white;
}

.btn-primary:hover {
    background: #7C3AED;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: #E5E7EB;
    color: #374151;
}

.btn-secondary:hover {
    background: #D1D5DB;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(124, 58, 237, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%238B5CF6" width="1200" height="600"/><circle fill="rgba(255,255,255,0.1)" cx="200" cy="100" r="80"/><circle fill="rgba(255,255,255,0.1)" cx="800" cy="400" r="120"/><circle fill="rgba(255,255,255,0.05)" cx="1000" cy="200" r="100"/></svg>');
    padding: 6rem 2rem;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.05rem;
}

/* Content Sections */
main section {
    background: white;
    margin: 2rem auto;
    padding: 4rem 2rem;
    border-radius: 15px;
    max-width: 1400px;
}

main section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #8B5CF6;
    margin-bottom: 1.5rem;
    text-align: center;
}

main section p {
    font-size: 1.15rem;
    color: #4B5563;
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.section-subtitle {
    text-align: center;
    font-style: italic;
    color: #6B7280;
    margin-bottom: 2rem;
}

/* Notice Cards */
.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.notice-card {
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid #8B5CF6;
    transition: transform 0.3s;
}

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.15);
}

.notice-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.notice-card h3 {
    font-family: 'Playfair Display', serif;
    color: #1F2937;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Game Section */
.game-container {
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
}

.game-info {
    text-align: center;
    margin-top: 2rem;
}

.btn-play {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 1rem 2.5rem;
    background: #8B5CF6;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-play:hover {
    background: #7C3AED;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    padding: 1.5rem;
    background: #F9FAFB;
    border-radius: 10px;
    transition: all 0.3s;
}

.feature-item:hover {
    background: #F3F4F6;
    transform: translateY(-3px);
}

.feature-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #1F2937;
    margin-bottom: 0.8rem;
}

/* Responsible Gaming Section */
.responsible-gaming {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%) !important;
    border-left: 5px solid #F59E0B;
}

/* Footer */
footer {
    background: rgba(31, 41, 55, 0.95);
    color: white;
    padding: 3rem 2rem 1.5rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 2rem;
}

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    color: #8B5CF6;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #D1D5DB;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #8B5CF6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9CA3AF;
}

/* Play Page */
.play-page {
    min-height: calc(100vh - 200px);
    padding: 2rem;
}

.play-container {
    max-width: 1600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
}

.play-container h1 {
    font-family: 'Playfair Display', serif;
    color: #8B5CF6;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.play-subtitle {
    text-align: center;
    color: #6B7280;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.game-wrapper {
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.game-frame-fullscreen {
    width: 100%;
    height: 700px;
    border: none;
}

.play-info {
    margin-top: 2rem;
    padding: 2rem;
    background: #F9FAFB;
    border-radius: 10px;
}

.play-info h2 {
    font-family: 'Playfair Display', serif;
    color: #1F2937;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.play-info p {
    color: #4B5563;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Legal Pages */
.legal-page {
    min-height: calc(100vh - 200px);
    padding: 2rem;
}

.legal-page .container {
    max-width: 900px;
    background: white;
    padding: 3rem;
    border-radius: 15px;
}

.legal-page h1 {
    font-family: 'Playfair Display', serif;
    color: #8B5CF6;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.update-date {
    color: #6B7280;
    font-style: italic;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-family: 'Playfair Display', serif;
    color: #1F2937;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.legal-section h3 {
    color: #374151;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    margin-top: 1rem;
}

.legal-section p {
    color: #4B5563;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section ul li {
    color: #4B5563;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.disclaimer-alert {
    background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid #DC2626;
    margin-bottom: 2rem;
}

.disclaimer-alert h2 {
    color: #DC2626;
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.disclaimer-footer-note {
    background: #F3F4F6;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: center;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    main section h2 {
        font-size: 2rem;
    }

    .notice-grid, .features-grid {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 400px;
    }

    .game-frame-fullscreen {
        height: 500px;
    }

    .play-container, .legal-page .container {
        padding: 1.5rem;
    }

    .play-container h1, .legal-page h1 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .modal-content {
        margin: 1rem;
        padding: 2rem;
    }

    .modal-buttons {
        flex-direction: column;
    }
}
