/* =========================================
   1. CORE VARIABLES & RESET
   ========================================= */
:root {
    
    --card-bg: #0f0f0f;
    --accent: #FF003C;
    /* SIAMÉS Red */
    --hud-color: #00F3FF;
    /* Cyber Blue */
    --text-main: #EAEAEA;
    --text-dim: #888888;

    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --font-hud: 'Rajdhani', sans-serif;

    --ease-smooth: cubic-bezier(0.19, 1, 0.22, 1);
    /* Expo Out - Çok akıcı */
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    cursor: none;
    /* Sistem imlecini gizle */
    scroll-behavior: auto;
    /* Lenis kullanacağımız için */
}

/* Scrollbar Gizle */
::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
}

/* Linkler */
a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

button {
    border: none;
    background: none;
    cursor: none;
}

/* Utilities */
.accent-text {
    color: var(--accent) !important;
    text-shadow: 0 0 50px #550417!important;
}
.accent-text2 {
    color: #ffd900 !important;
    text-shadow: 0 0 50px #ffd90050!important;
 
}

.hud-text {
    font-family: var(--font-hud);
    letter-spacing: 2px;
}

/* =========================================
   2. UI OVERLAYS (CURSOR, PRELOADER, FX)
   ========================================= */

/* Scanlines (Retro TV Effect) */
.scanlines {
    position: fixed;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0) 50%,
            rgba(0, 0, 0, 0.1) 50%,
            rgba(0, 0, 0, 0.1));
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.4;
}

/* Flash Overlay (Start Game Effect) */
.flash-overlay {
    position: fixed;
    inset: 0;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    z-index: 9990;
}

/* Custom Cursor (Nişangah) */
.cursor-reticle {
    width: 40px;
    height: 40px;
    
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-smooth), height 0.3s var(--ease-smooth), transform 0.1s linear;
    mix-blend-mode: difference;
}

.cursor-reticle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: var(--accent);
    transform: translate(-50%, -50%);
}

/* Cursor Corners */
.cursor-corner {
    position: absolute;
    width: 8px;
    height: 8px;
    border-color: var(--accent);
    border-style: solid;
    transition: border-color 0.3s;
}

.tl {
    top: -2px;
    left: -2px;
    border-width: 2px 0 0 2px;
}

.tr {
    top: -2px;
    right: -2px;
    border-width: 2px 2px 0 0;
}

.bl {
    bottom: -2px;
    left: -2px;
    border-width: 0 0 2px 2px;
}

.br {
    bottom: -2px;
    right: -2px;
    border-width: 0 2px 2px 0;
}

/* Hover State */
body.hovering .cursor-reticle {
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%) rotate(45deg);
    border-color: var(--hud-color);
    border-width: 2px;
}

body.hovering .cursor-corner {
    border-color: var(--hud-color);
}

body.hovering .cursor-reticle::after {
    background: var(--hud-color);
    box-shadow: 0 0 15px var(--hud-color);
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-content {
    width: 300px;
    text-align: center;
}

.loader-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.loader-track {
    width: 100%;
    height: 2px;
    background: #333;
    position: relative;
    overflow: hidden;
}

#loader-bar {
    width: 0%;
    height: 100%;
    background: var(--accent);
}

/* =========================================
   3. NAVIGATION
   ========================================= */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5000;
    mix-blend-mode: difference;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-hud);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-mobile-btn {
    display: none;
    font-size: 1.5rem;
}

/* =========================================
   4. HERO SECTION
   ========================================= */
#hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(180deg,
                #000000 0%,
                #08080c 40%,
                #12000a 70%,
                #1a0010 100%);
                z-index: -1;
}
#hero-section::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: #000000ab;
   z-index: 0;
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    mix-blend-mode: screen;
    filter: grayscale(100%) contrast(1.2);
    transform: scale(1.1);
    /* Parallax için pay */
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 18vw;
    font-weight: 700;
    
    text-transform: uppercase;

    

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

    filter: contrast(1.2) brightness(1.1);
}

.hero-subtitle {
    font-family: var(--font-hud);
    font-size: 2rem;
    font-weight: 500;
    
    color: #fff;
    text-shadow: 0 0 50px #fff;
    margin-top: 2rem;
    animation: pulse 2s infinite;
}
.badge-popular {
  
   
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 700;
}

.featured {
    transform: scale(1.03);
}
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.float-elem {
    position: absolute;
    font-family: var(--font-heading);
    font-weight: 700;
    z-index: 5;
    pointer-events: none;
}

.top-left {
    top: 15%;
    left: 5%;
    font-size: 1.5rem;
    letter-spacing: 0.5em;
    transform: rotate(90deg);
    color: rgba(255, 255, 255, 0.5);
}

.bottom-right {
    bottom: 15%;
    right: 5%;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.05);
}
.bg-fixed{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(180deg,
                #000000 0%,
                #08080c 40%,
                #12000a 70%,
                #1a0010 100%);
                z-index: -1;
}


/* =========================================
   5. TUNNEL SECTION
   ========================================= */
#tunnel-section {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    perspective: 1000px;
    z-index: 10;
    
}

.tunnel-word {
    position: absolute;
    font-family: var(--font-heading);
    font-size: 8vw;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    opacity: 0;
    /* JS ile kontrol edilecek */
    white-space: nowrap;
    will-change: transform, opacity, filter;
}

/* =========================================
   6. ABOUT SECTION (SCROLLYTELLING)
   ========================================= */
#about-section {
    position: relative;
    width: 100%;
    
    z-index: 20;
}

.story-container {
    display: flex;
    height: 100vh;
    /* Pinned olacak */
    overflow: hidden;
}

/* Text Column */
.story-text-col {
    width: 50%;
    height: 100%;
    padding: 5vw;
    padding-bottom: 2vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid #222;
}

.section-label {
    font-family: var(--font-hud);
    color: var(--accent);
    letter-spacing: 5px;
    margin-bottom: 6rem;
}

.story-step {
    margin-bottom: 1rem;
    opacity: 0.2;
    transition: opacity 0.5s;
    border-left: 2px solid #333;
    padding-left: 2rem;
}

.story-step.active {
    opacity: 1;
    border-left: 4px solid var(--accent);
}

.story-step h2 {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 50px #ffffff50;
}

.story-step p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #f5f5f5;
}

/* Visual Column */
.story-visual-col {
    width: 50%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.story-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.2);
    filter: grayscale(0%);
    transition: all 0.8s var(--ease-smooth);
}

.story-img.active {
    opacity: 1;
    transform: scale(1);
}


/* =========================================
   8. MISSIONS SECTION (MAP REVEAL)
   ========================================= */
#missions-section {
    position: relative;
    min-height: 100vh;
    
    padding: 10vh 10vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 40;
    
}
#map-reveal {
    position: fixed;
    top: 0;
    left: 0;
    width: 350px;
    /* Boyutu ihtiyacına göre ayarla */
    pointer-events: none;
    /* Mouse resmin üstüne binince sapıtmasın */
    z-index: 10000;
    opacity: 0;
    border: 2px solid #FF003F;
    /* Siamese Kırmızısı */
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    /* Resmin başlangıç noktasını kendi merkezi yapalım */
    transform: translate(-50%, -50%) scale(0.9);
    will-change: transform;
    /* Performans için */
}
.missions-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    border-bottom: 1px solid #333;
    padding-bottom: 2rem;
}

.missions-header h2 {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1;
}

.system-status {
    font-family: var(--font-hud);
    color: var(--hud-color);
    animation: pulse 2s infinite;
}

.mission-list {
    position: relative;
}

/* Hover Reveal Map */
.map-reveal-img {
    position: absolute;
    top: 50%;
    right: 5%;
    width: 400px;
    height: 300px;
    object-fit: cover;
    transform: translateY(-50%) rotate(5deg) scale(0.9);
    opacity: 0;
    pointer-events: none;
    border: 1px solid var(--accent);
   
    transition: all 0.4s ease-out;
    z-index: 0;
}

/* JS ile aktifken class ekleyeceğiz veya CSS sibling selector */

.mission-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 0;
    border-bottom: 1px solid #222;
    position: relative;
    z-index: 10;
    transition: all 0.3s;
}

.mission-item:hover {
    padding-left: 2rem;
    border-color: var(--accent);
}

.mission-item:hover .m-city {
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent);
}

.m-date {
    font-family: var(--font-hud);
    color: #666;
    width: 150px;
}

.m-city {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    transition: color 0.3s;
}

.m-status {
    font-family: var(--font-hud);
    font-size: 0.9rem;
    letter-spacing: 2px;
    border: 1px solid #333;
    padding: 5px 10px;
    color: #666;
    transition: all 0.3s;
}

.mission-item:hover .m-status {
    border-color: var(--hud-color);
    color: var(--hud-color);
    background: rgba(0, 243, 255, 0.05);
}

/* =========================================
   9. DISCOGRAPHY (HORIZONTAL)
   ========================================= */
#discography-section {
    height: 100vh;
    background: #EAEAEA;
    overflow: hidden;
    position: relative;
    z-index: 50;
}

.disco-track {
    display: flex;
    height: 100%;
    width: max-content;
}

.disco-header {
    width: 40vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 5vw;
    border-right: 1px solid #ccc;
    color: #000;
}

.disco-header h1 {
    font-size: 4rem;
    line-height: 0.9;
    font-weight: 800 !important;
}

.disco-header p {
    font-family: var(--font-hud);
    letter-spacing: 5px;
    margin-top: 2rem;
    color: #666;
}

.album-card {
    width: 50vw;
    height: 100%;
    border-right: 1px solid #ccc;
    position: relative;
    overflow: hidden;
    display: block;
}

.album-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0%);
    transition: all 0.6s var(--ease-smooth);
}

.album-card:hover .album-img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.album-info {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    color: #fff;
    mix-blend-mode: difference;
    pointer-events: none;
}

.stage-id {
    font-family: var(--font-hud);
    font-weight: 700;
    font-size: 1.2rem;
}

.album-info h3 {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1;
}

/* =========================================
   10. FOOTER
   ========================================= */
footer {
    
    color: #fff;
    border-top: 2px solid #333;
    position: relative;
    z-index: 60;
}

.marquee-strip {
    background: var(--accent);
    color: #000;
    padding: 10px 0;
    overflow: hidden;
}

.marquee-content {
    font-family: var(--font-hud);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    white-space: nowrap;
    width: fit-content;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    border-bottom: 1px solid #222;
}

.footer-brand {
    grid-column: span 6;
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 700;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #222;
    transition: color 0.3s;
}

.footer-brand:hover {
    color: #fff;
    text-shadow: -4px 4px 0 var(--accent);
}

.footer-links {
    grid-column: span 3;
    padding: 4rem;
    border-right: 1px solid #222;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links:last-child {
    border-right: none;
}

.footer-links h4 {
    font-family: var(--font-hud);
    color: var(--accent);
    margin-bottom: 1rem;
}

.footer-links a {
    font-family: var(--font-hud);
    font-size: 1.1rem;
    color: #888;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 10px;
}

.footer-bottom {
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-hud);
    font-size: 0.8rem;
    color: #444;
}

/* =========================================
   11. RESPONSIVE (MOBILE)
   ========================================= */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-mobile-btn {
        display: block;
        color: white;
    }

    .hero-title {
        font-size: 22vw;
    }

    .story-container {
        flex-direction: column-reverse;
        height: auto;
    }

    .story-text-col,
    .story-visual-col {
        width: 100%;
        height: 50vh;
    }

    .story-visual-col {
        height: 40vh;
        position: sticky;
        top: 0;
    }

    #pack-section {
        flex-direction: column;
        height: auto;
    }

    .pack-char {
        height: 60vh;
        border-right: none;
        border-bottom: 1px solid #222;
    }

    .char-name {
        font-size: 3rem;
    }

    .mission-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .map-reveal-img {
        display: none;
    }

    .disco-header {
        width: 100vw;
        padding: 2rem;
        border-right: none;
        border-bottom: 1px solid #ccc;
    }

    .album-card {
        width: 100vw;
        height: 50vh;
        border-right: none;
        border-bottom: 1px solid #ccc;
    }

    #discography-section {
        height: auto;
        overflow-y: auto;
    }

    .disco-track {
        flex-direction: column;
        width: 100%;
        height: auto;
    }

    .footer-brand {
        grid-column: span 12;
        font-size: 4rem;
        border-right: none;
        border-bottom: 1px solid #222;
        padding: 2rem 0;
    }

    .footer-links {
        grid-column: span 6;
        border-bottom: 1px solid #222;
        padding: 2rem;
    }
}

/* =========================================
   NEW SECTIONS STYLES
   ========================================= */

/* --- 1. THE ARMORY (MERCH) --- */
#armory-section {
    padding: 10vh 5vw;
    background: #0c0c0c;
    
    position: relative;
    z-index: 40;
}

.armory-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4rem;
    border-bottom: 2px solid #222;
    padding-bottom: 1rem;
}

.armory-header h2 {
    font-family: var(--font-heading);
    font-size: 4rem;
}

.armory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.loot-card {
    background: #111;
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    padding-bottom: 1rem;
}

.loot-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.loot-rarity {
    position: absolute;
    top: 10px;
    right: 10px;
    font-family: var(--font-hud);
    background: #000;
    font-size: 18px;
    font-weight: bold;
    padding: 2px 8px;
    border: 1px solid;
    z-index: 10;
}

.rare {
    color: #00F3FF;
    border-color: #00F3FF;
}

.legendary {
    color: #FFD700;
    border-color: #FFD700;
}

.common {
    color: #FFF;
    border-color: #FFF;
}

.loot-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: grayscale(0%);
    transition: 0.4s;
}

.loot-card:hover {
    border: 1px solid #FF003F;
    }
   

.loot-info {
    padding: 1.5rem;
    text-align: center;
}

.loot-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.loot-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-family: var(--font-hud);
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
}

.equip-btn {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    color: #fff;
    font-family: var(--font-hud);
    letter-spacing: 2px;
    transition: 0.3s;
}

.loot-card:hover .equip-btn {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
    font-weight: bold;
}


/* --- 3. MEMORY ARCHIVES (GALLERY) --- */
#archives-section {
    padding: 10vh 5vw;
    
    
    position: relative;
    z-index: 40;
}

.section-title-center {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title-center h2 {
    font-family: var(--font-heading);
    font-size: 4rem;
}

.section-title-center p {
    color: #666;
    letter-spacing: 5px;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.archive-item {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    border: 1px solid #222;
}

.cctv-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0%) contrast(1.2) brightness(0.8);
    transition: all 0.4s;
}



.cctv-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-family: var(--font-hud);
    font-size: 0.7rem;
    color: var(--hud-color);
    background: rgba(0, 0, 0, 0.7);
    padding: 2px 5px;
}

/* --- 4. SIGNAL LOGS (TICKER) --- */
#signal-section {
    padding: 2rem 0;
    background: var(--accent);
    color: #000;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 45;
}

.signal-wrapper {
    display: flex;
}

.signal-track {
    display: flex;
    animation: scrollLeft 20s linear infinite;
}

.signal-item {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-right: 4rem;
    text-transform: uppercase;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}



/* MOBILE FIXES */
@media (max-width: 768px) {
    .armory-grid {
        grid-template-columns: 1fr;
    }

    .archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .uplink-terminal {
        width: 90%;
    }

    
}