/*
Theme Name: Sekans Ultra - Nih Terminal
Author: Sekans Atölye
Description: Siberpunk Nöral Laboratuvar ve Sinaps Ağı
Version: 2.0
*/

@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Inter:wght@400;700;900&display=swap');

/* 1. TEMEL DEĞİŞKENLER (Senin Kotlin Kodundan Alındı) */
:root {
    --bg-dark: #0F1115;
    --surface-dark: #1C1F26;
    --nih-void: #010103;
    --nih-emerald: #059669;
    --nih-sacred-gold: #D4AF37;
    --nih-neon: #D946EF;
    --error-red: #EF4444;
    --text-primary: #F3F4F6;
    --text-secondary: #9CA3AF;
    --glitch-a: rgba(255, 0, 68, 0.6);
    --glitch-b: rgba(0, 255, 136, 0.6);
}

/* 2. NÖRAL TERMİNAL ZEMİNİ */
body { 
    background-color: var(--bg-dark); 
    color: var(--text-primary); 
    font-family: 'Inter', sans-serif; 
    margin: 0; 
    padding: 0; 
    line-height: 1.7;
    /* CRT Ekran Çizgileri Efekti */
    background-image: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 2px, 3px 100%;
}

::selection { background: var(--nih-emerald); color: var(--nih-void); }

/* 3. CAM TAVAN VE GLITCH LOGO */
.ultra-header { 
    background: rgba(1, 1, 3, 0.85); 
    border-bottom: 2px solid var(--nih-emerald); 
    box-shadow: 0 0 20px rgba(5, 150, 105, 0.2);
}

.ultra-logo a { 
    font-family: 'Share Tech Mono', monospace; 
    font-size: 2.2rem; 
    color: var(--text-primary); 
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
}

/* Koddaki "CyberGlitchText" Efektinin CSS Karşılığı */
.ultra-logo a:hover {
    animation: glitch-skew 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
    color: var(--nih-emerald);
    text-shadow: -2px 0 var(--glitch-a), 2px 0 var(--glitch-b);
}

/* 4. SİNAPS KARTLARI (Koddaki Glitch Border ve Surface Mantığı) */
.gsap-card, article { 
    background: var(--surface-dark) !important; 
    border: 1px solid rgba(5, 150, 105, 0.3) !important; 
    border-radius: 8px !important;
    position: relative;
    overflow: hidden;
}

.gsap-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(5, 150, 105, 0.1), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.gsap-card:hover::before { left: 125%; }
.gsap-card:hover {
    border-color: var(--nih-emerald) !important;
    box-shadow: 0 0 25px rgba(5, 150, 105, 0.15);
}

.gsap-card h2, article h1, article h2 { 
    font-family: 'Share Tech Mono', monospace; 
    color: var(--nih-sacred-gold) !important; 
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 5. NİH ANALİZ MATRİSİ (Koddaki Lab Kartları) */
.ultra-analysis-matrix {
    background: var(--nih-void) !important;
    border: 2px solid var(--nih-emerald) !important;
    border-radius: 16px !important;
}

.ultra-analysis-matrix span:last-child {
    background: var(--nih-emerald) !important;
    color: var(--nih-void) !important;
    font-family: 'Share Tech Mono', monospace;
    font-weight: 900;
}

/* Glitch Animasyonu Keyframes */
@keyframes glitch-skew {
  0% { transform: skew(0deg); }
  20% { transform: skew(-10deg); }
  40% { transform: skew(10deg); }
  60% { transform: skew(-5deg); }
  80% { transform: skew(5deg); }
  100% { transform: skew(0deg); }
}