/* =========================================================
   DAYZ MILITARY WEBSITE - STYLESHEET
   GamingBude Tactical Green Edition
========================================================= */

/* =========================================================
   GLOBAL & RESET
========================================================= */
* { 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
}

body {
    margin: 0;
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(rgba(5,10,5,0.94), rgba(5,10,5,0.98)), url('../bilder/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #dce7d6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    cursor: url('https://cur.cursors-4u.net/games/gam-15/gam1422.cur'), auto;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255,255,255,0.015), rgba(255,255,255,0.015) 1px, transparent 1px, transparent 3px);
    pointer-events: none;
    z-index: 9999;
}

/* =========================================================
   HEADER & SLIDESHOW
========================================================= */
header {
    position: relative;
    width: 100%;
    height: 570px;
    overflow: hidden;
    border-bottom: 4px solid #5f7c56;
    background: #000;
    box-shadow: 0 0 35px rgba(0,0,0,0.8), inset 0 -120px 150px rgba(0,0,0,0.85);
}

.slideshow-container { 
    position: absolute; 
    inset: 0; 
    z-index: 1; 
}

.slide { 
    position: absolute; 
    inset: 0; 
    background-size: cover; 
    background-position: center; 
    opacity: 0; 
    transition: opacity 2s ease-in-out; 
}

.slide.active { 
    opacity: 1; 
}

.banner-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    width: 100%;
    max-width: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.banner-logo img {
    width: 70%;
    max-width: 500px;
    height: auto;
    opacity: 0.96;
    filter: drop-shadow(0 0 15px rgba(120,255,120,0.25)) drop-shadow(0 0 35px rgba(0,0,0,0.85));
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.25) 55%, rgba(5,10,5,0.98) 100%);
    z-index: 5;
}

.hero-title { 
    position: absolute; 
    bottom: 80px; 
    left: 50%; 
    transform: translateX(-50%); 
    text-align: center; 
    z-index: 6; 
}

.hero-title h1 { 
    margin: 0; 
    color: #eaffdf; 
    font-size: 72px; 
    letter-spacing: 10px; 
    text-transform: uppercase; 
    text-shadow: 0 0 10px rgba(120,255,120,0.35), 0 0 30px rgba(120,255,120,0.2); 
}

/* =========================================================
   SERVER STATUS BAR
========================================================= */
.server-status {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 7;
    background: linear-gradient(to right, rgba(20,27,20,0.88), rgba(13,18,13,0.88));
    border-top: 1px solid #496349;
    border-bottom: 1px solid #496349;
    text-align: center;
    padding: 12px;
    color: #baf0a6;
    font-weight: bold;
    letter-spacing: 2px;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 10px rgba(120,255,120,0.15);
}

.status-dot { 
    display: inline-block; 
    width: 12px; 
    height: 12px; 
    border-radius: 50%; 
    margin-right: 10px; 
}

/* =========================================================
   TICKER / MARQUEE
========================================================= */
.ticker-banner { 
    width: 100%; 
    background: linear-gradient(to bottom, #111811, #0a0d0a); 
    border-bottom: 2px solid #465d40; 
    padding: 10px 0; 
    overflow: hidden; 
    white-space: nowrap; 
    box-sizing: border-box; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); 
}

.ticker-text { 
    display: inline-block; 
    padding-left: 100%; 
    animation: marquee-effect 28s linear infinite; 
    color: #d8f1cc; 
    font-size: 16px; 
    font-weight: 600; 
    letter-spacing: 1px; 
    text-shadow: 0 0 8px rgba(120, 255, 120, 0.2); 
}

.ticker-text strong { 
    color: #9bee7d; 
}

@keyframes marquee-effect { 
    0% { transform: translate3d(0, 0, 0); } 
    100% { transform: translate3d(-100%, 0, 0); } 
}

/* =========================================================
   NAVIGATION
========================================================= */
nav { 
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    background: linear-gradient(to bottom, #1b241b, #101510); 
    border-top: 1px solid #5b7752; 
    border-bottom: 2px solid #465d40; 
    backdrop-filter: blur(8px); 
    box-shadow: 0 3px 15px rgba(0,0,0,0.5); 
}

nav a { 
    position: relative; 
    padding: 16px 26px; 
    color: #aac5a1; 
    text-decoration: none; 
    font-size: 13px; 
    font-weight: 700; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    transition: all 0.3s ease; 
}

nav a::after { 
    content: ""; 
    position: absolute; 
    left: 15%; 
    bottom: 8px; 
    width: 0; 
    height: 2px; 
    background: #b7ff98; 
    transition: width 0.3s ease; 
}

nav a:hover::after { 
    width: 70%; 
}

nav a:hover { 
    color: #f2ffeb; 
    text-shadow: 0 0 10px rgba(120,255,120,0.5); 
    background: rgba(80,120,80,0.1); 
}

/* =========================================================
   MAIN CONTENT & SECTIONS
========================================================= */
.container { 
    width: 100%; 
    max-width: 1150px; 
    margin: 30px auto; 
    padding: 20px; 
    flex-grow: 1; 
}

.section { 
    position: relative; 
    margin-bottom: 35px; 
    padding: 35px; 
    background: linear-gradient(145deg, rgba(18,24,18,0.96), rgba(10,15,10,0.98)); 
    border: 1px solid #4f6847; 
    border-left: 6px solid #8ab17d; 
    border-radius: 6px; 
    overflow: hidden; 
    box-shadow: 0 0 20px rgba(0,0,0,0.55), inset 0 0 12px rgba(120,255,120,0.04); 
}

.section::before { 
    content: ""; 
    position: absolute; 
    inset: 0; 
    background: url('../bilder/camo.png'); 
    opacity: 0.03; 
    pointer-events: none; 
}

.section h2 { 
    margin-top: 0; 
    color: #d9f0cf; 
    font-size: 34px; 
    text-transform: uppercase; 
    letter-spacing: 3px; 
    border-bottom: 1px solid #435843; 
    padding-bottom: 14px; 
    text-shadow: 0 0 10px rgba(120,255,120,0.2); 
}

p { 
    color: #d7e2d0; 
    font-size: 18px; 
}

strong { 
    color: #f3ffed; 
}

/* =========================================================
   BUTTONS
========================================================= */
.buttons { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 18px; 
    margin-top: 25px; 
}

.btn { 
    position: relative; 
    display: block; 
    padding: 16px; 
    background: linear-gradient(to bottom, #445944, #273227); 
    border: 1px solid #6d8f62; 
    color: #efffe7 !important; 
    text-decoration: none; 
    text-align: center; 
    text-transform: uppercase; 
    font-weight: 700; 
    letter-spacing: 2px; 
    border-radius: 4px; 
    overflow: hidden; 
    transition: all 0.3s ease; 
}

.btn:hover { 
    transform: translateY(-3px); 
    background: linear-gradient(to bottom, #688768, #364936); 
    border-color: #c2f0a8; 
    box-shadow: 0 0 18px rgba(120,255,120,0.3); 
}

/* =========================================================
   FOOTER & VISITOR COUNTER
========================================================= */
footer { 
    text-align: center; 
    padding: 25px; 
    background: linear-gradient(to bottom, #0b100b, #050805); 
    color: #6f816f; 
    border-top: 1px solid #293529; 
    font-size: 14px; 
    letter-spacing: 1px; 
}

footer a { 
    color: #a6c89a; 
    text-decoration: none; 
}

footer a:hover { 
    color: #e7ffe0; 
}

.counter-box { 
    max-width: 240px; 
    margin: 20px auto 0 auto; 
    font-family: 'Rajdhani', sans-serif; 
    letter-spacing: 1px; 
}

.counter-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 6px 12px; 
    background: rgba(20, 30, 20, 0.4); 
    border: 1px solid #3d5237; 
    margin-bottom: 4px; 
    border-radius: 4px; 
}

.counter-row.total { 
    border-left: 3px solid #8ab17d; 
    background: rgba(22, 31, 22, 0.8); 
}

.counter-label { 
    text-transform: uppercase; 
    color: #8fa685; 
    font-size: 13px; 
    font-weight: 600; 
}

.counter-value { 
    color: #c9dfbf; 
    font-size: 15px; 
    font-weight: 700; 
}

/* =========================================================
   MISC (KEYWORDS & SCROLLBAR)
========================================================= */
keywords { 
    display: block; 
    text-align: center; 
    padding: 15px; 
    background: #070a07; 
    color: #111; 
    font-size: 6px; 
    border-top: 1px solid #182018; 
}

::-webkit-scrollbar { 
    width: 10px; 
}

::-webkit-scrollbar-track { 
    background: #0b100b; 
}

::-webkit-scrollbar-thumb { 
    background: #4e6647; 
}