/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --primary: #00E676; 
    --secondary: #FFD700; 
    --bg-dark: #050505;
    /* Made card background much darker (90% opacity) for readability */
    --glass-bg: rgba(10, 10, 10, 0.9); 
    --glass-border: rgba(255, 215, 0, 0.3);
    --text-main: #ffffff;
    --text-muted: #e0e0e0; /* Brighter gray */
    --font-head: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* =========================================
   2. GLOBAL BACKGROUND (UNTOUCHED)
   ========================================= */
#global-background {
    position: fixed; top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -100; background-color: var(--bg-dark);
    overflow: hidden; pointer-events: none;
}

.cyber-grid {
    position: absolute; bottom: -30%; left: -50%; width: 200%; height: 80%;
    background-image: 
        linear-gradient(rgba(0, 230, 118, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 230, 118, 0.1) 1px, transparent 1px);
    background-size: 80px 80px; transform: rotateX(70deg);
    mask-image: linear-gradient(to top, #000, transparent 80%);
    -webkit-mask-image: linear-gradient(to top, #000, transparent 80%);
    animation: grid-move 20s linear infinite; z-index: -10;
}
@keyframes grid-move { 0% { transform: rotateX(70deg) translateY(0); } 100% { transform: rotateX(70deg) translateY(80px); } }

.hero-hologram {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    display: flex; justify-content: center; align-items: center;
    pointer-events: none; z-index: -5;
}
.hero-hologram::before {
    content: ''; position: absolute; width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(0, 230, 118, 0.1) 0%, transparent 70%);
    border-radius: 50%; filter: blur(80px); opacity: 0.4;
    animation: pulse 4s infinite alternate;
}
.hero-hologram img {
    width: 450px; height: 450px; object-fit: contain;
    mix-blend-mode: screen; opacity: 0.15;
    animation: rotate-logo 60s linear infinite;
}
@keyframes pulse { 0% { opacity: 0.2; transform: scale(0.9); } 100% { opacity: 0.5; transform: scale(1.1); } }
@keyframes rotate-logo { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.floating-icons { position: absolute; width: 100%; height: 100%; pointer-events: none; z-index: -4; }
.coin { position: absolute; width: 60px; height: 60px; opacity: 0.1; animation: float 10s ease-in-out infinite; }
.btc { top: 15%; left: 10%; filter: sepia(100%) saturate(300%) drop-shadow(0 0 10px #FFD700); }
.eth { top: 60%; right: 15%; filter: hue-rotate(90deg) drop-shadow(0 0 10px #00E676); animation-delay: 2s; }
.sol { top: 25%; right: 25%; filter: sepia(100%) drop-shadow(0 0 10px #FFD700); animation-delay: 4s; }
.bnb { bottom: 20%; left: 20%; filter: grayscale(100%) hue-rotate(90deg) drop-shadow(0 0 10px #00E676); animation-delay: 1s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

#particle-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; }

/* =========================================
   3. GENERAL UI & TYPOGRAPHY (FIXED COLORS)
   ========================================= */
body { 
    background-color: transparent; 
    color: #ffffff !important; /* FORCE WHITE TEXT */
    font-family: var(--font-body); 
    overflow-x: hidden; 
}

a { text-decoration: none; color: #ffffff; transition: 0.3s; }
ul { list-style: none; }

/* Headings: Explicit Neon Green / White */
h1, h2, h3, h4, h5, h6 { 
    font-family: var(--font-head); 
    color: var(--primary); 
    text-transform: uppercase; 
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Body Text: Explicit White/Grey */
p, li, span, div {
    color: var(--text-muted);
}

/* Specific Highlight Classes */
.highlight-gold { color: var(--secondary) !important; text-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }
.icon-gold { color: var(--secondary) !important; font-size: 2.5rem; margin-bottom: 1rem; text-shadow: 0 0 15px var(--secondary); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 10; }
.section-pad { padding: 6rem 0; position: relative; z-index: 5; }
.dark-bg { background: rgba(0,0,0,0.6); }

/* =========================================
   4. COMPONENTS
   ========================================= */
/* Buttons */
.btn {
    display: inline-block; background-color: var(--primary); color: #000 !important; /* Black text on neon button */
    border: 2px solid var(--secondary); padding: 12px 30px;
    font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
    cursor: pointer; box-shadow: 0 0 10px rgba(0, 230, 118, 0.4); transition: 0.3s;
    border-radius: 50px; clip-path: none;
}
.btn:hover { background-color: var(--secondary); border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 0 20px var(--secondary); }
.btn-sm { padding: 8px 20px; font-size: 0.8rem; }
.btn-outline { background: transparent; color: var(--primary) !important; border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #000 !important; }

/* Glass Cards - DARKER BACKGROUND FIX */
.glass-card {
    background: #0a0a0a; /* Fallback */
    background: rgba(10, 10, 10, 0.9); /* 90% Opacity Black */
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border); 
    border-radius: 15px;
    padding: 2.5rem; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    transition: 0.4s; 
    overflow: hidden;
}
.glass-card:hover { border-color: var(--secondary); transform: translateY(-5px); box-shadow: 0 0 20px rgba(255, 215, 0, 0.2); }

/* Navigation */
.navbar { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 1rem 0; background: #000000; border-bottom: 1px solid rgba(0, 230, 118, 0.2); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-head); font-size: 1.8rem; color: var(--primary); display: flex; align-items: center; gap: 15px; }
.nav-logo-img { height: 40px; width: 40px; border-radius: 50%; border: 2px solid var(--secondary); object-fit: cover; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: #fff !important; font-family: var(--font-head); font-size: 0.9rem; text-transform: uppercase; }
.nav-links a.active { color: var(--secondary) !important; border-bottom: 2px solid var(--secondary); }
.nav-links a:hover { color: var(--secondary) !important; }
.nav-btn-container { display: flex; align-items: center; gap: 1rem; }
.mobile-toggle { display: none; font-size: 1.5rem; color: var(--primary); cursor: pointer; }

/* =========================================
   5. PAGE SPECIFIC STYLES
   ========================================= */
.page-hero { padding-top: 180px; padding-bottom: 80px; text-align: center; position: relative; z-index: 5; }
.page-hero h1 { font-size: 4rem; margin-bottom: 1rem; text-shadow: 0 0 20px var(--primary); color: #fff; }
.page-hero p { font-size: 1.5rem; color: #eee; }

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 2rem; }
.stat-card { text-align: center; border-bottom: 2px solid var(--primary); }
.stat-value { font-size: 2rem; font-weight: 900; color: #fff !important; margin: 10px 0 5px; font-family: var(--font-head); }
.stat-label { color: var(--secondary) !important; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* Distribution Section */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.5rem; color: #fff; }
.distribution-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.chart-wrapper { height: 400px; display: flex; justify-content: center; align-items: center; }

/* Table Styles - FORCE COLORS */
.table-wrapper { overflow-x: auto; }
.token-table { width: 100%; border-collapse: collapse; color: #fff !important; }
.token-table th { text-align: left; padding: 15px; border-bottom: 2px solid var(--primary); color: var(--primary) !important; font-family: var(--font-head); font-size: 1.1rem; }
.token-table td { padding: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); color: #fff !important; font-weight: 500; }
.token-table tr:hover td { background: rgba(0, 230, 118, 0.1); }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 10px; }
.c1 { background: #00E676; } .c2 { background: #00b35c; } .c3 { background: #FFD700; } .c4 { background: #b39700; } .c5 { background: #ffffff; } .c6 { background: #888888; }

/* Staking */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.staking-card { text-align: center; position: relative; border: 1px solid rgba(255,255,255,0.1); }
.staking-card.featured { border: 2px solid var(--secondary); box-shadow: 0 0 30px rgba(255, 215, 0, 0.1); transform: scale(1.05); z-index: 2; background: rgba(10, 10, 10, 0.95); }
.badge { position: absolute; top: 15px; right: 15px; background: rgba(0, 230, 118, 0.2); padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; color: var(--primary) !important; border: 1px solid var(--primary); font-weight: bold; }
.badge.gold { background: rgba(255, 215, 0, 0.2); color: var(--secondary) !important; border-color: var(--secondary); }
.apy { font-size: 3rem; font-weight: 900; color: var(--primary) !important; margin: 15px 0; font-family: var(--font-head); text-shadow: 0 0 15px rgba(0, 230, 118, 0.5); }
.staking-card h3 { color: #fff !important; }
.staking-card ul { margin-bottom: 2rem; text-align: left; padding-left: 20px; margin-top: 1rem; }
.staking-card ul li { margin-bottom: 10px; font-size: 1rem; list-style-type: disc; color: #ddd !important; }

/* Rewards & Investors */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.info-box h2 { margin-bottom: 1.5rem; }
.check-list li { margin: 15px 0; display: flex; align-items: center; gap: 15px; font-size: 1.1rem; color: #eee !important; }
.check-list i { color: var(--secondary) !important; font-size: 1.2rem; min-width: 25px; }
.check-list strong { color: #fff !important; }

/* How to Buy */
.steps-container { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; }
.step { flex: 1; min-width: 220px; text-align: center; position: relative; padding: 3rem 1.5rem; }
.step h4 { margin-bottom: 1rem; color: var(--primary) !important; }
.step p { color: #ccc !important; font-size: 0.95rem; }
.step-num { font-size: 4rem; font-family: var(--font-head); color: rgba(255,255,255,0.1) !important; position: absolute; top: 0; right: 10px; font-weight: 900; line-height: 1; }
.arrow { font-size: 2rem; color: var(--secondary); opacity: 0.7; align-self: center; }

/* Price History */
.wide-chart { width: 100%; height: 450px; padding: 1rem; }

/* Security */
.security-card { text-align: center; padding: 3rem 2rem; }
.security-card i { font-size: 3rem; color: var(--primary); margin-bottom: 1.5rem; display: block; text-shadow: 0 0 20px var(--primary); }
.security-card h4 { font-size: 1.3rem; margin-bottom: 1rem; color: #fff !important; }
.security-card p { color: #aaa !important; }

/* =========================================
   FOOTER (MATCHING UPLOADED IMAGE)
   ========================================= */
footer { 
    background: #000000; 
    padding: 4rem 0 2rem; 
    border-top: 2px solid var(--primary); /* Neon Green Top Border */
    position: relative; 
    z-index: 10; 
}

.footer-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    flex-wrap: wrap; 
    gap: 4rem; 
}

/* 1. Left Column: Brand */
.footer-brand {
    max-width: 300px;
}

.footer-brand h2 { 
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem; 
    color: var(--primary); /* Neon Green */
    margin-bottom: 0.5rem; 
    letter-spacing: 2px;
}

.footer-brand p {
    color: #888; /* Grey tagline */
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.footer-brand p:last-child {
    color: var(--secondary) !important; /* GOLD Email */
    font-weight: bold;
    margin-top: 1rem;
}

/* 2. Center Column: Links */
.footer-links { 
    display: flex; 
    flex-direction: column; 
    gap: 1rem; 
}

.footer-links a { 
    color: #aaa !important; 
    font-size: 1rem;
    transition: 0.3s; 
    text-transform: capitalize; /* Normal casing like "Home" */
}

.footer-links a:hover { 
    color: var(--primary) !important; 
    padding-left: 5px; 
}

/* 3. Right Column: Subscribe */
.footer-form {
    max-width: 400px;
}

.footer-form h4 { 
    font-family: 'Orbitron', sans-serif;
    color: var(--primary) !important; /* Neon Green Header */
    margin-bottom: 1.5rem; 
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.input-group { 
    display: flex; 
    gap: 10px; 
}

.input-group input { 
    background: #111; 
    border: 1px solid var(--secondary); /* Gold Border */
    color: #fff !important; 
    padding: 12px 15px; 
    width: 250px; 
    outline: none; 
    font-family: 'Rajdhani', sans-serif;
}

.input-group input::placeholder {
    color: #555;
}

/* JOIN BUTTON - Exact Style */
.input-group .btn { 
    background: var(--primary); /* Neon Green Background */
    color: #000 !important; /* Black Text */
    border: none;
    padding: 12px 25px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 0; /* Sharp corners like image */
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%); /* Tech Shape */
    transition: 0.3s;
}

.input-group .btn:hover {
    background: var(--secondary);
    box-shadow: 0 0 15px var(--secondary);
    transform: translateY(-2px);
}

/* Copyright */
.copyright { 
    text-align: center; 
    color: #555 !important; 
    font-size: 0.9rem; 
    padding-top: 3rem; 
    margin-top: 0;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .footer-content { 
        flex-direction: column; 
        align-items: center; 
        text-align: center; 
        gap: 3rem;
    }
    
    .footer-brand, .footer-form {
        max-width: 100%;
    }

    .input-group {
        flex-direction: column;
        width: 100%;
    }
    
    .input-group input {
        width: 100%;
    }
    
    .input-group .btn {
        width: 100%;
        clip-path: none; /* remove complex shape on mobile for safety */
        border-radius: 4px;
    }
}
/* Mobile Responsive */
@media (max-width: 900px) {
    .distribution-layout, .split-layout { grid-template-columns: 1fr; }
    .staking-card.featured { transform: scale(1); }
    .steps-container { flex-direction: column; gap: 2rem; }
    .arrow { transform: rotate(90deg); margin: 0; }
    .wide-chart { height: 300px; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .footer-content { flex-direction: column; text-align: center; }
}