/* ==========================================================================
   CSS RESET & VARIABLES
   ========================================================================== */
   :root {
    /* Color System (ECO NEON GREEN) */
    --bg-primary: #020403;
    --bg-secondary: #07120d;
    --card-bg: rgba(255, 255, 255, 0.05);
    
    /* Accent Colors */
    --neon-green: #22c55e;
    --bright-lime: #a3e635;
    --emerald-glow: #10b981;
    --energy-cyan: #06b6d4;
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--neon-green), var(--energy-cyan));
    --grad-energy: linear-gradient(135deg, var(--bright-lime), var(--neon-green));
    
    /* Typography */
    --text-primary: #ecfdf5;
    --text-secondary: #86efac;
    
    /* System */
    --glass-border: 1px solid rgba(34, 197, 94, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --glass-blur: blur(12px);
    
    /* Spacing & Sizes */
    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ==========================================================================
   GLOBAL UTILITIES & EFFECTS
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-alt {
    background: var(--grad-energy);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hover-light:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.15);
}

.hover-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
    pointer-events: none;
}

.hover-light:hover::before {
    left: 150%;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--grad-primary);
    color: #020403;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
    transform: scale(1.05);
}

.btn-secondary {
    background: transparent;
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
}

.btn-secondary:hover {
    background: rgba(34, 197, 94, 0.1);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.2);
}

.section {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-desc {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.125rem);
    max-width: 600px;
    margin: 0 auto;
}

.grid {
    display: grid;
    gap: 2rem;
}

.flex-row {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.flex-row.reverse {
    flex-direction: row-reverse;
}

.mb-4 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-auto { margin-top: auto; }
.w-100 { width: 100%; }

/* ==========================================================================
   INTERACTIONS & EFFECTS
   ========================================================================== */
.ambient-glow {
    position: fixed;
    top: -20vh;
    left: -10vw;
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(34,197,94,0.15) 0%, rgba(2,4,3,0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    filter: blur(80px);
}

.cursor-glow {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(163,230,53,0.4) 0%, rgba(34,197,94,0) 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: screen;
    transition: width 0.2s, height 0.2s;
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--bright-lime);
    opacity: 0.5;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(2, 4, 3, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 1001;
}

.logo-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px var(--neon-green));
}

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

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--neon-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.hamburger.active span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
    background: var(--neon-green);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
    background: var(--neon-green);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-secondary);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-link {
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.mobile-link:hover, .mobile-link.active {
    color: var(--neon-green);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.pt-header {
    padding-top: calc(var(--header-height) + 4rem);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.page-header {
    min-height: 40vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at center, rgba(34,197,94,0.05) 0%, transparent 70%);
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: 0;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 20px;
    color: var(--neon-green);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   ENERGY SYSTEM SECTION
   ========================================================================== */
.energy-grid {
    grid-template-columns: repeat(3, 1fr);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.5));
}

.glass-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.glass-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   GAME SECTION
   ========================================================================== */
.game-section {
    background: var(--bg-secondary);
    position: relative;
}

.game-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(34,197,94,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.game-container {
    padding: 1rem;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 24px;
}

.game-wrapper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: inset 0 0 20px rgba(34, 197, 94, 0.2);
    /* Heights are responsive via media queries */
    height: 650px; 
}

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

.game-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding: 0 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.game-tags {
    display: flex;
    gap: 0.5rem;
}

.tag {
    background: rgba(34, 197, 94, 0.15);
    color: var(--bright-lime);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.legal-badge {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 12px;
}

/* ==========================================================================
   FEATURE GRID
   ========================================================================== */
.feature-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
}

.feature-img-box {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(34,197,94,0.2);
}

.feature-img-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform 0.5s ease;
}

.glass-card:hover .feature-img-box img {
    transform: scale(1.05);
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
    color: var(--neon-green);
}

.feature-text p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-primary);
}

/* ==========================================================================
   IMAGE PARALLAX SECTION
   ========================================================================== */
.image-parallax-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: 0;
}

.parallax-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 4, 3, 0.75);
    backdrop-filter: blur(3px);
}

.parallax-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.parallax-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.parallax-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
}

/* ==========================================================================
   FOOTER & LEGAL
   ========================================================================== */
.footer {
    background: var(--bg-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(34, 197, 94, 0.1);
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
    display: inline-flex;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--neon-green);
}

.legal-notice {
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.legal-notice p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
}

.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.trust-badges span {
    background: rgba(34,197,94,0.1);
    color: var(--emerald-glow);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(34,197,94,0.2);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.footer-links-inline {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links-inline a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links-inline a:hover {
    color: var(--neon-green);
}

/* ==========================================================================
   SUB PAGES (About, Contact, Legal)
   ========================================================================== */
.content-box {
    max-width: 800px;
    margin: 0 auto;
}

.content-box h2 {
    color: var(--neon-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.content-box p {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.legal-text h2 {
    font-size: 1.25rem;
    margin-top: 2rem;
}

.contact-grid {
    grid-template-columns: 1fr 1.5fr;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-list {
    list-style: none;
}

.contact-info-list li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.contact-info-list strong {
    color: #fff;
    display: block;
    margin-bottom: 0.25rem;
}

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

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(34,197,94,0.3);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: 0 0 10px rgba(34,197,94,0.2);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Laptop / Small Desktop */
@media (max-width: 1200px) {
    .game-wrapper {
        height: 600px;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .energy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .footer-desc {
        margin: 0 auto;
    }
    
    .game-wrapper {
        height: 500px;
    }
    
    .flex-row, .flex-row.reverse {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-img-box {
        width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .energy-grid {
        grid-template-columns: 1fr;
    }
    
    .game-wrapper {
        height: 400px;
    }
    
    .game-info {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .glass-card {
        padding: 1.5rem;
    }
    
    /* Disable Custom Cursor on Mobile */
    .cursor-glow {
        display: none !important;
    }
    
    /* Reduce parallax effect on mobile */
    .image-parallax-section {
        background-attachment: scroll;
    }
    .parallax-bg img {
        height: 100%; /* Stop stretching */
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .game-wrapper {
        height: 350px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .btn {
        width: 100%;
    }
}