/* ========================================
   CLAUDE6900 - CHAOS EDITION
   SPX6900-Inspired Aesthetic
   ======================================== */

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables */
:root {
    --bg-black: #000000;
    --bg-dark: #0a0a0a;
    --text-white: #ffffff;
    --text-gray: #888888;
    --red: #ff0000;
    --green: #00ff00;
    --orange: #ff6600;
    --cyan: #00ffff;
    --yellow: #ffff00;
    --blue: #0066ff;
    --purple: #9900ff;
    
    --font-mono: 'IBM Plex Mono', monospace;
    --font-pixel: 'Press Start 2P', cursive;
    --font-retro: 'VT323', monospace;
    --font-news: 'Roboto Condensed', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-black);
    color: var(--text-white);
    font-family: var(--font-news);
    overflow-x: hidden;
    min-height: 100vh;
    cursor: crosshair;
}

/* Matrix Rain Canvas */
#matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
}

/* Formula Layer */
.formula-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.floating-formula {
    position: absolute;
    font-family: var(--font-retro);
    color: var(--cyan);
    opacity: 0.3;
    font-size: 1.2rem;
    animation: float-formula 20s linear infinite;
    white-space: nowrap;
}

@keyframes float-formula {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* ========================================
   NAVIGATION - CHAOS STYLE
   ======================================== */
.nav-chaos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: var(--bg-black);
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-logo {
    font-family: var(--font-pixel);
    font-size: 1.2rem;
    color: var(--text-white);
    letter-spacing: 2px;
    text-shadow: 2px 2px 0 var(--cyan), -2px -2px 0 var(--red);
}

.nav-links-chaos {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-links-chaos a {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-white);
    text-decoration: none;
    padding: 5px 10px;
    transition: all 0.2s;
}

.nav-links-chaos a:hover {
    background: var(--text-white);
    color: var(--bg-black);
}

.nav-links-chaos .highlight-red { color: var(--red); border: 1px solid var(--red); }
.nav-links-chaos .highlight-green { color: var(--green); border: 1px solid var(--green); }
.nav-links-chaos .highlight-orange { color: var(--orange); border: 1px solid var(--orange); }

.separator {
    color: #333;
}

.nav-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: scale(1.3);
}

/* ========================================
   TICKER BAR
   ======================================== */
.ticker-bar {
    background: var(--bg-black);
    border-bottom: 2px solid var(--green);
    border-top: 2px solid var(--green);
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
}

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

.ticker-content:hover {
    animation-play-state: paused;
}

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

.ticker-item {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0 40px;
    border-right: 1px solid #333;
}

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

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

/* ========================================
   MAIN CHAOS GRID
   ======================================== */
.chaos-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 1fr;
    gap: 0;
    min-height: 70vh;
    border-bottom: 1px solid #333;
}

/* ========================================
   AI VISUAL SECTION (Left)
   ======================================== */
.ai-visual-section {
    background: var(--bg-black);
    border-right: 1px solid #333;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.ai-head-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
}

.formula-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 20px;
    font-family: var(--font-retro);
    font-size: 1.1rem;
    color: var(--cyan);
    opacity: 0.4;
}

.formula-bg span {
    animation: formula-flicker 3s infinite;
}

.formula-bg span:nth-child(odd) {
    text-align: right;
    animation-delay: 0.5s;
}

@keyframes formula-flicker {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
    75% { opacity: 0.3; }
}

.ai-head {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 250px;
}

.head-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--cyan) 0%, var(--blue) 30%, transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.head-silhouette {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 160px;
    background: linear-gradient(180deg, #111 0%, #000 100%);
    border-radius: 50% 50% 45% 45%;
    box-shadow: 
        0 0 60px var(--cyan),
        inset 0 0 30px rgba(0, 255, 255, 0.2);
}

.brain-pulse {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 60px;
    background: radial-gradient(ellipse, var(--cyan) 0%, transparent 70%);
    border-radius: 50%;
    animation: brain-pulse 1.5s ease-in-out infinite;
}

@keyframes brain-pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.neural-sparks {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.spark {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--cyan);
    border-radius: 50%;
    animation: spark-fly 2s ease-out infinite;
}

@keyframes spark-fly {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0) translateY(-100px); }
}

.ai-logo-text {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-family: var(--font-pixel);
}

.logo-c {
    font-size: 3rem;
    color: var(--cyan);
    text-shadow: 0 0 20px var(--cyan);
    display: block;
}

.logo-num {
    font-size: 2.5rem;
    color: var(--text-white);
    text-shadow: 0 0 10px var(--text-white);
}

.explainer-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-gray);
    margin-top: 20px;
    text-align: center;
}

/* ========================================
   HEADLINES SECTION (Center)
   ======================================== */
.headlines-section {
    background: var(--bg-black);
    padding: 30px;
    border-right: 1px solid #333;
}

.headline-block {
    margin-bottom: 30px;
}

.headline-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-gray);
    display: block;
    margin-bottom: 10px;
}

.main-headline h1 {
    font-family: var(--font-news);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-white);
}

.headline-body {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 15px;
    text-align: justify;
}

.headline-body strong {
    color: var(--text-white);
}

.sub-headlines {
    border-top: 1px solid #333;
    padding-top: 20px;
}

.sub-headline-link {
    display: block;
    font-family: var(--font-news);
    font-size: 0.95rem;
    color: var(--text-white);
    text-decoration: none;
    padding: 15px 0;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    padding-left: 10px;
    margin-left: -10px;
}

.sub-headline-link:hover {
    color: var(--cyan);
    border-left-color: var(--cyan);
    background: rgba(0, 255, 255, 0.05);
}

.small-tag {
    display: block;
    font-size: 0.7rem;
    color: var(--text-gray);
    margin-bottom: 5px;
}

.sub-headline-divider {
    height: 1px;
    background: linear-gradient(90deg, #333 0%, transparent 100%);
}

/* ========================================
   WTF SECTION (Right)
   ======================================== */
.wtf-section {
    background: var(--bg-black);
    padding: 30px;
}

.wtf-box {
    text-align: center;
    margin-bottom: 30px;
}

.wtf-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-gray);
    display: block;
    margin-bottom: 20px;
}

.token-coin {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto;
    animation: coin-float 3s ease-in-out infinite;
}

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

.coin-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(255, 140, 0, 0.6));
    transition: all 0.3s ease;
}

.coin-image:hover {
    filter: drop-shadow(0 0 50px rgba(255, 140, 0, 0.9));
    transform: scale(1.05);
}

.noosphere-box {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #333;
    background: rgba(255, 255, 255, 0.02);
}

.noosphere-box h3 {
    font-family: var(--font-news);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.noosphere-box p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 10px;
}

.everywhere {
    color: var(--text-white) !important;
    font-size: 1rem !important;
}

/* Chart Container */
.chart-container {
    background: #0a0a0a;
    border: 1px solid #222;
    padding: 15px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.chart-title {
    color: var(--text-gray);
}

.chart-price {
    font-weight: 700;
}

#ai-chart {
    width: 100%;
    height: 150px;
    background: #050505;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-gray);
}

/* ========================================
   BOTTOM CHAOS - MANIFESTO & NEWS
   ======================================== */
.bottom-chaos {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    border-bottom: 1px solid #333;
}

.manifesto-section {
    background: var(--bg-dark);
    padding: 40px;
    border-right: 1px solid #333;
}

.manifesto-title {
    font-family: var(--font-pixel);
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--cyan);
}

.manifesto-text p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 15px;
    text-align: justify;
}

.manifesto-text strong {
    color: var(--cyan);
}

.news-section {
    background: var(--bg-black);
    padding: 40px;
    position: relative;
}

.news-title {
    font-family: var(--font-news);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.news-body {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 15px;
    text-align: justify;
}

.powell-image {
    position: absolute;
    right: 40px;
    bottom: 40px;
    width: 200px;
    height: 150px;
    background: #111;
    border: 1px solid #333;
}

.powell-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.powell-text {
    font-size: 0.7rem;
    color: var(--text-gray);
    margin-top: 10px;
}

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background: #050505;
    border-bottom: 2px solid var(--green);
    flex-wrap: wrap;
    gap: 15px;
}

.stat-item {
    text-align: center;
}

.stat-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-gray);
    margin-bottom: 5px;
}

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

/* ========================================
   CONTRACT BAR
   ======================================== */
.contract-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-black);
    border-bottom: 1px solid #333;
    flex-wrap: wrap;
}

.contract-label {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-gray);
}

.contract-address {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--cyan);
    background: #111;
    padding: 10px 20px;
    border: 1px solid var(--cyan);
}

.copy-btn {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    padding: 10px 20px;
    background: var(--green);
    color: var(--bg-black);
    border: none;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: var(--cyan);
    transform: scale(1.05);
}

/* ========================================
   FLOATING CHAOS ELEMENTS
   ======================================== */
.floating-chaos {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
}

.chaos-text {
    position: absolute;
    font-family: var(--font-pixel);
    font-size: 0.7rem;
    color: var(--cyan);
    opacity: 0.3;
    animation: chaos-float 10s ease-in-out infinite;
    text-shadow: 0 0 10px var(--cyan);
}

.chaos-emoji {
    position: absolute;
    font-size: 2rem;
    opacity: 0.2;
    animation: chaos-spin 15s linear infinite;
}

@keyframes chaos-float {
    0%, 100% { transform: translateY(0) rotate(-5deg); opacity: 0.3; }
    50% { transform: translateY(-20px) rotate(5deg); opacity: 0.5; }
}

@keyframes chaos-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   GLITCH OVERLAY
   ======================================== */
.glitch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
}

.glitch-overlay.active {
    animation: glitch-flash 0.1s ease;
}

@keyframes glitch-flash {
    0% { opacity: 0; }
    50% { opacity: 1; background-color: rgba(0, 255, 255, 0.03); }
    100% { opacity: 0; }
}

/* ========================================
   SCANLINES EFFECT
   ======================================== */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1),
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 3px
    );
    z-index: 9998;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .chaos-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .wtf-section {
        grid-column: span 2;
    }
    
    .powell-image {
        position: static;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .chaos-grid {
        grid-template-columns: 1fr;
    }
    
    .wtf-section {
        grid-column: span 1;
    }
    
    .bottom-chaos {
        grid-template-columns: 1fr;
    }
    
    .nav-chaos {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .nav-links-chaos {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .floating-chaos {
        display: none;
    }
    
    .stats-bar {
        flex-direction: column;
        align-items: center;
    }
    
    .contract-bar {
        flex-direction: column;
    }
    
    .contract-address {
        font-size: 0.6rem;
        word-break: break-all;
        text-align: center;
    }
}

/* ========================================
   CUSTOM SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-black);
}

::-webkit-scrollbar-thumb {
    background: var(--cyan);
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--green);
}

/* Selection */
::selection {
    background: var(--cyan);
    color: var(--bg-black);
}
