* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: #2d3748;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Fredoka', sans-serif;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Age Check */
.age-check {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.97), rgba(118, 75, 162, 0.97));
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-check.active {
    display: flex;
}

.age-box {
    background: white;
    padding: 45px;
    border-radius: 30px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.age-emoji {
    font-size: 80px;
    margin-bottom: 20px;
}

.age-box h2 {
    color: #667eea;
    font-size: 32px;
    margin-bottom: 20px;
}

.age-box p {
    color: #4a5568;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.7;
}

.age-options {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.age-yes, .age-no {
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Fredoka', sans-serif;
}

.age-yes {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.age-yes:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

.age-no {
    background: #e2e8f0;
    color: #718096;
}

.age-no:hover {
    background: #cbd5e0;
}

/* Top Bar */
.top-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid #667eea;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fredoka', sans-serif;
}

.brand-emoji {
    font-size: 36px;
}

.brand-text {
    font-size: 28px;
    font-weight: 700;
    color: #667eea;
}

.toggle-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.toggle-menu span {
    display: block;
    width: 26px;
    height: 3px;
    background: #667eea;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.main-nav {
    display: flex;
    gap: 5px;
}

.nav-link {
    padding: 10px 20px;
    color: #4a5568;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
}

/* Hero Splash */
.hero-splash {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
}

.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bubbles::before,
.bubbles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 15s infinite ease-in-out;
}

.bubbles::before {
    width: 200px;
    height: 200px;
    left: 10%;
    top: 20%;
}

.bubbles::after {
    width: 150px;
    height: 150px;
    right: 15%;
    bottom: 20%;
    animation-delay: 7s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-30px) translateX(30px); }
}

.hero-splash .container {
    position: relative;
    z-index: 1;
}

.hero-splash h1 {
    font-size: 58px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-splash p {
    font-size: 22px;
    color: white;
    margin-bottom: 35px;
    opacity: 0.95;
}

.splash-button {
    display: inline-block;
    padding: 16px 45px;
    background: white;
    color: #667eea;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border-radius: 50px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-family: 'Fredoka', sans-serif;
}

.splash-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
}

/* Notices Section */
.notices-section {
    padding: 80px 0;
    background: white;
}

.notice-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.notice-bubble {
    padding: 35px;
    border-radius: 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.notice-bubble:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.notice-bubble.pink {
    background: linear-gradient(135deg, #ffeef8, #ffd6f0);
}

.notice-bubble.blue {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
}

.notice-bubble.purple {
    background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
}

.bubble-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.notice-bubble h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 24px;
}

.notice-bubble p {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.7;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f4ff, #e0e7ff);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 44px;
    color: #667eea;
    margin-bottom: 15px;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    margin: 0 auto;
}

.section-subtitle {
    font-size: 18px;
    color: #4a5568;
    margin-top: 15px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text p {
    color: #4a5568;
    font-size: 17px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.perk-boxes {
    display: grid;
    gap: 20px;
}

.perk-box {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.perk-box:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
}

.perk-icon {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}

.perk-box h4 {
    color: #667eea;
    margin-bottom: 8px;
    font-size: 18px;
}

.perk-box p {
    color: #718096;
    font-size: 14px;
}

/* Game Section */
.game-section {
    padding: 80px 0;
    background: white;
}

.game-box {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(102, 126, 234, 0.3);
    border: 4px solid #667eea;
}

.game-embed {
    width: 100%;
    height: 650px;
    border: none;
    display: block;
}

.game-warning {
    margin-top: 35px;
    padding: 25px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 20px;
    border-left: 5px solid #f59e0b;
    color: #92400e;
    text-align: center;
    font-size: 16px;
}

.game-warning strong {
    color: #78350f;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #e0e7ff, #f0f4ff);
}

.big-title {
    text-align: center;
    font-size: 44px;
    color: #667eea;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.feature-emoji {
    font-size: 50px;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 22px;
}

.feature-card p {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.7;
}

/* More Info */
.more-info {
    padding: 80px 0;
    background: white;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.info-card {
    background: linear-gradient(135deg, #f0f4ff, #e0e7ff);
    padding: 40px;
    border-radius: 25px;
    border-top: 5px solid #667eea;
}

.info-card h3 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 26px;
}

.info-card p {
    color: #4a5568;
    line-height: 1.8;
}

/* Play Page */
.play-page {
    padding: 80px 0;
    min-height: calc(100vh - 300px);
}

.play-title {
    text-align: center;
    margin-bottom: 50px;
}

.play-title h1 {
    font-size: 52px;
    color: #667eea;
    margin-bottom: 15px;
}

.play-title p {
    font-size: 20px;
    color: #4a5568;
}

.play-guide {
    background: white;
    padding: 40px;
    border-radius: 25px;
    margin-bottom: 50px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.play-guide h3 {
    color: #667eea;
    margin-bottom: 30px;
    font-size: 28px;
    text-align: center;
}

.guide-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.guide-box {
    background: linear-gradient(135deg, #f0f4ff, #e0e7ff);
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid #764ba2;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.6;
}

.guide-box strong {
    color: #667eea;
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
}

.play-reminder {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #f59e0b;
    text-align: center;
    color: #92400e;
}

.reminder-icon {
    font-size: 24px;
    margin-right: 10px;
}

.play-area {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(102, 126, 234, 0.3);
    border: 4px solid #667eea;
    margin-bottom: 35px;
}

.play-game {
    width: 100%;
    height: 720px;
    border: none;
    display: block;
}

.play-help {
    background: white;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    color: #718096;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Doc Pages */
.doc-page {
    padding: 80px 0;
    min-height: calc(100vh - 300px);
}

.doc-header {
    text-align: center;
    margin-bottom: 50px;
}

.doc-header h1 {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 10px;
}

.doc-date {
    color: #94a3b8;
    font-size: 14px;
}

.doc-content {
    background: white;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.doc-content h2 {
    color: #667eea;
    margin-top: 35px;
    margin-bottom: 20px;
    font-size: 28px;
}

.doc-content h2:first-child {
    margin-top: 0;
}

.doc-content p {
    color: #4a5568;
    margin-bottom: 18px;
    line-height: 1.8;
}

.doc-content ul {
    margin: 20px 0;
    padding-left: 40px;
    color: #4a5568;
}

.doc-content ul li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.doc-summary {
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(135deg, #f0f4ff, #e0e7ff);
    border-radius: 20px;
    border: 2px solid #667eea;
}

.doc-summary p {
    color: #667eea;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
}

.doc-summary ul {
    list-style: none;
    padding-left: 0;
}

.doc-summary ul li {
    color: #4a5568;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    border-top: 4px solid #667eea;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 45px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: #c7d2fe;
    margin-bottom: 20px;
    font-size: 20px;
    font-family: 'Fredoka', sans-serif;
}

.footer-column p {
    color: #a5b4fc;
    font-size: 14px;
    line-height: 1.7;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #a5b4fc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #c7d2fe;
}

.footer-end {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(199, 210, 254, 0.2);
    color: #818cf8;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .toggle-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 69px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        border-bottom: 3px solid #667eea;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        padding: 15px;
        border-bottom: 1px solid #e2e8f0;
        border-radius: 0;
    }

    .hero-splash h1 {
        font-size: 40px;
    }

    .hero-splash p {
        font-size: 18px;
    }

    .notice-row,
    .about-grid,
    .features-grid,
    .info-cards {
        grid-template-columns: 1fr;
    }

    .game-embed,
    .play-game {
        height: 450px;
    }

    .doc-content {
        padding: 30px 20px;
    }

    .age-box {
        margin: 20px;
        padding: 35px 25px;
    }

    .age-options {
        flex-direction: column;
    }

    .age-yes,
    .age-no {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-splash h1 {
        font-size: 32px;
    }

    .game-embed,
    .play-game {
        height: 350px;
    }
}
