/* Light Theme Colors */
:root {
    --primary: #4a90e2;
    --secondary: #45b6e5;
    --accent: #ffd700;
    --text: #333333;
    --background: #ffffff;
    --light-gray: #f5f5f5;
    --border: #e0e0e0;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Quicksand', sans-serif;
    text-align: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* Navigation */
.navbar {
    background: var(--background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

/* Utility: add top padding to pages with fixed navbar (except index/home) */
.with-top-padding {
    padding-top: 90px; /* adjust if navbar height changes */
}

@media (max-width: 768px) {
    .with-top-padding {
        padding-top: 110px; /* slightly larger on mobile for stacked navbar */
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}

/* Navigation links */
.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* Hover effect */
.nav-links a:hover {
    color: var(--primary);
    background: rgba(255, 152, 0, 0.1);
}

/* Active link highlight */
.nav-links a.active {
    background: linear-gradient(90deg, var(--primary) 60%, var(--accent) 100%);
    color: #fff !important;
    border-bottom: 3px solid var(--accent);
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(74, 144, 226, 0.15);
    border-radius: 6px 6px 0 0;
    padding: 0.5rem 1rem 0.5rem 1rem;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 2;
}

/* Hamburger Styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1100;
}
.hamburger span {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: var(--primary);
    border-radius: 2px;
    transition: 0.4s;
}

/* Hamburger open animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 3rem;
    background: url('about.jpg') center/cover no-repeat ;
    color: white;
    text-align: center;
    overflow: hidden;
    min-height: 90vh;

}

/* Overlay to make background dull */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55); /* adjust 0.55 → higher = darker */
    z-index: 1;
}

/* Ensure text appears above the overlay */
.hero-content {
   
    position: relative;
    z-index: 2;
}
.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 2.5rem;
    font-size: 1.35rem;
    font-weight: 500;
}

.hero h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.play-button {
    display: inline-block;
    background: var(--accent);
    color: var(--text);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s;
}

.play-button:hover {
    transform: translateY(-2px);
}

/* Disclaimer Section */
.disclaimer {
    background: var(--light-gray);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1000px;
    border-radius: 10px;
    position: relative;
}

.disclaimer-content {
    text-align: center;
}

/* Reusable card styles for page content */
.card {
    background: var(--background);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.04);
    max-width: 1100px;
    margin: 1.5rem auto;
}

.page-card h1, .page-card h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.page-card p {
    color: var(--text);
    line-height: 1.7;
}

/* Slight lift for links inside cards */
.page-card a {
    color: var(--primary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .card {
        padding: 1rem;
        margin: 1rem;
    }
}

.read-more-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 1rem;
}

/* Game Section */
.game-section {
    padding: 4rem 2rem;
    text-align: center;
}

.game-container {
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    height: 600px;
    padding-bottom: 10px;
}

.game-frame {
    width: 100%;
    height: 600px;
    max-width: 900px;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding-bottom: 20px;
}

/* About Section */
.about {
   position: relative;
    background: url('hero.jpeg') center/cover no-repeat;
    padding: 4rem 2rem;
    color: white;
    overflow: hidden;
}
.about::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px); /* soft blur */
    z-index: 1;
}
/* Keep content visible above overlay */
.about * {
    position: relative;
    z-index: 2;
}
.about-content h2{
    color: var(--light-gray);
    font-weight: 600;
}
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #f5f5f5;
}

/* Features Section */
.features {
    padding: 4rem 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

/* Reviews Section */
.reviews {
    background: var(--light-gray);
    padding: 4rem 2rem;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 4rem auto;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 5px;
}

.submit-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    width: 100%;
}

/* Footer */
.footer {
    background: var(--light-gray);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-column {
    text-align: center;
}

.footer-column h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

/* Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background: var(--background);
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--background);
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        padding: 1.5rem 0;
        transition: transform 0.3s, opacity 0.3s;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-20px);
        z-index: 1000;
    }
    .nav-links.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .hamburger {
        display: flex;
        margin-left: auto;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border);
    }
    }

    .hero h1 {
        font-size: 2rem;
    }

    .game-container {
        height: auto;
    }

    .popup-content {
        width: 95%;
    }



