* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.main-nav {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'Playfair Display', serif;
}

.logo-text {
    display: none;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    list-style: none;
    transition: 0.3s;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

.nav-menu.active {
    right: 0;
}

.nav-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-menu a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.1);
    padding-left: 30px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn-large {
    display: inline-block;
    background: white;
    color: #4a90e2;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Main Content */
.main-content {
    padding: 60px 20px;
}

.intro-section {
    text-align: center;
    margin-bottom: 60px;
}

.intro-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.intro-section p {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* Important Notices */
.important-notices {
    margin-bottom: 60px;
}

.notice-grid {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

.notice-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: 0.3s;
}

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.notice-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.notice-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.notice-card p {
    color: #666;
    line-height: 1.8;
}

/* Game Section */
.game-section {
    margin-bottom: 60px;
}

.game-section h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 15px;
    color: #2c3e50;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.game-container {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
}

/* Features Section */
.features-section {
    margin-bottom: 60px;
}

.features-section h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
}

.features-grid {
    display: grid;
    gap: 25px;
}

.feature-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #4a90e2;
}

.feature-item p {
    color: #666;
    line-height: 1.7;
}

/* Community Section */
.community-section {
    background: white;
    padding: 50px 20px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 60px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.community-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.community-section > p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.stats-display {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #4a90e2;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    margin-top: 5px;
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-section a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

/* Age Verification Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.modal-overlay.hidden {
    display: none;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.modal-content h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 2rem;
}

.modal-content p {
    color: #666;
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary {
    background: #4a90e2;
    color: white;
}

.btn-primary:hover {
    background: #357abd;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #e74c3c;
    color: white;
}

.btn-secondary:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* Play Page */
.play-page {
    padding: 60px 20px;
}

.play-page h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

.game-info {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.game-info p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.browser-note {
    background: #e8f4f8;
    padding: 15px;
    border-radius: 8px;
    color: #2c3e50;
    border-left: 4px solid #4a90e2;
}

.game-tips {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.game-tips h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.game-tips ul {
    list-style-position: inside;
    color: #666;
    line-height: 2;
}

/* Legal Pages */
.legal-page {
    padding: 60px 20px;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.last-updated {
    color: #999;
    margin-bottom: 40px;
    font-style: italic;
}

.legal-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.legal-section h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.legal-section p {
    color: #666;
    line-height: 1.9;
    margin-bottom: 15px;
}

.legal-section ul {
    margin-left: 20px;
    color: #666;
    line-height: 2;
}

.disclaimer-highlight {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
}

.disclaimer-highlight h2 {
    color: #856404;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .logo-text {
        display: block;
    }
    
    .notice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .game-frame {
        height: 700px;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }
    
    .nav-menu {
        position: static;
        display: flex;
        width: auto;
        background: none;
        box-shadow: none;
        gap: 5px;
    }
    
    .nav-menu li {
        border-bottom: none;
    }
    
    .nav-menu a {
        padding: 10px 18px;
        border-radius: 5px;
    }
    
    .nav-menu a:hover {
        padding-left: 18px;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .notice-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .game-frame {
        height: 800px;
    }
}
