/* ═══════════════════════════════════════
   OduvanEKb Web 1.0 — RETRO TERMINAL CSS
   ═══════════════════════════════════════ */

:root {
  --green: #00ff00;
  --green-dim: #66ff66;
  --bg: #0a0a0a;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--green);
  font-family: "Courier New", Courier, monospace;
  padding: 15px;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  text-shadow: 0 0 5px rgba(0,255,0,0.4);
}

/* ── CRT ──────────────────────────────── */
.crt-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(ellipse at center,
    transparent 55%, rgba(0,0,0,0.8) 100%);
}

.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0,0,0,0.15) 2px,
    rgba(0,0,0,0.15) 4px
  );
  animation: flicker 8s infinite;
}

@keyframes flicker {
  0%,100% { opacity:1; }
  91%      { opacity:1; }
  92%      { opacity:0.88; }
  93%      { opacity:1; }
  97%      { opacity:0.94; }
  98%      { opacity:1; }
}

@keyframes blink-hard {
  0%,100% { opacity:1; }
  50%     { opacity:0; }
}

.blink { animation: blink-hard 0.9s step-end infinite; }

/* ── BOOT SCREEN ─────────────────────── */
#boot-screen {
  padding: 16px;
  min-height: 100vh;
}

#boot-text {
  margin: 0;
  font-family: "Courier New", monospace;
  font-size: 14px;
  line-height: 1.65;
  color: var(--green);
  white-space: pre-wrap;
}

.boot-cursor {
  font-size: 14px;
  vertical-align: bottom;
}

/* ── CORNER ──────────────────────────── */
.corner {
  position: fixed;
  top: 10px;
  right: 12px;
  font-size: 11px;
  color: var(--green);
  opacity: 0.55;
  z-index: 100;
}

/* ── PROMPT HEADER (замена h1) ───────── */
.prompt-header {
  font-size: 20px;
  font-weight: bold;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green);
  margin-bottom: 20px;
  margin-top: 6px;
  letter-spacing: 1px;
}

.prompt-path {
  color: var(--green);
}

.prompt-cursor {
  margin-left: 2px;
  font-size: 20px;
}

/* ── СЕКЦИИ ──────────────────────────── */
.section {
  margin-top: 28px;
  font-size: 17px;
  font-weight: bold;
  color: #ffdd00;
  text-shadow: 0 0 8px rgba(255, 221, 0, 0.6);
  border-bottom: 1px dashed #ffdd00;
  padding-bottom: 5px;
  letter-spacing: 2px;
}

/* ── БЛОК УСЛУГ ──────────────────────── */
.services-block {
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(255,221,0,0.4);
  position: relative;
}
.services-block::before,
.services-block::after {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  border-color: #ffdd00;
  border-style: solid;
}
.services-block::before { top:-1px; left:-1px; border-width:2px 0 0 2px; }
.services-block::after  { bottom:-1px; right:-1px; border-width:0 2px 2px 0; }

.services-block .section {
  margin-top: 0;
  border-bottom-color: #ffdd00;
}
.services-list {
  margin: 12px 0 14px 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 2;
  color: var(--green-dim);
}
.services-list li::before { content: '> '; color: #ffdd00; }
.services-contact {
  font-size: 13px;
  color: var(--white);
  opacity: 0.75;
  margin-top: 6px;
}

/* ── КАРТОЧКИ ────────────────────────── */
.card {
  margin: 13px 0;
  padding: 13px 15px;
  border: 1px solid rgba(0,255,0,0.6);
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s, opacity 0.2s;
}

/* угловые скобки */
.card::before,
.card::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: var(--green);
  border-style: solid;
}
.card::before { top:-1px; left:-1px; border-width:2px 0 0 2px; }
.card::after  { bottom:-1px; right:-1px; border-width:0 2px 2px 0; }

.card:hover {
  border-color: var(--green);
  box-shadow: 0 0 14px rgba(0,255,0,0.25), inset 0 0 6px rgba(0,255,0,0.04);
}

/* ── ТЕКСТ ───────────────────────────── */
.title   { font-size: 17px; font-weight: bold; }
.desc    { margin-top: 7px; font-size: 14px; color: var(--green-dim); }
.comment { margin-top: 7px; font-size: 13px; color: var(--white); opacity: 0.75; }

/* ── ССЫЛКИ ──────────────────────────── */
a { color: var(--green); text-decoration: none; padding: 1px 3px; }
a:hover { background: var(--green); color: black; text-shadow: none; }

/* ── ФУТЕР ───────────────────────────── */
#site-footer {
  margin-top: 50px;
  padding-bottom: 30px;
  opacity: 0;
  transition: opacity 0.6s;
}

.footer-divider {
  color: var(--green);
  opacity: 0.4;
  font-size: 13px;
  margin: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}

.footer-block  { margin: 18px 0; }

.footer-label {
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.footer-line {
  font-size: 13px;
  line-height: 2;
  color: var(--green-dim);
}

.footer-privacy {
  font-size: 13px;
  line-height: 1.8;
  color: var(--green-dim);
  max-width: 520px;
}

.footer-stamp {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  color: var(--green);
  opacity: 0.55;
  border: 1px solid rgba(0,255,0,0.25);
  padding: 3px 7px;
  letter-spacing: 0.5px;
}

.footer-copy {
  font-size: 11px;
  color: var(--green);
  opacity: 0.45;
  letter-spacing: 1px;
}

/* ── МОБИЛКА ─────────────────────────── */
@media (max-width: 600px) {
  .prompt-header { font-size: 16px; }
  .title         { font-size: 15px; }
  .desc,
  .comment       { font-size: 13px; }
  .card          { padding: 11px; }
  .corner        { display: none; }
}