:root {
    --st-bg: #050505;
    --st-card: #0a0a0a;
    --st-border: #1a1a1a;
    --byte-blue: #00d4ff; 
    --sniper-green: #00FF00;
    --vs-header: #252526;
}

body { 
    background-color: var(--st-bg) !important; 
    color: #fff !important; 
    font-family: 'JetBrains Mono', monospace !important; 
    padding: 20px; 
    overflow-x: hidden; 
}

.main-container { 
    max-width: 1100px; 
    margin: 0 auto; 
    min-height: 95vh; 
    display: flex; 
    flex-direction: column; 
}

/* BRAND HEADER */
.brand-header { margin-bottom: 15px; border-bottom: 1px solid var(--st-border); padding-bottom: 10px; }
.brand-name { color: #fff !important; font-size: 28px !important; font-weight: 800 !important; text-transform: uppercase; text-decoration: none !important; cursor: pointer; transition: 0.3s; }
.brand-name span { color: var(--byte-blue); }
.brand-subtext { font-size: 11px !important; opacity: 0.7; margin-top: 2px; }
.sniper-link { color: var(--sniper-green) !important; text-decoration: none !important; font-weight: 700; cursor: pointer; }
#clock { font-size: 10px; color: #00d4ff !important; font-weight: 700; letter-spacing: 1px; }

/* MOTTO ZONE */
.motto-zone { height: 30px; border-left: 2px solid var(--byte-blue); padding-left: 12px; display: flex; align-items: center; margin-bottom: 20px; font-size: 12px; font-family: 'JetBrains Mono', monospace; }

/* BENTO NAVIGATION */
.bento-row { display: flex !important; gap: 10px; margin-bottom: 25px; flex-wrap: wrap; }
.st-btn {
    flex: 1; min-width: 140px; background-color: #0f1216; border: 2px solid #1a1f26; color: #555 !important;
    border-radius: 10px; height: 100px; display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center; transition: 0.3s; cursor: pointer; text-decoration: none !important;
}
.st-btn i { font-size: 24px; color: var(--byte-blue); margin-bottom: 5px; }
.st-btn strong { font-size: 18px; letter-spacing: 1px; font-weight: 900; color: #777; width: 100%; font-family: 'JetBrains Mono', monospace; }
.st-btn small { font-size: 10px; opacity: 0.5; font-weight: 700; font-family: 'JetBrains Mono', monospace; }
.st-btn.active { border-color: var(--byte-blue) !important; color: #fff !important; background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(15, 18, 22, 1) 50%, rgba(0, 212, 255, 0.05) 100%) !important; box-shadow: 0 0 15px rgba(0, 212, 255, 0.15); animation: glossPulse 2.5s infinite alternate; }

/* PATH BANNER */
.path-banner { display: flex; align-items: center; margin-bottom: 8px; background: rgba(0, 212, 255, 0.05); border: 1px solid var(--st-border); border-left: 3px solid var(--sniper-green); padding: 10px 15px; border-radius: 4px; }
.path-banner i { color: var(--byte-blue); margin-right: 12px; }
.path-text { font-size: 11px; letter-spacing: 0.5px; font-family: 'JetBrains Mono', monospace; }
.path-label { color: var(--byte-blue); font-weight: 800; }
.path-root { color: #888; }
.path-current { color: var(--sniper-green); font-weight: 800; }

/* VSCODE TERMINALS */
.vscode-terminal { background: #000; border: 1px solid #333; border-radius: 6px; overflow: hidden; margin-top: 5px; }
.terminal-header { background: var(--vs-header); padding: 6px 12px; font-size: 11px; color: #888; display: flex; gap: 15px; align-items: center; border-bottom: 1px solid #222; }
.terminal-header .dots { display: flex; gap: 4px; margin-right: 10px; }
.terminal-header .dot { width: 8px; height: 8px; border-radius: 50%; background: #ff5f56; }
.terminal-header .dot:nth-child(2) { background: #ffbd2e; }
.terminal-header .dot:nth-child(3) { background: #27c93f; }
.active-tab { color: #fff; border-bottom: 1px solid var(--byte-blue); padding-bottom: 2px; }

/* CONSOLE BOXES */
.sql-box, .st-console, #j-intro, #sql-text, #j-code, #p-code { font-family: 'JetBrains Mono', monospace !important; }
.sql-box { padding: 15px 20px; min-height: auto; font-size: 13px; }
.st-console { background: #000; padding: 12px; height: auto; min-height: 120px; max-height: 160px; font-size: 11px; overflow-y: auto; color: #fff; }

/* SCROLLBAR CUSTOM */
.st-console::-webkit-scrollbar { width: 4px; }
.st-console::-webkit-scrollbar-track { background: #000; }
.st-console::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }

/* BUTTONS */
.demo-btn {
    background-color: var(--sniper-green) !important;
    color: #000 !important;
    padding: 4px 12px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    display: inline-block !important;
    margin-top: 8px;
    font-size: 10px;
    text-transform: uppercase;
    transition: 0.2s;
    border: none !important;
}
.demo-btn:hover { background-color: #fff !important; transform: translateY(-1px); color: #000 !important; }

/* BENTO PANELS */
/* MODIFICARE: Înălțime auto pentru a permite vizibilitatea secțiunii de cod */
.bento-panel { background: var(--st-card); border: 1px solid var(--st-border); border-radius: 10px; padding: 15px; height: auto !important; min-height: 100px; }
.main-accent { border-left: 5px solid var(--byte-blue) !important; }
.panel-label { color: var(--byte-blue); font-size: 18px !important; font-weight: 800; margin-bottom: 10px; }

/* SELECTORS */
.tactic-selector { display: flex; flex-direction: column; gap: 8px; margin-top: 15px; margin-bottom: 15px; }
.tactic-opt { background: #0d1117; border: 1px solid #21262d; padding: 10px 15px; border-radius: 8px; cursor: pointer; display: flex; justify-content: center; align-items: center; font-size: 12px; font-weight: 700; color: #666; transition: 0.3s; font-family: 'JetBrains Mono', monospace; }
.tactic-opt.active { border-color: var(--byte-blue) !important; color: #fff; background: rgba(0, 212, 255, 0.1); }

/* INFRA CONTAINER SYSTEM (JAVA LABS) */
/* MODIFICARE: overflow: visible pentru a nu tăia conținutul lung de cod */
.infra-container { display: flex !important; background: rgba(10,10,10,0.5); border: 1px solid var(--st-border); border-radius: 4px; overflow: visible !important; margin-top: 10px; }
.infra-sidebar { min-width: 250px; border-right: 1px solid var(--st-border); padding: 20px; background: #080808; }
.infra-label { font-size: 10px; color: var(--sniper-green); margin-bottom: 15px; font-weight: 800; letter-spacing: 1px; }
.infra-list { list-style: none; padding: 0; font-size: 11px; color: #555; line-height: 2.5; }
.infra-list i { margin-right: 8px; font-size: 10px; }
.infra-list .fa-check { color: var(--sniper-green); }
/* MODIFICARE: height auto pe content */
.infra-content { flex: 1; padding: 20px; font-size: 11px; line-height: 1.6; color: #777; background: #000; height: auto !important; }

/* REPARATIE FONT JAVA LABS */
#j-code, #p-code { 
    color: var(--sniper-green) !important; 
    font-weight: 800; 
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.3); 
    white-space: pre !important; 
    display: block;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 12px;
    line-height: 1.5;
    padding: 10px;
}

.overview-logs {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 11px;
    line-height: 1.6;
    color: #888;
    white-space: pre-wrap;
}

.step-title { color: var(--byte-blue); display: block; margin-bottom: 5px; text-transform: uppercase; font-size: 10px; }
code { color: var(--sniper-green); background: #111; padding: 2px 5px; border-radius: 3px; font-size: 10px; }

/* ANIMATIONS */
.cursor { animation: blink 1s infinite; color: var(--byte-blue); font-weight: bold; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes glossPulse { from { filter: brightness(1); } to { filter: brightness(1.2); } }

/* INFO PANEL SPECIFICS */
.info-key { color: #555; font-weight: 800; margin-right: 5px; }
.info-val-active { color: var(--sniper-green); font-weight: 800; }
.info-val-static { color: var(--byte-blue); font-weight: 800; }

/* FOOTER */
.tactical-footer { margin-top: 40px; padding: 20px 0; border-top: 1px solid var(--st-border); display: flex; align-items: center; gap: 20px; }
.footer-info { font-size: 10px; color: #444; font-weight: 700; }
.footer-links { display: flex; gap: 15px; }
.footer-links a { color: var(--byte-blue) !important; text-decoration: none !important; font-size: 10px; font-weight: 800; }

@media (max-width: 768px) {
    .infra-container { flex-direction: column; }
    .infra-sidebar { border-right: none; border-bottom: 1px solid var(--st-border); }
    .st-btn { min-width: calc(50% - 10px); height: 85px; }
    .tactic-selector.horizontal-mobile { flex-direction: row; flex-wrap: wrap; }
    .tactic-selector.horizontal-mobile .tactic-opt { flex: 1; min-width: 120px; }
}

/* Stil nou pentru Intro Java Labs */
.infra-intro-alert {
    background: rgba(0, 212, 255, 0.07); 
    border: 1px dashed rgba(0, 212, 255, 0.3);
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 25px;
    color: #ccc !important;
    font-size: 12px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.infra-intro-alert i {
    color: var(--byte-blue);
}

.infra-intro-alert strong {
    color: #fff;
    text-transform: uppercase;
}