/* === 1. TEMEL AYARLAR & RESET === */
* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; /* Mouse gizle, özel imleç için */ }

body {
    background-color: #050505;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

/* FONTLAR */
h1, h2, h3, h4 { font-family: 'Bebas Neue', sans-serif; letter-spacing: 2px; }
.red-text { color: #e62e2e; }

/* === 2. EFEKTLER (SCANLINE, CURSOR, RAIN, PRELOADER) === */
/* CRT SCANLINE */
.scanlines {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.2));
    background-size: 100% 4px; z-index: 9999; pointer-events: none; opacity: 0.6;
    animation: scanlineMove 10s linear infinite;
}
@keyframes scanlineMove { 0% { background-position: 0 0; } 100% { background-position: 0 100%; } }

/* REDACTED TEXT */
.redacted { background-color: #fff; color: #fff; padding: 0 5px; cursor: help; transition: 0.3s; user-select: none; }
.redacted:hover { background-color: transparent; color: #e62e2e; text-decoration: underline; }

/* ÖZEL İMLEÇ */
#custom-cursor {
    position: fixed; width: 40px; height: 40px; border: 2px solid #fff; border-radius: 50%;
    pointer-events: none; z-index: 10001; transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s, border-color 0.2s; mix-blend-mode: difference;
}
#custom-cursor::after {
    content: ''; position: absolute; top: 50%; left: 50%; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent 48%, #fff 48%, #fff 52%, transparent 52%), linear-gradient(to right, transparent 48%, #fff 48%, #fff 52%, transparent 52%);
    transform: translate(-50%, -50%) rotate(45deg);
}
#cursor-dot { position: fixed; width: 6px; height: 6px; background: #e62e2e; border-radius: 50%; pointer-events: none; z-index: 10002; transform: translate(-50%, -50%); }
.hovered-cursor { width: 60px !important; height: 60px !important; border-color: #e62e2e !important; animation: rotateCursor 2s infinite linear; }
@keyframes rotateCursor { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }

/* YAĞMUR & EASTER EGG */
.rain-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-image: url('https://media.giphy.com/media/t7Qb8655Z1VfBGr5XB/giphy.gif'); opacity: 0.08; pointer-events: none; z-index: 9990; background-size: cover; }
#police-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: transparent; pointer-events: none; z-index: 9995; opacity: 0; transition: opacity 0.5s; }
.police-active { animation: policeFlash 0.6s infinite; opacity: 0.4 !important; }
@keyframes policeFlash { 0% { background: rgba(255,0,0,0.6); } 50% { background: rgba(0,0,255,0.6); } 100% { background: rgba(255,0,0,0.6); } }
.money-bill { position: fixed; top: -50px; font-size: 2rem; color: #85bb65; z-index: 9996; animation: fallDown linear infinite; opacity: 0.8; }
@keyframes fallDown { to { transform: translateY(110vh) rotate(360deg); } }

/* === 2. PRELOADER (YÜKLEME EKRANI) - GÜNCELLENDİ === */
#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #000;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.loader-content {
    display: flex;           /* Flexbox yapısı */
    flex-direction: column;  /* Alt alta diz */
    align-items: center;     /* Yatayda TAM ortala */
    justify-content: center; /* Dikeyde ortala */
    text-align: center;
}

.loader-content p { 
    margin-top: 20px; 
    font-family: 'Courier Prime', monospace; 
    color: #e62e2e; 
    letter-spacing: 3px;
    animation: blink 1s infinite;
}

.spinner-revolver {
    width: 80px;
    display: block; /* Blok element yap */
    margin: 0 auto; /* Kenar boşluklarını eşitle */
    filter: invert(1); 
    animation: spinLoad 2s infinite cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

@keyframes spinLoad { 100% { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0.5; } }

/* === 3. HEADER & MENÜ === */
header { position: fixed; top: 0; left: 0; width: 100%; padding: 20px 0; background: rgba(5, 5, 5, 0.95); backdrop-filter: blur(10px); z-index: 1000; border-bottom: 1px solid #333; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.header-flex { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; letter-spacing: 2px; color: #fff; text-decoration: none; }
nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
nav a { font-family: 'Montserrat', sans-serif; font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #aaa; text-decoration: none; transition: 0.3s; }
nav a:hover, nav a.active { color: #fff; text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }
.mobile-toggle { display: none; font-size: 1.5rem; color: #fff; cursor: pointer; }

/* === 4. INTRO & GÖRSEL EFEKTLER === */
#intro-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: #000; display: flex; align-items: center; justify-content: center; z-index: 9999; transition: opacity 1s ease; }
.intro-content { text-align: center; position: relative; z-index: 2; }
.intro-title { font-size: 5rem; margin-bottom: 10px; }
.intro-sub { color: #666; letter-spacing: 4px; font-size: 0.9rem; margin-bottom: 40px; }
#enter-btn { background: transparent; color: #e62e2e; border: 2px solid #e62e2e; padding: 15px 40px; font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; transition: 0.3s; text-transform: uppercase; }
#enter-btn:hover { background: #e62e2e; color: #000; box-shadow: 0 0 20px #e62e2e; }
.target-icon { font-size: 3rem; color: #333; margin-bottom: 20px; animation: rotateTarget 4s infinite linear; }
@keyframes rotateTarget { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.muzzle-flash { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,200,0,0) 20%); opacity: 0; pointer-events: none; z-index: 1; }
.flash-animation { animation: flash 0.1s ease-out; }
.shake-animation { animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both; }
@keyframes flash { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes shake { 10%, 90% { transform: translate3d(-2px, 0, 0); } 20%, 80% { transform: translate3d(4px, 0, 0); } 30%, 50%, 70% { transform: translate3d(-8px, 0, 0); } 40%, 60% { transform: translate3d(8px, 0, 0); } }

/* === 5. İÇERİK DÜZENİ === */
#main-content.hidden { display: none; }
#main-content { animation: fadeIn 2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.zone { padding: 80px 5%; margin-bottom: 50px; }
.zone-header { margin-bottom: 50px; display: flex; align-items: center; gap: 20px; }
.zone-header h2 { font-size: 3rem; color: #fff; }
.zone-header .line { flex-grow: 1; height: 2px; background: #333; }
.zone-header .red-line { background: #e62e2e; }

/* MARQUEE & INTRO TEXT */
.stroke-text { -webkit-text-stroke: 2px #fff; color: transparent; }
.mission-text { margin-top: 20px; color: #888; font-size: 1.2rem; max-width: 600px; }
.marquee-container { background: #e62e2e; padding: 15px 0; width: 100%; overflow: hidden; transform: rotate(-2deg) scale(1.05); border-top: 2px solid #fff; border-bottom: 2px solid #fff; margin-bottom: 100px; }
.marquee-content { white-space: nowrap; color: #000; font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; font-weight: 700; animation: scrollText 20s linear infinite; }
@keyframes scrollText { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* GLITCH */
.glitch { position: relative; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.glitch::before { left: 2px; text-shadow: -1px 0 #ff00c1; clip: rect(44px, 450px, 56px, 0); animation: glitch-anim-1 5s infinite linear alternate-reverse; }
.glitch::after { left: -2px; text-shadow: -1px 0 #00fff9; clip: rect(44px, 450px, 56px, 0); animation: glitch-anim-2 5s infinite linear alternate-reverse; }
@keyframes glitch-anim-1 { 0% { clip: rect(30px, 9999px, 10px, 0); } 100% { clip: rect(40px, 9999px, 100px, 0); } }
@keyframes glitch-anim-2 { 0% { clip: rect(15px, 9999px, 60px, 0); } 100% { clip: rect(60px, 9999px, 10px, 0); } }

/* MISSION SELECT */
#mission-select { padding: 50px 5%; background: #0a0a0a; }
.mission-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 30px; }
.mission-card { position: relative; height: 300px; background-size: cover; background-position: center; border: 1px solid #333; border-radius: 8px; overflow: hidden; display: block; text-decoration: none; transition: 0.4s; }
.mission-card:hover { transform: translateY(-10px); border-color: #e62e2e; box-shadow: 0 10px 30px rgba(230, 46, 46, 0.3); }
.mission-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; transition: 0.4s; }
.mission-card:hover .mission-overlay { background: rgba(0, 0, 0, 0.4); }
.mission-icon { font-size: 4rem; color: #e62e2e; margin-bottom: 20px; transition: 0.4s; }
.mission-card:hover .mission-icon { transform: scale(1.2); text-shadow: 0 0 20px #e62e2e; }
.mission-overlay h3 { color: #fff; font-size: 2rem; margin-bottom: 10px; letter-spacing: 2px; }
.mission-overlay p { color: #ccc; font-family: 'Courier Prime', monospace; font-size: 0.9rem; background: #000; padding: 5px 10px; border: 1px solid #333; }

/* PC ZONE & SLIDER */
.game-showcase { display: flex; gap: 50px; align-items: center; flex-wrap: wrap; }
.carousel-container { flex: 1.5; height: 450px; position: relative; overflow: hidden; border: 1px solid #333; box-shadow: 0 0 20px rgba(0,0,0,0.5); }
.carousel-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease-in-out; }
.carousel-slide.active { opacity: 1; }
.prev-btn, .next-btn { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(0,0,0,0.5); color: white; border: none; padding: 15px; font-size: 1.5rem; z-index: 10; transition: 0.3s; }
.prev-btn { left: 0; } .next-btn { right: 0; }
.prev-btn:hover, .next-btn:hover { background-color: #e62e2e; }
.visual-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px; background: linear-gradient(to top, #000, transparent); }
.steam-btn { display: inline-block; margin-top: 10px; padding: 10px 20px; background: #171a21; color: #fff; font-weight: 700; border: 1px solid #fff; }
.steam-btn:hover { background: #fff; color: #000; }
.trailer-btn { padding: 10px 20px; background: transparent; color: #fff; border: 1px solid #fff; font-weight: 700; font-family: 'Bebas Neue', sans-serif; font-size: 1rem; letter-spacing: 1px; cursor: pointer; transition: 0.3s; }
.trailer-btn:hover { background: #fff; color: #000; }
.pc-buttons { display: flex; gap: 15px; margin-top: 10px; }
.game-details { flex: 1; }
.game-details h3 { font-size: 2.5rem; color: #e62e2e; margin-bottom: 15px; }
.game-details p { color: #aaa; margin-bottom: 20px; line-height: 1.6; }
.feature-tags { display: flex; gap: 15px; margin-bottom: 20px; flex-wrap: wrap; }
.feature-tags span { background: #1a1a1a; padding: 5px 10px; border: 1px solid #333; font-size: 0.8rem; color: #ccc; }
.feature-tags i { color: #e62e2e; margin-right: 5px; }
.specs-box { background: #111; padding: 15px; border-left: 3px solid #e62e2e; }
.loading-bar { width: 100%; height: 4px; background: #333; margin-top: 10px; }
.progress { width: 85%; height: 100%; background: #e62e2e; box-shadow: 0 0 10px #e62e2e; }

/* INTEL CARDS */
.intel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.intel-card { background: #111; border: 1px solid #333; padding: 30px; transition: 0.3s; position: relative; overflow: hidden; }
.intel-card:hover { border-color: #e62e2e; transform: translateY(-5px); }
.intel-icon { font-size: 2.5rem; color: #e62e2e; margin-bottom: 15px; transition: 0.3s; }
.intel-card:hover .intel-icon { transform: scale(1.2); }
.intel-content { max-height: 0; opacity: 0; overflow: hidden; transition: 0.5s ease; }
.intel-card:hover .intel-content { max-height: 150px; opacity: 1; margin-top: 15px; }
.intel-tag { display: inline-block; background: #e62e2e; color: #000; font-weight: 700; font-size: 0.7rem; padding: 3px 8px; margin-top: 10px; }

/* MOBILE ZONE (YENİLENEN TASARIM) */
.mobile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 30px; padding: 0 5%; }
.mobile-card { position: relative; height: 350px; border: 1px solid #333; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; transition: 0.3s; background-color: #111; background-size: cover; background-position: center center; background-repeat: no-repeat; }
.mobile-card:hover { transform: translateY(-10px); border-color: #e62e2e; box-shadow: 0 10px 30px rgba(230, 46, 46, 0.3); }
.card-gradient { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.2) 70%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; text-align: center; transition: 0.3s; }
.mobile-card:hover .card-gradient { background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 40%, rgba(0,0,0,0.3) 70%, transparent 100%); }
.m-content { position: relative; z-index: 2; width: 100%; }
.m-icon-small { font-size: 3rem; color: #e62e2e; margin-bottom: 10px; }
.mobile-card h4 { color: #fff; font-size: 1.5rem; margin-bottom: 5px; letter-spacing: 1px; }
.short-desc { color: #ccc; font-size: 0.9rem; margin-bottom: 15px; line-height: 1.4; }
.play-btn { display: inline-block; padding: 10px 25px; background: #e62e2e; color: #fff; text-decoration: none; border-radius: 5px; font-weight: 600; transition: 0.3s; letter-spacing: 1px; }
.play-btn:hover { background: #ff4a4a; box-shadow: 0 5px 15px rgba(230, 46, 46, 0.4); }
.blue-gradient .m-icon-small { color: #3e7de6; }
.play-btn.blue-btn { background: #3e7de6; } .play-btn.blue-btn:hover { background: #5a91ff; box-shadow: 0 5px 15px rgba(62, 125, 230, 0.4); }
.app-details { max-height: 0; opacity: 0; overflow: hidden; transition: 0.5s ease; text-align: left; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 10px; margin-top: 10px; }
.mobile-card:hover .app-details { max-height: 200px; opacity: 1; }
.app-details p { margin-bottom: 5px; font-size: 0.85rem; color: #ccc; }
.app-details strong { color: #fff; }
.mobile-card.coming-soon { background: #222; } .mobile-card.coming-soon .card-gradient { background: rgba(0,0,0,0.8); } .mobile-card.coming-soon .m-icon-small { color: #777; } .mobile-card.coming-soon h4 { color: #aaa; } .mobile-card.coming-soon .play-btn { display: none; } .mobile-card.coming-soon .status { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); padding: 5px 10px; border-radius: 3px; font-size: 0.8rem; margin-top: 10px; }

/* TIMELINE (ROADMAP) */
.timeline { position: relative; max-width: 1000px; margin: 0 auto; padding: 40px 0; }
.timeline-line { position: absolute; left: 50%; top: 0; width: 4px; height: 100%; background: #333; transform: translateX(-50%); box-shadow: 0 0 15px rgba(0,0,0,0.5); }
.timeline-item { padding: 20px 40px; position: relative; width: 50%; opacity: 0.9; transition: 0.3s; }
.timeline-item:hover { opacity: 1; transform: scale(1.02); }
.left { left: 0; text-align: right; } .right { left: 50%; text-align: left; }
.timeline-item::after { content: ''; position: absolute; top: 30px; width: 20px; height: 20px; background: #111; border: 3px solid #e62e2e; border-radius: 50%; z-index: 10; }
.left::after { right: -10px; } .right::after { left: -10px; }
.timeline-content { padding: 30px; background: #111; border: 1px solid #333; border-radius: 6px; position: relative; box-shadow: 0 5px 20px rgba(0,0,0,0.5); }
.active-phase { border-color: #e62e2e; box-shadow: 0 0 20px rgba(230, 46, 46, 0.2); }
.locked-phase { opacity: 0.6; border-style: dashed; }
.date-badge { display: inline-block; padding: 5px 10px; font-size: 0.8rem; font-weight: 700; background: #555; margin-bottom: 10px; font-family: 'Courier Prime', monospace; }
.date-badge.current { background: #e62e2e; color: #fff; animation: pulseBadge 2s infinite; }
@keyframes pulseBadge { 0% { opacity: 1; } 50% { opacity: 0.7; } 100% { opacity: 1; } }
.status-icon { position: absolute; top: 20px; right: 20px; font-size: 1.5rem; opacity: 0.3; } .left .status-icon { right: auto; left: 20px; }
.success { color: #27c93f; } .processing { color: #e62e2e; opacity: 1 !important; } .locked { color: #555; }

/* HUD TEAM (NEURAL NETWORK) */
.hud-container { position: relative; width: 100%; max-width: 900px; height: 600px; margin: 0 auto; display: flex; justify-content: center; align-items: center; background: radial-gradient(circle at center, rgba(20,20,20,1) 0%, rgba(5,5,5,0) 70%); }
.core-module { position: relative; width: 200px; height: 200px; z-index: 10; }
.core-image { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 4px solid #e62e2e; position: relative; background: #000; z-index: 5; }
.core-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(120%); }
.rotating-ring { position: absolute; top: -20px; left: -20px; right: -20px; bottom: -20px; border: 1px dashed rgba(230, 46, 46, 0.5); border-radius: 50%; animation: spin 10s linear infinite; }
.rotating-ring-reverse { position: absolute; top: -10px; left: -10px; right: -10px; bottom: -10px; border: 2px solid transparent; border-top: 2px solid #e62e2e; border-bottom: 2px solid #e62e2e; border-radius: 50%; animation: spin 5s linear infinite reverse; }
@keyframes spin { 100% { transform: rotate(360deg); } }
.scan-line { position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: rgba(230, 46, 46, 0.5); box-shadow: 0 0 10px #e62e2e; animation: scanning 3s ease-in-out infinite; }
@keyframes scanning { 0% { top: 0; opacity: 0; } 50% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.core-label { position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%); background: #e62e2e; color: #000; padding: 5px 15px; font-weight: 900; font-family: 'Black Ops One', cursive; font-size: 1.2rem; clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); }
.hud-node { position: absolute; width: 250px; transition: 0.4s; }
.hud-node:hover { transform: scale(1.05); z-index: 20; }
.hud-node:hover .node-content { border-color: #e62e2e; box-shadow: 0 0 20px rgba(230, 46, 46, 0.3); }
.hud-node:hover .node-line { background: #e62e2e; }
.node-tl { top: 50px; left: 50px; text-align: right; } .node-tr { top: 50px; right: 50px; text-align: left; } .node-bl { bottom: 50px; left: 50px; text-align: right; } .node-br { bottom: 50px; right: 50px; text-align: left; }
.node-line { position: absolute; background: #333; transition: 0.4s; }
.node-tl .node-line { width: 100px; height: 2px; bottom: 20px; right: -100px; transform: rotate(30deg); transform-origin: left bottom; }
.node-tr .node-line { width: 100px; height: 2px; bottom: 20px; left: -100px; transform: rotate(-30deg); transform-origin: right bottom; }
.node-bl .node-line { width: 100px; height: 2px; top: 20px; right: -100px; transform: rotate(-30deg); transform-origin: left top; }
.node-br .node-line { width: 100px; height: 2px; top: 20px; left: -100px; transform: rotate(30deg); transform-origin: right top; }
.node-content { background: rgba(10, 10, 10, 0.9); border: 1px solid #444; padding: 15px; position: relative; }
.node-tl .node-content { border-right: 3px solid #e62e2e; } .node-tr .node-content { border-left: 3px solid #e62e2e; } .node-bl .node-content { border-right: 3px solid #e62e2e; } .node-br .node-content { border-left: 3px solid #e62e2e; }
.node-content h4 { color: #888; font-size: 0.7rem; letter-spacing: 2px; margin-bottom: 5px; }
.node-content h3 { font-size: 1.5rem; margin: 0; color: #fff; line-height: 1; }
.node-content p { font-size: 0.8rem; color: #aaa; margin-top: 5px; font-family: 'Courier Prime', monospace; }
.online { color: #27c93f; text-shadow: 0 0 5px #27c93f; }
.hud-list { list-style: none; padding: 0; margin: 0; font-family: 'Courier Prime', monospace; font-size: 0.8rem; color: #e62e2e; }
.hud-buttons { margin-top: 10px; display: flex; gap: 10px; }
.node-br .hud-buttons { justify-content: flex-start; }
.hud-buttons a { text-decoration: none; color: #fff; border: 1px solid #fff; padding: 5px 10px; font-size: 0.7rem; font-weight: 700; transition: 0.3s; }
.hud-buttons a:hover { background: #fff; color: #000; }

/* STATS */
#stats-zone { padding: 60px 5%; background: #e62e2e; color: #000; position: relative; }
.stats-container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; max-width: 1200px; margin: 0 auto; }
.stat-box { text-align: center; flex: 1; min-width: 200px; }
.stat-box i { font-size: 3rem; margin-bottom: 15px; color: #fff; }
.stat-box h3 { font-size: 4rem; font-family: 'Bebas Neue', sans-serif; line-height: 1; color: #fff; }
.stat-box p { font-weight: 700; font-family: 'Courier Prime', monospace; letter-spacing: 1px; }

/* DOSSIER & CONTACT */
#dossier-section { padding: 100px 20px; background-color: #111; background-image: repeating-linear-gradient(45deg, #111 25%, #1a1a1a 25%, #1a1a1a 50%, #111 50%, #111 75%, #1a1a1a 75%, #1a1a1a 100%); background-size: 20px 20px; display: flex; justify-content: center; }
.dossier-container { position: relative; width: 100%; max-width: 700px; transform: rotate(-1deg); transition: 0.3s; }
.dossier-container:hover { transform: rotate(0deg) scale(1.02); }
.paper-content { background: #f4e4bc; color: #222; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); font-family: 'Courier New', Courier, monospace; border: 1px solid #d3c098; }
.stamp { position: absolute; top: 20px; right: 20px; border: 5px solid #c00; color: #c00; font-size: 2.5rem; font-weight: 900; padding: 10px 20px; text-transform: uppercase; opacity: 0.7; transform: rotate(15deg); z-index: 10; font-family: 'Black Ops One', sans-serif; pointer-events: none; }
.paper-header { display: flex; gap: 20px; border-bottom: 2px solid #222; padding-bottom: 20px; margin-bottom: 20px; align-items: center; }
.profile-pic { width: 100px; height: 100px; filter: grayscale(100%) contrast(120%); border: 4px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.3); transform: rotate(-3deg); }
.info-grid p { margin-bottom: 5px; font-size: 0.95rem; border-bottom: 1px dotted #999; padding-bottom: 2px; }
.signature { margin-top: 30px; text-align: right; font-size: 1.5rem; color: #000080; transform: rotate(-5deg); }

#contact-zone { padding: 100px 5%; background-color: #050505; display: flex; justify-content: center; }
.contact-container { width: 100%; max-width: 1000px; background: #111; border: 1px solid #333; box-shadow: 0 0 30px rgba(0,0,0,0.5); border-radius: 8px; overflow: hidden; }
.terminal-header { background: #1a1a1a; padding: 10px 20px; display: flex; align-items: center; border-bottom: 1px solid #333; }
.dot { width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; display: inline-block; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
.terminal-title { margin-left: auto; color: #555; font-family: 'Courier Prime', monospace; font-size: 0.8rem; }
.contact-wrapper { display: flex; padding: 50px; gap: 50px; }
.contact-info { flex: 1; }
.contact-info h3 { font-size: 3rem; line-height: 1; margin-bottom: 20px; }
.terminal-text { font-family: 'Courier Prime', monospace; color: #00ff00; font-size: 0.9rem; margin-bottom: 5px; }
.contact-details { margin-top: 30px; }
.c-item { margin-bottom: 15px; color: #aaa; font-size: 1.1rem; }
.c-item i { color: #e62e2e; margin-right: 10px; }
.social-icons { margin-top: 30px; display: flex; gap: 15px; }
.s-btn { width: 45px; height: 45px; border: 1px solid #333; display: flex; align-items: center; justify-content: center; color: #fff; transition: 0.3s; }
.s-btn:hover { background: #e62e2e; border-color: #e62e2e; transform: translateY(-3px); }
.spy-form { flex: 1; }
.input-group { margin-bottom: 20px; }
.input-group label { display: block; color: #666; font-size: 0.8rem; margin-bottom: 5px; font-family: 'Courier Prime', monospace; letter-spacing: 1px; }
.input-group input, .input-group textarea { width: 100%; background: #0a0a0a; border: 1px solid #333; padding: 15px; color: #fff; font-family: 'Montserrat', sans-serif; transition: 0.3s; }
.input-group input:focus, .input-group textarea:focus { border-color: #e62e2e; outline: none; box-shadow: 0 0 10px rgba(230, 46, 46, 0.2); }
.transmit-btn { width: 100%; padding: 15px; background: #e62e2e; color: #fff; border: none; font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; letter-spacing: 2px; cursor: pointer; transition: 0.3s; }
.transmit-btn:hover { background: #fff; color: #000; }
.main-footer { text-align: center; padding: 20px; background: #000; color: #444; font-size: 0.8rem; border-top: 1px solid #111; }
.terminal-log { margin-bottom: 15px; border-top: 1px dashed #333; padding-top: 10px; height: 100px; overflow-y: auto; font-family: 'Courier Prime', monospace; font-size: 0.85rem; background: rgba(0,0,0,0.3); padding: 10px; }
.log-line { display: block; margin-bottom: 5px; }
.log-success { color: #27c93f; } .log-error { color: #ff5f56; } .log-process { color: #ffbd2e; }

/* MODAL */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 11000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: 0.3s; backdrop-filter: blur(10px); }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { width: 80%; max-width: 1000px; aspect-ratio: 16/9; background: #000; border: 2px solid #e62e2e; box-shadow: 0 0 50px rgba(230, 46, 46, 0.3); position: relative; transform: scale(0.8); transition: 0.3s; }
.modal-overlay.active .modal-content { transform: scale(1); }
.close-modal { position: absolute; top: -40px; right: -10px; color: #fff; font-size: 2rem; cursor: pointer; transition: 0.3s; font-family: sans-serif; }
.close-modal:hover { color: #e62e2e; }
.video-wrapper { width: 100%; height: 100%; }

/* SCROLL TO TOP & SOUND */
#scroll-top { position: fixed; bottom: 30px; right: 90px; width: 50px; height: 50px; background: #111; border: 1px solid #333; color: #fff; cursor: pointer; z-index: 9990; display: flex; align-items: center; justify-content: center; transition: 0.3s; opacity: 0; visibility: hidden; transform: translateY(20px); }
#scroll-top:hover { background: #e62e2e; border-color: #e62e2e; }
#scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* === MOBİL UYUMLULUK (GÜÇLENDİRİLMİŞ) === */
@media (max-width: 768px) {
    .mobile-toggle { display: block; z-index: 1002; }
    nav { position: absolute; top: 100%; left: 0; width: 100%; background: #000; border-top: 1px solid #333; padding: 20px; opacity: 0; visibility: hidden; transform: translateY(-20px); transition: 0.3s; z-index: 1001; }
    nav.active { opacity: 1; visibility: visible; transform: translateY(0); }
    nav ul { flex-direction: column; align-items: center; gap: 20px; }
    .intro-title { font-size: 3rem; } .mega-title { font-size: 12vw; }
    .game-showcase { flex-direction: column; gap: 30px; }
    .carousel-container { width: 100%; height: 250px; margin-bottom: 20px; }
    .game-details { width: 100%; text-align: center; }
    .pc-buttons { justify-content: center; }
    .modal-content { width: 95%; aspect-ratio: 16/9; } .close-modal { top: -35px; right: 0; }
    .contact-wrapper { flex-direction: column; padding: 30px; gap: 30px; }
    .contact-info h3 { font-size: 2.5rem; text-align: center; }
    .paper-header { flex-direction: column; text-align: center; }
    .stats-container { flex-direction: column; gap: 40px; }
    .hud-container { height: auto; flex-direction: column; padding: 50px 0; gap: 30px; }
    .node-line { display: none; }
    .hud-node { position: relative; width: 100%; text-align: center; top: auto !important; bottom: auto !important; left: auto !important; right: auto !important; }
    .node-br .hud-buttons { justify-content: center; }
    .timeline-line { left: 20px; } .timeline-item { width: 100%; padding-left: 50px; padding-right: 10px; } .timeline-item::after { left: 10px; }
    .left, .right { text-align: left; left: 0; } .left .status-icon { left: auto; right: 20px; }
    #custom-cursor, #cursor-dot { display: none; } * { cursor: auto; }
}
/* === ACİL MOBİL DÜZELTME (ZORLA GÖSTER) === */
@media (max-width: 768px) {
    
    /* 1. Kapsayıcıyı Esnek Yap ve Alt Alta Diz */
    .game-showcase {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }

    /* 2. Resim Kutusuna ZORLA Yükseklik Ver */
    .carousel-container {
        display: block !important;
        width: 100% !important;
        min-height: 300px !important; /* Kilit nokta burası */
        height: 300px !important;
        position: relative !important;
        background-color: #111; /* Resim yüklenmezse siyah zemin görünsün */
        margin-bottom: 30px;
        border: 1px solid #e62e2e; /* Hata ayıklama: Çerçeve görünsün */
    }

    /* 3. Slaytları Kutuya Sığdır */
    .carousel-slide {
        position: absolute !important;
        top: 0; left: 0;
        width: 100% !important;
        height: 100% !important;
        background-size: cover !important;
        background-position: center !important;
    }

    /* 4. Video Penceresini Ekrana Sığdır */
    .modal-content {
        width: 95% !important;
        height: auto !important;
        aspect-ratio: 16/9 !important; /* Video oranını koru */
        margin-top: 20%; /* Yukarıdan biraz boşluk bırak */
    }
    
    /* 5. Butonları Ortala */
    .pc-buttons {
        flex-direction: column;
        width: 100%;
    }
    .steam-btn, .trailer-btn {
        width: 100%;
        text-align: center;
    }
}

/* === YENİ SİNEMATİK HERO TASARIMI === */
.brand-intro {
    height: 90vh; /* Ekranı kaplasın */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Arkaya hafif bir spot ışığı efekti */
    background: radial-gradient(circle at center, rgba(30,30,30,1) 0%, rgba(5,5,5,1) 70%);
}

.hero-container {
    text-align: center;
    z-index: 5;
}

/* Üstteki Ufak Yazı */
.hero-top-text {
    font-family: 'Courier Prime', monospace;
    color: #666;
    letter-spacing: 10px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInDown 1s ease forwards 0.5s; /* Gecikmeli geliş */
}

/* Ana Başlık */
.hero-title {
    font-family: 'Black Ops One', cursive; /* Askeri/Sert Font */
    font-size: 7vw; /* Ekran boyutuna göre devasa */
    line-height: 0.9;
    margin: 0;
    text-transform: uppercase;
    display: flex;
    flex-direction: column; /* Kelimeleri alt alta veya yan yana dizebilirsin */
    gap: 10px;
}

@media (min-width: 768px) {
    .hero-title { flex-direction: row; gap: 30px; } /* Masaüstünde yan yana */
}

.word {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    filter: blur(10px);
    animation: cinematicReveal 1.2s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

/* Kelimeler sırayla gelsin */
.word:nth-child(1) { animation-delay: 0.8s; }
.word:nth-child(2) { animation-delay: 1.0s; }
.word:nth-child(3) { animation-delay: 1.2s; }
.word:nth-child(4) { animation-delay: 1.4s; }

/* Kırmızı Vurgulu Kelimeler */
.red-word {
    color: transparent;
    -webkit-text-stroke: 2px #e62e2e; /* Sadece kenar çizgisi */
    position: relative;
}

/* Kırmızı kelimelerin içi dolsun (Efekt) */
.red-word::before {
    content: attr(data-text);
    position: absolute;
    left: 0; top: 0;
    width: 0%; height: 100%;
    color: #e62e2e;
    overflow: hidden;
    border-right: 4px solid #e62e2e; /* Daktilo imleci gibi */
    animation: fillText 2s linear forwards 2s; /* En son çalışsın */
    white-space: nowrap;
}

/* Ayırıcı Çizgi */
.hero-divider {
    width: 0px;
    height: 2px;
    background: #e62e2e;
    margin: 30px auto;
    box-shadow: 0 0 15px #e62e2e;
    animation: expandLine 1s ease forwards 1.8s;
}

/* Alt Yazı */
.hero-sub-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #aaa;
    letter-spacing: 3px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 2.2s;
}

/* --- ANİMASYONLAR --- */
@keyframes cinematicReveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes expandLine {
    to { width: 150px; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === CLASSIFIED ARCHIVES (PROJELER) === */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.archive-card {
    background: #0f0f0f;
    border: 1px solid #333;
    padding: 30px;
    position: relative;
    display: flex;
    gap: 20px;
    transition: 0.4s;
    overflow: hidden;
}

/* Kartın solundaki renkli çizgi */
.archive-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 4px; height: 100%; background: #333;
    transition: 0.4s;
}

.archive-card:hover {
    transform: translateX(10px);
    border-color: #e62e2e;
    background: #141414;
    box-shadow: -10px 10px 30px rgba(0,0,0,0.5);
}

.archive-card:hover::before { background: #e62e2e; }

.archive-icon {
    font-size: 2.5rem;
    color: #555;
    min-width: 60px;
    display: flex; justify-content: center; align-items: flex-start;
    padding-top: 5px;
    transition: 0.4s;
}

.archive-card:hover .archive-icon { color: #e62e2e; transform: scale(1.1); }

.archive-content { flex: 1; }

.archive-id {
    font-family: 'Courier Prime', monospace;
    font-size: 0.8rem; color: #e62e2e;
    display: block; margin-bottom: 5px; letter-spacing: 1px;
}

.archive-content h3 { font-size: 1.8rem; color: #fff; margin-bottom: 15px; line-height: 1; }
.archive-content p { font-size: 0.95rem; color: #aaa; margin-bottom: 20px; line-height: 1.6; }

/* Tech Stack (Etiketler) */
.tech-stack {
    list-style: none; padding: 0; display: flex; gap: 10px; flex-wrap: wrap;
}
.tech-stack li {
    background: #1a1a1a; border: 1px solid #444;
    padding: 4px 8px; font-size: 0.75rem; color: #ccc; font-weight: 700;
}

.archive-status {
    position: absolute; top: 20px; right: 20px;
    font-family: 'Black Ops One', cursive;
    font-size: 1.5rem; color: rgba(255,255,255,0.05);
    transform: rotate(-15deg); pointer-events: none;
    transition: 0.4s;
}
.archive-card:hover .archive-status { color: rgba(230, 46, 46, 0.2); }

.archive-link {
    display: inline-block; margin-top: 15px;
    color: #e62e2e; font-weight: 700; font-size: 0.9rem;
    text-decoration: none; border-bottom: 1px solid transparent;
}
.archive-link:hover { border-bottom-color: #e62e2e; }

/* === TECH ARSENAL (TEKNOLOJİLER) === */
.tech-grid {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 20px;
    margin-top: 30px;
}

.tech-item {
    background: #111; border: 1px solid #333;
    padding: 15px 30px; font-size: 1.2rem; font-weight: 700; color: #888;
    display: flex; align-items: center; gap: 10px;
    transition: 0.3s; cursor: default;
}

.tech-item:hover {
    color: #fff; border-color: #e62e2e;
    box-shadow: 0 0 15px rgba(230, 46, 46, 0.3);
    transform: translateY(-5px);
}

.tech-item i { color: #e62e2e; }

/* MOBİL UYUM */
@media (max-width: 768px) {
    .archive-grid { grid-template-columns: 1fr; }
    .archive-card { flex-direction: column; gap: 10px; }
    .archive-icon { align-items: center; padding: 0; margin-bottom: 10px; }
    .archive-content { text-align: center; }
    .tech-stack { justify-content: center; }
    .archive-card::before { width: 100%; height: 4px; }
}

/* === TACTICAL HERO (OPERASYON HARİTASI) === */
.tactical-hero {
    height: 70vh !important; /* Yüksekliği artırdık */
    margin-top: 0;
    position: relative;
    overflow: hidden;
    background-color: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid #e62e2e;
}

/* 1. DÜNYA HARİTASI (NOKTA NOKTA) */
.tactical-map {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    /* Noktalı Dünya Haritası Görseli */
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/World_map_blank_without_borders.svg/2000px-World_map_blank_without_borders.svg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1; /* Çok hafif görünsün */
    filter: invert(1); /* Siyah zemin üzerine beyaz olsun */
    z-index: 0;
}

/* 2. IZGARA (GRID) */
.grid-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(230, 46, 46, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(230, 46, 46, 0.1) 1px, transparent 1px);
    background-size: 100px 100px;
    z-index: 1;
    pointer-events: none;
}

/* 3. TARAMA LAZERİ (RADAR SWEEP) */
.radar-sweep {
    position: absolute; top: 0; left: 0; width: 100%; height: 5px;
    background: #e62e2e;
    box-shadow: 0 0 20px #e62e2e;
    opacity: 0.6;
    z-index: 2;
    animation: scanDown 4s linear infinite;
}

@keyframes scanDown {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* 4. HEDEF NOKTALARI (BLIPS) */
.target-blip {
    position: absolute;
    width: 10px; height: 10px;
    background: #e62e2e;
    border-radius: 50%;
    box-shadow: 0 0 10px #e62e2e;
    z-index: 3;
    animation: blinkTarget 2s infinite;
}

/* Hedefin yanındaki yazı */
.target-blip span {
    position: absolute; left: 15px; top: -5px;
    color: #fff; font-family: 'Courier Prime', monospace;
    font-size: 0.7rem; white-space: nowrap;
    background: rgba(0,0,0,0.7); padding: 2px 5px; border: 1px solid #333;
}

@keyframes blinkTarget {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* 5. İÇERİK KUTUSU */
.hero-content-wrapper {
    z-index: 10;
    text-align: center;
    background: rgba(0, 0, 0, 0.6); /* Yazı okunsun diye arka plan */
    padding: 40px;
    border: 1px solid #333;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
}

.system-status {
    color: #27c93f; /* Yeşil */
    font-family: 'Courier Prime', monospace;
    font-size: 0.9rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
    border-bottom: 1px dashed #27c93f;
    display: inline-block;
    padding-bottom: 5px;
}

.blink { animation: blinker 1s linear infinite; }
@keyframes blinker { 50% { opacity: 0; } }

/* AKAN VERİ LOGLARI */
.data-stream {
    text-align: left;
    margin-top: 20px;
    border-left: 2px solid #e62e2e;
    padding-left: 15px;
}

.data-stream p {
    color: #aaa;
    font-family: 'Courier Prime', monospace;
    font-size: 0.8rem;
    margin: 5px 0;
    opacity: 0;
    animation: typeLine 0.5s forwards;
}

.data-stream p:nth-child(1) { animation-delay: 0.5s; }
.data-stream p:nth-child(2) { animation-delay: 1.5s; }
.data-stream p:nth-child(3) { animation-delay: 2.5s; color: #e62e2e; font-weight: bold; }

@keyframes typeLine { to { opacity: 1; } }

/* === FUTURE OPERATIONS (GELECEK OYUNLAR) === */
.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.game-card {
    background: #0f0f0f;
    border: 1px solid #333;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    transition: 0.4s;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: #e62e2e;
    box-shadow: 0 10px 30px rgba(230, 46, 46, 0.2);
}

/* Kartın üstündeki durum etiketi */
.card-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.8);
    color: #e62e2e;
    font-family: 'Courier Prime', monospace;
    font-size: 0.7rem;
    padding: 4px 8px;
    border: 1px solid #e62e2e;
    z-index: 5;
}

/* Görsel Alanı (Placeholder İkonlu) */
.card-visual {
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-bottom: 1px solid #333;
}

.card-icon {
    font-size: 4rem;
    color: rgba(255,255,255,0.1); /* Silik ikon */
    transition: 0.4s;
}

.game-card:hover .card-icon {
    color: #fff;
    transform: scale(1.2);
    text-shadow: 0 0 20px rgba(255,255,255,0.5);
}

/* İçerik Alanı */
.card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.game-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 5px;
}

.genre-tag {
    display: block;
    font-size: 0.75rem;
    color: #e62e2e;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Courier Prime', monospace;
    letter-spacing: 1px;
}

.game-card p {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1; /* Butonu en alta itmek için */
}

/* Kilitli Buton */
.coming-btn {
    width: 100%;
    padding: 12px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #555;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    cursor: not-allowed; /* Tıklanamaz işareti */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.game-card:hover .coming-btn {
    border-color: #e62e2e;
    color: #e62e2e;
    background: rgba(230, 46, 46, 0.1);
}

/* Chill of Death STATUS Badge */
.status-badge {
    display: inline-block;
    background: #e62e2e;
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-family: 'Courier Prime', monospace;
    animation: pulse 2s infinite;
}

/* MOBİL UYUM */
@media (max-width: 768px) {
    .upcoming-grid {
        grid-template-columns: 1fr; /* Mobilde tek sütun */
    }
}

/* === BLADE ACCORDION (GENİŞLEYEN PANELLER) === */

.blades-container {
    display: flex;
    width: 100%;
    height: 500px; /* Panellerin yüksekliği */
    gap: 10px;
    overflow: hidden;
}

.blade-item {
    position: relative;
    flex: 1; /* Hepsi eşit başlar */
    background-size: cover;
    background-position: center;
    border: 1px solid #333;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1); /* Yumuşak geçiş */
    cursor: crosshair;
    filter: grayscale(100%); /* Pasifken siyah beyaz */
}

/* HOVER DURUMU (BÜYÜME) */
.blade-item:hover {
    flex: 5; /* Üzerine gelinen 5 kat büyür */
    filter: grayscale(0%); /* Renklenir */
    border-color: #e62e2e;
    box-shadow: 0 0 30px rgba(230, 46, 46, 0.3);
}

/* KARARTMA KATMANI */
.blade-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, #000 10%, rgba(0,0,0,0.6) 100%);
    transition: 0.4s;
}
.blade-item:hover .blade-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 100%);
}

/* İÇERİK */
.blade-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    opacity: 0.7;
    transition: 0.4s;
}

.blade-item:hover .blade-content {
    opacity: 1;
}

/* NUMARA (OP-01) */
.blade-id {
    font-family: 'Black Ops One', cursive;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 20px; right: 20px;
    transition: 0.4s;
}
.blade-item:hover .blade-id {
    color: #e62e2e;
    opacity: 0.2;
    transform: scale(1.2);
}

/* METİN ALANI */
.blade-text {
    transform: translateY(20px); /* Aşağıda gizli */
    opacity: 0;
    transition: 0.5s;
    transition-delay: 0.1s;
}

/* Hover olunca metin yukarı çıkar */
.blade-item:hover .blade-text {
    transform: translateY(0);
    opacity: 1;
}

.blade-text h3 {
    font-size: 2.5rem;
    margin: 0;
    line-height: 1;
    color: #fff;
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

.blade-tag {
    display: inline-block;
    font-family: 'Courier Prime', monospace;
    font-size: 0.8rem;
    color: #e62e2e;
    font-weight: 700;
    margin-bottom: 10px;
    background: rgba(0,0,0,0.8);
    padding: 2px 5px;
}

.blade-text p {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.4;
    max-width: 400px; /* Metin çok yayılmasın */
    display: -webkit-box;
    line-clamp: 2; /* Standart: tarayıcı desteği için */
    -webkit-line-clamp: 2; /* 2 satırla sınırla */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* DURUM ROZETİ */
.blade-status {
    position: absolute;
    top: 20px; left: 0;
    background: #e62e2e;
    color: #fff;
    padding: 5px 10px;
    font-family: 'Courier Prime', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    transform: rotate(-90deg) translateX(-100%); /* Dikey duruş */
    transform-origin: left top;
    white-space: nowrap;
    border: 1px solid #fff;
}

.blade-status.warning { background: #d4af37; border-color: #d4af37; color: #000; }
.blade-status.locked { background: #333; border-color: #555; color: #888; }

/* === MOBİL UYUM (Telefonda yatay değil, dikey olmalı) === */
@media (max-width: 768px) {
    .blades-container {
        flex-direction: column; /* Alt alta diz */
        height: 600px;
    }
    
    .blade-item {
        flex: 1;
        width: 100%;
    }
    
    .blade-item:hover {
        flex: 3; /* Mobilde büyüme oranı daha az */
    }
    
    .blade-text h3 { font-size: 1.5rem; }
    .blade-id { font-size: 2rem; top: 10px; right: 10px; }
    .blade-status { 
        transform: none; /* Mobilde yatay olsun */
        top: auto; bottom: 10px; left: auto; right: 10px;
        margin: 0;
    }
}

/* === KİLİTLİ (LOCKED) MOBİL KARTLAR === */
.locked-card {
    background-color: #0a0a0a;
    border: 1px dashed #333;
    display: flex;
    flex-direction: column;
    justify-content: center; /* İçeriği ortala */
    align-items: center;
    position: relative;
    overflow: hidden;
}

.locked-card:hover {
    border-color: #e62e2e;
    background-color: #0f0f0f;
    box-shadow: 0 0 20px rgba(230, 46, 46, 0.1);
}

/* Arka Plan: Hareketli Dijital Izgara */
.digital-grid {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
    animation: gridScroll 5s linear infinite;
}

@keyframes gridScroll {
    0% { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

/* Kilit Mekanizması Kutusu */
.lock-mechanism {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
    width: 80px; height: 80px;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #333;
    border-radius: 50%;
    background: rgba(0,0,0,0.8);
}

.locked-card:hover .lock-mechanism {
    border-color: #e62e2e;
    animation: shakeLock 0.5s infinite; /* Üzerine gelince titre */
}

@keyframes shakeLock {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}

/* İkonlar */
.fingerprint-anim { color: #555; font-size: 3rem; transition: 0.3s; }
.lock-anim { color: #555; font-size: 3rem; transition: 0.3s; }
.secret-anim { color: #555; font-size: 3rem; transition: 0.3s; }

.locked-card:hover .fingerprint-anim,
.locked-card:hover .lock-anim,
.locked-card:hover .secret-anim {
    color: #e62e2e;
}

/* Tarayıcı Lazeri */
.scanner-line {
    position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: #e62e2e;
    box-shadow: 0 0 10px #e62e2e;
    animation: scanIcon 2s ease-in-out infinite;
    opacity: 0;
}
.locked-card:hover .scanner-line { opacity: 1; }

@keyframes scanIcon {
    0% { top: 0; } 50% { top: 100%; } 100% { top: 0; }
}

/* Nabız Dairesi */
.pulse-circle {
    position: absolute; width: 100%; height: 100%; border-radius: 50%;
    border: 1px solid #e62e2e; opacity: 0;
}
.locked-card:hover .pulse-circle { animation: pulseOut 1.5s infinite; }

@keyframes pulseOut {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* İçerik Metinleri */
.status-locked {
    color: #555; font-family: 'Courier Prime', monospace; font-size: 0.8rem;
    border: 1px solid #333; padding: 4px 8px; display: inline-block; margin-top: 5px;
    background: #000;
}
.locked-card:hover .status-locked { color: #e62e2e; border-color: #e62e2e; }

.lock-msg {
    font-weight: 900; color: #e62e2e; margin-top: 15px;
    font-family: 'Black Ops One', cursive; letter-spacing: 2px;
    opacity: 0; transform: translateY(10px); transition: 0.3s;
}
.locked-card:hover .lock-msg { opacity: 1; transform: translateY(0); }

/* Glitch Efekti (Başlıklar İçin) */
.locked-card:hover .glitch-text {
    animation: textGlitch 0.3s infinite;
    color: #fff;
}

@keyframes textGlitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* === DISCORD / TOPLULUK BUTONU === */
.discord-float {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Sol altta (Visualizer ile çakışırsa yerini değiştiririz) */
    width: 60px;
    height: 60px;
    background-color: #5865F2; /* Discord Rengi */
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    border: 2px solid #fff;
    text-decoration: none;
    /* Nabız Animasyonu */
    animation: discordPulse 2s infinite;
}

.discord-float:hover {
    background-color: #404EED;
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 20px #5865F2;
}

.discord-tooltip {
    position: absolute;
    left: 70px;
    background: #fff;
    color: #000;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
    white-space: nowrap;
}

/* Ok işareti */
.discord-tooltip::before {
    content: '';
    position: absolute;
    left: -5px; top: 50%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
}

.discord-float:hover .discord-tooltip {
    opacity: 1;
    left: 75px; /* Hafif kayma efekti */
}

@keyframes discordPulse {
    0% { box-shadow: 0 0 0 0 rgba(88, 101, 242, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(88, 101, 242, 0); }
    100% { box-shadow: 0 0 0 0 rgba(88, 101, 242, 0); }
}

/* Mobilde Visualizer olmadığı için Discord'u sola alabiliriz veya gizleyebiliriz */
@media (max-width: 768px) {
    .discord-float {
        left: 20px; bottom: 20px;
        width: 50px; height: 50px; font-size: 25px;
    }
    .discord-tooltip { display: none; } /* Mobilde baloncuk çıkmasın */
}

/* === 3. HEADER & MENÜ (THE TARGETED STRIKE LOGO) === */
header {
    position: fixed; top: 0; left: 0; width: 100%;
    padding: 20px 0;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #222;
}
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.header-flex { display: flex; justify-content: space-between; align-items: center; width: 100%; }

/* ANA LOGO KAPSAYICI */
.logo-composite {
    display: flex;
    align-items: center; /* İkon ve yazıyı dikey ortala */
    gap: 15px; /* İkon ile yazı arası boşluk */
    text-decoration: none;
    padding: 5px;
    position: relative; /* Lazer çizgisi için */
}

/* SOL KISIM: KESKİN NİŞANCI HEDEFİ SEMBOLÜ */
.logo-symbol {
    width: 35px; /* Sembol boyutu */
    height: 35px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* Küçülmesini engelle */
}

.crosshair {
    width: 100%; height: 100%;
    border: 2px solid #fff; border-radius: 50%;
    position: relative;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 0 5px rgba(255,255,255,0.2);
}
.crosshair::before, .crosshair::after {
    content: ''; position: absolute; background-color: #fff; transition: 0.3s;
}
.crosshair::before {
    top: 50%; left: -4px; right: -4px; height: 2px; transform: translateY(-50%);
}
.crosshair::after {
    left: 50%; top: -4px; bottom: -4px; width: 2px; transform: translateX(-50%);
}

/* SAĞ KISIM: LAZER KESİM YAZISI */
.logo-text-cut-container {
    position: relative;
    font-family: 'Black Ops One', cursive; /* Sert ve Keskin Font */
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1;
    color: #fff; /* Varsayılan renk */
    white-space: nowrap; /* Yazının alt satıra geçmesini engeller */
}

/* Yazı katmanları */
.logo-layer {
    display: block;
    color: #fff;
    transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.logo-layer.top {
    position: relative;
    z-index: 2;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
}
.logo-layer.bottom {
    position: absolute;
    top: 0; left: 0; /* Ana konteyner içinde üsttekiyle aynı yere */
    z-index: 1;
    color: #888; /* Pasif hali biraz gri */
    clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
}

/* LAZER ÇİZGİSİ (Yazının içinde) */
.laser-line {
    position: absolute;
    top: 52%; left: 0; /* Yazının içinde hizala */
    width: 0%; height: 2px;
    background: #e62e2e;
    box-shadow: 0 0 15px #e62e2e, 0 0 30px #e62e2e;
    transition: width 0.3s ease-out;
    z-index: 3;
}

/* === HOVER EFEKTLERİ (SENKRONİZE AKSİYON) === */

/* Sembol Hareketi */
.logo-composite:hover .crosshair {
    border-color: #e62e2e; /* Kırmızıya dön */
    transform: rotate(90deg) scale(1.05); /* Dön ve Hafif Büyü */
    box-shadow: 0 0 15px #e62e2e; /* Parlama */
}
.logo-composite:hover .crosshair::before,
.logo-composite:hover .crosshair::after {
    background-color: #e62e2e; /* Çizgiler kırmızı */
}

/* Lazer ateşlenir */
.logo-composite:hover .laser-line {
    width: 100%; /* Lazer çizgisi boydan boya uzar */
}

/* Yazı katmanları ayrılır */
.logo-composite:hover .logo-layer.top {
    transform: translate(3px, -3px) skewX(-5deg);
    color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.5);
}
.logo-composite:hover .logo-layer.bottom {
    transform: translate(-3px, 3px) skewX(-5deg);
    color: #e62e2e; /* Alt taraf kırmızıya dönsün */
    text-shadow: 0 0 10px rgba(230, 46, 46, 0.5);
}

/* Navigasyon (Aynı kalıyor) */
nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
nav a { font-family: 'Montserrat', sans-serif; font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #aaa; text-decoration: none; transition: 0.3s; }
nav a:hover, nav a.active { color: #fff; text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }
.mobile-toggle { display: none; font-size: 1.5rem; color: #fff; cursor: pointer; }

/* === MOBİL MENÜ İKONU DÜZELTMESİ (ACİL YAMA) === */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block !important; /* Kesinlikle göster */
        position: absolute; /* Bağımsız pozisyon */
        right: 20px; /* Sağdan boşluk */
        top: 50%; /* Dikey ortalama */
        transform: translateY(-50%); /* Tam orta */
        color: #fff !important; /* Rengi beyaz yap */
        font-size: 1.8rem; /* Biraz büyüt */
        z-index: 10005; /* Her şeyin üstüne çıkar */
        cursor: pointer;
    }

    /* Header içindeki hizalamayı garantiye al */
    .header-flex {
        position: relative;
    }
    
    /* Logoyu biraz küçült ki menüye yer kalsın */
    .logo-composite {
        transform: scale(0.8);
        transform-origin: left center;
    }
}

/* === MOBİL MENÜ BUTONU (CYBER-SWITCH TASARIMI) === */
@media (max-width: 768px) {
    
    .mobile-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 35px;
        height: 25px;
        position: absolute;
        right: 20px; top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        z-index: 10005;
    }

    /* Çizgilerin Ortak Özellikleri */
    .h-bar {
        display: block;
        height: 3px;
        background-color: #fff;
        border-radius: 2px;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Yumuşak ve esnek geçiş */
        box-shadow: 0 0 5px rgba(255,255,255,0.5);
    }

    /* ASİMETRİK DURUŞ (HUD GÖRÜNÜMÜ) */
    .h-bar.top { width: 100%; align-self: flex-end; }
    .h-bar.mid { width: 70%; align-self: flex-end; transition-delay: 0.1s; } /* Orta çizgi biraz kısa */
    .h-bar.bot { width: 50%; align-self: flex-end; transition-delay: 0.2s; } /* Alt çizgi daha kısa */

    /* --- MENÜ AÇIKKEN (AKTİF HAL) --- */
    
    /* Kapsayıcıya .open sınıfı eklendiğinde çalışır */
    .mobile-toggle.open .h-bar {
        background-color: #e62e2e; /* Kırmızıya dön */
        box-shadow: 0 0 10px #e62e2e; /* Kırmızı parlama */
        width: 100%; /* Hepsi tam boy olsun */
        align-self: center; /* Ortaya gelsin */
        transition-delay: 0s; /* Gecikmeyi kaldır */
    }

    /* Üst Çizgi: 45 derece dön ve aşağı in */
    .mobile-toggle.open .h-bar.top {
        transform: translateY(11px) rotate(45deg);
    }

    /* Orta Çizgi: Kaybol */
    .mobile-toggle.open .h-bar.mid {
        opacity: 0;
        transform: translateX(-20px); /* Sola kayarak yok ol */
    }

    /* Alt Çizgi: -45 derece dön ve yukarı çık */
    .mobile-toggle.open .h-bar.bot {
        transform: translateY(-11px) rotate(-45deg);
    }
    
    /* Hover Efekti (Telefonda dokununca) */
    .mobile-toggle:active .h-bar {
        background-color: #e62e2e;
    }
}

/* === MİKRO DETAYLAR (CİLA) === */

/* 1. ÖZEL KAYDIRMA ÇUBUĞU (SCROLLBAR) - Sadece Webkit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 8px; /* İnce ve zarif */
}

/* Çubuğun Yolu (Arka Plan) */
::-webkit-scrollbar-track {
    background: #050505; 
    border-left: 1px solid #222;
}

/* Tutamaç (Hareket eden kısım) */
::-webkit-scrollbar-thumb {
    background: #e62e2e; /* Exay Kırmızısı */
    border-radius: 4px;
    border: 1px solid #000; /* Keskin hatlar için */
}

/* Tutamaç Üzerine Gelince */
::-webkit-scrollbar-thumb:hover {
    background: #ff4a4a; /* Parlak kırmızı */
    box-shadow: 0 0 10px #e62e2e; /* Neon parlama */
}

/* 2. METİN SEÇİM RENGİ (TEXT SELECTION) */
::selection {
    background-color: #e62e2e; /* Arka plan kırmızı */
    color: #fff; /* Yazı beyaz */
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

/* Firefox için özel seçim ayarı */
::-moz-selection {
    background-color: #e62e2e;
    color: #fff;
}

/* === NEURAL BACKGROUND (CANVAS) === */
#neural-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Her şeyin arkasında */
    pointer-events: none; /* Tıklamayı engelleme */
    opacity: 0.3; /* Çok hafif görünsün, göz yormasın */
}


/* === GOD MODE (KONAMI CODE EFFECT - ANİMASYONLU) === */

/* Matrix'e Geçiş Animasyonu */
@keyframes matrixEntry {
    0% { filter: hue-rotate(0deg); }
    10% { filter: invert(1); } /* Anlık beyazlama/ters renk */
    30% { filter: hue-rotate(45deg) contrast(2); }
    50% { filter: hue-rotate(90deg) blur(2px); }
    100% { filter: hue-rotate(120deg) contrast(1.2); }
}

.god-mode {
    animation: matrixEntry 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Matrix modundayken arka plan ve seçim rengi */
.god-mode body { background-color: #000; }
.god-mode ::selection { background: #0f0; color: #000; }

/* "SYSTEM HACKED" Mesajı */
.hacked-msg {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Courier Prime', monospace;
    font-size: 5rem;
    color: #0f0;
    text-shadow: 0 0 20px #0f0, 0 0 40px #0f0; /* Neon parlama */
    background: rgba(0, 0, 0, 0.9); /* Yazı okunsun diye arka plan */
    padding: 20px 40px;
    border: 4px solid #0f0;
    z-index: 2147483647 !important; /* İmleçten bile yukarıda olsun */
    pointer-events: none;
    animation: messageGlitch 0.2s infinite;
    display: none; /* JS ile açılacak */
}

/* Yazının titreme efekti */
@keyframes messageGlitch {
    0% { transform: translate(-50%, -50%) skewX(0deg); }
    20% { transform: translate(-52%, -48%) skewX(-10deg); }
    40% { transform: translate(-48%, -52%) skewX(10deg); }
    60% { transform: translate(-50%, -50%) skewX(0deg); }
    80% { transform: translate(-51%, -49%) skewX(-5deg); }
    100% { transform: translate(-50%, -50%) skewX(0deg); }
}

/* Mobilde yazıyı küçült */
@media (max-width: 768px) {
    .hacked-msg { font-size: 2.5rem; padding: 10px 20px; width: 90%; text-align: center; }
}

/* === SAYFA GEÇİŞ EFEKTİ (TRANSITION CURTAIN) === */
.page-transition {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #000;
    z-index: 20000; /* Her şeyin en üstünde */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* Tıklamayı engelleme (animasyon bitince gidecek) */
    transform: translateY(0); /* Başlangıçta kapalı */
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Perde Yukarı Kalkınca (Gizlenince) */
.page-transition.slide-out {
    transform: translateY(-100%);
}

.transition-logo {
    font-family: 'Black Ops One', cursive;
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    animation: blink 0.5s infinite;
}

.loading-bar-transition {
    width: 200px; height: 4px; background: #333;
    border-radius: 2px; overflow: hidden;
}

.bar-fill-transition {
    width: 0%; height: 100%; background: #e62e2e;
    animation: loadTransition 0.5s forwards;
}

@keyframes loadTransition { 100% { width: 100%; } }

/* === SECURITY POPUP (COOKIE) === */
#security-popup {
    position: fixed;
    bottom: -200px; /* Başlangıçta gizli */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid #e62e2e;
    box-shadow: 0 0 30px rgba(230, 46, 46, 0.2);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 15000;
    transition: bottom 0.5s ease;
    backdrop-filter: blur(10px);
}

#security-popup.active { bottom: 30px; }

.sec-icon { font-size: 2rem; color: #e62e2e; animation: pulse 2s infinite; }

.sec-text h4 { margin: 0; font-family: 'Black Ops One', cursive; color: #fff; letter-spacing: 1px; }
.sec-text p { margin: 5px 0 0; font-size: 0.8rem; color: #aaa; font-family: 'Courier Prime', monospace; }

.sec-buttons { display: flex; gap: 10px; }

#accept-btn {
    background: #e62e2e; color: #fff; border: none; padding: 10px 20px;
    font-weight: 700; cursor: pointer; font-family: 'Bebas Neue', sans-serif; letter-spacing: 1px;
    transition: 0.3s;
}
#accept-btn:hover { background: #fff; color: #000; }

#decline-btn {
    background: transparent; color: #888; border: 1px solid #555; padding: 10px 20px;
    font-weight: 700; cursor: pointer; font-family: 'Bebas Neue', sans-serif; letter-spacing: 1px;
    transition: 0.3s;
}
#decline-btn:hover { border-color: #fff; color: #fff; }

/* Mobil Uyum */
@media (max-width: 768px) {
    #security-popup { flex-direction: column; text-align: center; bottom: -400px; }
    #security-popup.active { bottom: 10px; }
    .sec-buttons { width: 100%; }
    #accept-btn, #decline-btn { flex: 1; }
}

/* === ÖZEL SAĞ TIK MENÜSÜ === */
#context-menu {
    position: fixed;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid #e62e2e;
    box-shadow: 0 0 20px rgba(230, 46, 46, 0.2);
    width: 250px;
    padding: 10px 0;
    border-radius: 4px;
    display: none; /* Başlangıçta gizli */
    z-index: 99999;
    backdrop-filter: blur(5px);
}

.menu-item {
    padding: 12px 20px;
    color: #ccc;
    font-family: 'Courier Prime', monospace;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-item:hover {
    background: rgba(230, 46, 46, 0.1);
    color: #e62e2e;
    padding-left: 25px; /* Hafif sağa kayma */
}

.menu-item.disabled {
    color: #555;
    cursor: not-allowed;
}
.menu-item.disabled:hover {
    background: transparent;
    padding-left: 20px;
    color: #555;
}

.menu-divider {
    height: 1px;
    background: #333;
    margin: 5px 0;
}

/* === MOUSE TRAIL (HAYALET İZİ) === */
.cursor-trail {
    position: fixed;
    width: 10px; height: 10px;
    background: #e62e2e;
    border-radius: 50%;
    pointer-events: none; /* Tıklamayı engelleme */
    z-index: 10000;
    opacity: 0.5;
    animation: fadeOutTrail 0.5s linear forwards;
}

@keyframes fadeOutTrail {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(0); opacity: 0; }
}

/* === GELİŞMİŞ FOOTER === */
.main-footer {
    background: #050505;
    border-top: 1px solid #222;
    padding: 15px 0;
    font-size: 0.8rem;
    color: #666;
}

.footer-grid-system {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.server-status {
    font-family: 'Courier Prime', monospace;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
}

.server-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #27c93f;
}

.blink-green { animation: blinker 1.5s infinite; }
.green-txt { color: #27c93f; }
.separator { color: #333; }

/* Ping Değeri Renk Değişimi İçin */
#ping-val { color: #fff; font-weight: bold; }

/* Mobil Uyum */
@media (max-width: 768px) {
    .footer-grid-system { flex-direction: column; gap: 10px; }
}

/* === CLICK SPARKS (TIKLAMA KIVILCIMLARI) === */
.click-spark {
    position: fixed;
    width: 4px; height: 4px;
    background-color: #e62e2e;
    pointer-events: none;
    border-radius: 50%;
    z-index: 99999;
    animation: sparkAnim 0.8s linear forwards;
    box-shadow: 0 0 10px #e62e2e;
}

@keyframes sparkAnim {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0); }
}

/* === SELF DESTRUCT BUTTON === */
.destruct-container {
    display: flex; align-items: center;
}

#self-destruct-btn {
    background: transparent;
    border: 1px solid #333;
    color: #555;
    font-family: 'Black Ops One', cursive;
    font-size: 0.8rem;
    padding: 5px 10px;
    cursor: pointer;
    transition: 0.3s;
}

#self-destruct-btn:hover {
    border-color: #e62e2e;
    color: #e62e2e;
    box-shadow: 0 0 15px rgba(230, 46, 46, 0.5);
    background: rgba(230, 46, 46, 0.1);
}

/* İMHA EFEKTİ KATMANI */
#purge-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: red;
    z-index: 999999;
    opacity: 0; pointer-events: none;
    mix-blend-mode: overlay;
    transition: opacity 0.1s;
}

.purge-active {
    animation: alarmFlash 0.5s infinite;
}

@keyframes alarmFlash {
    0% { opacity: 0; } 50% { opacity: 0.6; } 100% { opacity: 0; }
}

/* GERİ SAYIM YAZISI */
#countdown-display {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-family: 'Black Ops One', cursive;
    font-size: 15vw; color: #e62e2e;
    z-index: 1000000; display: none;
    text-shadow: 0 0 50px #000;
}
/* === SECURITY POPUP DÜZELTMESİ === */
#security-popup {
    position: fixed;
    bottom: -300px; /* Başlangıçta ekran dışında */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: rgba(5, 5, 5, 0.98); /* Çok koyu arka plan */
    border: 2px solid #e62e2e;
    box-shadow: 0 0 50px rgba(230, 46, 46, 0.3);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 15000; /* Her şeyin üstünde */
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

/* JS bu sınıfı ekleyince yukarı çıkacak */
#security-popup.active {
    bottom: 30px !important; 
}

.sec-icon { font-size: 2.5rem; color: #e62e2e; animation: pulse 1s infinite; }
.sec-text h4 { margin: 0; font-family: 'Black Ops One', cursive; color: #fff; letter-spacing: 1px; font-size: 1.2rem; }
.sec-text p { margin: 5px 0 0; font-size: 0.85rem; color: #aaa; font-family: 'Courier Prime', monospace; }
.sec-buttons { display: flex; gap: 10px; }

#accept-btn { background: #e62e2e; color: #fff; border: none; padding: 10px 25px; font-weight: 700; cursor: pointer; font-family: 'Bebas Neue', sans-serif; letter-spacing: 1px; transition: 0.3s; }
#accept-btn:hover { background: #fff; color: #000; }
#decline-btn { background: transparent; color: #888; border: 1px solid #555; padding: 10px 25px; font-weight: 700; cursor: pointer; font-family: 'Bebas Neue', sans-serif; letter-spacing: 1px; transition: 0.3s; }
#decline-btn:hover { border-color: #fff; color: #fff; }

/* === PURGE (İMHA) KATMANLARI === */
#purge-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: red;
    z-index: 999999; /* En en üstte */
    opacity: 0; 
    pointer-events: none;
    mix-blend-mode: overlay; /* Renkleri karıştırır */
    transition: opacity 0.1s;
    display: block; /* Gizli olmasın */
}

.purge-active {
    animation: alarmFlash 0.5s infinite;
    opacity: 0.6 !important; /* Görünür yap */
}

@keyframes alarmFlash { 0% { opacity: 0.1; } 50% { opacity: 0.6; } 100% { opacity: 0.1; } }

#countdown-display {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-family: 'Black Ops One', cursive;
    font-size: 20vw; color: #e62e2e;
    z-index: 1000000; 
    display: none; /* JS ile açılacak */
    text-shadow: 0 0 50px #000;
}
/* === KOMUTA PANELİ (DIKEY YAN PANEL) === */
.command-deck {
    position: fixed;
    top: 120px; /* Header'ın altına inmesi için boşluk */
    left: 30px; /* Sol kenardan boşluk */
    
    display: flex;
    flex-direction: column; /* Dikey hizalama */
    align-items: center;
    gap: 15px;
    
    background: rgba(5, 5, 5, 0.8); /* Daha şeffaf ve koyu */
    padding: 20px 10px; /* Dikey ince yapı */
    border: 1px solid #333;
    border-left: 3px solid #e62e2e; /* Sol tarafa kırmızı şerit */
    border-radius: 0 10px 10px 0; /* Sadece sağ köşeleri yuvarla */
    
    box-shadow: 5px 5px 20px rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    z-index: 9000; /* Header'ın altında kalsın */
    transition: 0.3s;
}

.command-deck:hover {
    border-color: #e62e2e;
    box-shadow: 0 0 30px rgba(230, 46, 46, 0.15);
    transform: translateX(5px); /* Üzerine gelince hafif sağa çıksın */
}

/* 1. VISUALIZER (Panel İçi - Minik) */
#audio-visualizer {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 15px;
    margin-bottom: 5px;
}

.bar {
    width: 3px;
    background: #e62e2e;
    animation: equalizer 1s infinite ease-in-out;
    height: 5px;
    border-radius: 2px;
}
/* Animasyonlar */
.bar:nth-child(1) { animation-duration: 0.8s; }
.bar:nth-child(2) { animation-duration: 1.1s; }
.bar:nth-child(3) { animation-duration: 0.9s; }
.bar:nth-child(4) { animation-duration: 1.2s; }

.visualizer-off .bar { height: 2px; opacity: 0.3; animation: none; }

/* 2. AYIRICI ÇİZGİLER (YATAY OLDU) */
.deck-separator {
    width: 20px; /* Genişlik */
    height: 1px; /* Yükseklik */
    background: #333;
}

/* 3. BUTONLAR */
.deck-btn {
    color: #aaa;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
    display: flex; align-items: center; justify-content: center;
    width: 35px; height: 35px;
    border-radius: 50%;
    border: 1px solid transparent;
}

.deck-btn:hover {
    color: #fff;
    background: rgba(230, 46, 46, 0.2);
    border-color: #e62e2e;
    text-shadow: 0 0 10px #e62e2e;
}

.discord-btn { text-decoration: none; }
.discord-btn:hover { color: #5865F2; border-color: #5865F2; background: rgba(88, 101, 242, 0.2); }

.muted { color: #555; text-decoration: line-through; }

/* MOBİL UYUM (MOBİLDE YUKARISI DOLU OLDUĞU İÇİN ALTA ALIYORUZ) */
@media (max-width: 768px) {
    .command-deck {
        top: auto; /* Üstü iptal et */
        bottom: 20px; /* Alta al */
        left: 20px; /* Sola yasla */
        flex-direction: row; /* Mobilde yatay olsun (yer kaplamasın) */
        padding: 8px 20px;
        border-left: 1px solid #333;
        border-bottom: 3px solid #e62e2e;
        border-radius: 10px 10px 0 0;
    }
    
    .deck-separator {
        width: 1px; height: 20px; /* Tekrar dikey çizgi yap */
    }
}

/* YENİ KOD (Sadece Hover Efekti Kalsın, Pozisyon Yok) */
#sound-control {
    /* Pozisyon ayarlarını kaldırdık, artık panelin (deck) kurallarına uyacak */
    background: transparent;
    border: none;
    box-shadow: none;
}

#sound-control:hover {
    /* Hover efektini deck-btn sınıfı hallediyor zaten, buraya gerek yok */
    background: transparent;
    box-shadow: none;
}

/* === ACİL DÜZELTME: SES BUTONU HİZALAMA === */
#sound-control {
    position: static !important; /* Sabitlemeyi iptal et, panelin içine girsin */
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
    background: transparent !important; /* Arkasındaki siyahlığı kaldır */
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
    margin: 0 !important;
    width: 35px !important;
    height: 35px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Hover durumunda da bozulmasın */
#sound-control:hover {
    background: rgba(230, 46, 46, 0.2) !important;
    border-color: #e62e2e !important;
    box-shadow: 0 0 10px #e62e2e !important;
}

/* Ayırıcı Çizgileri Düzelt (Dikey Menü İçin Yatay Çizgi Olmalı) */
.deck-separator {
    width: 20px !important;
    height: 1px !important;
    background: #555 !important;
    margin: 2px 0 !important;
}

/* Mobilde Ayırıcılar Dikey Olsun */
@media (max-width: 768px) {
    .deck-separator {
        width: 1px !important;
        height: 20px !important;
    }
}

/* === KESİN ÇÖZÜM: SES BUTONU HİZALAMA === */

/* 1. Eski ayarları tamamen ez */
#sound-control {
    position: static !important; /* Sabitlemeyi kaldır */
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* 2. İkon boyutunu ayarla */
#sound-control i {
    font-size: 1.2rem !important;
    color: #aaa !important;
}

/* 3. Hover Efekti */
#sound-control:hover i {
    color: #fff !important;
    text-shadow: 0 0 10px #e62e2e !important;
}

/* 4. Paneldeki ayırıcı çizgileri yatay yap */
.deck-separator {
    width: 20px !important;
    height: 1px !important;
    background: #555 !important;
    margin: 5px 0 !important;
}

/* === BAŞARIM SİSTEMİ (ACHIEVEMENTS) === */
#achievement-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none; /* Tıklamayı engelleme */
}

.achievement-popup {
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid #444;
    border-left: 4px solid #e62e2e; /* Kırmızı şerit */
    width: 300px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    
    /* Animasyon */
    animation: slideInRight 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, 
               fadeOutAchieve 0.5s ease 4.5s forwards; /* 4.5sn bekle sonra kaybol */
    transform: translateX(120%); /* Başlangıçta sağda gizli */
}

.achieve-icon {
    width: 40px; height: 40px;
    background: #222;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #e62e2e;
    font-size: 1.2rem;
    border: 1px solid #333;
    flex-shrink: 0;
}

.achieve-text h4 {
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: 1px;
}

.achieve-text p {
    margin: 2px 0 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: #aaa;
}

/* Animasyonlar */
@keyframes slideInRight {
    0% { transform: translateX(120%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOutAchieve {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(120%); opacity: 0; }
}

/* Parlama Efekti (Rare Achievement) */
.achievement-popup.rare {
    border-left-color: #d4af37; /* Altın */
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}
.achievement-popup.rare .achieve-icon {
    color: #d4af37;
    animation: spinCoin 2s infinite;
}
@keyframes spinCoin { 100% { transform: rotateY(360deg); } }

/* === İPUCU BUTONU (?) === */
#hint-trigger {
    position: fixed;
    bottom: 100px; left: 30px; /* Sol altta, diğerlerinden ayrı */
    width: 40px; height: 40px;
    border: 2px solid #555;
    color: #555;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Courier Prime', monospace;
    font-weight: bold; font-size: 1.2rem;
    cursor: help;
    z-index: 9995;
    transition: 0.3s;
    animation: pulseHint 3s infinite;
    background: rgba(0,0,0,0.8);
}

#hint-trigger:hover {
    border-color: #e62e2e; color: #e62e2e;
    box-shadow: 0 0 15px #e62e2e;
    transform: scale(1.1) rotate(360deg);
}

@keyframes pulseHint {
    0% { opacity: 0.5; } 50% { opacity: 1; box-shadow: 0 0 10px rgba(255,255,255,0.1); } 100% { opacity: 0.5; }
}

/* === İPUCU TERMİNALİ === */
.hint-content {
    width: 90%; max-width: 500px;
    background: #0a0a0a;
    border: 1px solid #e62e2e;
    padding: 30px;
    font-family: 'Courier Prime', monospace;
    box-shadow: 0 0 50px rgba(230, 46, 46, 0.2);
    position: relative;
}

.close-hint {
    position: absolute; top: 10px; right: 15px;
    color: #555; cursor: pointer; font-size: 1.5rem; transition: 0.3s;
}
.close-hint:hover { color: #e62e2e; }

.hint-content h3 {
    color: #e62e2e; border-bottom: 1px dashed #333;
    padding-bottom: 10px; margin-bottom: 20px; font-size: 1.5rem;
}

.hint-list { list-style: none; padding: 0; }
.hint-list li { margin-bottom: 15px; font-size: 0.9rem; line-height: 1.4; }
.cmd { color: #e62e2e; font-weight: bold; margin-right: 10px; }
.clue { color: #aaa; }

/* Gizli Link Efekti */
.secret-link:hover .clue {
    text-decoration: underline; text-shadow: 0 0 5px red;
}

/* === GİZLİ OYUN (SNAKE) === */
#game-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95); z-index: 20000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: 0.3s;
    backdrop-filter: blur(5px);
}
#game-overlay.active { opacity: 1; visibility: visible; }

.game-box {
    border: 4px solid #e62e2e; padding: 5px;
    background: #000; position: relative;
    box-shadow: 0 0 50px #e62e2e;
}

.game-header {
    display: flex; justify-content: space-between;
    color: #e62e2e; font-family: 'Black Ops One', cursive;
    padding: 10px; border-bottom: 2px solid #333; margin-bottom: 5px;
}

#close-game { cursor: pointer; transition: 0.3s; }
#close-game:hover { color: #fff; }

#snake-canvas { background: #111; display: block; }

.game-score {
    color: #fff; font-family: 'Courier Prime', monospace;
    text-align: center; padding: 10px; border-top: 2px solid #333; margin-top: 5px;
}

.game-controls {
    text-align: center; color: #555; font-size: 0.7rem; margin-top: 5px; font-family: sans-serif;
}

/* Mobil uyum */
@media (max-width: 768px) {
    #hint-trigger { bottom: 150px; left: 20px; }
    #snake-canvas { width: 300px; height: 300px; }
}

/* === ACİL DÜZELTME: İMLEÇ GÖRÜNÜRLÜĞÜ (GOD LAYER) === */
#custom-cursor, #cursor-dot {
    z-index: 2147483647 !important; /* CSS'teki en yüksek sayı */
    pointer-events: none !important; /* Tıklamayı engellememesi için */
}

/* İpucu penceresi ve Oyun açıldığında standart mouse'u yine de gizli tut */
.modal-overlay, #game-overlay {
    cursor: none !important;
}

/* Ama linklerin üzerinde olduğunu anlaması için */
.modal-overlay a, 
.modal-overlay .close-hint, 
.modal-overlay li,
#game-overlay .game-header span {
    cursor: none !important; /* Sistem imlecini gizle, bizimki görünsün */
}

/* === SYSTEM TICKER (ZAMANLI HABER ŞERİDİ) === */
.system-ticker {
    position: fixed;
    bottom: -50px; /* BAŞLANGIÇTA GİZLİ (Ekranın altında) */
    left: 0;
    width: 100%;
    height: 30px; /* Yüksekliği sabitledik */
    background: #e62e2e;
    color: #000;
    font-family: 'Courier Prime', monospace;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 20000;
    border-top: 1px solid #fff;
    
    /* Animasyonlu Giriş/Çıkış */
    transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* JS bu sınıfı ekleyince yukarı fırlayacak */
.system-ticker.active {
    bottom: 0;
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: tickerScroll 30s linear infinite;
    padding-left: 100%;
}


.ticker-content span {
    margin: 0 20px;
}

.ticker-content .separator {
    color: #fff;
    font-weight: 900;
}

@keyframes tickerScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Mobilde Command Deck ile çakışmasın diye biraz yukarı alalım */
@media (max-width: 768px) {
    .command-deck {
        bottom: 35px !important; /* Ticker'ın üstüne çıksın */
    }
    #scroll-top {
        bottom: 45px !important;
    }
}

/* === SCROLL PROGRESS BAR (İLERLEME ÇUBUĞU) === */
#scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 0%; /* JS ile dolacak */
    height: 3px;
    background: #e62e2e;
    box-shadow: 0 0 10px #e62e2e, 0 0 20px #e62e2e; /* Neon Parlama */
    z-index: 30000; /* Header'ın bile üstünde */
    transition: width 0.1s;
}