:root { --neon-green: #2ecc71; --neon-purple: #9b59b6; --danger: #e74c3c; --gold: #f1c40f; --bg: #0a0b0e; --panel: rgba(20, 22, 26, 0.95); --glass: rgba(255, 255, 255, 0.03); }
body { margin: 0; background: var(--bg); color: #e0e6ed; font-family: 'Inter', sans-serif; overflow: hidden; letter-spacing: 0.5px; }
#main-game-container { display: flex; flex-direction: column; height: 100vh; background: radial-gradient(circle at top right, #1a1c23, #0a0b0e); }
.newsticker { background: #000; border-bottom: 1px solid var(--neon-green); height: 35px; overflow: hidden; display: flex; align-items: center; box-shadow: 0 0 15px rgba(46, 204, 113, 0.2); }
.ticker-content { white-space: nowrap; animation: ticker-scroll 30s linear infinite; color: var(--neon-green); font-family: 'Courier New', monospace; font-size: 0.9rem; }
@keyframes ticker-scroll { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }
.hud-stats { display: flex; justify-content: space-around; padding: 15px; background: var(--panel); border-bottom: 1px solid var(--glass); backdrop-filter: blur(10px); }
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-value { font-size: 1.2rem; font-weight: 800; color: var(--neon-green); text-shadow: 0 0 10px rgba(46, 204, 113, 0.3); }
.grow-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; padding: 30px; overflow-y: auto; flex-grow: 1; }
.slot { background: var(--panel); border: 1px solid var(--glass); border-radius: 15px; padding: 20px; transition: transform 0.3s, border-color 0.3s; position: relative; display: flex; flex-direction: column; align-items: center; }
.slot:hover { transform: translateY(-5px); border-color: var(--neon-purple); cursor: pointer; }
.slot.ready { border-color: var(--gold); box-shadow: 0 0 15px rgba(241, 196, 15, 0.2); }
.progress-bar { width: 100%; height: 6px; background: #1c1f26; border-radius: 10px; margin-top: 15px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--neon-green), #58d68d); transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 0 8px var(--neon-green); }
.nav-bar { display: flex; justify-content: center; gap: 15px; padding: 30px; background: var(--panel); border-top: 1px solid var(--glass); }
button { background: var(--glass); color: white; border: 1px solid var(--glass); padding: 10px 20px; border-radius: 8px; cursor: pointer; transition: 0.2s; font-weight: 600; text-transform: uppercase; font-size: 0.8rem; }
button:hover { background: var(--neon-purple); border-color: var(--neon-purple); box-shadow: 0 0 15px rgba(155, 89, 182, 0.4); }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; z-index: 1000; animation: fade-in 0.3s ease; }
.modal-content { background: var(--panel); border: 1px solid var(--neon-purple); border-radius: 20px; width: 90%; max-width: 500px; padding: 30px; position: relative; box-shadow: 0 0 40px rgba(0,0,0,0.5); }
.modal-header { border-bottom: 1px solid var(--glass); margin-bottom: 20px; padding-bottom: 10px; font-size: 1.5rem; color: var(--gold); font-weight: 800; }
.decision-card { background: rgba(255,255,255,0.02); border-radius: 12px; padding: 20px; margin: 15px 0; border: 1px dashed var(--glass); line-height: 1.6; }
.option-list { display: grid; gap: 10px; }
.option-btn { background: #1c1f26; border: 1px solid var(--glass); text-align: left; padding: 15px; width: 100%; display: flex; justify-content: space-between; }
.option-btn:hover { border-color: var(--neon-green); background: rgba(46, 204, 113, 0.05); }
.law-notice { font-size: 0.65rem; color: #636e72; text-align: center; margin-top: 20px; text-transform: uppercase; letter-spacing: 1px; }
.floating-text { position: absolute; color: var(--gold); font-weight: 800; pointer-events: none; animation: float-up 1s ease-out forwards; }
@keyframes float-up { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-50px); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.lab-item { background: linear-gradient(135deg, rgba(155, 89, 182, 0.1), transparent); border-left: 4px solid var(--neon-purple); padding: 10px; margin-bottom: 8px; border-radius: 4px}
/* --- BASIS & VARIABLEN --- */
:root {
    --neon-green: #2ecc71;
    --neon-purple: #9b59b6;
    --gold: #ffd700;
    --danger: #e74c3c;
    --glass: rgba(0, 0, 0, 0.85);
    --border: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; font-family: 'Segoe UI', sans-serif}
body { margin: 0; background: #050505; color: white; overflow: hidden}

/* --- LAYOUT --- */
#main-game-container { width: 100vw; height: 100vh; position: relative; background-size: cover}
.scene-OFFICE { background-image: url('../../assets/bg/office.jpg')}
.scene-GROW { background-image: url('../../assets/bg/grow.jpg')}
.ui-panel-glass {background: var(--glass);backdrop-filter: blur(10px);border: 1px solid var(--border);border-radius: 12px;padding: 15px}

/* --- HUD & TICKER (S. 20-25) --- */
.newsticker {position: absolute; top: 0; width: 100%; height: 30px;background: rgba(0,0,0,0.8); border-bottom: 1px solid var(--neon-green);overflow: hidden; display: flex; align-items: center;}
.ticker-content {display: inline-block; white-space: nowrap; padding-left: 100%;animation: ticker 25s linear infinite; color: var(--neon-green); font-family: monospace;}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-200%); } }
.hud-stats {position: absolute; top:60px; width: 100%; display: flex;justify-content: space-around; font-weight: bold; text-shadow: 1px 1px 2px black}

/* --- GROW GRID (S. 10-15) --- */
.grow-grid {display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));gap: 15px; padding: 100px 50px}
.slot {height: 180px; display: flex; flex-direction: column; align-items: center;justify-content: center; background: rgba(255,255,255,0.05); border: 2px dashed var(--border);}
.slot.empty:hover { border-color: var(--neon-green); cursor: pointer; }
.bar { width: 80%; height: 8px; background: #222; border-radius: 4px; overflow: hidden; }
.bar div { height: 100%; transition: width 0.5s; background: var(--neon-green); }
/* --- LABOR & ROSIN (S. 30-35) --- */
.type-Rosin {background: linear-gradient(45deg, var(--gold), #b8860b) !important;color: black !important; font-weight: bold; animation: shine 2s infinite}
@keyframes shine { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.4); } }
/* --- RISIKO & SICHERHEIT (S. 45-48) --- */
.risk-indicator { width: 100%; height: 10px; background: #222; border-radius: 5px; margin: 10px 0; }
.risk-bar { height: 100%; transition: width 1s}
/* --- WANZEN-SUCHE (S. 52) --- */
.bug-alert-overlay {position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);padding: 30px; border: 2px solid var(--danger); background: rgba(231, 76, 60, 0.2);text-align: center; cursor: pointer; animation: pulse 1s infinite;}
@keyframes pulse { 0% { opacity: 0.6; } 50% { opacity: 1; } 100% { opacity: 0.6; } }
/* --- BUTTONS & NAVIGATION --- */
.nav {position: absolute; bottom: 0; width: 100%; height: 80px;display: flex; justify-content: center; align-items: center; gap: 20px}
button {background: var(--neon-green); color: black; border: none;padding: 8px 16px; border-radius: 4px; font-weight: bold; cursor: pointer;filter: brightness(1);}
button:hover { filter: brightness(1.2); }
button:disabled { background: #555; cursor: not-allowed; }

/* --- MODALS (SEED MENU) --- */
.modal-overlay {position: fixed; top: 0; left: 0; width: 100%; height: 100%;background: rgba(0,0,0,0.9); display: flex; justify-content: center; align-items: center; z-index: 1000}
.seed-menu { width: 350px; text-align: center}
.seed-option {padding: 10px; margin: 5px 0; background: rgba(255,255,255,0.1);border-radius: 4px; cursor: pointer; text-align: left}

.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    max-height: 500px;
    overflow-y: auto;
    padding: 10px;
}

.city-card {
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: 0.2s;
    position: relative;
}

.city-card:not(.locked):hover {
    border-color: var(--neon-green);
    background: rgba(46, 204, 113, 0.1);
    cursor: pointer;
}

.city-card.active {
    border-color: var(--gold);
    box-shadow: 0 0 10px var(--gold);
}

.city-card.locked {
    opacity: 0.4;
    filter: grayscale(1);
}

.city-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    margin-top: 5px;
    color: var(--neon-green);
}

/* In View_Effects.css */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip:hover::after {
    content: attr(data-education); /* Hier steht der Bildungstext */
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--panel);
    border: 1px solid var(--neon-purple);
    padding: 10px;
    border-radius: 8px;
    width: 200px;
    font-size: 0.75rem;
    z-index: 2000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.hud-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
}

/* Das AP-Icon Styling */
.ap-icon {
    color: #ffeb3b;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 235, 59, 0.5);
}

.green { color: #4caf50; }
.red { color: #ff5252; }
#hud {
    transition: all 0.3s ease; /* Sanfter Übergang bei Wertänderung */
}

.green {
    color: #4CAF50;
    text-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

.red {
    color: #ff5252;
}

/* Animation wenn Geld dazukommt */
@keyframes pulse-gold {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); color: #ffeb3b; }
    100% { transform: scale(1); }
}

.money-update {
    animation: pulse-gold 0.5s ease-out;
}
