/* ==========================================================================
   BJJ Szczecin — Techniki kończące w BJJ
   Styl: dziecięco-brazylijski (2026)
   Ciepłe kolory, zaokrąglone kształty, flaga Brazylii jako inspiracja.
   ========================================================================== */

:root {
  /* Ciepłe tło kredowo-żółte */
  --bg: #fffdf0;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --surface-2: #fefce8;

  /* Tekst */
  --ink: #1c2b08;
  --ink-2: #3d5a1a;
  --ink-muted: #6b7c52;
  --border: #d4edba;
  --border-soft: #f0fce0;

  /* Brazylijska paleta */
  --brazil-green: #16a34a;
  --brazil-green-light: #bbf7d0;
  --brazil-yellow: #ca8a04;
  --brazil-yellow-light: #fef08a;
  --brazil-blue: #1d4ed8;
  --brazil-blue-light: #bfdbfe;

  /* Kolory wiekowe — ciepłe, żywe */
  --age-12: #0ea5e9;
  --age-13: #16a34a;
  --age-14: #d97706;
  --age-15: #7c3aed;
  --age-16: #dc2626;

  /* Cienie — cieplejsze, zieleń+złoto */
  --shadow-xs: 0 2px 6px rgba(22, 101, 52, 0.08);
  --shadow-sm: 0 4px 16px rgba(22, 101, 52, 0.10);
  --shadow-md: 0 10px 32px rgba(22, 101, 52, 0.13);
  --shadow-lg: 0 24px 64px rgba(22, 101, 52, 0.16);

  /* Zaokrąglenia — duże, dziecięce */
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-xl: 40px;

  --container-max: 1440px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Nunito', 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(900px 400px at 10% 0%, rgba(22, 163, 74, 0.12), transparent 55%),
    radial-gradient(800px 350px at 90% 5%, rgba(202, 138, 4, 0.14), transparent 50%),
    radial-gradient(600px 400px at 50% 110%, rgba(29, 78, 216, 0.08), transparent 60%),
    var(--bg);
  min-height: 100vh;
  padding: 24px 14px 60px;
}

img, svg { display: block; max-width: 100%; }

/* ==========================================================================
   CONTAINER
   ========================================================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  background: var(--bg-soft);
  border: 3px solid var(--brazil-green-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* ==========================================================================
   HEADER — brazylijska flaga + ciepło
   ========================================================================== */
.header {
  position: relative;
  padding: 56px 56px 52px;
  background:
    linear-gradient(160deg,
      #f0fdf4 0%,
      #fffde7 45%,
      #eff6ff 100%);
  border-bottom: 3px solid var(--brazil-green-light);
  display: grid;
  grid-template-columns: 110px 1fr 110px;
  gap: 32px;
  align-items: center;
  text-align: center;
  isolation: isolate;
}

/* tęczowy pasek na dole headera */
.header::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 5px;
  background: linear-gradient(90deg,
    var(--brazil-green) 0%,
    var(--brazil-yellow) 35%,
    #f59e0b 50%,
    var(--brazil-blue) 75%,
    var(--brazil-green) 100%);
  border-radius: 0 0 4px 4px;
  z-index: 1;
}

.logo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--brazil-green-light);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.logo svg { width: 84%; height: 84%; }

.header-content { min-width: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.1);
  border: 2px solid rgba(22, 163, 74, 0.28);
  color: var(--brazil-green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.eyebrow .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--brazil-yellow);
  box-shadow: 0 0 0 4px rgba(202, 138, 4, 0.22);
}

.header h1 {
  font-family: 'Fredoka One', 'Bebas Neue', sans-serif;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: 1px;
  color: var(--ink);
  margin-bottom: 14px;
  background: linear-gradient(120deg, #14532d 0%, #854d0e 50%, #1e3a8a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header h2 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 14px;
}

.header .subtitle {
  font-size: 15.5px;
  color: var(--ink-muted);
  max-width: 720px;
  margin: 0 auto;
  font-weight: 600;
}

/* ==========================================================================
   AGE SECTION
   ========================================================================== */
.age-section {
  position: relative;
  padding: 52px 56px 44px;
  border-bottom: 2px solid var(--border-soft);
}

/* kolorowy pasek z lewej */
.age-section::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 8px;
  background: var(--age-color, var(--age-12));
  border-radius: 0 6px 6px 0;
}

/* kolorowy pasek górny */
.age-section::after {
  content: "";
  position: absolute;
  top: 0; left: 8px; right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--age-color, var(--age-12)),
    color-mix(in srgb, var(--age-color, var(--age-12)) 30%, transparent));
}

.age-section.age-12 { --age-color: var(--age-12); background: linear-gradient(180deg, #f0f9ff 0%, #fff 60%); }
.age-section.age-13 { --age-color: var(--age-13); background: linear-gradient(180deg, #f0fdf4 0%, #fff 60%); }
.age-section.age-14 { --age-color: var(--age-14); background: linear-gradient(180deg, #fffbeb 0%, #fff 60%); }
.age-section.age-15 { --age-color: var(--age-15); background: linear-gradient(180deg, #f5f3ff 0%, #fff 60%); }
.age-section.age-16 { --age-color: var(--age-16); background: linear-gradient(180deg, #fff1f2 0%, #fff 60%); }

.age-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 32px;
}

/* Odznaka wieku — duża, okrągła, czytelna */
.age-badge {
  position: relative;
  background: var(--surface);
  border: 3px solid color-mix(in srgb, var(--age-color, var(--age-12)) 40%, transparent);
  border-radius: var(--radius-lg);
  padding: 18px 26px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 4px 18px;
  align-items: center;
  box-shadow:
    var(--shadow-sm),
    inset 0 0 0 4px color-mix(in srgb, var(--age-color, var(--age-12)) 6%, transparent);
  min-width: 220px;
  background: linear-gradient(145deg,
    color-mix(in srgb, var(--age-color, var(--age-12)) 10%, white),
    white);
}

.age-badge .age-num {
  grid-row: 1 / span 2;
  font-family: 'Fredoka One', 'Bebas Neue', sans-serif;
  font-size: 68px;
  line-height: 0.9;
  color: var(--age-color, var(--age-12));
  letter-spacing: 0px;
  text-shadow: 3px 3px 0 color-mix(in srgb, var(--age-color, var(--age-12)) 20%, transparent);
}

.age-badge .age-text {
  font-family: 'Fredoka One', sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--ink-2);
}

.age-badge .age-cat {
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: white;
  background: var(--age-color, var(--age-12));
  padding: 4px 12px;
  border-radius: 999px;
  align-self: start;
  margin-top: 2px;
  width: fit-content;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--age-color, var(--age-12)) 40%, transparent);
}

.age-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: color-mix(in srgb, var(--age-color, var(--age-12)) 8%, white);
  border: 2px solid color-mix(in srgb, var(--age-color, var(--age-12)) 30%, transparent);
  color: var(--ink-2);
  box-shadow: var(--shadow-xs);
}

.chip .ico {
  width: 22px; height: 22px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: var(--age-color, var(--age-12));
  color: white;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--age-color, var(--age-12)) 50%, transparent);
}

/* ==========================================================================
   CATEGORY HEADERS + GRID
   ========================================================================== */
.tech-category { margin-bottom: 30px; }
.tech-category:last-child { margin-bottom: 0; }

.cat-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Fredoka One', 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 1.5px;
  color: var(--ink);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.cat-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--age-color, var(--age-12)) 60%, transparent) 0%,
    transparent 100%);
  border-radius: 2px;
}

.cat-title .cat-pill {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.2px;
  background: var(--age-color, var(--age-12));
  color: white;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--age-color, var(--age-12)) 40%, transparent);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

/* ==========================================================================
   TECHNIQUE CARD — przyjazna karta
   ========================================================================== */
.tech-card {
  position: relative;
  background: var(--surface);
  border: 2px solid color-mix(in srgb, var(--age-color, var(--age-12)) 22%, var(--border));
  border-radius: var(--radius-md);
  padding: 20px 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* pasek kolorowy na górze */
.tech-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg,
    var(--age-color, var(--age-12)),
    color-mix(in srgb, var(--age-color, var(--age-12)) 50%, #fbbf24));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

/* delikatne kółko-dekoracja w rogu */
.tech-card::after {
  content: "";
  position: absolute;
  bottom: -20px; right: -20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--age-color, var(--age-12)) 8%, transparent);
  pointer-events: none;
}

.tech-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--age-color, var(--age-12)) 55%, transparent);
}

.tech-head {
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
  margin-bottom: 14px;
  margin-top: 6px;
}

.tech-num {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--age-color, var(--age-12));
  color: white;
  font-family: 'Fredoka One', sans-serif;
  font-weight: 400;
  font-size: 16px;
  grid-row: 1 / span 2;
  align-self: center;
  box-shadow: 0 3px 8px color-mix(in srgb, var(--age-color, var(--age-12)) 45%, transparent);
}

.tech-name {
  font-family: 'Fredoka One', 'Bebas Neue', sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.5px;
  color: var(--ink);
  line-height: 1.05;
  grid-column: 2;
  align-self: end;
}

.tech-alias {
  grid-column: 2;
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--ink-muted);
  line-height: 1.3;
}

.tech-img {
  background: linear-gradient(160deg,
    color-mix(in srgb, var(--age-color, var(--age-12)) 5%, #f8fafc) 0%,
    #f0fdf4 100%);
  border: 2px solid color-mix(in srgb, var(--age-color, var(--age-12)) 18%, var(--border-soft));
  border-radius: var(--radius-sm);
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  margin-bottom: 14px;
}

.tech-img svg { width: 86%; height: 86%; }
.tech-img.wide { aspect-ratio: 16 / 9; }

.placeholder-label {
  position: absolute;
  bottom: 8px; right: 10px;
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid var(--border);
  padding: 3px 8px;
  border-radius: 999px;
}

.tech-desc {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
  font-weight: 600;
}

.tech-desc strong {
  color: var(--ink);
  font-weight: 800;
}

/* ==========================================================================
   NOTES PANEL
   ========================================================================== */
.notes-panel {
  margin-top: 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg,
    color-mix(in srgb, var(--age-color, var(--age-12)) 10%, white) 0%,
    var(--surface) 100%);
  border: 2px solid color-mix(in srgb, var(--age-color, var(--age-12)) 30%, var(--border));
  padding: 24px 28px;
  box-shadow: var(--shadow-xs);
}

.notes-title {
  font-family: 'Fredoka One', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--age-color, var(--age-12));
  margin-bottom: 14px;
}

.notes-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.notes-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink-2);
}

.notes-list .note-icon {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--age-color, var(--age-12));
  color: white;
  font-size: 13px;
  font-weight: 900;
  margin-top: 1px;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--age-color, var(--age-12)) 40%, transparent);
}

.notes-list li.warn .note-icon {
  background: #d97706;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.4);
}
.notes-list li.warn {
  background: rgba(251, 191, 36, 0.12);
  border-radius: 14px;
  padding: 8px 12px 8px 0;
  border: 1.5px solid rgba(217, 119, 6, 0.2);
}
.notes-list li.warn strong { color: #92400e; }

/* ==========================================================================
   BANNED SECTION — ostrzegawczy styl
   ========================================================================== */
.banned-section {
  position: relative;
  padding: 52px 56px 60px;
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(220, 38, 38, 0.08), transparent 60%),
    linear-gradient(180deg, #fff8f8 0%, #fffbfb 100%);
  border-top: 2px solid #fecdd3;
}

.banned-section::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 8px;
  background: var(--age-16);
  border-radius: 0 6px 6px 0;
}

.banned-section::after {
  content: "";
  position: absolute;
  top: 0; left: 8px; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--age-16), transparent);
}

.banned-title {
  font-family: 'Fredoka One', 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: 1px;
  color: var(--age-16);
  margin-bottom: 10px;
  display: inline-flex; align-items: center; gap: 14px;
}

.banned-title .ban-icon {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--age-16);
  color: white;
  font-size: 22px;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.35);
}

.banned-lead {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  color: var(--ink-2);
  font-size: 1rem;
  margin-bottom: 26px;
  max-width: 760px;
}

.banned-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.banned-card {
  position: relative;
  background: var(--surface);
  border: 2px solid rgba(220, 38, 38, 0.22);
  border-radius: var(--radius-md);
  padding: 20px 20px 22px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.banned-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, #dc2626, #f87171);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.banned-card::after {
  content: "";
  position: absolute;
  bottom: -18px; right: -18px;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.06);
  pointer-events: none;
}

.banned-head {
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
  margin-bottom: 12px;
  margin-top: 6px;
}

.banned-icon {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.12);
  color: var(--age-16);
  font-weight: 900;
  font-size: 16px;
  border: 2px solid rgba(220, 38, 38, 0.3);
  grid-row: 1 / span 2;
  align-self: center;
}

.banned-name {
  font-family: 'Fredoka One', 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  color: var(--age-16);
  line-height: 1.05;
  grid-column: 2;
  align-self: end;
}

.banned-alias {
  grid-column: 2;
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #9f1239;
  line-height: 1.3;
}

.banned-img {
  background: linear-gradient(160deg, #fff0f0 0%, #ffe4e6 100%);
  border: 2px solid rgba(220, 38, 38, 0.18);
  border-radius: var(--radius-sm);
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  overflow: hidden;
  position: relative;
  margin-bottom: 12px;
}

.banned-img svg { width: 84%; height: 84%; }

.banned-desc {
  font-family: 'Nunito', sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink-2);
}

/* ==========================================================================
   FOOTER — zielono-żółty, brazylijski
   ========================================================================== */
.footer {
  background: linear-gradient(160deg, #f0fdf4 0%, #fffde7 60%, #eff6ff 100%);
  padding: 44px 56px 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  border-top: 3px solid var(--brazil-green-light);
}

.footer-block {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}

.footer-block-title {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Fredoka One', sans-serif;
  font-size: 19px;
  letter-spacing: 0.5px;
  color: var(--ink);
  margin-bottom: 12px;
}

.footer-icon {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  font-weight: 900;
  font-size: 16px;
  color: white;
  box-shadow: 0 3px 10px rgba(0,0,0,0.18);
}

.footer-icon.fi-info    { background: var(--brazil-blue); }
.footer-icon.fi-safe    { background: var(--brazil-green); }
.footer-icon.fi-rules   { background: var(--brazil-yellow); }

.footer-block p {
  font-family: 'Nunito', sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink-2);
}

.footer-block ul {
  list-style: none;
  display: grid; gap: 8px;
}

.footer-block li {
  position: relative;
  padding-left: 24px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  color: var(--ink-2);
  font-size: 0.97rem;
  line-height: 1.55;
}

.footer-block li::before {
  content: "✔";
  position: absolute;
  left: 0; top: 0;
  font-size: 13px;
  color: var(--brazil-green);
  font-weight: 900;
}

/* ==========================================================================
   SVG figure styling
   ========================================================================== */
.figure      { fill: none; stroke: #3d5a1a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.figure-fill { fill: #dcfce7; stroke: #3d5a1a; stroke-width: 1.6; }
.accent      { stroke: var(--age-color, var(--age-12)); stroke-width: 2.8; fill: none; stroke-linecap: round; }
.accent-dot  { fill: var(--age-color, var(--age-12)); }

.banned-img .accent      { stroke: var(--age-16); }
.banned-img .accent-dot  { fill: var(--age-16); }
.banned-img .figure-fill { fill: #ffe4e6; stroke: #dc2626; }
.banned-img .figure      { stroke: #9f1239; }

/* ==========================================================================
   ANIMACJE
   ========================================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tech-card, .banned-card, .notes-panel, .footer-block {
  animation: fadeUp 0.4s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   FOCUS / DOSTĘPNOŚĆ
   ========================================================================== */
:focus-visible {
  outline: 3px solid var(--brazil-green);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .header,
  .age-section,
  .banned-section,
  .footer { padding-left: 36px; padding-right: 36px; }

  .footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  body { padding: 12px 8px 40px; }

  .container { border-radius: 26px; }

  .header {
    grid-template-columns: 64px 1fr 64px;
    gap: 14px;
    padding: 30px 20px 26px;
  }

  .logo { width: 64px; height: 64px; }

  .age-section,
  .banned-section { padding: 36px 20px 30px; }

  .age-header {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .age-badge { min-width: 0; }

  .tech-grid { grid-template-columns: 1fr; gap: 14px; }
  .tech-card { padding: 16px; }
  .tech-name { font-size: 1.4rem; }
  .tech-desc { font-size: 0.98rem; }

  .banned-grid { grid-template-columns: 1fr; }

  .footer {
    grid-template-columns: 1fr;
    padding: 28px 20px 36px;
  }

  .notes-panel { padding: 18px 18px; }
}

@media (max-width: 480px) {
  .header h1 { font-size: clamp(30px, 9vw, 42px); }
  .age-badge { padding: 14px 16px; }
  .age-badge .age-num { font-size: 56px; }
  .cat-title { font-size: 18px; }
  .tech-name { font-size: 1.3rem; }
  .banned-name { font-size: 1.2rem; }
}

/* ==========================================================================
   DRUK
   ========================================================================== */
@media print {
  body { background: white; padding: 0; }
  .container { box-shadow: none; border: none; border-radius: 0; }
  .tech-card, .banned-card, .notes-panel { break-inside: avoid; box-shadow: none; }
  .header::after { display: none; }
}
