/* ===== CSS Variables ===== */
:root {
    --bg-primary: #0a0f1e;
    --bg-secondary: #0f1628;
    --bg-card: #111827;
    --bg-card-hover: #1a2235;
    --accent: #ffd700;
    --accent-dark: #b8860b;
    --accent-light: #ffe566;
    --teal: #16c79a;
    --teal-dark: #0ea87a;
    --blue: #3b82f6;
    --red: #e94560;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: #1e2a3a;
    --border-gold: rgba(255,215,0,0.3);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.6);
    --shadow-gold: 0 0 20px rgba(255,215,0,0.2);
    --gradient-gold: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
    --gradient-dark: linear-gradient(135deg, #0a0f1e 0%, #0f1628 100%);
    --gradient-card: linear-gradient(135deg, #111827 0%, #1a2235 100%);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s ease;
    --font-main: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-light); }
ul { list-style: none; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    color: var(--text-primary);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); font-weight: 600; }
p { color: var(--text-secondary); margin-bottom: 1rem; }
.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Container ===== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-wide { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--gradient-gold);
    color: #0a0f1e;
    box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255,215,0,0.5);
    color: #0a0f1e;
}
.btn-secondary {
    background: var(--teal);
    color: #fff;
    box-shadow: 0 4px 15px rgba(22,199,154,0.3);
}
.btn-secondary:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    color: #fff;
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-primary);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline-gold {
    background: transparent;
    border: 1.5px solid var(--accent);
    color: var(--accent);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
}
.btn-outline-gold:hover { background: var(--accent); color: #0a0f1e; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.85rem; }

/* ===== Cards ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}
.card:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-gold);
    transform: translateY(-4px);
}
.card-gold {
    border-color: var(--border-gold);
    background: linear-gradient(135deg, #111827 0%, #1a1600 100%);
}

/* ===== Badges ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
}
.badge-gold { background: rgba(255,215,0,0.15); color: var(--accent); border: 1px solid var(--border-gold); }
.badge-green { background: rgba(22,199,154,0.15); color: var(--teal); border: 1px solid rgba(22,199,154,0.3); }
.badge-blue { background: rgba(59,130,246,0.15); color: var(--blue); border: 1px solid rgba(59,130,246,0.3); }
.badge-red { background: rgba(233,69,96,0.15); color: var(--red); border: 1px solid rgba(233,69,96,0.3); }

/* ===== Section ===== */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-tag {
    display: inline-block;
    background: rgba(255,215,0,0.1);
    color: var(--accent);
    border: 1px solid var(--border-gold);
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10,15,30,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.5rem;
    max-width: 1300px;
    margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo-coin { flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text-primary); line-height: 1.1; }
.logo-sub { font-size: 0.72rem; color: var(--accent); font-weight: 600; letter-spacing: 0.05em; }

.nav-menu { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
    padding: 0.5rem 0.85rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--accent); background: rgba(255,215,0,0.08); }

/* Ticker bar */
.ticker-bar {
    background: rgba(255,215,0,0.05);
    border-top: 1px solid var(--border-gold);
    padding: 0.35rem 1.5rem;
    overflow: hidden;
}
.ticker-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.78rem;
    white-space: nowrap;
    animation: tickerScroll 40s linear infinite;
}
@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ticker-item { color: var(--text-secondary); }
.ticker-item strong { color: var(--accent); }
.ticker-sep { color: var(--border); }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}
.mobile-menu-toggle:hover { border-color: var(--accent); color: var(--accent); }

/* ===== Footer ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
}
.footer-description { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.2rem; }
.footer-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.footer-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.footer-links li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.3rem 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.footer-links a { color: var(--text-secondary); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }
.footer-disclaimer {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    background: var(--gradient-gold);
    color: #0a0f1e;
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
    z-index: 999;
}
.back-to-top:hover { transform: translateY(-4px); }

/* ===== Divider ===== */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-gold), transparent); margin: 2rem 0; }

/* ===== Utility ===== */
.text-gold { color: var(--accent); }
.text-teal { color: var(--teal); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.w-full { width: 100%; }

/* ===== Body offset for fixed header ===== */
body { padding-top: 90px; }

/* ===== Glow effects ===== */
.glow-gold { box-shadow: 0 0 30px rgba(255,215,0,0.15); }
.glow-teal { box-shadow: 0 0 30px rgba(22,199,154,0.15); }

/* ===== Number highlight ===== */
.big-number {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .footer-content { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    body { padding-top: 80px; }
    .nav-menu { display: none; flex-direction: column; position: fixed; top: 80px; left: 0; right: 0; background: var(--bg-secondary); border-bottom: 1px solid var(--border); padding: 1rem; gap: 0.25rem; }
    .nav-menu.active { display: flex; }
    .mobile-menu-toggle { display: block; }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    .ticker-content { animation-duration: 25s; }
    .section { padding: 3rem 0; }
}
@media (max-width: 480px) {
    .btn-lg { padding: 0.875rem 1.5rem; }
}
