/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --primary: #00E676; 
    --secondary: #FFD700; 
    --bg-dark: #050505;
    --glass-bg: rgba(10, 10, 10, 0.9); /* Darker for readability */
    --glass-border: rgba(255, 215, 0, 0.3);
    --text-main: #ffffff;
    --text-muted: #e0e0e0;
    --font-head: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* =========================================
   2. GLOBAL BACKGROUND (From Tokenomics)
   ========================================= */
#global-background {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    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. MAIN UI STYLES
   ========================================= */
body { background-color: transparent; color: #ffffff !important; font-family: var(--font-body); overflow-x: hidden; }
a { text-decoration: none; color: #ffffff; transition: 0.3s; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--primary); text-transform: uppercase; letter-spacing: 2px; }
p { font-size: 1.1rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.highlight-gold { color: var(--secondary); }
.gold-text { color: var(--secondary); font-weight: bold; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 10; }
.small-container { max-width: 800px; }

/* Buttons */
.btn {
    display: inline-block; background-color: var(--primary); color: #000 !important;
    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-block { width: 100%; text-align: center; }
.btn-outline { background: transparent; color: var(--primary) !important; border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #000 !important; }

/* Glass Cards */
.glass-card {
    background: var(--glass-bg); /* Darker */
    backdrop-filter: blur(15px); border: 1px solid var(--glass-border);
    border-radius: 15px; padding: 2rem;
    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:hover, .nav-links a.active { 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; }

/* Hero Section */
.hero-section { min-height: 100vh; display: flex; align-items: center; padding-top: 80px; position: relative; }
.hero-content { position: relative; z-index: 5; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 1rem; text-shadow: 0 0 20px rgba(0, 230, 118, 0.5); }
.hero-subtitle { font-size: 2rem; color: #fff; margin-bottom: 1.5rem; }
.hero-btns { display: flex; gap: 1.5rem; margin-bottom: 3rem; }
.hero-stats { display: flex; justify-content: space-around; align-items: center; max-width: 600px; }
.stat-item { text-align: center; }
.stat-item h3 { color: #fff; margin-top: 5px; font-size: 1.5rem; }

/* Sections */
.section-pad { padding: 5rem 0; position: relative; z-index: 5; }
.section-header { text-align: center; margin-bottom: 4rem; }
.about-grid, .eco-grid, .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.feature-list li { margin: 10px 0; font-size: 1.2rem; color: #ddd; }
.feature-list i { color: var(--secondary); margin-right: 10px; }
.big-icon { font-size: 10rem; color: rgba(0, 230, 118, 0.1); position: absolute; }
.circle-spin { position: absolute; width: 200px; height: 200px; border: 2px dashed var(--secondary); border-radius: 50%; animation: spin 20s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.feature-card .icon-box { font-size: 2.5rem; color: var(--secondary); margin-bottom: 1rem; }
.eco-item h3 i { margin-right: 10px; }
.large-item { grid-column: span 2; }

/* NFT */
.nft-scroller { display: flex; gap: 2rem; overflow-x: auto; padding-bottom: 2rem; }
.nft-card { min-width: 300px; }
.nft-placeholder { height: 200px; background: linear-gradient(45deg, var(--primary), #000); border-radius: 10px; margin-bottom: 1rem; box-shadow: inset 0 0 20px #000; }
.nft-info { display: flex; justify-content: space-between; margin-bottom: 1rem; }
.price { color: var(--secondary); font-weight: bold; }

/* Chart */
.chart-container { height: 400px; width: 100%; }

/* Partners */
.audit-badges { display: flex; gap: 1rem; margin-top: 1.5rem; }
.badge { padding: 0.5rem 1.5rem; border-color: var(--primary); color: var(--primary); font-weight: bold; }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.partner-logo { border: 1px solid var(--secondary); padding: 1rem; text-align: center; color: var(--secondary); font-weight: bold; font-family: var(--font-head); opacity: 0.7; }

/* Team */
.team-img { width: 100px; height: 100px; border-radius: 50%; background: #111; border: 2px solid var(--secondary); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem auto; font-size: 2rem; color: var(--primary); }
.team-card { text-align: center; }
.role { font-size: 0.9rem; color: var(--secondary); }

/* FAQ */
.accordion-item { margin-bottom: 1rem; cursor: pointer; }
.accordion-header { display: flex; justify-content: space-between; align-items: center; }
.accordion-header h4 { color: #fff; font-size: 1.1rem; }
.accordion-body { max-height: 0; overflow: hidden; transition: 0.3s; opacity: 0; margin-top: 0; color: #ddd; }
.accordion-item.active .accordion-body { max-height: 100px; opacity: 1; margin-top: 1rem; }
.accordion-item.active i { transform: rotate(180deg); color: var(--secondary); }

/* Footer (Updated to match Tokenomics) */
footer { background: #000; padding: 4rem 0 2rem; border-top: 2px solid var(--primary); position: relative; z-index: 10; }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 4rem; }
.footer-brand { max-width: 300px; }
.footer-brand h2 { font-family: 'Orbitron', sans-serif; font-size: 2.5rem; color: var(--primary); margin-bottom: 0.5rem; letter-spacing: 2px; }
.footer-brand p { color: #888; font-size: 1rem; margin-bottom: 0.5rem; }
.footer-brand p:last-child { color: var(--secondary) !important; font-weight: bold; margin-top: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 1rem; }
.footer-links a { color: #aaa !important; font-size: 1rem; transition: 0.3s; text-transform: capitalize; }
.footer-links a:hover { color: var(--primary) !important; padding-left: 5px; }
.footer-form { max-width: 400px; }
.footer-form h4 { font-family: 'Orbitron', sans-serif; color: var(--primary) !important; 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); color: #fff !important; padding: 12px 15px; width: 250px; outline: none; font-family: 'Rajdhani', sans-serif; }
.input-group .btn { background: var(--primary); color: #000 !important; border: none; padding: 12px 25px; font-family: 'Orbitron', sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; border-radius: 0; clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%); transition: 0.3s; }
.input-group .btn:hover { background: var(--secondary); box-shadow: 0 0 15px var(--secondary); transform: translateY(-2px); }
.copyright { text-align: center; color: #555 !important; font-size: 0.9rem; padding-top: 3rem; margin-top: 0; }

/* Responsive */
@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, .input-group .btn { width: 100%; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .about-grid, .eco-grid, .grid-2 { grid-template-columns: 1fr; }
    .large-item { grid-column: span 1; }
    .hero-stats { flex-direction: column; align-items: flex-start; }
}