
/* =========================
   BASE RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    color: #fff;
}

/* =========================
   BACKGROUND SYSTEM (STABLE)
========================= */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url('splash.png') center/cover no-repeat;
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: -1;
}

/* =========================
   CONTAINER
========================= */

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

/* =========================
   NAVIGATION
========================= */

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

nav a {
    text-decoration: none;
    color: #ffd700;
    font-weight: 700;
    padding: 10px 16px;
    border: 1px solid rgba(255,215,0,0.4);
    border-radius: 10px;
    background: rgba(0,0,0,0.45);
    transition: all 0.25s ease;
}

nav a:hover,
nav a:focus {
    background: rgba(255,215,0,0.15);
    transform: translateY(-2px);
}

/* =========================
   TYPOGRAPHY (RESPONSIVE)
========================= */

h1 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
}

h2 {
    color: #ffd700;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: clamp(20px, 2.5vw, 28px);
}

p,
li {
    line-height: 1.8;
    font-size: clamp(15px, 1.2vw, 18px);
}

ul {
    padding-left: 20px;
}

/* =========================
   OVERLAY
========================= */

.overlay {
    width: 100%;
    min-height: 100vh;
    padding: clamp(15px, 3vw, 40px);
}

/* =========================
   STATS (SMALL + MODERN)
========================= */

.stats{
    position:fixed;

    right:3vw;

    top:50%;
    transform:translateY(-50%);

    display:flex;
    flex-direction:column;

    width:clamp(160px,18vw,260px);

    gap:14px;

    z-index:9999;

    justify-content:center;
}


/* =========================
   CLOCK (COMPACT)
========================= */

.clock-box {
    position: fixed;
    left: clamp(10px, 2vw, 25px);
    bottom: clamp(10px, 2vh, 25px);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 999;
}

.clock {
    width: clamp(120px, 16vw, 160px);
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 12px;
    padding: 8px 10px;
    color: #00ffcc;
    font-family: monospace;
    text-align: center;
    backdrop-filter: blur(6px);
}

.clock-title {
    font-size: 11px;
    color: #ffd700;
    margin-bottom: 3px;
}

#germanClock,
#usaClock {
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: bold;
}

/* =========================
   RADIO
========================= */

.radio-box {
    position: fixed;
    right: clamp(10px, 2vw, 25px);
    bottom: clamp(10px, 2vh, 25px);
    background: rgba(0,0,0,0.45);
    padding: 8px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    z-index: 999;
}

/* =========================
   BUTTONS
========================= */

button,
.btn {
    background: #ffd700;
    color: black;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.25s ease;
}

button:hover,
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 14px rgba(255,215,0,0.4);
}

/* =========================
   FORMS
========================= */

input,
textarea,
select {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,215,0,0.25);
    background: rgba(0,0,0,0.45);
    color: white;
    font-size: 14px;
}

/* =========================
   TABLE
========================= */

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th {
    background: rgba(255,215,0,0.15);
    color: #ffd700;
    padding: 12px;
}

table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* =========================
   FOOTER
========================= */

.footer {
    margin-top: 50px;
    color: #aaa;
    font-size: 14px;
}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #666;
}

/* =========================
   RESPONSIVE FIX
========================= */

@media (max-width: 900px)

@media (min-width: 1600px) {
    .stats {
        top: 42%;
    }
}

 {

    nav {
        gap: 10px;
    }

    nav a {
        width: 100%;
        text-align: center;
    }

    .stats {
        width: 130px;
        gap: 8px;
    }
}

/* ========================================
   LOGIN
======================================== */

.login-box{
    width:min(100%,420px);

    margin:auto;

    background:rgba(0,0,0,0.55);

    border:1px solid rgba(255,215,0,0.25);

    border-radius:20px;

    padding:35px;

    backdrop-filter:blur(12px);

    box-shadow:0 0 25px rgba(0,0,0,0.35);
}

.login-box h1{
    color:#ffd700;

    text-align:center;

    margin-bottom:25px;

    font-size:34px;
}

.login-box input{
    width:100%;

    padding:14px;

    margin-bottom:16px;

    border:none;

    border-radius:12px;

    background:rgba(255,255,255,0.08);

    color:white;

    font-size:16px;
}

.login-box input:focus{
    outline:none;

    box-shadow:0 0 12px rgba(255,215,0,0.30);
}

.login-box button{
    width:100%;

    padding:14px;

    border:none;

    border-radius:12px;

    background:#ffd700;

    color:black;

    font-size:16px;

    font-weight:bold;

    cursor:pointer;

    transition:0.3s;
}

.login-box button:hover{
    transform:translateY(-2px);

    box-shadow:0 0 14px rgba(255,215,0,0.35);
}

.error{
    color:#ff6666;

    margin-bottom:15px;

    text-align:center;
}
/* ========================================
   DASHBOARD
======================================== */

.dashboard-grid{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(260px,1fr));

    gap:20px;

    margin-top:30px;
}

.dashboard-grid .card{
    padding:25px;

    min-height:220px;

    display:flex;
    flex-direction:column;

    justify-content:space-between;
}

.dashboard-grid .card h2{
    margin-bottom:15px;
}

.dashboard-grid .card p{
    margin-bottom:20px;

    line-height:1.7;
}

.dashboard-grid .btn{
    display:inline-block;

    text-align:center;

    text-decoration:none;
}
