* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, #1a0033 0%, #4a0080 50%, #2d0052 100%);
    color: #f0e6ff;
    min-height: 100vh;
    display: flex;
    line-height: 1.6;
}

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

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #2d0052 0%, #1a0033 100%);
    padding: 2rem 0;
    box-shadow: 4px 0 20px rgba(138, 43, 226, 0.3);
    z-index: 1000;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.logo {
    text-align: center;
    padding: 0 1.5rem 2rem;
    border-bottom: 2px solid rgba(218, 165, 32, 0.3);
}

.logo h1 {
    font-size: 2rem;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.nav-menu {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-menu a {
    color: #e6d5ff;
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu a:hover {
    background: rgba(138, 43, 226, 0.4);
    transform: translateX(5px);
    color: #ffd700;
}

.nav-menu a.active {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.3), rgba(138, 43, 226, 0.3));
    border-left: 4px solid #ffd700;
    color: #ffd700;
}

.sidebar-footer {
    text-align: center;
    padding: 1.5rem;
    color: #b8a3d4;
    font-size: 0.9rem;
    margin-top: auto;
}

.hamburger {
    display: none;
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 2000;
    background: rgba(138, 43, 226, 0.8);
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffd700;
    display: block;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 2rem;
    width: calc(100% - 280px);
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(218, 165, 32, 0.2));
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.tagline {
    font-size: 1.5rem;
    color: #e6d5ff;
    font-style: italic;
}

.intro-section {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 2rem;
}

.intro-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ffd700;
    text-align: center;
}

.intro-section p {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    line-height: 1.8;
    text-align: justify;
}

.notice-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.notice-card {
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-5px);
}

.notice-card.purple {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.4), rgba(75, 0, 130, 0.4));
    border: 2px solid rgba(138, 43, 226, 0.6);
}

.notice-card.gold {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.3), rgba(184, 134, 11, 0.3));
    border: 2px solid rgba(218, 165, 32, 0.6);
}

.notice-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.notice-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.notice-card p {
    font-size: 1rem;
    line-height: 1.6;
}

.game-section {
    margin: 4rem auto;
    max-width: 1200px;
    text-align: center;
}

.game-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.game-section > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.game-container {
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    margin-top: 2rem;
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 12px;
    background: #000;
}

.features-grid {
    margin: 4rem auto;
    max-width: 1200px;
}

.features-grid h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #ffd700;
}

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

.feature-item {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(75, 0, 130, 0.2));
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(138, 43, 226, 0.4);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.4);
}

.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.feature-item p {
    line-height: 1.7;
}

.page-header {
    text-align: center;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    color: #e6d5ff;
}

.play-info {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: rgba(138, 43, 226, 0.2);
    border-radius: 16px;
    border: 1px solid rgba(138, 43, 226, 0.4);
}

.play-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #ffd700;
}

.play-info p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.game-container-full {
    max-width: 1400px;
    margin: 0 auto 3rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.legal-content h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1rem;
    color: #ffd700;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.legal-content ul {
    margin: 1rem 0 1.5rem 2rem;
    line-height: 1.8;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.footer {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    margin-top: 4rem;
    padding: 3rem 2rem;
    border-top: 2px solid rgba(218, 165, 32, 0.3);
}

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

.footer-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-content > p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.footer-links a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(218, 165, 32, 0.5);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    background: rgba(218, 165, 32, 0.3);
    transform: translateY(-2px);
}

.footer-note {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #b8a3d4;
}

.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.age-gate.hidden {
    display: none;
}

.age-gate-content {
    background: linear-gradient(135deg, #2d0052, #1a0033);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 3px solid #ffd700;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.3);
}

.age-gate-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ffd700;
}

.age-gate-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.age-gate-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
}

.age-gate-buttons button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
}

.btn-yes {
    background: linear-gradient(135deg, #28a745, #20873a);
    color: white;
}

.btn-yes:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.4);
}

.btn-no {
    background: linear-gradient(135deg, #dc3545, #a82835);
    color: white;
}

.btn-no:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(220, 53, 69, 0.4);
}

@media (max-width: 968px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .hamburger {
        display: flex;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 5rem 1.5rem 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .notice-cards {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .age-gate-content {
        margin: 1rem;
        padding: 2rem;
    }

    .age-gate-buttons {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }

    .intro-section h2,
    .game-section h2,
    .features-grid h2 {
        font-size: 1.8rem;
    }

    .game-frame {
        height: 400px;
    }
}
