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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    color: #667eea;
}

.logo-icon {
    font-size: 2rem;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #667eea;
    border-radius: 3px;
    transition: 0.3s;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

nav a:hover {
    color: #667eea;
}

main {
    min-height: calc(100vh - 200px);
}

.hero {
    background: white;
    padding: 4rem 0;
    text-align: center;
    border-radius: 20px;
    margin: 2rem auto;
    max-width: 1200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #7f8c8d;
    margin-bottom: 2rem;
}

.notice-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 2rem;
}

.notice-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    border-radius: 15px;
    color: white;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

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

.notice-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.notice-card p {
    font-size: 1rem;
    opacity: 0.9;
}

.about {
    background: white;
    padding: 4rem 2rem;
    margin: 2rem auto;
    border-radius: 20px;
    max-width: 1200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about h2 {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
    text-align: center;
}

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

.feature-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.feature-box h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.game-section {
    background: white;
    padding: 4rem 2rem;
    margin: 2rem auto;
    border-radius: 20px;
    max-width: 1200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.game-section h2 {
    font-size: 2.5rem;
    color: #667eea;
    text-align: center;
    margin-bottom: 1rem;
}

.section-desc {
    text-align: center;
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.game-container {
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 2rem auto;
    display: block;
    width: fit-content;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.info-section {
    background: white;
    padding: 4rem 2rem;
    margin: 2rem auto;
    border-radius: 20px;
    max-width: 1200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.info-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.info-col h3 {
    font-size: 1.8rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.info-col p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 1rem;
}

.responsibility {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2rem;
    margin: 2rem auto;
    border-radius: 20px;
    max-width: 1200px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.responsibility h3 {
    font-size: 1.8rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.responsibility p {
    font-size: 1.1rem;
    color: #555;
}

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

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

.age-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    margin: 0 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.age-content h2 {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 1.5rem;
}

.age-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #555;
}

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

.age-buttons button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    font-family: 'Poppins', sans-serif;
}

.age-buttons button:first-child {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.age-buttons button.decline {
    background: #e74c3c;
    color: white;
}

.age-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

footer {
    background: rgba(255, 255, 255, 0.98);
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

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

.footer-section h4 {
    font-size: 1.3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

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

.footer-links a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 1.5rem;
    text-align: center;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.play-hero {
    background: white;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 20px;
    margin: 2rem auto;
    max-width: 1200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

.game-play {
    background: white;
    padding: 3rem 2rem;
    margin: 2rem auto;
    border-radius: 20px;
    max-width: 1200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.game-info {
    margin-bottom: 2rem;
}

.game-info h2 {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.game-info p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 1rem;
}

.game-tips {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    border-left: 4px solid #667eea;
}

.game-tips h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

.game-tips ul {
    list-style-position: inside;
    color: #555;
}

.game-tips li {
    margin-bottom: 0.5rem;
}

.play-notice {
    background: #fff3cd;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
    border-left: 4px solid #ffc107;
}

.play-notice p {
    color: #856404;
    margin: 0;
}

.legal-page {
    background: white;
    padding: 3rem 2rem;
    margin: 2rem auto;
    border-radius: 20px;
    max-width: 1000px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.legal-page h1 {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.last-updated {
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s;
        gap: 0;
    }
    
    nav.active {
        right: 0;
    }
    
    nav a {
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .notice-cards {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .game-frame {
        height: 400px;
    }
    
    .info-columns {
        grid-template-columns: 1fr;
    }
    
    .age-content {
        padding: 2rem;
    }
    
    .age-buttons {
        flex-direction: column;
    }
    
    .age-buttons button {
        width: 100%;
    }
}
