:root {
    --bg-dark: #0a0a0c;
    --pool-green: #00ff88;
    --pool-green-dark: #004d26;
    --gold: #ffd700;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

html, body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, .logo, .badge, .btn, .nav-links a {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Loading Animation */
#loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 60px; height: 60px;
    border: 3px solid var(--glass-border);
    border-radius: 50%;
    position: relative;
    margin-bottom: 20px;
    animation: spin 2s linear infinite;
}

.ball {
    width: 15px; height: 15px;
    background: var(--pool-green);
    border-radius: 50%;
    position: absolute;
    top: -9px; left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--pool-green);
}

@keyframes spin { 100% { transform: rotate(360deg); } }

/* Background Effects */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
}

.top-left {
    top: -10vw; left: -10vw;
    width: 40vw; height: 40vw;
    background: var(--pool-green-dark);
}

.bottom-right {
    bottom: -10vw; right: -10vw;
    width: 30vw; height: 30vw;
    background: rgba(255, 215, 0, 0.15);
}

/* Typography & Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-scroll {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title p {
    color: var(--text-muted);
}

.highlight { color: var(--pool-green); text-shadow: 0 0 20px rgba(0,255,136,0.3); }
.highlight-gold { color: var(--gold); }

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 136, 0.3);
}

/* Nav */
header {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.logo span { color: var(--pool-green); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover { color: #fff; }

.nav-cta {
    background: var(--pool-green);
    color: var(--bg-dark) !important;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(0,255,136,0.3);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: var(--pool-green);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
}

.hero-content {
    max-width: 800px;
}

.badge {
    background: rgba(255,215,0,0.1);
    color: var(--gold);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(255,215,0,0.3);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--pool-green);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0,255,136,0.4);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(0,255,136,0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--glass-bg);
    color: #fff;
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* About */
.about-grid { margin-bottom: 40px; text-align: center; }
.story-box p { color: var(--text-muted); line-height: 1.8; margin-top: 15px; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature-card { text-align: center; }
.feature-card i {
    font-size: 2rem;
    color: var(--pool-green);
    margin-bottom: 15px;
}
.feature-card h4 { margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

/* Demo */
.demo-content { display: flex; flex-direction: column; gap: 40px; }
.video-container { width: 100%; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; }
.video-placeholder { text-align: center; color: var(--text-muted); }
.video-icon { font-size: 4rem; color: var(--pool-green); margin-bottom: 10px; opacity: 0.7; }

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.screenshot {
    width: 100%;
    aspect-ratio: 9/16;
    object-fit: cover;
    background: #111;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.screenshot:hover {
    transform: scale(1.05);
}

/* Goal */
.goal-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.progress-container { margin-bottom: 40px; }
.progress-bar {
    width: 100%;
    height: 12px;
    background: #222;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--pool-green-dark), var(--pool-green));
    width: 0%;
    transition: width 1.5s ease-out;
    box-shadow: 0 0 10px var(--pool-green);
}
.progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.goal-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.goal-item {
    background: rgba(0,0,0,0.3);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.goal-item i { color: var(--gold); }

/* Support */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 15px;
}
.card-header i { font-size: 1.5rem; color: var(--pool-green); }

.copy-box {
    display: flex;
    margin-top: 10px;
    background: #000;
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    overflow: hidden;
}
.copy-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 10px;
    outline: none;
}
.copy-btn {
    background: var(--glass-bg);
    border: none;
    color: #fff;
    padding: 0 15px;
    cursor: pointer;
    transition: background 0.3s;
}
.copy-btn:hover { background: var(--pool-green-dark); }

.bank-details p { margin-bottom: 8px; color: var(--text-muted); }
.qr-placeholder {
    margin-top: 20px;
    width: 120px;
    height: 120px;
    background: #111;
    border: 1px dashed var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
    margin-inline: auto;
}
.qr-placeholder i { font-size: 2rem; margin-bottom: 5px; }

/* Community & Footer */
.community .container { text-align: center; }
.community h2 { margin-bottom: 10px; }
.community p { color: var(--text-muted); margin-bottom: 25px; }

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--pool-green);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0,255,136,0.3);
}

footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 20px;
    text-align: center;
    background: rgba(0,0,0,0.3);
}

.footer-content .logo { margin-bottom: 15px; }
.footer-content p { color: var(--text-muted); font-size: 0.9rem; }
.copyright { margin-top: 10px; opacity: 0.5; }

/* Animations & Responsive */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

@media (max-width: 992px) {
    .support-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .hero { padding-top: 150px; }
    .hero h1 { font-size: 2.2rem; }
    
    /* Make navigation responsive instead of hiding it completely */
    nav { flex-direction: row; justify-content: space-between; flex-wrap: wrap; position: relative; }
    .menu-toggle { display: block; }
    .nav-links { 
        display: none; 
        flex-direction: column; 
        width: 100%; 
        align-items: center; 
        background: rgba(10, 10, 12, 0.95); 
        padding: 20px 0; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    .nav-links.active { display: flex; }
    .nav-links a { font-size: 1.1rem; padding: 10px 0; display: block; }
    .nav-cta { margin-top: 10px; }
    
    .screenshot-gallery { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
    .hero-buttons { display: flex; flex-direction: column; gap: 15px; align-items: center; }
    .btn-primary { margin-right: 0; width: 100%; text-align: center; }
    .btn-secondary { width: 100%; text-align: center; }
    
    .features-grid { grid-template-columns: 1fr; }
    .goal-items { grid-template-columns: 1fr; }
    .section-scroll { padding: 80px 0; }
    .section-title h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 0.95rem; }
    .section-title h2 { font-size: 1.8rem; }
    .glass-card { padding: 20px; }
    .card-header h3 { font-size: 1.1rem; }
    .social-btn { width: 40px; height: 40px; font-size: 1rem; }
    .copy-box { flex-direction: column; }
    .copy-btn { padding: 12px; }
    .copy-box input { min-width: 0; text-align: center; }
}