/* WILD LEDGER - CYBERPUNK THEME - Part 1 */
:root {
    --bg-dark: #030308;
    --bg-panel: #0a0a12;
    --bg-card: #0f0f1a;
    --neon-green: #39ff14;
    --neon-cyan: #00f3ff;
    --neon-pink: #ff0099;
    --neon-purple: #bf00ff;
    --neon-orange: #ff6600;
    --text-primary: #ffffff;
    --text-secondary: #b8b8d0;
    --text-muted: #6a6a8a;
    --grid-color: rgba(0, 243, 255, 0.03);
    --border-glow: rgba(0, 243, 255, 0.3);
    --gradient-cyber: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
    --gradient-nature: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Rajdhani', sans-serif; background-color: var(--bg-dark); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }

/* Responsive Tables & Code */
.table-wrapper { overflow-x: auto; margin-bottom: 20px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(0, 0, 0, 0.2); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; min-width: 500px; }
th, td { padding: 12px 15px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
th { background: rgba(0, 243, 255, 0.05); color: var(--neon-cyan); font-family: 'Orbitron', sans-serif; font-size: 0.9rem; }
td { font-family: 'Space Mono', monospace; font-size: 0.85rem; color: var(--text-secondary); }
pre { background: rgba(0, 0, 0, 0.3); padding: 15px; border-radius: 8px; overflow-x: auto; border: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 20px; }
code { font-family: 'Space Mono', monospace; color: var(--neon-pink); }

/* Background Effects */
.grid-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(var(--grid-color) 1px, transparent 1px), linear-gradient(90deg, var(--grid-color) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; z-index: -2; }
.scanlines { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15) 1px, transparent 1px, transparent 2px); pointer-events: none; z-index: 9999; opacity: 0.4; }
.particles { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; overflow: hidden; }
.particle { position: absolute; width: 4px; height: 4px; background: var(--neon-cyan); border-radius: 50%; opacity: 0.6; animation: float-particle 15s infinite linear; }
@keyframes float-particle { 0% { transform: translateY(100vh) translateX(0); opacity: 0; } 10% { opacity: 0.6; } 90% { opacity: 0.6; } 100% { transform: translateY(-100vh) translateX(100px); opacity: 0; } }

/* Navigation */
.nav-container { position: fixed; top: 0; left: 0; width: 100%; z-index: 10000; background: rgba(3, 3, 8, 0.85); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-glow); }
nav { max-width: 1400px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; height: 80px; }
.nav-logo { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.nav-logo img { height: 50px; filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.5)); }
.nav-logo-text { font-family: 'Orbitron', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--text-primary); text-shadow: 0 0 20px rgba(0, 243, 255, 0.5); }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a { font-family: 'Space Mono', monospace; font-size: 0.85rem; color: var(--text-secondary); text-decoration: none; text-transform: uppercase; letter-spacing: 1px; padding: 10px 0; position: relative; transition: color 0.3s ease; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--gradient-cyber); transition: width 0.3s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--neon-cyan); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; gap: 15px; }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 10px; position: relative; z-index: 10001; }
.mobile-menu-btn span { width: 25px; height: 2px; background: var(--neon-cyan); transition: all 0.3s ease; }

/* Buttons */
.btn { font-family: 'Orbitron', sans-serif; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; padding: 12px 28px; border: none; cursor: pointer; transition: all 0.3s ease; text-decoration: none; display: inline-block; }
.btn-outline { background: transparent; border: 1px solid var(--neon-cyan); color: var(--neon-cyan); }
.btn-outline:hover { background: rgba(0, 243, 255, 0.1); box-shadow: 0 0 30px rgba(0, 243, 255, 0.3); }
.btn-primary { background: var(--gradient-cyber); color: var(--bg-dark); box-shadow: 0 0 20px rgba(0, 243, 255, 0.3); }
.btn-primary:hover { box-shadow: 0 0 40px rgba(0, 243, 255, 0.5), 0 0 60px rgba(255, 0, 153, 0.3); transform: translateY(-2px); }
.btn-large { padding: 18px 45px; font-size: 1rem; }
.btn-nft { border-color: var(--neon-green); color: var(--neon-green); }
.btn-nft:hover { background: rgba(57, 255, 20, 0.1); box-shadow: 0 0 30px rgba(57, 255, 20, 0.4); border-color: var(--neon-green); color: var(--neon-green); }

/* Make top-right nav CTA buttons (Whitepaper / NFT / Launch App) slightly smaller */
.nav-cta .btn { font-size: 0.6rem; letter-spacing: 0.4px; padding: 6px 14px; }

/* Scroll To Top Button */
.scroll-top-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-glow);
    background: rgba(3, 3, 8, 0.9);
    color: var(--neon-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    z-index: 1100;
}

.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(0, 243, 255, 0.6);
}

.scroll-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Page Header */
.page-header { padding: 160px 40px 80px; text-align: center; background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-panel) 100%); }
.page-title { font-family: 'Orbitron', sans-serif; font-size: 4rem; font-weight: 900; margin-bottom: 20px; text-transform: uppercase; }
.page-subtitle { font-size: 1.3rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* Section Styles */
section { padding: 120px 40px; position: relative; }
.section-container { max-width: 1400px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 80px; }
.section-tag { font-family: 'Space Mono', monospace; font-size: 0.8rem; color: var(--neon-pink); text-transform: uppercase; letter-spacing: 3px; margin-bottom: 15px; }
.section-title { font-family: 'Orbitron', sans-serif; font-size: 3rem; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; }
.section-description { font-size: 1.2rem; color: var(--text-secondary); max-width: 700px; margin: 0 auto; }
.highlight { color: var(--neon-cyan); text-shadow: 0 0 30px rgba(0, 243, 255, 0.5); }
.highlight-green { color: var(--neon-green); }
.highlight-pink { color: var(--neon-pink); }
.highlight-purple { color: var(--neon-purple); }
.highlight-orange { color: var(--neon-orange); }
.highlight-cyan { color: var(--neon-cyan); }

/* CTA Section */
.cta-section { background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(0, 243, 255, 0.05) 50%, var(--bg-dark) 100%); text-align: center; }
.cta-content { max-width: 800px; margin: 0 auto; }
.cta-title { font-family: 'Orbitron', sans-serif; font-size: 3rem; font-weight: 700; margin-bottom: 25px; }
.cta-text { font-size: 1.3rem; color: var(--text-secondary); margin-bottom: 40px; }
.cta-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* Footer */
footer { background: var(--bg-panel); border-top: 1px solid var(--border-glow); padding: 80px 40px 40px; }
.footer-content { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; }
.footer-brand { max-width: 350px; }
.footer-logo { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.footer-logo img { height: 45px; }
.footer-logo-text { font-family: 'Orbitron', sans-serif; font-size: 1.3rem; font-weight: 700; }
.footer-description { font-size: 1rem; color: var(--text-secondary); margin-bottom: 25px; }
.footer-social { display: flex; gap: 15px; }
.footer-social a { width: 40px; height: 40px; border: 1px solid var(--border-glow); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); text-decoration: none; transition: all 0.3s ease; }
.footer-social a:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); box-shadow: 0 0 20px rgba(0, 243, 255, 0.3); }
.footer-column h4 { font-family: 'Orbitron', sans-serif; font-size: 1rem; font-weight: 600; margin-bottom: 25px; color: var(--neon-cyan); text-transform: uppercase; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 0.95rem; color: var(--text-secondary); text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--neon-cyan); }
.footer-bottom { max-width: 1400px; margin: 60px auto 0; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; align-items: center; }
.footer-copyright { font-family: 'Space Mono', monospace; font-size: 0.8rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 30px; }
.footer-legal a { font-size: 0.85rem; color: var(--text-muted); text-decoration: none; transition: color 0.3s ease; }
.footer-legal a:hover { color: var(--neon-cyan); }

/* Responsive */
@media (max-width: 1200px) {
    .footer-content { grid-template-columns: 1fr 1fr; }
}

/* Nav switches to hamburger up to tablets */
@media (max-width: 1024px) {
    nav { padding: 0 20px; }
    .nav-links, .nav-cta { display: none; }
    .mobile-menu-btn { display: flex; }

    .nav-container.nav-open {
        background: rgba(3, 3, 8, 0.97);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
    }

    .nav-container.nav-open nav {
        padding: 10px 20px 16px;
        flex-wrap: wrap;
        row-gap: 10px;
        height: auto !important;
    }

    .nav-container.nav-open .nav-links,
    .nav-container.nav-open .nav-cta {
        display: flex;
        width: 100%;
    }

    .nav-container.nav-open .nav-links {
        flex-direction: column;
        gap: 8px;
        margin-top: 8px;
    }

    .nav-container.nav-open .nav-cta {
        justify-content: flex-start;
        gap: 10px;
        margin-top: 8px;
    }

    .nav-container.nav-open .nav-links a {
        display: block;
    }
}

/* Content stacks only on smaller screens */
@media (max-width: 768px) {
    section { padding: 80px 20px; }
    .section-title { font-size: 2rem; }
    .page-title { font-size: 2.5rem; }
    .footer-content { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}
