* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #ffeaa7 0%, #fd79a8 50%, #a29bfe 100%);
    background-attachment: fixed;
    color: #2d3436;
    line-height: 1.7;
}

.container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header and Navigation */
.site-header {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-navigation {
    padding: 1rem 0;
}

.nav-content {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-text {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b6b, #4d96ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: #2d3436;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4d96ff);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-line {
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4d96ff);
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Hero Sections */
.hero-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 50%, #6bcf7f 100%);
    padding: 5rem 0;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero-text h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 3.2rem;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-description {
    font-size: 1.4rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
}

.page-hero {
    background: linear-gradient(135deg, #a29bfe 0%, #fd79a8 100%);
    padding: 4rem 0;
    text-align: center;
}

.page-hero h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.8rem;
    color: #ffffff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #ffffff;
}

/* Welcome Section */
.welcome-section {
    background: #ffffff;
    padding: 4rem 0;
    border-radius: 30px;
    margin: -50px 30px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.welcome-section h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    background: linear-gradient(135deg, #ff6b6b, #4d96ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.welcome-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-align: center;
}

/* Info Cards Section */
.key-info-section {
    padding: 5rem 0;
}

.key-info-section h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    color: #ffffff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    margin-bottom: 3rem;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.info-card {
    background: #ffffff;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 4px solid;
}

.purple-card {
    border-color: #a29bfe;
}

.orange-card {
    border-color: #ffd93d;
}

.blue-card {
    border-color: #4d96ff;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.card-emoji {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.info-card h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.6rem;
    color: #2d3436;
    margin-bottom: 1rem;
}

.info-card p {
    font-size: 1.05rem;
    color: #636e72;
    line-height: 1.8;
}

/* Game Section */
.game-showcase, .main-game-section {
    background: #ffffff;
    padding: 4rem 0;
    margin: 3rem 30px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.game-showcase h2, .main-game-section h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    background: linear-gradient(135deg, #ff6b6b, #4d96ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.game-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #636e72;
    margin-bottom: 2.5rem;
}

.game-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 5px solid #ff6b6b;
}

.game-iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
}

.features-section h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    color: #ffffff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-box {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: scale(1.05);
}

.feature-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-box h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.4rem;
    color: #2d3436;
    margin-bottom: 1rem;
}

.feature-box p {
    color: #636e72;
    font-size: 1rem;
}

/* Play Guide */
.play-guide {
    background: #ffffff;
    padding: 4rem 0;
    margin: 3rem 30px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.play-guide h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.3rem;
    text-align: center;
    background: linear-gradient(135deg, #ff6b6b, #4d96ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.guide-item {
    background: linear-gradient(135deg, #ffeaa7, #fd79a8);
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    padding-top: 4rem;
}

.guide-number {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-family: 'Fredoka', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.guide-item h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.3rem;
    color: #2d3436;
    margin-bottom: 1rem;
}

.guide-item p {
    color: #2d3436;
    font-size: 0.95rem;
}

/* Closing Section */
.closing-section {
    background: #ffffff;
    padding: 4rem 0;
    margin: 3rem 30px 4rem;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.closing-section h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    background: linear-gradient(135deg, #ff6b6b, #4d96ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.closing-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-align: center;
}

/* Legal Pages */
.legal-page {
    background: #ffffff;
    padding: 4rem 0;
    margin: 3rem 30px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.legal-page h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 3rem;
    text-align: center;
    background: linear-gradient(135deg, #ff6b6b, #4d96ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.doc-date {
    text-align: center;
    color: #b2bec3;
    font-style: italic;
    margin-bottom: 3rem;
}

.legal-page h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.8rem;
    color: #2d3436;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-page p {
    margin-bottom: 1.3rem;
    color: #636e72;
}

.legal-page ul {
    margin-bottom: 1.5rem;
    padding-left: 2.5rem;
}

.legal-page li {
    margin-bottom: 0.8rem;
    color: #636e72;
}

.warning-box {
    background: linear-gradient(135deg, #ff7675, #fd79a8);
    color: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.warning-box h2 {
    color: #ffffff;
    margin-top: 0;
}

.warning-box p {
    color: #ffffff;
}

.summary-box {
    background: linear-gradient(135deg, #55efc4, #81ecec);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
}

.summary-box h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    color: #2d3436;
    margin-bottom: 1rem;
}

.summary-box p {
    color: #2d3436;
    margin-bottom: 0;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #2d3436 0%, #000000 100%);
    color: #dfe6e9;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-block h4 {
    font-family: 'Fredoka', sans-serif;
    color: #ffd93d;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-block p {
    color: #b2bec3;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: #dfe6e9;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #ffd93d;
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid #636e72;
    color: #b2bec3;
}

/* Age Check Modal */
.age-check-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.95), rgba(77, 150, 255, 0.95));
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-check-overlay.active {
    display: flex;
}

.age-check-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.age-check-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.age-check-card h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.2rem;
    background: linear-gradient(135deg, #ff6b6b, #4d96ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.age-check-card p {
    font-size: 1.1rem;
    color: #636e72;
    margin-bottom: 1rem;
}

.age-question {
    font-weight: 600;
    color: #2d3436;
}

.age-check-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.age-btn {
    font-family: 'Fredoka', sans-serif;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.age-yes {
    background: linear-gradient(135deg, #6bcf7f, #55efc4);
    color: #ffffff;
}

.age-yes:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(107, 207, 127, 0.4);
}

.age-no {
    background: linear-gradient(135deg, #ff7675, #fd79a8);
    color: #ffffff;
}

.age-no:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 118, 117, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 75px;
        flex-direction: column;
        background: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1.5rem 0;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .game-iframe {
        height: 400px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .age-check-card {
        margin: 1rem;
        padding: 2rem;
    }

    .age-check-buttons {
        flex-direction: column;
    }

    .age-btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .welcome-section,
    .game-showcase,
    .main-game-section,
    .play-guide,
    .closing-section,
    .legal-page {
        margin-left: 15px;
        margin-right: 15px;
    }
}
