* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.age-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-modal-content {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

.age-modal-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.age-modal-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #667eea;
}

.age-modal-content p {
    font-size: 18px;
    margin-bottom: 10px;
    color: #666;
}

.age-modal-subtitle {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
}

.age-modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-age-yes,
.btn-age-no {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-age-yes {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-age-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-age-no {
    background: #f0f0f0;
    color: #666;
}

.btn-age-no:hover {
    background: #e0e0e0;
}

/* 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: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    font-weight: 700;
    color: #667eea;
    text-decoration: none;
}

.logo-icon {
    font-size: 32px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #667eea;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.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 {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #667eea;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #667eea;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* Notices Section */
.notices {
    padding: 60px 0;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.notice-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-5px);
}

.notice-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.notice-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #667eea;
}

.notice-card p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 40px;
    color: white;
    font-weight: 700;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Game Section */
.game-section {
    padding: 60px 0;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: white;
    opacity: 0.9;
    margin-bottom: 40px;
}

.game-container {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    max-width: 1000px;
}

.game-frame {
    width: 100%;
    height: 600px;
    border-radius: 10px;
    background: #000;
}

.game-info {
    text-align: center;
    margin-top: 30px;
    color: white;
    font-size: 16px;
}

/* Features Section */
.features {
    padding: 60px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #667eea;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* Play Page Styles */
.play-hero {
    padding: 60px 0;
    text-align: center;
    color: white;
}

.play-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.play-description {
    font-size: 20px;
    opacity: 0.95;
}

.instructions {
    padding: 40px 0;
}

.instructions .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.instruction-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.instruction-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #667eea;
}

.instruction-card ul {
    list-style: none;
    padding: 0;
}

.instruction-card li {
    padding: 8px 0;
    color: #666;
    line-height: 1.6;
}

.instruction-card li::before {
    content: '→ ';
    color: #667eea;
    font-weight: bold;
}

/* Legal Content */
.legal-content {
    background: white;
    min-height: calc(100vh - 200px);
    padding: 60px 0;
}

.legal-content h1 {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 20px;
}

.legal-intro {
    font-size: 16px;
    color: #999;
    margin-bottom: 40px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.legal-section h3 {
    font-size: 22px;
    color: #555;
    margin: 20px 0 10px;
}

.legal-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.legal-section ul {
    margin: 15px 0;
    padding-left: 30px;
}

.legal-section li {
    margin-bottom: 10px;
    line-height: 1.8;
    color: #666;
}

.disclaimer-highlight {
    background: #f8f9ff;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #667eea;
}

.disclaimer-highlight h2 {
    color: #667eea;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.2);
    color: white;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-nav a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover,
.footer-nav a:hover {
    opacity: 1;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
    }

    .nav.active {
        left: 0;
    }

    .nav-link {
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-link.active::after {
        display: none;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .game-frame {
        height: 400px;
    }

    .age-modal-content {
        margin: 20px;
        padding: 30px 20px;
    }

    .age-modal-content h2 {
        font-size: 24px;
    }

    .age-modal-buttons {
        flex-direction: column;
    }

    .legal-content h1 {
        font-size: 32px;
    }

    .notice-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }
}
