* {
    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;
}

/* Age Modal */
.age-modal {
    display: flex;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.age-modal.hidden {
    display: none;
}

.age-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    margin: 20px;
}

.age-content h2 {
    color: #764ba2;
    margin-bottom: 20px;
    font-size: 28px;
}

.age-content p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #555;
}

.age-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.btn-yes,
.btn-no {
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-yes {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-no {
    background: #e74c3c;
    color: white;
}

.btn-no:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px 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: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #764ba2;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #764ba2;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.main-nav a:hover {
    color: #764ba2;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.95;
}

/* Info Cards */
.info-cards {
    background: white;
    padding: 60px 20px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.info-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #764ba2;
}

.info-card p {
    color: #555;
    line-height: 1.7;
}

/* Important Notices */
.important-notices {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 20px;
    color: white;
}

.important-notices h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.notice-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.notice-box strong {
    display: block;
    font-size: 20px;
    margin-bottom: 15px;
}

.notice-box p {
    line-height: 1.7;
    opacity: 0.95;
}

/* Game Section */
.game-section {
    background: white;
    padding: 60px 20px;
}

.game-section h2 {
    text-align: center;
    font-size: 36px;
    color: #764ba2;
    margin-bottom: 15px;
}

.section-intro {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.game-container {
    max-width: 900px;
    margin: 0 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;
}

.game-info {
    text-align: center;
    margin-top: 30px;
    font-size: 16px;
    color: #666;
}

/* Features */
.features {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 60px 20px;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    color: #764ba2;
    margin-bottom: 50px;
}

.features-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-number {
    font-size: 36px;
    font-weight: 700;
    color: #764ba2;
    opacity: 0.3;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 22px;
    color: #764ba2;
    margin-bottom: 10px;
}

.feature-content p {
    color: #666;
    line-height: 1.7;
}

/* Play Page */
.play-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.play-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.play-subtitle {
    font-size: 18px;
    opacity: 0.95;
}

.game-play-section {
    background: white;
    padding: 40px 20px 60px;
}

.game-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.game-frame-full {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
}

.game-controls-info {
    max-width: 800px;
    margin: 40px auto 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 30px;
    border-radius: 12px;
}

.game-controls-info h3 {
    color: #764ba2;
    margin-bottom: 20px;
    font-size: 24px;
}

.game-controls-info ul {
    list-style: none;
}

.game-controls-info li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
}

.game-controls-info li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #764ba2;
    font-size: 18px;
}

/* Legal Pages */
.legal-page {
    background: white;
    padding: 60px 20px;
    min-height: 70vh;
}

.legal-page h1 {
    color: #764ba2;
    font-size: 42px;
    margin-bottom: 30px;
    text-align: center;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    color: #764ba2;
    font-size: 26px;
    margin-top: 35px;
    margin-bottom: 15px;
}

.legal-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p {
    line-height: 1.7;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: white;
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        gap: 0;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav a {
        padding: 15px 0;
        border-bottom: 1px solid #eee;
        width: 100%;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 400px;
    }

    .game-frame-full {
        height: 500px;
    }

    .feature-item {
        flex-direction: column;
        gap: 15px;
    }

    .features h2,
    .game-section h2,
    .important-notices h2 {
        font-size: 28px;
    }

    .play-header h1 {
        font-size: 32px;
    }

    .legal-page h1 {
        font-size: 32px;
    }

    .legal-content h2 {
        font-size: 22px;
    }
}
