* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #1a1a2e;
    --secondary-bg: #16213e;
    --accent-gold: #d4af37;
    --accent-light: #f1d592;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --sidebar-width: 280px;
}

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Age Verification Modal */
.age-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.age-modal.hidden {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.age-modal-content {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 10px 50px rgba(212, 175, 55, 0.3);
}

.age-modal-crown {
    font-size: 60px;
    margin-bottom: 20px;
}

.age-modal-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.age-modal-content p {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.age-modal-disclaimer {
    font-size: 14px !important;
    font-style: italic;
}

.age-modal-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.btn-age-yes, .btn-age-no {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Lato', sans-serif;
}

.btn-age-yes {
    background: var(--accent-gold);
    color: var(--primary-bg);
}

.btn-age-yes:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.btn-age-no {
    background: #333;
    color: var(--text-primary);
}

.btn-age-no:hover {
    background: #444;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: var(--accent-gold);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-bg);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: var(--accent-light);
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, #16213e 0%, #1a1a2e 100%);
    padding: 40px 30px;
    border-right: 2px solid var(--accent-gold);
    z-index: 1000;
    overflow-y: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.logo-icon {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-gold);
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 15px;
}

.nav-menu a {
    display: block;
    padding: 15px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 400;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--accent-gold);
    color: var(--primary-bg);
    transform: translateX(5px);
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

/* Hero Section */
.hero {
    padding: 100px 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

.btn-primary {
    display: inline-block;
    padding: 18px 50px;
    background: var(--accent-gold);
    color: var(--primary-bg);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: var(--accent-gold);
    text-decoration: none;
    border: 2px solid var(--accent-gold);
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--accent-gold);
    color: var(--primary-bg);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 38px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--accent-gold);
}

section p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Notice Grid */
.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.notice-card {
    background: rgba(22, 33, 62, 0.6);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.notice-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.notice-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--accent-light);
}

.notice-card p {
    font-size: 16px;
}

/* Game Section */
.game-section {
    background: rgba(22, 33, 62, 0.3);
}

.game-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.game-container {
    max-width: 900px;
    margin: 0 auto;
    border: 3px solid var(--accent-gold);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(212, 175, 55, 0.3);
}

.game-frame {
    width: 100%;
    height: 650px;
    border: none;
    display: block;
}

.game-cta {
    text-align: center;
    margin-top: 40px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
}

.feature-item h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--accent-light);
}

.feature-item p {
    font-size: 16px;
}

/* Responsible Gaming */
.responsible-gaming {
    background: rgba(212, 175, 55, 0.05);
    text-align: center;
}

.responsible-gaming p {
    max-width: 900px;
    margin: 0 auto 20px;
}

/* Footer */
.footer {
    background: var(--primary-bg);
    padding: 60px 0 30px;
    border-top: 2px solid var(--accent-gold);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
}

.footer-logo span {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-gold);
}

.footer-links h4,
.footer-legal h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--accent-light);
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Page Header */
.page-header {
    padding: 80px 40px 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--accent-gold);
}

.page-header p {
    font-size: 20px;
    color: var(--text-secondary);
}

/* Play Page */
.play-section {
    padding: 60px 0;
}

.play-info {
    margin-bottom: 50px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.info-item {
    background: rgba(22, 33, 62, 0.6);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.info-item strong {
    display: block;
    font-size: 18px;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.info-item p {
    font-size: 15px;
    margin: 0;
}

.game-container-play {
    max-width: 1000px;
    margin: 0 auto;
    border: 3px solid var(--accent-gold);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(212, 175, 55, 0.3);
}

.game-frame-play {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
}

.play-disclaimer {
    max-width: 900px;
    margin: 40px auto 0;
    padding: 25px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    border: 1px solid var(--accent-gold);
}

.play-disclaimer p {
    margin: 0;
    font-size: 15px;
    text-align: center;
}

/* Legal Pages */
.legal-section {
    padding: 60px 0;
}

.legal-container {
    max-width: 900px;
}

.legal-container h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
    color: var(--accent-light);
}

.legal-container h3 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--accent-light);
}

.legal-container ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.legal-container li {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.terms-acknowledgment,
.privacy-summary,
.disclaimer-final {
    margin-top: 50px;
    padding: 30px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    border: 2px solid var(--accent-gold);
}

.disclaimer-highlight {
    margin: 40px 0;
    padding: 30px;
    background: rgba(212, 175, 55, 0.1);
    border-left: 5px solid var(--accent-gold);
    border-radius: 10px;
}

.disclaimer-highlight h2 {
    text-align: left;
    margin-bottom: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    :root {
        --sidebar-width: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .container {
        padding: 0 20px;
    }

    section {
        padding: 50px 0;
    }

    section h2 {
        font-size: 28px;
    }

    .page-header {
        padding: 60px 20px 40px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .notice-grid,
    .features-grid,
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .game-frame {
        height: 500px;
    }

    .game-frame-play {
        height: 550px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .age-modal-content {
        margin: 20px;
        padding: 40px 25px;
    }

    .age-modal-buttons {
        flex-direction: column;
    }

    .btn-age-yes,
    .btn-age-no {
        width: 100%;
    }
}
