:root {
    /* Default Dark Theme */
    --bg-primary: #050810;
    --bg-secondary: #0a0e1a;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-elevated: #1a1f35;
    --profit-green: #00ff88;
    --loss-red: #ff3366;
    --gold: #ffd700;
    --blue-neon: #00d4ff;
    --purple-glow: #a855f7;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-dim: #6b7280;
    --border: rgba(31, 41, 55, 0.5);
    --glow-green: rgba(0, 255, 136, 0.2);
    --glow-blue: rgba(0, 212, 255, 0.2);
    --glass: rgba(10, 14, 26, 0.85);
    --nav-bg: rgba(10, 14, 26, 0.9);
    --ticker-bg: rgba(0, 0, 0, 0.9);
    --overlay-bg: rgba(5, 8, 16, 0.95);
}

:root[data-theme="light"] {
    /* Light Theme */
    --bg-primary: #f0f2f5;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-elevated: #f8fafc;
    --profit-green: #059669;
    /* Darker green for white bg */
    --loss-red: #dc2626;
    /* Darker red */
    --gold: #d97706;
    /* Darker gold */
    --blue-neon: #0284c7;
    /* Darker blue */
    --purple-glow: #7c3aed;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-dim: #9ca3af;
    --border: #e5e7eb;
    --glow-green: rgba(5, 150, 105, 0.1);
    --glow-blue: rgba(2, 132, 199, 0.1);
    --glass: rgba(255, 255, 255, 0.9);
    --nav-bg: rgba(255, 255, 255, 0.9);
    --ticker-bg: #111827;
    --overlay-bg: rgba(255, 255, 255, 0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--profit-green) var(--bg-primary);
}

body {
    font-family: 'Saira', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}

/* --- Ticker Animation --- */
.ticker-wrap {
    position: fixed;
    top: 0;
    width: 100%;
    height: 30px;
    background: var(--ticker-bg);
    border-bottom: 1px solid var(--border);
    z-index: 2000;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.ticker {
    display: flex;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 2rem;
    color: var(--gold);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.ticker-val {
    margin-left: 10px;
    color: var(--text-primary);
    font-family: 'Saira', sans-serif;
    font-weight: 400;
    font-size: 0.8rem;
}

.ticker-up {
    color: var(--profit-green);
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* --- Trading Theme Backgrounds --- */
.bg-candles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.05;
    background-image:
        linear-gradient(to right, transparent 49%, var(--text-dim) 50%, transparent 51%),
        linear-gradient(to bottom, transparent 49%, var(--text-dim) 50%, transparent 51%);
    background-size: 50px 50px;
    pointer-events: none;
}

.market-pulse {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--loss-red), var(--gold), var(--profit-green));
    box-shadow: 0 0 20px var(--profit-green);
    z-index: 100;
}

/* --- Trading Download Overlay --- */
.trading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    backdrop-filter: blur(5px);
}

.trading-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.order-ticket {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 4px solid var(--profit-green);
    width: 380px;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 0 60px rgba(0, 255, 136, 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* In light mode, remove the subtle white gradient */
:root[data-theme="light"] .order-ticket::before {
    display: none;
}

:root[data-theme="dark"] .order-ticket::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.03) 50%, transparent 52%);
    background-size: 15px 15px;
    pointer-events: none;
}

.order-type {
    color: var(--profit-green);
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 15px var(--glow-green);
}

.order-asset {
    color: var(--text-secondary);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
    width: 100%;
}

.price-display {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    transition: transform 0.1s;
    display: inline-block;
    line-height: 1;
}

.pnl-display {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    transition: color 0.3s;
    font-weight: 600;
}

.order-status {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    color: var(--gold);
    min-height: 1.5rem;
    letter-spacing: 1px;
    background: rgba(255, 215, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid var(--gold);
}

.blink {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.pulse-green {
    animation: pulse-green 0.5s ease-in-out infinite alternate;
}

@keyframes pulse-green {
    from {
        text-shadow: 0 0 10px var(--profit-green);
        transform: scale(1);
    }

    to {
        text-shadow: 0 0 30px var(--profit-green);
        transform: scale(1.1);
    }
}

.bg-chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    opacity: 0.15;
    z-index: -1;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 350 100' preserveAspectRatio='none'%3E%3Cpath d='M0,100 L0,80 L20,85 L40,60 L60,70 L80,40 L100,50 L120,20 L140,40 L160,10 L180,30 L200,5 L220,25 L240,15 L350,0 L350,100 Z' fill='%2300ff88'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
}

/* --- Navigation Bar --- */
.nav-dock {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1400px;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-content {
    background: rgba(5, 8, 16, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.5rem;
}

/* MOVED MOBILE NAV TO BOTTOM OF FILE FOR SPECIFICITY */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
    text-shadow: 0 0 20px var(--glow-green);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.8rem;
    -webkit-text-fill-color: initial;
    filter: drop-shadow(0 0 10px var(--profit-green));
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    padding: 0.6rem 1rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.nav-btn:hover,
.nav-btn.active {
    color: var(--profit-green);
    background: rgba(0, 255, 136, 0.05);
    border-color: rgba(0, 255, 136, 0.2);
    box-shadow: 0 0 15px var(--glow-green);
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 8px;
    margin-left: 1rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle-btn:hover {
    color: var(--gold);
    border-color: var(--gold);
}

/* --- Sections General --- */
/* REFACTOR: .section and .section.active are for SPA. 
   For Multi-page, we will just have the content visible by default.
   But keeping class names for compatibility if needed. */
.section {
    padding-top: 120px;
    /* Ensure content starts below header */
    padding-bottom: 4rem;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background: var(--profit-green);
    margin: 10px auto 0;
    box-shadow: 0 0 15px var(--profit-green);
}

/* --- Home/Hero --- */
.hero-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.05) 0%, transparent 70%);
    padding-bottom: 4rem;
}

.hero-big-text {
    font-size: clamp(3rem, 8vw, 6rem);
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(180deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
    margin-top: 4rem;
}

.hero-stat-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.hero-stat-card:hover::before {
    transform: scaleX(1);
}

.daily-progress-container {
    width: 100%;
    max-width: 1200px;
    margin-top: 4rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.daily-title {
    text-align: left;
    font-family: 'Orbitron';
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

.daily-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.daily-item {
    text-align: center;
}

.daily-ea-name {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.2rem;
}

.daily-val {
    font-family: 'IBM Plex Mono';
    font-weight: 700;
    font-size: 1.1rem;
}

/* --- Cards --- */
.grid-6 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

@media (min-width: 1200px) {
    .grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--profit-green);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.tool-card,
.service-card {
    position: relative;
    overflow: hidden;
}

.tool-card::before,
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: left 0.6s ease;
}

.tool-card:hover::before,
.service-card:hover::before {
    left: 100%;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge.free {
    background: rgba(0, 255, 136, 0.1);
    color: var(--profit-green);
    border: 1px solid var(--profit-green);
}

.badge.premium {
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold);
    border: 1px solid var(--gold);
}

.badge.prop {
    background: rgba(0, 212, 255, 0.1);
    color: var(--blue-neon);
    border: 1px solid var(--blue-neon);
}

.badge.unavailable {
    background: rgba(255, 51, 102, 0.1);
    color: var(--loss-red);
    border: 1px solid var(--loss-red);
}

.card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.data-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

.data-label {
    color: var(--text-dim);
}

.data-val {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--profit-green);
}

.btn-group {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.btn {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.85rem;
}

.btn-green {
    background: linear-gradient(45deg, #00995e, var(--profit-green));
    color: #000;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.btn-green:hover {
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.6);
    transform: scale(1.02);
}

.btn-blue {
    background: linear-gradient(45deg, #007799, var(--blue-neon));
    color: #000;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-dim);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.btn-disabled {
    background: rgba(128, 128, 128, 0.1);
    color: var(--text-dim);
    cursor: not-allowed;
    border: 1px solid transparent;
}

.warning-box {
    background: rgba(255, 51, 102, 0.1);
    border: 1px solid var(--loss-red);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.warning-icon {
    color: var(--loss-red);
    font-size: 2rem;
}

.warning-text h4 {
    color: var(--loss-red);
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', sans-serif;
}

.note-box {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--gold);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--gold);
    font-weight: 600;
}

/* --- Prop Firm Section Styles --- */
.prop-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (max-width: 900px) {
    .prop-intro-grid {
        grid-template-columns: 1fr;
    }
}

.prop-step-card {
    background: var(--bg-elevated);
    padding: 2rem;
    border-radius: 12px;
    border-left: 3px solid var(--blue-neon);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.prop-step-num {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-dim);
    opacity: 0.2;
    margin-bottom: 1rem;
    font-family: 'Orbitron';
}

.prop-certificate {
    background: linear-gradient(135deg, #111, #222);
    border: 2px solid var(--gold);
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    text-align: center;
    margin: 1rem auto;
    max-width: 400px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

:root[data-theme="light"] .prop-certificate {
    background: linear-gradient(135deg, #fff, #f3f4f6);
}

.cert-title {
    font-family: 'Orbitron';
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 0.5rem;
}

.cert-body {
    color: var(--text-primary);
    font-family: serif;
    font-style: italic;
    margin-bottom: 2rem;
}

.cert-stamp {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--profit-green);
    color: var(--profit-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    transform: rotate(-15deg);
    font-size: 1.2rem;
    margin: 0 auto;
}


/* --- Premium Layout --- */
.premium-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (max-width: 1024px) {
    .premium-layout {
        grid-template-columns: 1fr;
    }
}

.premium-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--gold);
    border-radius: 16px;
    padding: 2rem;
    height: fit-content;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

.premium-action-panel {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    height: fit-content;
}

.premium-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-box {
    background: var(--bg-elevated);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.stat-box.highlight {
    border-color: var(--profit-green);
    background: rgba(0, 255, 136, 0.05);
}

.chart-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    /* Increase height for chart */
    min-height: 400px;
}

.chart-canvas {
    width: 100% !important;
    height: 350px !important;
}

.chart-controls {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.chart-btn {
    background: transparent;
    border: 1px solid var(--text-dim);
    color: var(--text-dim);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    font-family: 'Orbitron', sans-serif;
}

/* Scroll Reveal Effect */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.chart-btn.active,
.chart-btn:hover {
    border-color: var(--profit-green);
    color: var(--profit-green);
    background: rgba(0, 255, 136, 0.1);
}

.trades-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.trade-row {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    align-items: center;
    transition: 0.2s;
}

.trade-row:hover {
    background: rgba(128, 128, 128, 0.05);
}

.trade-type {
    font-weight: 900;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.type-buy {
    color: var(--profit-green);
    background: rgba(0, 255, 136, 0.1);
}

.type-sell {
    color: var(--loss-red);
    background: rgba(255, 51, 102, 0.1);
}

.profit-val {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
}

.pagination-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.page-dot {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Orbitron', sans-serif;
    color: var(--text-secondary);
}

.page-dot.active {
    background: var(--profit-green);
    color: #000;
    box-shadow: 0 0 15px var(--glow-green);
}

.crypto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.crypto-card {
    background: var(--bg-elevated);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border);
}

.broker-list {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.broker-tag {
    display: inline-block;
    background: rgba(128, 128, 128, 0.1);
    border: 1px solid var(--border);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    margin: 0.2rem;
    color: var(--text-secondary);
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 255, 136, 0.1);
    color: var(--profit-green);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-left: 10px;
    border: 1px solid var(--profit-green);
}

/* SEO Visible Footer (Replaces hidden block) */
.seo-footer {
    margin-top: 4rem;
    padding: 3rem 1rem;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.seo-footer h5 {
    color: var(--text-primary);
    font-family: 'Orbitron';
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.seo-link {
    color: var(--text-dim);
    text-decoration: none;
    border-bottom: 1px dotted var(--text-dim);
    transition: 0.2s;
}

.seo-link:hover {
    color: var(--profit-green);
    border-color: var(--profit-green);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-dock.closed .nav-links {
        display: none;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }

    .hero-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .premium-layout {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .chart-controls {
        justify-content: center;
    }

    .ticker-wrap {
        display: none;
    }

    .nav-dock {
        top: 20px;
    }

    .theme-toggle-btn {
        margin-left: 0;
        margin-top: 1rem;
    }
}

/* --- ROBUST MOBILE NAV FIX --- */
@media (max-width: 1100px) {
    .nav-content {
        padding: 0.8rem 1.5rem;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 1rem;
        gap: 0.5rem;
        margin-top: 0.5rem;
        display: none !important;
        /* FORCE HIDDEN */
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex !important;
        /* FORCE VISIBLE ON TOGGLE */
        animation: slideDown 0.3s ease-out forwards;
    }

    .nav-toggle {
        display: block !important;
    }

    .nav-btn {
        width: 100%;
        text-align: center;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.03);
    }
}

/* --- WARNINGS SECTION STYLES --- */
.warnings-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.warning-box {
    background: rgba(20, 10, 10, 0.6);
    border: 1px solid var(--loss-red);
    padding: 1.5rem;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.warning-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 59, 48, 0.2);
}

.warning-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--loss-red);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.warning-text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.highlight-red {
    color: var(--loss-red);
    font-weight: bold;
    text-decoration: underline;
}

.link-gold {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px dotted var(--gold);
}

/* Glitch Effect */
.glitch-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 59, 48, 0.1), transparent);
    animation: glitch-anim 3s infinite linear;
}

@keyframes glitch-anim {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* Terminal Effect */
.terminal-effect {
    border-color: var(--profit-green);
    background: rgba(0, 20, 0, 0.6);
}

.terminal-effect .warning-header {
    color: var(--profit-green);
}

.blink-text {
    animation: blink 1s step-end infinite;
    color: var(--loss-red);
    font-weight: 900;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Neon Effect */
.neon-effect {
    border-color: var(--gold);
    background: rgba(20, 20, 0, 0.4);
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.1);
}

.neon-effect .warning-header {
    color: var(--gold);
    text-shadow: 0 0 5px var(--gold);
}

.neon-effect:hover {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

/* Scrollbar styling for any scrolling elements */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-dim);
}