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

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(135deg, #0a0015 0%, #1a0033 50%, #2d0052 100%);
    color: #e0d4f7;
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Age Verification Popup */
.age-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-popup.active {
    display: flex;
}

.age-popup-content {
    background: linear-gradient(135deg, #1a0033 0%, #3d0066 100%);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 3px solid #9d4edd;
    box-shadow: 0 0 50px rgba(157, 78, 221, 0.5);
}

.age-popup-content h2 {
    font-family: 'Cinzel', serif;
    color: #9d4edd;
    font-size: 2em;
    margin-bottom: 20px;
}

.age-popup-content p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.age-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.btn-yes, .btn-no {
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
}

.btn-yes {
    background: linear-gradient(135deg, #9d4edd 0%, #7b2cbf 100%);
    color: white;
}

.btn-yes:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.6);
}

.btn-no {
    background: #333;
    color: white;
}

.btn-no:hover {
    background: #555;
}

/* Header & Navigation */
header {
    background: rgba(26, 0, 51, 0.95);
    border-bottom: 2px solid #9d4edd;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(157, 78, 221, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Cinzel', serif;
    font-size: 1.8em;
    color: #9d4edd;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #e0d4f7;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1.05em;
}

.nav-menu a:hover {
    color: #9d4edd;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #9d4edd;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.1) 0%, rgba(61, 0, 102, 0.2) 100%);
    border-bottom: 2px solid #9d4edd;
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 3.5em;
    color: #9d4edd;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(157, 78, 221, 0.5);
}

.hero-subtitle {
    font-size: 1.4em;
    color: #c8b6e2;
}

/* Main Sections */
.intro, .important-notices, .game-section, .extra-content, .community {
    padding: 60px 20px;
}

.intro h2, .important-notices h2, .game-section h2, .extra-content h2, .community h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5em;
    color: #9d4edd;
    margin-bottom: 30px;
    text-align: center;
}

.intro p, .community p {
    font-size: 1.15em;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature {
    background: rgba(157, 78, 221, 0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(157, 78, 221, 0.3);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: #9d4edd;
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.3);
}

.feature-icon {
    font-size: 3em;
    display: block;
    margin-bottom: 15px;
}

.feature h3 {
    font-family: 'Cinzel', serif;
    color: #9d4edd;
    font-size: 1.5em;
    margin-bottom: 15px;
}

/* Notice Cards */
.notice-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.notice-card {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.15) 0%, rgba(61, 0, 102, 0.2) 100%);
    padding: 35px;
    border-radius: 15px;
    border: 2px solid #9d4edd;
}

.notice-card h3 {
    font-family: 'Cinzel', serif;
    color: #9d4edd;
    font-size: 1.4em;
    margin-bottom: 15px;
}

/* Game Section */
.game-intro {
    text-align: center;
    font-size: 1.15em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.game-container, .game-frame-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border: 3px solid #9d4edd;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(157, 78, 221, 0.4);
}

.game-frame, .game-frame-play {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

/* Content Columns */
.content-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.column h3 {
    font-family: 'Cinzel', serif;
    color: #9d4edd;
    font-size: 1.6em;
    margin-bottom: 20px;
}

.column p {
    margin-bottom: 20px;
    font-size: 1.05em;
}

/* Stats */
.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 3em;
    color: #9d4edd;
    font-weight: 700;
}

.stat-label {
    display: block;
    font-size: 1.1em;
    color: #c8b6e2;
}

/* Page Hero (for sub-pages) */
.page-hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.1) 0%, rgba(61, 0, 102, 0.2) 100%);
    border-bottom: 2px solid #9d4edd;
}

.page-hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 3em;
    color: #9d4edd;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.2em;
    color: #c8b6e2;
}

/* Game Play Section */
.game-play-section {
    padding: 60px 20px;
}

.game-info {
    margin-bottom: 50px;
}

.game-info h2 {
    font-family: 'Cinzel', serif;
    font-size: 2em;
    color: #9d4edd;
    margin-bottom: 30px;
    text-align: center;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.instruction-item {
    background: rgba(157, 78, 221, 0.1);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid rgba(157, 78, 221, 0.3);
}

.instruction-icon {
    font-size: 2.5em;
    display: block;
    margin-bottom: 12px;
}

.instruction-item h3 {
    font-family: 'Cinzel', serif;
    color: #9d4edd;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.play-reminders {
    max-width: 800px;
    margin: 40px auto 0;
    background: rgba(157, 78, 221, 0.15);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #9d4edd;
}

.play-reminders h3 {
    font-family: 'Cinzel', serif;
    color: #9d4edd;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.play-reminders ul {
    list-style-position: inside;
    font-size: 1.05em;
}

.play-reminders li {
    margin-bottom: 10px;
}

/* Content Page (Legal Pages) */
.content-page {
    padding: 60px 20px;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(157, 78, 221, 0.05);
    padding: 50px;
    border-radius: 15px;
    border: 2px solid rgba(157, 78, 221, 0.3);
}

.legal-content h2 {
    font-family: 'Cinzel', serif;
    color: #9d4edd;
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 20px;
}

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

.legal-content p {
    margin-bottom: 20px;
    font-size: 1.05em;
}

.legal-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.legal-content li {
    margin-bottom: 12px;
    font-size: 1.05em;
}

/* Footer */
footer {
    background: rgba(26, 0, 51, 0.95);
    border-top: 2px solid #9d4edd;
    padding: 50px 20px 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-section h4 {
    font-family: 'Cinzel', serif;
    color: #9d4edd;
    font-size: 1.3em;
    margin-bottom: 20px;
}

.footer-section p {
    margin-bottom: 15px;
    font-size: 0.95em;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #c8b6e2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #9d4edd;
}

.responsible-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(157, 78, 221, 0.3);
    color: #c8b6e2;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(26, 0, 51, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        padding: 30px 0;
        border-top: 2px solid #9d4edd;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 2.2em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .intro h2, .important-notices h2, .game-section h2, .extra-content h2, .community h2 {
        font-size: 2em;
    }
    
    .page-hero h1 {
        font-size: 2.2em;
    }
    
    .game-frame, .game-frame-play {
        height: 400px;
    }
    
    .age-popup-content {
        padding: 30px;
        margin: 20px;
    }
    
    .age-buttons {
        flex-direction: column;
    }
    
    .legal-content {
        padding: 30px 20px;
    }
    
    .content-columns {
        grid-template-columns: 1fr;
    }
}
