* {
    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 */
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;
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #667eea;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

nav a:hover,
nav a.active {
    color: #667eea;
}

/* Age Modal */
.age-modal {
    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-modal.hidden {
    display: none;
}

.age-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    margin: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.age-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.age-content h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.age-content p {
    color: #666;
    margin-bottom: 1rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.age-buttons button {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-yes {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-no {
    background: #e74c3c;
    color: white;
}

.age-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero {
    background: rgba(255, 255, 255, 0.95);
    padding: 4rem 0;
    text-align: center;
    margin: 2rem 0;
    border-radius: 20px;
}

.hero h1 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.tagline {
    font-size: 1.3rem;
    color: #667eea;
    margin-bottom: 2rem;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Info Section */
.info-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 4rem 0;
    margin: 2rem 0;
    border-radius: 20px;
}

.info-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.info-section > .container > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #555;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.info-card p {
    color: #666;
}

/* Notice Section */
.notice-section {
    margin: 2rem 0;
}

.notice-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 5px solid #667eea;
}

.notice-box.important {
    border-left-color: #e74c3c;
}

.notice-box h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.notice-box ul {
    list-style: none;
    padding-left: 0;
}

.notice-box ul li {
    padding: 0.8rem 0;
    color: #555;
    font-size: 1.05rem;
}

.notice-box ul li strong {
    color: #e74c3c;
}

/* Game Section */
.game-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 4rem 0;
    margin: 2rem 0;
    border-radius: 20px;
}

.game-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.game-section > .container > p {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.game-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
}

.game-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    text-align: center;
}

.game-info p {
    margin: 0.8rem 0;
    color: #555;
}

/* Features Section */
.features-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 4rem 0;
    margin: 2rem 0;
    border-radius: 20px;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.features-list {
    display: grid;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.feature-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    opacity: 0.3;
}

.feature-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.feature-item p {
    color: #666;
}

/* Play Page */
.play-hero {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 0;
    text-align: center;
    margin: 2rem 0;
    border-radius: 20px;
}

.play-hero h1 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.play-hero p {
    font-size: 1.2rem;
    color: #666;
}

.play-section {
    margin: 2rem 0;
}

.play-notice {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: center;
    border: 2px solid #667eea;
}

.play-notice p {
    color: #555;
    margin: 0;
}

.game-container-full {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.play-info {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    margin: 2rem 0;
    border-radius: 20px;
}

.play-info h3 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.info-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.info-col h4 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-col ul {
    list-style: none;
    padding-left: 0;
}

.info-col ul li {
    padding: 0.5rem 0;
    color: #555;
    padding-left: 1.5rem;
    position: relative;
}

.info-col ul li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #667eea;
}

.play-reminder {
    margin: 2rem 0;
}

.reminder-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 5px solid #667eea;
}

.reminder-box h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.reminder-box p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Legal Pages */
.legal-hero {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 0;
    text-align: center;
    margin: 2rem 0;
    border-radius: 20px;
}

.legal-hero h1 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.update-date {
    color: #666;
    font-style: italic;
}

.legal-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 0;
    margin: 2rem 0;
    border-radius: 20px;
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
}

.legal-text h2 {
    color: #2c3e50;
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.legal-text h3 {
    color: #667eea;
    margin: 1.5rem 0 1rem;
    font-size: 1.3rem;
}

.legal-text h4 {
    color: #2c3e50;
    margin: 1rem 0 0.5rem;
    font-size: 1.1rem;
}

.legal-text p {
    color: #555;
    margin: 1rem 0;
    line-height: 1.8;
}

.legal-text ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-text ul li {
    color: #555;
    margin: 0.5rem 0;
    line-height: 1.8;
}

.legal-notice {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.legal-notice p {
    color: #856404;
    margin: 0;
    font-weight: 500;
}

.disclaimer-highlight {
    background: #f8f9fa;
    border-left: 4px solid #e74c3c;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 5px;
}

.disclaimer-highlight p {
    margin: 0;
}

/* Footer */
footer {
    background: rgba(44, 62, 80, 0.95);
    color: white;
    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 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #bbb;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin: 0.5rem 0;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bbb;
}

/* Mobile Responsive */
@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;
    }

    nav.active {
        right: 0;
    }

    nav a {
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .info-section h2,
    .features-section h2,
    .game-section h2 {
        font-size: 2rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .game-frame {
        height: 400px;
    }

    .legal-hero h1 {
        font-size: 2rem;
    }

    .age-content {
        padding: 2rem;
    }

    .age-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .game-frame {
        height: 300px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}
