/* Logo Renkleri & Terminal Değişkenleri */
:root {
    --bg-dark: #0a0a0c;
    --panel-bg: #121216;
    --border-color: #2a2a35;
    
    /* Logo Accent Renkleri */
    --punk-yellow: #ffe600;
    --punk-red: #ff2b2b;
    --neon-green: #00ff66;
    --text-primary: #e6e6ed;
    --text-muted: #8a8a9e;

    --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    --vhs-height: 90px;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-mono);
    line-height: 1.6;
    padding-bottom: var(--vhs-height);
    min-height: 100vh;
}

/* Navigasyon Barı */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    background-color: var(--panel-bg);
    border-bottom: 2px solid var(--border-color);
}

.brand-logo {
    color: var(--punk-yellow);
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: -1px;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--neon-green);
}

/* Ana İçerik Konteyneri */
.main-container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

/* Scanline Efekti */
.scanlines {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.25) 50%
    );
    background-size: 100% 4px;
    z-index: 999;
    opacity: 0.5;
}
/* Gerçekçi VHS / VCR Deck Tasarımı */
.vhs-deck {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 110px;
    background: linear-gradient(to bottom, #1e1e24, #121216);
    border-top: 3px solid #333;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.9);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px 2rem;
    z-index: 1000;
    box-sizing: border-box;
    font-family: var(--font-mono);
}

.vhs-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 4px;
}

.vhs-main-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Dijital LED Ekran ve Sayaç */
.vhs-display-box {
    background: #050507;
    border: 2px inset #2a2a35;
    padding: 4px 14px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 2px;
}

.vhs-counter {
    color: #ff3333;
    font-weight: bold;
    letter-spacing: 3px;
    font-size: 1.2rem;
    text-shadow: 0 0 6px rgba(255, 0, 0, 0.7);
}

.vhs-led {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #331111;
    box-shadow: inset 0 0 3px #000;
    transition: all 0.2s;
}

.vhs-led.active {
    background: var(--punk-red);
    box-shadow: 0 0 10px var(--punk-red);
}

/* Mekanik Bas-Çek Tuşlar */
.vhs-button-group {
    display: flex;
    gap: 8px;
}

.vhs-btn {
    background: linear-gradient(to bottom, #2d2d38, #1a1a22);
    color: var(--text-primary);
    border: 1px solid #444;
    border-bottom: 4px solid #0d0d11;
    padding: 8px 16px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: bold;
    border-radius: 2px;
    transition: all 0.05s ease;
}

.vhs-btn:active {
    border-bottom-width: 1px;
    transform: translateY(3px);
}

.vhs-btn.play-btn {
    background: linear-gradient(to bottom, #881111, #550a0a);
    color: #fff;
    border-color: #aa2222;
}

.vhs-btn.play-btn.playing {
    background: linear-gradient(to bottom, #00aa44, #006622);
    border-color: #00ff66;
    box-shadow: 0 0 12px rgba(0, 255, 102, 0.4);
}
/* Eskitme ve Yanıp Sönen LED Stilleri */
.vhs-noise-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    opacity: 0.4;
}

.vhs-rec-led {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #440000;
    box-shadow: inset 0 0 3px #000;
    display: inline-block;
    transition: all 0.3s ease;
}

.vhs-rec-led.live-active {
    background: #ff0000;
    box-shadow: 0 0 10px #ff0000;
    animation: blink 1.2s infinite alternate;
}

@keyframes blink {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}
/* Buton Basılı Kaldı Efekti (Active Lock) */
.vhs-btn.active-pressed {
    border-bottom-width: 1px !important;
    transform: translateY(3px) !important;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.6) !important;
}

/* PLAY Butonu Basılı ve Çalışırken */
.vhs-btn.play-btn.active-pressed {
    background: linear-gradient(to bottom, #00aa44, #006622) !important;
    border-color: #00ff66 !important;
    color: #fff !important;
    box-shadow: 0 0 12px rgba(0, 255, 102, 0.5), inset 0 2px 5px rgba(0,0,0,0.8) !important;
}

/* Bağlantı & Durum Yazısı Canlandırması */
.vhs-status-text {
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.vhs-status-connecting {
    color: var(--punk-yellow) !important;
    font-size: 0.95rem !important; /* Daha büyük ve belirgin */
    animation: statusPulse 0.8s infinite alternate;
}

@keyframes statusPulse {
    0% { opacity: 0.4; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1.02); }
}
