/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1201;
}
.hamburger .bar {
    width: 28px;
    height: 4px;
    background: var(--primary-color);
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        right: 20px;
        background: #fff;
        flex-direction: column;
        gap: 0;
        width: 200px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        border-radius: 12px;
        padding: 18px 0;
        z-index: 1200;
        animation: fadeInNav 0.2s;
    }
    .nav-links.nav-open {
        display: flex;
    }
    .nav-links li {
        margin: 0;
        padding: 0 24px;
        border-bottom: 1px solid #eee;
    }
    .nav-links li:last-child {
        border-bottom: none;
    }
    .top-nav {
        position: relative;
    }
}

@keyframes fadeInNav {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Hero Section Decoration */
.hero-bg-sparkle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 420px;
    pointer-events: none;
    z-index: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100%25" height="100%25" xmlns="http://www.w3.org/2000/svg"><g><circle cx="10%25" cy="30%25" r="2.5" fill="%23fff" fill-opacity="0.5"><animate attributeName="opacity" values="0.5;1;0.5" dur="2s" repeatCount="indefinite"/></circle><circle cx="80%25" cy="20%25" r="1.5" fill="%23fff" fill-opacity="0.4"><animate attributeName="opacity" values="0.4;1;0.4" dur="2.5s" repeatCount="indefinite"/></circle><circle cx="60%25" cy="60%25" r="2" fill="%23fff" fill-opacity="0.3"><animate attributeName="opacity" values="0.3;1;0.3" dur="3s" repeatCount="indefinite"/></circle><circle cx="30%25" cy="80%25" r="1.2" fill="%23fff" fill-opacity="0.4"><animate attributeName="opacity" values="0.4;1;0.4" dur="2.2s" repeatCount="indefinite"/></circle></g></svg>') repeat-x;
    background-size: cover;
    animation: sparkle-move 12s linear infinite;
}

@keyframes sparkle-move {
    0% { background-position-x: 0; }
    100% { background-position-x: 100vw; }
}

.hero-area {
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.4em 1.2em;
    border-radius: 2em;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 1;
    position: relative;
}

.hero-gradient-text {
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color), var(--background-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-size: 3.5rem;
    font-family: var(--heading-font);
    font-weight: 700;
    margin-bottom: 1rem;
    z-index: 1;
    position: relative;
}

.hero-underline {
    display: inline-block;
    position: relative;
    padding-bottom: 0.4em;
    margin-bottom: 2rem;
    z-index: 1;
}
.hero-underline:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
    opacity: 0.7;
}
/* Hero Section Flex Layout */
.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}
.hero-text {
    flex: 1 1 0;
    text-align: left;
}
.hero-image {
    flex: 0 0 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image img {
    max-width: 320px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* About Section Flex Layout */
.about-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}
.about-text {
    flex: 1 1 0;
    text-align: left;
}
.about-image {
    flex: 0 0 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-image img {
    max-width: 320px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
:root {
    --primary-color: #007BFF; /* Vibrant Blue */
    --secondary-color: #28A745; /* Bright Green */
    --accent-color: #FFC107; /* Yellow Accent */
    --background-color: #F8F9FA;
    --text-color: #333;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Poppins', sans-serif;
    --border-radius: 8px;
}

body {
    font-family: var(--body-font);
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
}

.nav-links a {
    font-weight: 500;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}


/* Hero Section */
.hero-area {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 100px 20px;
}
.hero-area h1 {
    font-family: var(--heading-font);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}
.hero-area p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.action-btn {
    background-color: var(--accent-color);
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.action-btn:hover {
    background-color: #e0a800;
    color: #fff;
}

/* Disclaimer Box */
.alert-box {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 2rem;
    margin: 2rem auto;
    text-align: center;
    border-radius: var(--border-radius);
}

.alert-box h3 {
    margin-top: 0;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Game Area */
.game-area {
    padding: 4rem 0;
    text-align: center;
}

.game-area h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.game-frame {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    border: 5px solid #eee;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.game-area.play-page {
    margin-top: 4rem;
}


/* Content Sections */
.content-section {
    padding: 4rem 0;
    background-color: #fff;
}
.content-section:nth-child(even) {
    background-color: var(--background-color);
}
.content-section h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background-color: #fff;
    padding: 2rem;
    border-left: 5px solid var(--primary-color);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.review-card p {
    font-style: italic;
}

.review-card .author {
    font-weight: 700;
    text-align: right;
    margin-top: 1rem;
}

/* Legal & Contact Pages */
.legal-page, .contact-page {
    padding: 4rem 0;
}

.legal-page .container, .contact-page .container {
    max-width: 800px;
    background: #fff;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
}

.legal-page h1, .contact-page h1 {
    font-family: var(--heading-font);
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-field {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-family: var(--body-font);
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

/* Footer */
.bottom-footer {
    background-color: #343A40;
    color: #f8f9fa;
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #f8f9fa;
}

.footer-disclaimer {
    font-size: 0.9rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.7;
}

.copyright {
    margin-top: 2rem;
    border-top: 1px solid #495057;
    padding-top: 2rem;
    width: 100%;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Age Verification Modal */
.verification-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    font-family: var(--heading-font);
    margin-top: 0;
}

.modal-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Scroll to Top Button */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-flex, .about-flex {
        flex-direction: column;
        gap: 2rem;
    }
    .hero-image, .about-image {
        flex: unset;
        width: 100%;
    }
    .hero-image img, .about-image img {
        max-width: 100%;
    }
    .hero-text, .about-text {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Simple hide for mobile, can be replaced with a burger menu */
    }
    .hero-area h1 {
        font-size: 2.5rem;
    }
    .content-section, .legal-page, .contact-page {
        padding: 2rem 0;
    }
    .legal-page .container, .contact-page .container {
        padding: 2rem;
    }
}
