* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background: #FAF5FF;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Age Gate */
.age-gate {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E8B4F8 0%, #D5A7E8 50%, #C49ADA 100%);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.age-gate.show {
    display: flex;
}

.age-gate-box {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 25px;
    text-align: center;
    max-width: 450px;
    margin: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.age-flower {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.age-gate-box h1 {
    color: #8B5CF6;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.age-main-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.age-small-text {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
    margin-bottom: 2rem;
}

.age-btn-group {
    display: flex;
    gap: 1rem;
}

.age-gate-box button {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.age-confirm {
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
    color: white;
}

.age-deny {
    background: #E5E7EB;
    color: #6B7280;
}

.age-gate-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Main Navigation */
.main-nav {
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #8B5CF6;
}

.brand-text {
    font-family: 'Playfair Display', serif;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: #8B5CF6;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-item:hover,
.nav-item.active {
    color: #8B5CF6;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #8B5CF6;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #E8B4F8 0%, #D5A7E8 50%, #C49ADA 100%);
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '🎰';
    position: absolute;
    font-size: 15rem;
    opacity: 0.1;
    top: -3rem;
    right: -3rem;
    transform: rotate(-15deg);
}

.hero-overlay {
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-text p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: #8B5CF6;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Info Cards */
.info-cards {
    padding: 4rem 0;
    background: white;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-card {
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card.purple {
    background: linear-gradient(135deg, #F3E8FF, #E9D5FF);
}

.info-card.pink {
    background: linear-gradient(135deg, #FDF2F8, #FCE7F3);
}

.info-card.lavender {
    background: linear-gradient(135deg, #EDE9FE, #DDD6FE);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: #8B5CF6;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.info-card p {
    color: #666;
    line-height: 1.7;
}

/* Welcome Section */
.welcome-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #FAF5FF 0%, #F3E8FF 100%);
}

.welcome-section h2 {
    text-align: center;
    color: #8B5CF6;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.welcome-content p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

/* Game Showcase */
.game-showcase {
    padding: 5rem 0;
    background: white;
}

.game-showcase h2 {
    text-align: center;
    color: #8B5CF6;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.game-desc {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.game-display {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.15);
    margin-bottom: 2rem;
}

.game-iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.game-details {
    background: #FAF5FF;
    padding: 2rem;
    border-radius: 15px;
}

.game-details h3 {
    color: #8B5CF6;
    margin-bottom: 1rem;
}

.game-details p {
    color: #666;
    line-height: 1.8;
}

/* Why Choose Section */
.why-choose {
    padding: 5rem 0;
    background: linear-gradient(135deg, #E8B4F8 0%, #D5A7E8 100%);
}

.why-choose h2 {
    text-align: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.distinction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.distinction-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s;
}

.distinction-item:hover {
    transform: translateY(-5px);
}

.distinction-item h3 {
    color: #8B5CF6;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.distinction-item p {
    color: #666;
    line-height: 1.7;
}

/* Responsibility Section */
.responsibility {
    padding: 5rem 0;
    background: white;
}

.responsibility h2 {
    text-align: center;
    color: #8B5CF6;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.responsibility p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

/* Play Page */
.play-page {
    padding: 4rem 0;
    min-height: 100vh;
    background: white;
}

.play-page h1 {
    text-align: center;
    color: #8B5CF6;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.play-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 3rem;
}

.instructions-box {
    background: linear-gradient(135deg, #F3E8FF, #E9D5FF);
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 3rem;
}

.instructions-box h2 {
    color: #8B5CF6;
    margin-bottom: 2rem;
}

.instruction-list {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.instruction {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.inst-num {
    background: #8B5CF6;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.inst-text h4 {
    color: #8B5CF6;
    margin-bottom: 0.5rem;
}

.inst-text p {
    color: #666;
    line-height: 1.6;
}

.tech-note {
    color: #666;
    font-size: 0.95rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(139, 92, 246, 0.2);
}

.important-reminder {
    background: #FEF3C7;
    border-left: 5px solid #F59E0B;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.important-reminder h3 {
    color: #92400E;
    margin-bottom: 1rem;
}

.important-reminder p {
    color: #78350F;
    line-height: 1.8;
}

/* Legal Pages */
.legal-page {
    padding: 4rem 0;
    min-height: 100vh;
    background: white;
}

.legal-page h1 {
    color: #8B5CF6;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.update-date {
    color: #999;
    font-style: italic;
    margin-bottom: 3rem;
    font-size: 0.95rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: #8B5CF6;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.legal-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0 1rem 2rem;
    color: #555;
    line-height: 1.8;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.warning-box {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    border-left: 5px solid #F59E0B;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.warning-box h2 {
    color: #92400E;
    margin-bottom: 1rem;
}

.warning-box p {
    color: #78350F;
}

.summary-box {
    background: linear-gradient(135deg, #E8B4F8, #D5A7E8);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 3rem;
}

.summary-box h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.summary-box p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, #1F2937, #374151);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: #E8B4F8;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-col p {
    opacity: 0.9;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.7rem;
}

.footer-col a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-col a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item.active::after {
        display: none;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .game-iframe {
        height: 400px;
    }

    .card-grid,
    .distinction-grid {
        grid-template-columns: 1fr;
    }

    .legal-page h1,
    .play-page h1 {
        font-size: 2rem;
    }

    .age-btn-group {
        flex-direction: column;
    }
}
