/* ============================================
   IZNOP 6900 - Ponzi Intelligence Protocol
   Colors: Metallic Silver, Gray, White Neon
   ============================================ */

   :root {
    /* Metallic Colors */
    --bg-dark: #0a0a0a;
    --bg-secondary: #141414;
    --bg-card: #1a1a1a;
    --bg-elevated: #222222;
    
    /* Silver/Gray Palette */
    --silver-bright: #e8e8e8;
    --silver-light: #c0c0c0;
    --silver-mid: #8a8a8a;
    --silver-dark: #4a4a4a;
    
    /* Neon White/Silver */
    --neon-white: #ffffff;
    --neon-glow: rgba(255, 255, 255, 0.8);
    --accent-primary: #d4d4d4;
    --accent-secondary: #b8b8b8;
    
    /* Status Colors */
    --green: #4ade80;
    --red: #ef4444;
    --yellow: #fbbf24;
    
    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background: var(--bg-dark);
    color: var(--silver-bright);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

.matrix-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.18;
    mix-blend-mode: screen;
}

.top-nav,
.ticker-bar,
.hero-section,
.staking-section,
.dashboard-section,
.disclaimer-section,
.footer {
    position: relative;
    z-index: 1;
}

/* ==================== NAVIGATION ==================== */
.top-nav {
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--silver-dark);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--neon-white);
    text-shadow: 0 0 20px var(--neon-glow);
    letter-spacing: 2px;
}

.logo-sub {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-btn {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--silver-light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.nav-btn:hover {
    color: var(--neon-white);
    border-color: var(--silver-mid);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.nav-btn-accent {
    background: linear-gradient(135deg, var(--silver-light), var(--silver-mid));
    color: var(--bg-dark);
    border: none;
    font-weight: 800;
}

.nav-btn-accent:hover {
    background: linear-gradient(135deg, var(--neon-white), var(--silver-light));
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-live {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.wallet-btn {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, var(--silver-light), var(--silver-dark));
    color: var(--bg-dark);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.wallet-btn:hover {
    background: linear-gradient(135deg, var(--neon-white), var(--silver-light));
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.4);
}

/* ==================== TICKER ==================== */
.ticker-bar {
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--silver-dark);
    overflow: hidden;
    padding: 0.8rem 0;
}

.ticker-track {
    display: flex;
}

.ticker-content {
    display: flex;
    gap: 3rem;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--silver-mid);
    white-space: nowrap;
}

.ticker-item.highlight {
    color: var(--neon-white);
    font-weight: 800;
}

.ticker-price {
    margin-left: 0.5rem;
    font-weight: 700;
}

.ticker-price.green { color: var(--green); }
.ticker-price.red { color: var(--red); }

/* ==================== HERO SECTION ==================== */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    padding: 3rem 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

/* LEFT FEED */
.hero-left {
    background: var(--bg-card);
    border: 1px solid var(--silver-dark);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feed-container {
    display: flex;
    flex-direction: column;
}

.feed-header {
    background: var(--bg-elevated);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--silver-dark);
}

.feed-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--neon-white);
    letter-spacing: 1px;
}

.feed-status {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feed-log {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    max-height: 860px;
    min-height: 720px;
}

.feed-row {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    padding: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: grid;
    grid-template-columns: auto auto 1fr auto auto;
    gap: 0.75rem;
    align-items: center;
    color: var(--silver-mid);
}

.feed-time {
    color: var(--silver-dark);
}

.feed-icon {
    font-size: 1rem;
}

.feed-agent {
    color: var(--silver-light);
    font-weight: 600;
}

.feed-action {
    color: var(--silver-mid);
}

.feed-value {
    font-weight: 700;
    text-align: right;
}

.feed-value.up { color: var(--green); }
.feed-value.down { color: var(--red); }
.feed-value.neutral { color: var(--accent-primary); }

/* CENTER */
.hero-center {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.center-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 2px solid var(--silver-dark);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
}

.center-video-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--silver-dark);
    background: #000;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.05);
}

.center-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    background: #000;
}

.hero-logo {
    width: 200px;
    height: 200px;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.6));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    color: var(--neon-white);
    text-shadow: 0 0 40px var(--neon-glow);
    letter-spacing: 4px;
    margin: 0;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-primary);
    letter-spacing: 3px;
}

.hero-center-content {
    background: var(--bg-card);
    border: 1px solid var(--silver-dark);
    border-radius: 8px;
    padding: 2rem;
}

.hero-body {
    font-size: 1.1rem;
    color: var(--silver-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-pills {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.f-pill {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--silver-dark);
    border-radius: 20px;
    color: var(--silver-light);
}

.hero-quote {
    font-family: var(--font-display);
    font-size: 1rem;
    font-style: italic;
    color: var(--accent-primary);
    padding: 1rem;
    border-left: 3px solid var(--silver-mid);
    background: rgba(255, 255, 255, 0.02);
}

/* RIGHT SIDEBAR */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-video-card {
    background: var(--bg-card);
    border: 1px solid var(--silver-dark);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.05);
}

.hero-video {
    width: 100%;
    aspect-ratio: 9 / 16;
    display: block;
    object-fit: cover;
    background: #000;
}

.skill-download-card {
    background: var(--bg-card);
    border: 1px solid var(--silver-dark);
    border-radius: 10px;
    padding: 1.2rem 1.2rem 1.1rem;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.05);
}

.skill-download-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--neon-white);
    margin-bottom: 0.35rem;
}

.skill-download-sub {
    color: var(--silver-mid);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.9rem;
}

.skill-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 1px;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--bg-dark);
    background: linear-gradient(135deg, var(--silver-light), var(--silver-mid));
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.18);
    transition: all 0.25s ease;
}

.skill-download-btn:hover {
    background: linear-gradient(135deg, var(--neon-white), var(--silver-light));
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 255, 255, 0.35);
}

.sidebar-box {
    background: var(--bg-card);
    border: 1px solid var(--silver-dark);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.sidebar-coin-img {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}

.sidebar-caption {
    font-size: 0.95rem;
    color: var(--silver-mid);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.sidebar-tagline {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.accent-color {
    color: var(--accent-primary);
}

.green {
    color: var(--green);
}

.sidebar-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-right-cards {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--silver-dark);
    border-radius: 10px;
    padding: 1rem;
}

.side-card {
    background: var(--bg-card);
    border: 1px solid var(--silver-dark);
    border-radius: 6px;
    padding: 1rem;
}

.card-source {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--silver-light);
    display: block;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.side-card p {
    font-size: 0.9rem;
    color: var(--silver-mid);
    line-height: 1.5;
}

/* ==================== STAKING SECTION ==================== */
.staking-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--bg-secondary);
}

.stake-header {
    text-align: center;
    margin-bottom: 3rem;
}

.stake-header h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--neon-white);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px var(--neon-glow);
    letter-spacing: 2px;
}

.stake-header p {
    font-size: 1.1rem;
    color: var(--silver-mid);
}

.stake-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.stake-card {
    background: var(--bg-card);
    border: 2px solid var(--silver-dark);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.05);
}

.card-header {
    margin-bottom: 1.5rem;
}

.card-header h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--neon-white);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.balance-info {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--silver-mid);
}

.balance-info span:last-child {
    color: var(--accent-primary);
    font-weight: 700;
}

.input-group {
    position: relative;
    margin-bottom: 1rem;
}

.input-group input {
    width: 100%;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1rem;
    background: var(--bg-elevated);
    border: 2px solid var(--silver-dark);
    border-radius: 8px;
    color: var(--neon-white);
    outline: none;
    transition: all 0.3s;
}

.input-group input:focus {
    border-color: var(--silver-light);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.max-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    background: var(--silver-dark);
    color: var(--neon-white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.max-btn:hover {
    background: var(--silver-mid);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: var(--silver-mid);
    margin-bottom: 1.5rem;
}

.action-btn {
    width: 100%;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    padding: 1rem;
    background: linear-gradient(135deg, var(--silver-light), var(--silver-mid));
    color: var(--bg-dark);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.action-btn:hover {
    background: linear-gradient(135deg, var(--neon-white), var(--silver-light));
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 255, 255, 0.4);
}

.action-btn.secondary {
    background: var(--bg-elevated);
    color: var(--silver-light);
    border: 2px solid var(--silver-dark);
}

.action-btn.secondary:hover {
    background: var(--silver-dark);
    color: var(--neon-white);
    border-color: var(--silver-mid);
}

.btn-icon {
    font-size: 1.3rem;
}

/* STATS CARD */
.stats-card {
    background: var(--bg-card);
    border: 2px solid var(--silver-dark);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.05);
}

.stats-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--neon-white);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--silver-mid);
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--neon-white);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.action-buttons .action-btn {
    flex: 1;
}

/* ==================== DASHBOARD ==================== */
.dashboard-section {
    padding: 4rem 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.dash-header {
    text-align: center;
    margin-bottom: 3rem;
}

.dash-header h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--neon-white);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px var(--neon-glow);
    letter-spacing: 2px;
}

.dash-header p {
    font-size: 1.1rem;
    color: var(--silver-mid);
}

.dash-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* CONTRACT SECTION */
.contract-section {
    background: var(--bg-card);
    border: 2px solid var(--silver-dark);
    border-radius: 12px;
    padding: 2rem;
}

.contract-section h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-white);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.contract-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.contract-card {
    background: var(--bg-elevated);
    border: 1px solid var(--silver-dark);
    border-radius: 8px;
    padding: 1.5rem;
}

.contract-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.contract-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--silver-light);
    letter-spacing: 1px;
}

.contract-status {
    font-size: 0.8rem;
    color: var(--green);
}

.contract-address {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.contract-address code {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-primary);
    background: var(--bg-dark);
    padding: 0.5rem;
    border-radius: 4px;
    flex: 1;
}

.copy-btn {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s;
}

.copy-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.contract-desc {
    font-size: 0.9rem;
    color: var(--silver-mid);
    line-height: 1.5;
}

/* CHART SECTION */
.chart-section {
    background: var(--bg-card);
    border: 2px solid var(--silver-dark);
    border-radius: 12px;
    padding: 2rem;
}

.chart-section h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-white);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.chart-info {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--silver-mid);
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-elevated);
    border-radius: 6px;
    text-align: center;
}

.chart-info strong {
    color: var(--accent-primary);
    font-weight: 700;
}

#rewardsChart {
    width: 100%;
    height: auto;
}

/* ==================== DISCLAIMER ==================== */
.disclaimer-section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.disclaimer-box {
    background: var(--bg-card);
    border: 2px solid var(--yellow);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.disclaimer-box h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--yellow);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.disclaimer-box p {
    font-size: 1rem;
    color: var(--silver-mid);
    line-height: 1.8;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--bg-secondary);
    border-top: 2px solid var(--silver-dark);
    padding: 2rem;
    text-align: center;
    color: var(--silver-mid);
}

.footer p {
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .hero-section {
        grid-template-columns: 1fr;
    }

    .feed-log {
        max-height: 520px;
        min-height: 0;
    }
    
    .stake-container {
        grid-template-columns: 1fr;
    }
    
    .contract-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .contract-cards {
        grid-template-columns: 1fr;
    }
}