/* ================================================
   FBI KAVIA CAFE REPORT — STYLE.CSS
   Aesthetic: Classified Government Document Horror
================================================ */

@import url('https://fonts.googleapis.com/css2?family=Special+Elite&family=Courier+Prime:ital,wght@0,400;0,700;1,400&family=Oswald:wght@400;600;700&display=swap');

/* ---- VARIABLES ---- */
:root {
  --cream: #f9f5ec;
  --aged: #ede4cc;
  --dark: #0e0b05;
  --ink: #18120a;
  --red: #8b1a1a;
  --red-bright: #b81c1c;
  --gold: #b8922a;
  --stamp-blue: #0f1d4a;
  --muted: #4a3a22;
  --border: #2e1e08;
  --scanline: rgba(0,0,0,0.02);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ---- BASE ---- */
html { font-size: 17px; }

body {
  background: #1a1108;
  background-image:
    radial-gradient(ellipse at 20% 10%, #2a1a08 0%, transparent 55%),
    radial-gradient(ellipse at 80% 90%, #0e0a04 0%, transparent 55%);
  font-family: 'Courier Prime', monospace;
  color: var(--ink);
  min-height: 100vh;
  padding: 0 0 60px;
  position: relative;
}

/* ---- OVERLAY EFFECTS ---- */
.scanlines {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 3px,
    var(--scanline) 3px, var(--scanline) 4px
  );
}
.noise {
  position: fixed; inset: 0; z-index: 998; pointer-events: none; opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ---- CLASSIFICATION BANNERS ---- */
.top-banner, .bottom-banner {
  background: var(--red);
  color: #fff;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.28em;
  padding: 11px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid #5a0f0f;
  text-transform: uppercase;
}
.bottom-banner {
  position: static;
  border-bottom: none;
  border-top: 3px solid #5a0f0f;
  margin-top: 50px;
}

/* ---- MAIN CONTAINER ---- */
.container {
  max-width: 920px;
  margin: 36px auto;
  background: var(--cream);
  border: 3px solid var(--border);
  box-shadow:
    0 0 0 1px #7a5a28,
    0 24px 70px rgba(0,0,0,0.75),
    inset 0 0 100px rgba(120,80,10,0.05);
  padding: 58px 68px;
  position: relative;
}
.container::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(120,80,10,0.2);
  pointer-events: none;
}

/* ---- HEADER ---- */
.report-header {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 3px double var(--border);
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.seal-wrapper { flex-shrink: 0; }
.seal {
  width: 104px; height: 104px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.seal-ring {
  position: absolute; border-radius: 50%;
  border: 2px solid var(--stamp-blue);
}
.seal-ring.outer { width: 104px; height: 104px; border-style: dashed; }
.seal-ring.inner { width: 82px; height: 82px; border-style: solid; }
.seal-center {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; z-index: 1;
}
.seal-icon { font-size: 2rem; }
.seal-text {
  font-family: 'Oswald', sans-serif;
  font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.2em; color: var(--stamp-blue);
}
.seal-subtext {
  font-size: 0.5rem; letter-spacing: 0.08em;
  color: var(--stamp-blue); text-align: center; line-height: 1.3;
}

.header-title { flex: 1; min-width: 260px; }
.dept-line {
  font-family: 'Oswald', sans-serif;
  font-weight: 700; font-size: 1.15rem;
  letter-spacing: 0.14em; color: var(--stamp-blue); text-transform: uppercase;
}
.subdept-line {
  font-size: 0.75rem; letter-spacing: 0.08em;
  color: var(--muted); margin-bottom: 12px; text-transform: uppercase;
}
.case-title {
  font-family: 'Special Elite', serif;
  font-size: 2rem; color: var(--dark);
  line-height: 1.1; text-transform: uppercase; letter-spacing: 0.04em;
}
.case-subtitle {
  font-size: 0.92rem; margin-top: 8px;
  color: var(--muted); letter-spacing: 0.04em;
}
.highlight {
  color: var(--red); font-weight: 700;
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem; letter-spacing: 0.1em;
}

.stamp-area {
  display: flex; flex-direction: column;
  gap: 10px; align-items: flex-end; flex-shrink: 0;
}
.stamp {
  font-family: 'Oswald', sans-serif;
  font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.2em; padding: 5px 12px;
  border: 3px solid; text-transform: uppercase;
  transform: rotate(-3deg); opacity: 0.88;
}
.stamp.red  { color: var(--red);  border-color: var(--red);  transform: rotate(-4deg); font-size: 1.1rem; }
.stamp.black{ color: var(--ink);  border-color: var(--ink);  transform: rotate(2deg);  font-size: 0.72rem; }

/* ---- META GRID ---- */
.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 24px;
  background: var(--aged);
  border: 1px solid rgba(100,70,20,0.45);
  padding: 18px 22px;
  margin-bottom: 34px;
  font-size: 0.9rem;
}
.meta-item { display: flex; gap: 10px; align-items: baseline; }
.meta-label {
  font-family: 'Oswald', sans-serif;
  font-weight: 600; font-size: 0.74rem;
  letter-spacing: 0.1em; color: var(--muted); white-space: nowrap;
}
.status-open { color: var(--red-bright); font-weight: 700; }
.threat { color: #5a3a00; font-weight: 700; }

/* ---- DIVIDER ---- */
.divider {
  text-align: center; margin: 36px 0;
  position: relative;
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem; letter-spacing: 0.22em; color: var(--muted);
}
.divider::before {
  content: ''; position: absolute;
  top: 50%; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}
.divider span { background: var(--cream); padding: 0 18px; position: relative; }

/* ---- SUSPECTS ---- */
.suspects-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px; margin-bottom: 12px;
}
@media (max-width: 660px) {
  .suspects-section { grid-template-columns: 1fr; }
  .container { padding: 30px 24px; }
}

.suspect-card {
  border: 2px solid var(--border);
  background: var(--aged);
  padding: 20px; position: relative;
}
.suspect-card::after {
  content: ''; position: absolute;
  bottom: -5px; right: -5px;
  width: 100%; height: 100%;
  border: 1px solid rgba(100,70,20,0.22); z-index: -1;
}

.suspect-header {
  display: flex; align-items: flex-start;
  gap: 14px; margin-bottom: 14px;
}
.suspect-badge {
  font-family: 'Oswald', sans-serif;
  font-weight: 700; font-size: 0.68rem;
  letter-spacing: 0.2em; color: #fff;
  background: var(--red); padding: 4px 9px;
  writing-mode: vertical-rl; transform: rotate(180deg); flex-shrink: 0;
}

/* ROBLOX MUGSHOT */
.mugshot { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mugshot-label { font-size: 0.64rem; letter-spacing: 0.15em; color: var(--muted); }
.roblox-head {
  width: 60px; height: 60px; border-radius: 8px;
  position: relative; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.roblox-head.pink { background: #f4a0b0; }
.roblox-head.blue  { background: #8ab4f8; }
.roblox-face {
  width: 100%; display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 4px; padding: 9px;
}
.eye { width: 11px; height: 11px; background: var(--dark); border-radius: 2px; }
.eye.left  { grid-column: 1; grid-row: 1; justify-self: center; }
.eye.right { grid-column: 2; grid-row: 1; justify-self: center; }
.smile {
  width: 22px; height: 9px;
  border-bottom: 3px solid var(--dark); border-radius: 0 0 12px 12px;
  grid-column: 1 / span 2; grid-row: 2; justify-self: center;
}
.frown {
  width: 22px; height: 9px;
  border-top: 3px solid var(--dark); border-radius: 12px 12px 0 0;
  grid-column: 1 / span 2; grid-row: 2; justify-self: center;
}

/* SUSPECT INFO */
.suspect-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 700; font-size: 1.5rem;
  letter-spacing: 0.04em; color: var(--dark);
}
.suspect-aka {
  font-size: 0.78rem; font-style: italic;
  color: var(--muted); margin-bottom: 12px; line-height: 1.55;
}
.info-table { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
.info-table td {
  padding: 5px 8px;
  border-bottom: 1px solid rgba(100,70,20,0.2);
  vertical-align: top; line-height: 1.55;
}
.info-table td:first-child {
  font-family: 'Oswald', sans-serif;
  font-weight: 600; font-size: 0.7rem;
  color: var(--muted); letter-spacing: 0.05em;
  white-space: nowrap; padding-right: 12px; width: 1%;
}

/* ---- CHARGES ---- */
.section-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700; font-size: 1.15rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--stamp-blue); margin-bottom: 14px;
}
.charges-intro {
  font-size: 0.92rem; line-height: 1.85;
  margin-bottom: 28px; color: var(--ink);
  padding: 15px 20px;
  border-left: 4px solid var(--stamp-blue);
  background: rgba(15,29,74,0.05);
}

.charge-block {
  margin-bottom: 32px;
  border: 1px solid rgba(100,70,20,0.3);
  position: relative;
}
.charge-block::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px; background: var(--red);
}
.charge-number {
  background: var(--red); color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.3em;
  padding: 5px 16px 5px 20px; display: inline-block;
}
.charge-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 600; font-size: 0.98rem;
  letter-spacing: 0.04em; color: var(--dark);
  padding: 12px 18px 4px 20px;
  text-transform: uppercase; line-height: 1.35;
}
.charge-severity {
  font-size: 0.8rem; color: var(--red);
  font-weight: 700; padding: 3px 18px 10px 20px;
  letter-spacing: 0.04em;
}
.charge-body {
  padding: 15px 22px 20px;
  font-size: 0.92rem; line-height: 1.88;
  color: var(--ink);
  background: rgba(249,245,236,0.6);
}
.charge-body p { margin-bottom: 13px; }
.charge-body p:last-of-type { margin-bottom: 10px; }
.charge-body em { color: #7a1010; font-style: italic; }
.charge-body strong { font-weight: 700; color: var(--dark); }

.evidence-tag {
  background: var(--aged);
  border: 1px dashed rgba(100,70,20,0.5);
  font-size: 0.82rem; padding: 10px 14px;
  color: var(--muted); font-style: italic;
  margin-top: 10px; line-height: 1.75;
}

/* ---- CLOSING ---- */
.closing-section { margin-top: 12px; }
.agent-note {
  background: var(--aged);
  border: 1px solid rgba(100,70,20,0.38);
  border-left: 5px solid var(--gold);
  padding: 28px 30px;
  font-size: 0.93rem; line-height: 1.92;
}
.agent-note p { margin-bottom: 18px; }
.agent-note p:last-child { margin-bottom: 0; }
.agent-sign {
  font-family: 'Special Elite', serif;
  font-size: 1.02rem; color: var(--stamp-blue);
  border-top: 1px solid rgba(100,70,20,0.3);
  padding-top: 16px; margin-top: 16px !important;
}

/* ---- FOOTER ---- */
.report-footer { margin-top: 36px; text-align: center; }
.footer-stamps {
  display: flex; justify-content: center;
  gap: 22px; margin-bottom: 18px; flex-wrap: wrap;
}
.foot-stamp {
  font-family: 'Oswald', sans-serif;
  font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.2em; color: var(--stamp-blue);
  border: 2px solid var(--stamp-blue);
  padding: 4px 12px; opacity: 0.75;
}
.foot-stamp.red-stamp {
  color: var(--red); border-color: var(--red);
  transform: rotate(-2deg); font-size: 0.98rem; opacity: 0.9;
}
.footer-text {
  font-size: 0.74rem; color: var(--muted);
  letter-spacing: 0.05em; line-height: 1.9;
}

/* ---- PRINT ---- */
@media print {
  body { background: white; }
  .scanlines, .noise { display: none; }
  .container { box-shadow: none; border: 1px solid #333; }
  .top-banner, .bottom-banner { position: static; }
}