/* LIGARS CORE STYLESHEET - FULL INTEGRATION
   Optimiert für Cross-Browser Stabilität & High-End Visuals
*/

:root {
    --cyan: #00ffcc;
    --neon: #00f2ff;
    --pink: #ff0055;
    --bg: #050505;
}

/* 1. BASIS & LAYOUT RESET */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background-image: linear-gradient(rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.85)), url('img/site-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: var(--bg);
    color: #eee;
    font-family: 'Rajdhani', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

.main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-left: 1px solid rgba(0, 255, 204, 0.1);
    border-right: 1px solid rgba(0, 255, 204, 0.1);
    min-height: 100vh;
}

/* Firefox Blur Fallback */
@supports (backdrop-filter: blur(5px)) or (-webkit-backdrop-filter: blur(5px)) {
    .main-wrapper {
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
}

/* 2. HEADER & NAVIGATION */
.top-bar { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid #222; margin-bottom: 30px; }
.logo { font-family: 'Orbitron'; color: var(--cyan); font-weight: bold; letter-spacing: 2px; text-transform: uppercase; }
.version { font-size: 0.7rem; color: #555; }

/* 3. PROTOKOLL GRID & CARDS */
.protocol-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 25px; }

.card {
    position: relative; min-height: 480px; border: 1px solid #1a1a1a;
    background-size: cover; background-position: center;
    display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
    transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card:hover { border-color: var(--cyan); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 255, 204, 0.1); }

.card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 35%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.card-content { position: relative; z-index: 2; padding: 25px; text-shadow: 2px 2px 4px #000; }
.card-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(0,255,204,0.3); padding-bottom: 10px; }
.card-header h3 { font-family: 'Orbitron'; color: var(--cyan); margin: 0; font-size: 1.1rem; }
.lvl-badge { font-family: 'Orbitron'; font-weight: bold; font-size: 0.8rem; }
.card-desc { font-size: 0.95rem; color: #fff; line-height: 1.5; margin: 20px 0; font-weight: 500; }

/* 4. HARDWARE & SHOP ITEMS */
.hw-list { margin-top: auto; }
.hw-item {
    display: flex; justify-content: space-between; background: rgba(0,0,0,0.7);
    border: 1px solid #222; padding: 10px; margin-bottom: 6px;
    text-decoration: none; color: #eee; font-size: 0.8rem;
    transition: 0.2s;
}
.hw-item:hover { border-color: var(--cyan); background: rgba(0,255,204,0.1); transform: translateX(5px); }
.price { color: var(--cyan); font-family: monospace; font-weight: bold; }

.shop-item-link:hover {
    background: rgba(0, 242, 255, 0.15) !important;
    border-color: var(--cyan) !important;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
    transform: scale(1.02);
}

/* 5. SYSTEM MODULES & REPORTS */
.system-module { background: rgba(0,255,204,0.02); padding: 25px; margin: 40px 0; border: 1px solid #111; min-height: auto; }
.module-title { font-family: 'Orbitron'; font-size: 0.85rem; color: var(--cyan); border-bottom: 1px solid #222; padding-bottom: 12px; margin-bottom: 20px; letter-spacing: 2px; text-transform: uppercase; }

.report-flex { display: flex; gap: 20px; align-items: flex-start; }
.subject-thumb { width: 100px; height: 100px; border: 1px solid var(--cyan); object-fit: cover; filter: grayscale(0.5) contrast(1.2); }
.report-meta { font-family: 'Orbitron'; font-size: 0.7rem; color: var(--cyan); margin-bottom: 10px; }
.report-text { font-style: italic; color: #bbb; font-size: 0.95rem; border-left: 3px solid var(--cyan); padding-left: 20px; line-height: 1.6; }

/* 6. DOWNLOAD SECTION & OS VALIDATION */
.download-card { border: 1px solid var(--cyan); background: rgba(0,255,204,0.05); padding: 40px; text-align: center; }
.btn-download-big {
    display: inline-block; background: var(--cyan); color: #000 !important; padding: 18px 35px;
    font-family: 'Orbitron'; font-weight: bold; text-decoration: none; box-shadow: 0 0 25px var(--cyan);
    margin: 20px 0; text-transform: uppercase; transition: 0.3s;
}
.btn-download-big:hover { transform: scale(1.05); box-shadow: 0 0 40px var(--cyan); }

.validation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 40px; }
.os-box { padding: 15px; font-size: 0.75rem; background: #000; border: 1px solid #222; text-align: center; }
.os-box.stable span { color: var(--cyan); font-weight: bold; }
.os-box.beta span { color: #ff9900; }
.os-box.critical span { color: var(--pink); }

/* 7. STATS & SURVEYS */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.stat-item { background: #0d0d0d; padding: 20px; text-align: center; border: 1px solid #1a1a1a; }
.stat-item .val { display: block; color: var(--cyan); font-family: 'Orbitron'; font-size: 1.4rem; margin-bottom: 5px; }
.stat-item .lab { font-size: 0.65rem; color: #555; text-transform: uppercase; letter-spacing: 1px; }

.survey-card { background: rgba(10,10,10,0.8); padding: 25px; margin-top: 20px; border: 1px solid #222; }
.survey-entry { border-bottom: 1px solid #111; padding: 15px 0; }
.survey-entry:last-child { border: none; }
.survey-entry p { font-style: italic; font-size: 0.9rem; color: #999; margin: 10px 0; }
.survey-bars { color: var(--cyan); font-size: 0.7rem; font-family: 'Orbitron'; letter-spacing: 1px; }

/* 8. AGE VERIFICATION OVERLAY */
#age-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.98); z-index: 9999; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(15px); }
.verify-box { background: #000; border: 2px solid var(--cyan); padding: 50px; text-align: center; box-shadow: 0 0 50px rgba(0,255,204,0.2); max-width: 450px; width: 90%; }
.age-input { background: #080808; border: 1px solid var(--cyan); color: #fff; padding: 15px; margin-bottom: 25px; width: 100%; font-family: 'Courier New', monospace; text-align: center; }
.btn-primary { background: var(--cyan); border: none; padding: 15px 30px; font-family: 'Orbitron'; font-weight: bold; cursor: pointer; width: 100%; text-transform: uppercase; transition: 0.3s; }
.btn-primary:hover { background: #fff; box-shadow: 0 0 20px #fff; }

/* 9. SYSTEM INTRO BOOT SEQUENCE */
#system-intro {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; z-index: 10000;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}

#intro-bg-shifter {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    filter: brightness(0.2) grayscale(0.5) blur(2px);
    transition: background-image 0.8s ease-in-out;
}

.intro-overlay { position: absolute; inset: 0; background: radial-gradient(circle, transparent 20%, black 90%); pointer-events: none; }
.intro-terminal { position: relative; font-family: 'Fira Code', monospace; color: var(--cyan); font-size: 1.2rem; max-width: 80vw; text-shadow: 0 0 10px var(--cyan); }
#cursor { animation: blink-cursor 0.8s infinite; border-left: 8px solid var(--cyan); margin-left: 5px; }
@keyframes blink-cursor { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }

/* 10. WARNINGS & FOOTER */
.warning-box { 
    border: 1px solid var(--pink); background: rgba(255,0,85,0.05); 
    padding: 25px; margin: 40px auto; max-width: 800px; text-align: center; 
}
.warning-box h4 { color: var(--pink); margin: 0 0 10px 0; font-family: 'Orbitron'; text-transform: uppercase; letter-spacing: 2px; }
.warning-box p { font-size: 0.85rem; color: #aaa; margin: 0; line-height: 1.5; }

footer { text-align: center; padding: 80px 0; border-top: 1px solid #111; margin-top: 60px; }
.footer-links a { color: #666; text-decoration: none; margin: 0 20px; font-size: 0.85rem; transition: 0.3s; font-family: 'Orbitron'; }
.footer-links a:hover { color: var(--cyan); text-shadow: 0 0 10px var(--cyan); }
.footer-credits { margin-top: 30px; color: #333; font-size: 0.7rem; line-height: 1.8; letter-spacing: 1px; }

/* 11. ANIMATIONS */
.fade-out { opacity: 0; transition: opacity 1.5s ease; pointer-events: none; }
.social-link:hover i { text-shadow: 0 0 10px var(--cyan); transform: translateY(-2px); }

/* SCROLLBAR CUSTOMIZATION */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #222; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }