:root {
    --primary: #00C9A7;
    --primary-dark: #00A889;
    --secondary: #845EC2;
    --accent: #FFD700;
    --text: #2C3E50;
    --text-light: #546E7A;
    --background: #F8F9FA;
    --card-bg: #FFFFFF;
    --border: #DEE2E6;
    --warning: #FF6F61;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.logo {
    font-size: 1.9rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: -1px;
}

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

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-links a:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: translateY(-2px);
}

/* Active page highlight - scoped to header nav links only */
.nav-links a.active,
.nav-links a[aria-current="page"] {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 201, 167, 0.15);
}


/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-links {
    transition: all 0.3s ease;
}

.nav-links.mobile-hidden {
    display: none;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 60px;
    right: 20px;
    background: var(--header-bg);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .nav-links.mobile-visible {
        display: flex;
    }
}
/* Hero Section */
.hero {
    padding-top: 80px;
    min-height: 100vh;
    background:  url('bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 215, 0, 0.15), transparent 50%);
    z-index: 1; /* subtle highlight layer */
    pointer-events: none;
}

/* Animated gradient overlay for hero only (keeps effects scoped) */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0,201,167,0.18), rgba(132,94,194,0.18), rgba(255,215,0,0.12));
    background-size: 200% 200%;
    mix-blend-mode: overlay;
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
    animation: gradientShift 12s ease infinite;
}

.hero-content {
    max-width: 850px;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 2;
    /* entrance animation scoped to hero content */
    animation: floatIn 900ms cubic-bezier(.2,.9,.2,1) both;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.22);
    letter-spacing: -2px;
    /* animated gradient text (hero only) */
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradientMove 6s linear infinite;
}

.hero p {
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.18);
    /* make supporting text match the hero gradient subtly */
    background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.95;
}

/* Section Styles */
.section {
    padding: 5rem 2rem;
}

.container {
    max-width: 1150px;
    margin: 0 auto;
}

.center {
    text-align: center !important;
}

/* Disclaimer Warning Box */
.warning-box {
    background: linear-gradient(135deg, #FF6F61, #FF9A8B);
    color: white;
    padding: 2rem 2.5rem;
    border-radius: 15px;
    margin: 3rem auto;
    max-width: 750px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(255, 111, 97, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.warning-box::before {
    content: '⚠️';
    font-size: 3rem;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.warning-box h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.7rem;
    font-weight: 900;
    margin-top: 1.5rem;
}

.warning-box p {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.7;
}

/* Game Container */
.game-container {
    max-width: 900px;
    margin: 3rem auto;
    aspect-ratio: 16/9;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(132, 94, 194, 0.2);
    border: 5px solid var(--primary);
}

.game-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* About Section */
.about-section {
    background: white;
    padding: 5rem 2rem;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1150px;
    margin: 0 auto;
    align-items: center;
}

.about-text h2 {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.about-text p {
    color: var(--text);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.about-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
}

.about-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 201, 167, 0.2), rgba(132, 94, 194, 0.2));
}

.about-img img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, #F8F9FA, #E9ECEF);
    padding: 5rem 2rem;
}

.features-section h2 {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 3.5rem;
    text-align: center;
}

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

.feature-box {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-top: 5px solid var(--primary);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 201, 167, 0.2);
}

.feature-box h3 {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 900;
}

.feature-box p {
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Reviews Section */
.reviews-section {
    background: white;
    padding: 5rem 2rem;
}

.reviews-section h2 {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 3.5rem;
    text-align: center;
}

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

.review-box {
    background: linear-gradient(135deg, #F8F9FA, #FFFFFF);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-left: 6px solid var(--accent);
}

.review-box p {
    color: var(--text);
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.review-box span {
    color: var(--primary);
    font-weight: 900;
    font-size: 1.05rem;
}

/* Content Card */
.content-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    margin: 2.5rem auto;
    max-width: 850px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border-top: 6px solid var(--primary);
}

.content-card h1,
.content-card h2 {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.content-card h1 {
    font-size: 2.5rem;
}

.content-card h2 {
    font-size: 2rem;
}

.content-card p {
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 1rem;
}

.content-card ul {
    text-align: left;
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content-card li {
    color: var(--text);
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.content-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 800;
    border-bottom: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.content-card a:hover {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2C3E50, #34495E);
    padding: 4rem 2rem 2rem 2rem;
    color: white;
}

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

.footer-col h3 {
    color: var(--accent);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-weight: 500;
    font-size: 1.05rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    display: block;
    padding: 0.7rem 0;
    transition: all 0.3s ease;
    font-weight: 600;
}

.footer-col a:hover {
    color: var(--accent);
    padding-left: 10px;
}

.footer-disclaimer {
    background: rgba(255, 111, 97, 0.2);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-disclaimer p {
    font-weight: 700;
    font-size: 1.05rem;
    text-align: center;
}

.copyright {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    font-weight: 600;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--border);
    max-width: 750px;
    margin: 3rem auto;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
    display: block;
    color: var(--secondary);
    margin-bottom: 0.8rem;
    font-weight: 800;
    font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    background: var(--background);
    color: var(--text);
    font-size: 1.05rem;
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 201, 167, 0.1);
}

.btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 10px;
    font-size: 1.15rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 201, 167, 0.4);
}

/* Disclaimer Popup */
.disclaimer-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 3rem;
    border-radius: 20px;
    border: 5px solid var(--warning);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    max-width: 600px;
    width: 90%;
    display: none;
}

.disclaimer-popup.show {
    display: block;
    animation: popupSlide 0.4s ease-out;
}

.disclaimer-popup h2 {
    background: linear-gradient(135deg, var(--warning), #FF9A8B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 900;
    font-size: 2rem;
}

.disclaimer-popup p {
    color: var(--text);
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.1rem;
}

.disclaimer-popup ul {
    margin: 1.5rem 0;
    color: var(--text);
    font-weight: 700;
    text-align: left;
}

.disclaimer-popup li {
    margin-bottom: 0.8rem;
}

.disclaimer-popup button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 900;
    width: 100%;
    margin-top: 1.5rem;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.disclaimer-popup button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 201, 167, 0.4);
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 999;
    box-shadow: 0 8px 25px rgba(0, 201, 167, 0.3);
}

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

.scroll-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 201, 167, 0.5);
}

/* Animations */
@keyframes popupSlide {
    from {
        transform: translate(-50%, -60%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

/* Hero only animations */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes textGradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes floatIn {
    0% { opacity: 0; transform: translateY(18px) scale(0.995); }
    60% { opacity: 1; transform: translateY(-6px) scale(1.002); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
    
    .game-container {
        height: auto;
        margin: 2rem 1rem;
    }
    
    .section {
        padding: 3rem 1rem;
    }
    
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .review-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .content-card {
        padding: 2rem 1.5rem;
    }
    
    .disclaimer-popup {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
}