* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #7B2CBF;
    --secondary: #FFD700;
    --accent: #9D4EDD;
    --dark: #240046;
    --light: #F8F4FF;
    --text: #2D1B4E;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: linear-gradient(135deg, #F8F4FF 0%, #E4D4F4 100%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(36, 0, 70, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    color: white;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.age-modal-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.age-modal-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.age-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-yes, .btn-no {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s;
}

.btn-yes {
    background: var(--secondary);
    color: var(--dark);
}

.btn-no {
    background: #666;
    color: white;
}

.btn-yes:hover, .btn-no:hover {
    transform: scale(1.05);
}

header {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    box-shadow: 0 4px 20px rgba(123, 44, 191, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    width: 100%;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--secondary);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.3);
        padding: 2rem 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

main {
    width: 100%;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255,215,0,0.2);
    border: 2px solid var(--secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.about-section {
    background: white;
}

.about-section h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-section p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background: linear-gradient(135deg, var(--light), white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 3px solid var(--accent);
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.important-notice {
    background: linear-gradient(135deg, #FFF8DC, #FFEAA7);
}

.notice-box h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 2rem;
    text-align: center;
}

.notice-grid {
    display: grid;
    gap: 2rem;
}

.notice-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border-left: 6px solid var(--primary);
}

.notice-item strong {
    display: block;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.game-section {
    background: white;
}

.game-section h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

.game-intro {
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.game-container {
    width: 100%;
    max-width: 100%;
    margin: 2rem auto;
    background: var(--dark);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .game-frame {
        height: 500px;
    }
}

.game-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1.05rem;
    color: var(--text);
}

.community-section {
    background: linear-gradient(135deg, var(--light), white);
}

.community-section h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    transition: all 0.3s;
}

.feature:hover {
    box-shadow: 0 10px 30px rgba(123,44,191,0.2);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.feature h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.responsibility-section {
    background: white;
}

.responsibility-section h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.responsibility-section p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.responsibility-list {
    list-style: none;
    max-width: 900px;
    margin: 2rem auto;
}

.responsibility-list li {
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--light);
    border-radius: 10px;
    font-size: 1.1rem;
    border-left: 4px solid var(--accent);
}

footer {
    background: linear-gradient(90deg, var(--dark), var(--primary));
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    max-width: 1400px;
    margin: 0 auto;
}
