
/* ──────────────────────────────────────────────────────────────────────────
   imnul_ro – application stylesheet
   ────────────────────────────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --clr-bg:        #f5ecd7;
  --clr-surface:   #fffdf7;
  --clr-border:    #003049;
  --clr-primary:   #003049;
  --clr-accent:    #c1121f;
  --clr-text:      #1c2b3a;
  --clr-muted:     #5a6a78;
  --clr-counter:   #c1121f;

  --radius:        14px;
  --shadow:        0 8px 32px rgba(0, 0, 0, 0.14);
  --font-serif:    "Georgia", "Times New Roman", serif;
  --transition:    0.2s ease;
}

/* ── base ──────────────────────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--clr-text);
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, #fef3c7 0%, transparent 70%),
    linear-gradient(160deg, #f0e6c8 0%, var(--clr-bg) 100%);
}

/* ── flag stripe ───────────────────────────────────────────────────────── */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(
    to right,
    #002B7F 33.33%,
    #FCD116 33.33% 66.66%,
    #CE1126 66.66%
  );
  z-index: 100;
}

/* ── card ──────────────────────────────────────────────────────────────── */
main {
  width: 100%;
  max-width: 780px;
  background: var(--clr-surface);
  border: 2px solid var(--clr-border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 5vw, 3rem);
  box-shadow: var(--shadow);
  animation: card-in 0.4s ease both;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── header ────────────────────────────────────────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--clr-border);
}

.site-header__emblem {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(
    to bottom right,
    #002B7F 33%,
    #FCD116 33% 66%,
    #CE1126 66%
  );
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.site-header__titles h1 {
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: 0.01em;
}

.site-header__titles h2 {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--clr-accent);
}

/* ── stanza block ──────────────────────────────────────────────────────── */
.stanzas {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stanza {
  position: relative;
  padding-left: 1.25rem;
}

.stanza::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  bottom: 0.3em;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(
    to bottom,
    #002B7F,
    #FCD116,
    #CE1126
  );
  opacity: 0.5;
  transition: opacity var(--transition);
}

.stanza:hover::before {
  opacity: 1;
}

.stanza p {
  white-space: pre-line;
  font-size: 1rem;
  line-height: 1.75;
}

/* ── counter badge ─────────────────────────────────────────────────────── */
.counter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.45rem 1rem;
  background: rgba(193, 18, 31, 0.08);
  border: 1px solid rgba(193, 18, 31, 0.25);
  border-radius: 100px;
  font-size: 0.9rem;
  font-family: ui-monospace, monospace;
  color: var(--clr-counter);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.counter::before {
  content: "👁";
  font-size: 1em;
}

/* ── footer ────────────────────────────────────────────────────────────── */
footer {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--clr-muted);
}

/* ── responsive ────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .site-header {
    flex-direction: column;
    text-align: center;
  }
  .stanza {
    padding-left: 0.75rem;
  }
}
