:root {
    --bg-dark: #030303;
    --bg-panel: #111111;
    --text-main: #e0e0e0;
    --text-muted: #888;
    --accent-red: #b91c1c;
    --accent-steel: #475569;
    --font-head: 'Oswald', sans-serif;
    --font-body: 'Roboto Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { background-color: var(--bg-dark); }
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; color: #fff; }
h1 { font-size: clamp(2.5rem, 8vw, 5rem); line-height: 1; }
h2 { font-size: 2.5rem; margin-bottom: 2rem; border-left: 5px solid var(--accent-red); padding-left: 20px; }
.text-red { color: var(--accent-red); }

/* --- PAGE TRANSITION --- */
.page-transition {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #030303;
    z-index: 999999;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}
.page-transition.loaded { opacity: 0; visibility: hidden; }

/* --- HEADER & NAVIGATION --- */
header {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(7, 7, 7, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    transition: all 0.4s ease;
}

.brand { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: #fff; letter-spacing: -1px; z-index: 1001; }
.brand span { color: var(--accent-red); text-shadow: 0 0 10px rgba(185, 28, 28, 0.3); }

/* Burger Menu Icon (Now a Button) */
.burger {
    width: 30px; height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    padding: 0;
}
.burger span {
    display: block;
    width: 100%; height: 2px;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}
.burger:hover span { background-color: var(--accent-red); }

#nav-menu.active ~ .burger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
#nav-menu.active ~ .burger span:nth-child(2) { opacity: 0; }
#nav-menu.active ~ .burger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile Nav Styling */
nav ul {
    position: fixed;
    top: 0; right: -100%;
    width: 100%; height: 100vh;
    background: rgba(3, 3, 3, 0.98);
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    list-style: none;
    transition: 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}
nav ul.active { right: 0; }

nav a {
    position: relative;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 1.5rem; 
    text-transform: uppercase;
    font-family: var(--font-head);
    letter-spacing: 2px;
    padding-bottom: 5px;
    transition: 0.3s;
}
nav a:hover, nav a.active { color: #fff; }

nav a.nav-link::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 50%;
    background-color: var(--accent-red); transition: all 0.3s ease;
    transform: translateX(-50%); box-shadow: 0 0 10px rgba(185, 28, 28, 0.8);
}
nav a.nav-link:hover::after, nav a.active::after { width: 100%; }

.lang-switch { margin-top: 20px; }
.lang-switch a { font-size: 1.2rem; letter-spacing: 1px; padding-bottom: 0; }
.lang-switch a::after { display: none; }
.lang-switch a.active-lang { color: var(--accent-red); }
.lang-separator { color: #444; margin: 0 10px; font-size: 1.2rem; }

/* Desktop Adjustments */
@media (min-width: 992px) {
    .burger { display: none; }
    nav ul {
        position: static; width: auto; height: auto; background: transparent;
        flex-direction: row; align-items: center; gap: 30px; transition: none;
    }
    nav a { font-size: 0.9rem; letter-spacing: 1.5px; }
    .lang-switch { margin-top: 0; margin-left: 10px; }
    .lang-switch a { font-size: 0.9rem; }
    .lang-separator { font-size: 0.9rem; margin: 0 5px; }
}

/* --- HERO --- */
.hero {
    position: relative; height: 100vh;
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    background: linear-gradient(rgba(3, 3, 3, 0.8), rgba(3, 3, 3, 0.85)), url('https://www.transparenttextures.com/patterns/black-felt.png'); 
    padding: 20px;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(185, 28, 28, 0.18) 0%, transparent 60%);
    pointer-events: none; z-index: 0; opacity: 0; animation: fade-in-glow 3s ease-in-out forwards 0.5s;
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 1.5rem; opacity: 0; animation: fade-in 1.2s forwards 0.3s; }
.hero p { font-size: 1.1rem; max-width: 800px; margin-bottom: 2.5rem; color: var(--text-muted); opacity: 0; animation: fade-in 1.2s forwards 0.8s; }

.kill-them-all {
    display: inline-block; font-family: var(--font-head); font-size: 1.4rem; text-transform: uppercase;
    color: var(--accent-red); opacity: 0;
    animation: slide-fade-in 1.2s forwards 1.2s, subtle-pulse 4s infinite ease-in-out 2.4s;
}

.btn-primary {
    background: var(--accent-red); color: #fff; padding: 15px 35px;
    font-family: var(--font-head); font-size: 1.1rem; text-transform: uppercase; border: none; cursor: pointer;
    text-decoration: none; display: inline-block; transition: 0.3s;
    clip-path: polygon(10% 0, 100% 0, 100% 80%, 90% 100%, 0 100%, 0 20%);
    opacity: 0; animation: fade-in 1s forwards 1.5s;
}
.btn-primary:hover { background: #991b1b; transform: scale(1.05); box-shadow: 0 0 25px rgba(185, 28, 28, 0.6); }
.btn-primary.no-anim { animation: none; opacity: 1; }

.ip-feedback-msg {
    margin-top: 15px; color: var(--accent-red); font-weight: bold; font-size: 0.9rem; 
    opacity: 0; transition: 0.3s; text-transform: uppercase; font-family: var(--font-head);
}

/* --- ANIMATIONS --- */
@keyframes fade-in { to { opacity: 1; } }
@keyframes fade-in-glow { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-fade-in { 0% { opacity: 0; transform: translateY(15px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes subtle-pulse { 0%, 100% { text-shadow: 0 0 5px rgba(185,28,28,0.2); } 50% { text-shadow: 0 0 15px rgba(185,28,28,0.8); } }

/* --- SECTIONS --- */
.container { max-width: 1200px; margin: 0 auto; padding: 60px 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.card { background: var(--bg-panel); border: 1px solid #222; padding: 2rem; transition: 0.4s; }
.card:hover { border-color: var(--accent-red); transform: translateY(-5px); }
.card h3 { margin-bottom: 1rem; font-size: 1.4rem; }
.card p { color: var(--text-muted); font-size: 0.9rem; }

/* Section Specific Utilities */
.section-discord { padding-top: 60px; }
.section-slasher { padding-top: 20px; }
.section-shop { border-top: 1px dashed #222; margin-top: 50px; }

/* --- DISCORD BANNER --- */
.discord-banner {
    background: linear-gradient(145deg, #111, #080808);
    border: 1px solid #222;
    padding: 50px 30px;
    text-align: center;
    transition: all 0.4s ease;
}
.discord-banner:hover {
    border-color: var(--accent-red);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(185, 28, 28, 0.15);
}
.discord-banner h2 { border: none; padding: 0; margin-bottom: 15px; }
.discord-desc { color: var(--text-muted); max-width: 600px; margin: 0 auto 30px auto; font-size: 1.05rem; }

/* --- SHOP --- */
.shop-title { text-align: center; border: none; padding: 0; }
.shop-subtitle { text-align: center; color: #888; margin-bottom: 50px; }
.shop-preview-item { background: #111; border: 1px solid #222; padding: 30px; text-align: center; transition: 0.4s; }
.shop-preview-item:hover { border-color: var(--accent-red); }
.btn-store { margin-top: 20px; border: 1px solid #444; color: #fff; padding: 10px 20px; text-decoration: none; display: inline-block; font-family: var(--font-head); transition: 0.3s; }
.btn-store:hover { background: #fff; color: #000; }
.shop-cta { text-align: center; margin-top: 60px; }

/* Scroll Reveal Logic */
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.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; }

/* --- FOOTER --- */
footer { border-top: 1px solid #222; padding: 40px; text-align: center; color: #444; font-size: 0.8rem; }
.footer-links { margin-top: 15px; }
.footer-links a { color: #666; text-decoration: none; transition: 0.3s; text-transform: uppercase; letter-spacing: 1px; }
.footer-links a:hover { color: #fff; }