
:root {
    --bg-dark: #0a0b0e;
    --bg-card: rgba(22, 24, 29, 0.9);
    --bg-header: rgba(10, 11, 14, 0.95);
    
    /* NOD RED THEME */
    --accent: #e62e2e; 
    --accent-glow: rgba(230, 46, 46, 0.5);
    --accent-hover: #ff4d4d;
    
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --border: #2d3038;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow-x: hidden;
}

/* --- UI POLISH --- */
::selection {
    background: var(--accent);
    color: #fff;
    text-shadow: none;
}

::-webkit-scrollbar {
    width: 10px;
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
    border: 1px solid #000;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* TERMINAL PLACEHOLDER */
.img-placeholder {
    background-color: #0d0d0d;
    border: 1px solid var(--border);
    color: var(--accent);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    font-family: 'Courier New', monospace;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 4px;
    padding: 20px;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
    overflow: hidden;
}

.img-placeholder::after {
    content: "> System_Ready...\A > Detecting_Game_Path: OK\A > Auto_Save: ENABLED\A > Analyzing_Replay: [Red_Zone_Rampage.KWReplay]\A > Player_1_APM: 145 [AVG] | 210 [PEAK]\A > Tech_Structure_Captured: 04:22\A > Superweapon_Detected: 08:15\A > Discord_Copy_Hash: GENERATED\A > Waiting_for_input_";
    white-space: pre-wrap;
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.8;
}

h1, h2, h3, h4, .logo-text, .step-num {
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

/* --- ANIMATION --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* --- NAVBAR --- */
.navbar {
    background-color: var(--bg-header);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    height: 80px;
    display: flex;
    align-items: center;
    transition: top 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.nav-icon { height: 42px; width: auto; }

.logo-text {
    font-size: 2rem;
    line-height: 1;
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4); 
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.95rem;
    position: relative;
    opacity: 0.7;
}

.nav-links a:hover { 
    color: #fff; 
    opacity: 1; 
}

/* ACTIVE NAV STATE (RED LINE) */
.nav-links a.active {
    color: #fff;
    opacity: 1;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* The Cool "Underline" Indicator */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--accent);
}

.nav-links a.active::after {
    width: 100%;
}

.btn-nav {
    background-color: var(--accent);
    color: #fff !important;
    opacity: 1 !important;
    padding: 0.5rem 1.2rem;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 0 15px var(--accent-glow);
}

.btn-nav::after { display: none; }


body.admin-bar .navbar {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .navbar {
        top: 46px;
    }
}

/* HAMBURGER */
.hamburger { display: none; cursor: pointer; }
.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #fff;
}

/* --- HERO SECTION --- */
.hero {
    display: flex;
    flex-direction: column;
    padding: 9rem 5% 4rem;
    align-items: center;
    text-align: center;
    min-height: 100vh;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.sys-req {
    color: var(--text-muted); 
    font-size: 0.75rem; 
    letter-spacing: 1px; 
    text-transform: uppercase;
}

/* BUTTONS (CHAMFERED) */
.btn-primary, .btn-secondary {
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    position: relative;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #a81818 100%);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
    box-shadow: 0 0 30px rgba(230, 46, 46, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    box-shadow: inset 0 0 0 2px var(--border); 
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 0 2px var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

/* --- HERO IMAGE: TACTICAL BRACKET FRAME --- */
.hero-image {
    position: relative;
    margin: 20px auto; 
    max-width: 1000px;
    background: transparent;
    box-shadow: 0 20px 80px rgba(0,0,0,0.6); 
    transition: transform 0.3s ease;
    /* FIX 1: Force cursor on the container */
    cursor: zoom-in;
}

/* The Image itself - PURE RECTANGLE */
.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.15); 
    clip-path: none; 
    /* FIX 2: Bring image to front (Level 2) */
    position: relative;
    z-index: 2; 
}

/* THE RED BRACKETS */
.hero-image::before, 
.hero-image::after {
    content: '';
    position: absolute;
    width: 60px;        
    height: 60px;      
    border: 3px solid var(--accent); 
    transition: all 0.3s ease;
    pointer-events: none;
    /* FIX 3: Send brackets behind the image (Level 1) */
    z-index: 1; 
}

/* Top-Left Bracket */
.hero-image::before {
    top: -8px;    
    left: -8px;   
    border-right: none;
    border-bottom: none;
    /* Use filter instead of box-shadow to prevent "square" artifacts */
    filter: drop-shadow(-2px -2px 5px var(--accent-glow));
}

/* Bottom-Right Bracket */
.hero-image::after {
    bottom: -8px; 
    right: -8px;  
    border-left: none;
    border-top: none;
    filter: drop-shadow(2px 2px 5px var(--accent-glow));
}

/* Hover Effect: Brackets snap closer */
.hero-image:hover::before {
    top: -2px; left: -2px;
}
.hero-image:hover::after {
    bottom: -2px; right: -2px;
}

/* --- SECTIONS & FEATURES --- */
.section {
    padding: 6rem 5%;
    scroll-margin-top: 100px;
}

.section-darker {
    background-color: rgba(5, 6, 7, 0.6);
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-main);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 4rem;
    font-size: 1.1rem;
    margin-top: -2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(230, 46, 46, 0.2);
}

/* ICON STYLING - FORCED RED */
.card-icon {
    margin-bottom: 1rem;
    height: 40px;
    display: flex;
    align-items: center;
}

.feature-icon-svg {
    width: 40px;
    height: 40px;
    fill: var(--accent) !important;
    filter: drop-shadow(0 0 5px rgba(230, 46, 46, 0.6));
}

.feature-icon-svg path {
    fill: var(--accent) !important;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-card p { color: var(--text-muted); }

/* --- GUIDE --- */
.guide-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.step-num {
    font-size: 2.5rem;
    color: var(--accent);
    opacity: 0.8;
    line-height: 1;
}

.step-text h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.step-text p { color: var(--text-muted); }

/* --- FAQ ACCORDION --- */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--bg-card);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 1.2rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0,0,0,0.2);
}

.faq-answer p {
    padding: 1.2rem;
    color: var(--text-muted);
}

/* --- DOWNLOADS --- */
.release-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    backdrop-filter: blur(10px);
}

.release-card:first-of-type {
    border: 1px solid var(--accent);
    box-shadow: 0 0 20px rgba(230, 46, 46, 0.15);
}

.latest-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 0 10px var(--accent-glow);
    letter-spacing: 1px;
}

.release-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.release-info h3 { font-size: 1.8rem; color: #fff; }

.release-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: block;
    margin-top: 4px;
}

.release-btn {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.6rem 1.8rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.release-btn:hover {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Changelog Lists */
.changelog-content {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.changelog-content ul {
    list-style: none !important;
    margin: 0; padding: 0;
}

.changelog-content ul li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.changelog-content ul li::before {
    content: "›";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

/* --- FOOTER --- */
footer {
    border-top: 1px solid var(--border);
    padding: 3rem 5%;
    text-align: center;
    color: var(--text-muted);
    background: #050505;
}

.footer-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--accent); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hamburger { display: block; z-index: 1001; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav-links {
        position: fixed; left: -100%; top: 0;
        gap: 0; flex-direction: column;
        background-color: #0a0b0e;
        width: 100%; height: 100vh;
        text-align: center; transition: 0.3s;
        padding-top: 100px; z-index: 999;
    }

    .nav-links.active { left: 0; }
    .nav-links li { margin: 1.5rem 0; }
    .nav-links a { font-size: 1.5rem; }
    
    .hero { padding-top: 8rem; }
    .hero-content h1 { font-size: 2.2rem; }
    .guide-layout { grid-template-columns: 1fr; }
    .guide-image { order: -1; margin-bottom: 2rem; }
}

/* --- SCANLINES --- */
.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.1) 50%,
        rgba(0,0,0,0.1)
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 10;
    opacity: 0.6;
}

/* --- LIGHTBOX --- */
.lightbox-modal {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active { opacity: 1; pointer-events: all; }

.lightbox-content {
    max-width: 90%; max-height: 90vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    border-radius: 4px;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox-modal.active .lightbox-content { transform: scale(1); }

.lightbox-close {
    position: absolute; top: 20px; right: 30px;
    color: #ffffff; font-size: 3rem;
    font-weight: 300; cursor: pointer;
    z-index: 10000; line-height: 1;
}

.lightbox-close:hover { color: var(--accent); }