/* =========================================================
   GLOBAL STYLES - DUST2 / MILITARY CODES
========================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(rgba(28, 24, 19, 0.94), rgba(18, 15, 12, 0.98)), url('../bilder/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #e5dac1; 
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255,255,255,0.01), rgba(255,255,255,0.01) 1px, transparent 1px, transparent 3px);
    pointer-events: none;
    z-index: 9999;
}

header {
    position: relative;
    width: 100%;
    height: 570px;
    overflow: hidden;
    border-bottom: 4px solid #b58d53; 
    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; width: 100%; height: 100%; }

.slide { 
    position: absolute; 
    inset: 0; 
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat;
    opacity: 0; 
    transition: opacity 2s ease-in-out; 
    z-index: 1;
}
.slide.active { opacity: 1; z-index: 2; }

@media screen and (orientation: landscape) {
    .slide {
        background-position: center top !important;
    }
}

.banner-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    width: 130%;
    max-width: 1000px; 
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}
.banner-logo img {
    width: 70%;
    max-width: 650px; 
    height: auto;
    opacity: 0.96;
    filter: drop-shadow(0 0 15px rgba(229, 160, 64, 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(18, 15, 12, 0.98) 100%);
    z-index: 3;
}

.hero-title { position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%); text-align: center; z-index: 6; }
.hero-title h1 { margin: 0; color: #fff3db; font-size: 72px; letter-spacing: 10px; text-transform: uppercase; text-shadow: 0 0 10px rgba(229,160,64,0.35), 0 0 30px rgba(229,160,64,0.2); }

.server-status {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 7;
    background: linear-gradient(to right, rgba(43, 37, 30, 0.88), rgba(26, 22, 18, 0.88));
    border-top: 1px solid #6e573a;
    border-bottom: 1px solid #6e573a;
    text-align: center;
    padding: 12px;
    color: #f7e6c9;
    font-weight: bold;
    letter-spacing: 2px;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 10px rgba(229, 160, 64, 0.15);
}
.status-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 10px; }

.ticker-banner { width: 100%; background: linear-gradient(to bottom, #231e18, #16130f); border-bottom: 2px solid #5a4933; 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: #ecdcc3; font-size: 16px; font-weight: 600; letter-spacing: 1px; text-shadow: 0 0 8px rgba(229, 160, 64, 0.2); }
.ticker-text strong { color: #e5a040; } 
@keyframes marquee-effect { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-100%, 0, 0); } }

nav { display: flex; justify-content: center; flex-wrap: wrap; position: sticky; top: 0; z-index: 1000; background: linear-gradient(to bottom, #2d251e, #1c1713); border-top: 1px solid #7c6446; border-bottom: 2px solid #5a4933; backdrop-filter: blur(8px); box-shadow: 0 3px 15px rgba(0,0,0,0.5); }
nav a { position: relative; padding: 16px 26px; color: #c4b49b; 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: #e5a040; transition: width 0.3s ease; }
nav a:hover::after { width: 70%; }
nav a:hover { color: #fffbfa; text-shadow: 0 0 10px rgba(229,160,64,0.5); background: rgba(110,85,55,0.15); }

.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(33,28,22,0.96), rgba(20,17,13,0.98)); border: 1px solid #665239; border-left: 6px solid #b58d53; border-radius: 6px; overflow: hidden; box-shadow: 0 0 20px rgba(0,0,0,0.55), inset 0 0 12px rgba(229,160,64,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: #ebd8bd; font-size: 34px; text-transform: uppercase; letter-spacing: 3px; border-bottom: 1px solid #544431; padding-bottom: 14px; text-shadow: 0 0 10px rgba(229,160,64,0.2); }

p { color: #e0d2bc; font-size: 18px; }
strong { color: #fff3de; }

.buttons { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 25px; }

footer { text-align: center; padding: 25px; background: linear-gradient(to bottom, #14110e, #0d0b09); color: #8c7e6c; border-top: 1px solid #3d3327; font-size: 14px; letter-spacing: 1px; }
footer a { color: #c4b49b; text-decoration: none; }
footer a:hover { color: #fff3de; }

.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(38, 31, 24, 0.4); border: 1px solid #544431; margin-bottom: 4px; border-radius: 4px; }
.counter-row.total { border-left: 3px solid #b58d53; background: rgba(43, 35, 27, 0.8); }
.counter-label { text-transform: uppercase; color: #a3937c; font-size: 13px; font-weight: 600; }
.counter-value { color: #ebd8bd; font-size: 15px; font-weight: 700; }

keywords { display: block; text-align: center; padding: 15px; background: #0c0a08; color: #111; font-size: 6px; border-top: 1px solid #1a1511; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #14110e; }
::-webkit-scrollbar-thumb { background: #5f4a33; }

.theme-select {
    width: 100%;
    background: rgba(38, 31, 24, 0.6);
    border: 1px solid #544431;
    color: #ebd8bd;
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    outline: none;
    transition: all 0.3s ease;
}
.theme-select:hover, .theme-select:focus {
    border-color: #e5a040;
    background: rgba(43, 35, 27, 0.9);
    box-shadow: 0 0 10px rgba(229, 160, 64, 0.2);
}
.theme-select option {
    background: #1c1713;
    color: #ebd8bd;
}

/* =========================================================
   KONTAKT-SEITE STYLING
========================================================= */

.theme-input {
    background: rgba(28, 23, 19, 0.95) !important;
    color: #fff3de !important;
    border: 1px solid #544431 !important;
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    outline: none;
}

.name-row {
    display: flex;
    gap: 15px;
    width: 100%;
    margin-bottom: 15px;
}

.name-row .theme-input {
    flex: 1;
}

.status-box {
    padding: 15px;
    background: rgba(28, 23, 19, 0.9);
    border-radius: 4px;
    border-left: 5px solid #e5a040;
    margin-bottom: 20px;
    color: #ebd8bd;
}

.btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(to bottom, #5f4a33, #382c1e);
    border: 1px solid #826849;
    color: #fff3de !important;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(to bottom, #826849, #473826);
    border-color: #ebd8bd;
    box-shadow: 0 0 18px rgba(229,160,64,0.3);
}