:root {
  --sec-red: #fc273e;
  --sec-mid-red: #aa183a;
  --sec-dark-red: #641432;
  --sec-light-red: #ffb0a3;
  --sec-navy: #031f50;
  --sec-mid-blue: #426b9d;
  --sec-light-blue: #acc2dd;
  --sec-purple: #8d6fff;
  --sec-mid-purple: #6541b6;
  --sec-dark-purple: #26224c;
  --sec-white: #ffffff;
  --sec-paper: #fcfbf7;
  --sec-black: #111111;
  --section-frame-size: 6px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Barlow Condensed", Arial, sans-serif;
  color: var(--sec-white);
  background: var(--sec-white);
  min-height: 100vh;
  overflow-x: hidden;
}

.page-noise {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 25%, rgba(0, 0, 0, 0.05) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(0, 0, 0, 0.04) 0 1px, transparent 1px);
  background-size: 20px 20px, 26px 26px;
  opacity: 0.16;
  pointer-events: none;
  z-index: -1;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 8px;
  width: 0;
  background: linear-gradient(90deg, var(--sec-red), #ffd500, var(--sec-purple));
  z-index: 30;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(3, 31, 80, 0.94);
  border-bottom: 4px solid var(--sec-black);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.brand-pill,
.topbar-link {
  border: 3px solid var(--sec-black);
}

.brand-pill {
  background: var(--sec-white);
  color: var(--sec-navy);
  padding: 0.3rem 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand-separator {
  width: 34px;
  height: 4px;
  background: var(--sec-red);
}

.brand-copy {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffd500;
  color: var(--sec-black);
  padding: 0.55rem 1rem;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
}

main {
  width: min(1380px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 5rem;
}

.comic-board {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  background: var(--sec-white);
  border: 8px solid var(--sec-black);
}

.panel {
  position: relative;
  overflow: hidden;
  border: 0;
  isolation: isolate;
  transform:
    perspective(1400px)
    rotateX(var(--tilt-y, 0deg))
    rotateY(var(--tilt-x, 0deg))
    translate3d(0, var(--parallax-y, 0px), 0);
  transform-style: preserve-3d;
  transition: transform 220ms ease;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 42%);
  z-index: -1;
}

.frame-panel {
  position: relative;
}

.frame-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 5;
}

.frame-panel-1::after {
  background-image: url("./ramki/1.png");
}

.frame-panel-2::after {
  background-image: url("./ramki/2.png");
}

.frame-panel-3::after {
  background-image: url("./ramki/3.png");
}

.frame-panel-4::after {
  background-image: url("./ramki/4.png");
}

.frame-panel-5::after {
  background-image: url("./ramki/5.png");
}

.panel-yellow {
  background: linear-gradient(160deg, #ffd500 0%, #ffcf1f 55%, #f8bb00 100%);
}

.panel-red {
  background: linear-gradient(160deg, var(--sec-red) 0%, var(--sec-mid-red) 70%, var(--sec-dark-red) 100%);
}

.panel-blue {
  background: linear-gradient(160deg, var(--sec-mid-blue) 0%, #5d88be 55%, var(--sec-light-blue) 100%);
}

.panel-purple {
  background: linear-gradient(160deg, var(--sec-purple) 0%, var(--sec-mid-purple) 55%, var(--sec-dark-purple) 100%);
}

.panel-white {
  background: linear-gradient(160deg, var(--sec-paper) 0%, var(--sec-white) 100%);
  color: var(--sec-black);
}

.panel-navy {
  background: linear-gradient(160deg, #0b316e 0%, var(--sec-navy) 60%, #02112d 100%);
}

.hero,
.countdown-section,
.event-section,
.video-section,
.future-section,
.story-panel {
  padding: 1.6rem;
}

.hero {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.8fr);
  grid-template-areas:
    "title notes"
    "cards cards"
    "cta cta";
  gap: 12px;
  min-height: 0;
  margin: 0;
  padding: 1.7rem 1.7rem 1.2rem;
}

.hero-copy-wrap,
.hero-side,
.hero-cards,
.hero-cta,
.graphic-layer,
.countdown-board,
.future-badges,
.video-frame,
.video-copy,
.story-content {
  position: relative;
  z-index: 1;
}

.hero-bg,
.story-layer {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  z-index: -1;
}

.halftone-yellow {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.36) 0 2px, transparent 2px 100%);
  background-size: 24px 24px;
}

.halftone-red {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px 100%);
  background-size: 18px 18px;
}

.halftone-blue {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0 2px, transparent 2px 100%);
  background-size: 20px 20px;
}

.hero-copy-wrap {
  grid-area: title;
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: 0.7rem;
  max-width: 1040px;
}

.graphic-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.graphic {
  position: absolute;
  display: block;
  height: auto;
}

.graphic-exclaim {
  top: 1rem;
  left: 57%;
  width: 108px;
}

.graphic-lightning {
  top: 9.8rem;
  left: 1.2rem;
  width: 110px;
}

.graphic-star-hero {
  top: 1.6rem;
  right: 2rem;
  width: 74px;
}

.graphic-dot-hero {
  top: 3.7rem;
  right: 8.6rem;
  width: 18px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--sec-black);
  border: 3px solid var(--sec-black);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-title-block {
  width: min(100%, 760px);
  min-height: 290px;
  padding: 2.3rem 2.35rem 1.9rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  isolation: isolate;
  background-image: url("./ksztalt2.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.hero-title-block::before {
  content: none;
}

.hero-title-block::after {
  content: none;
}

.hero h1,
.story-content h2,
.countdown-section h2,
.video-copy h2,
.future-copy h2,
.mini-card h2 {
  margin: 0;
  font-family: "Bangers", cursive;
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(5rem, 8.9vw, 7.8rem);
  text-shadow: 4px 4px 0 rgba(17, 17, 17, 0.9);
  max-width: 5.2ch;
  margin-left: 2rem;
}

.hero-copy,
.story-content p,
.countdown-aside p,
.video-copy p,
.future-copy p,
.mini-card p,
.info-card p {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.15;
  font-weight: 600;
  margin: 0;
}

.hero-copy {
  margin-top: 1rem;
  max-width: 26rem;
  position: relative;
  z-index: 1;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  margin-left: 1rem;
}

.hero-side {
  grid-area: notes;
  display: grid;
  gap: 8px;
  align-content: start;
  padding-top: 1.2rem;
}

.info-card,
.mini-card,
.countdown-card,
.deadline-copy,
.countdown-callout,
.future-badge,
.video-frame,
.video-copy {
  border: 4px solid var(--sec-black);
}

.info-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--sec-black);
  padding: 1rem;
  min-height: 190px;
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.info-card strong {
  font-size: 1.7rem;
  line-height: 1;
  text-transform: uppercase;
}

.info-card-kicker {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sec-mid-red);
}

.bubble-note {
  position: relative;
  min-height: 0;
  aspect-ratio: 1 / 0.82;
  background-image: url("./dymek.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.bubble-note-top {
  width: 100%;
  max-width: 280px;
  justify-self: end;
}

.bubble-note-bottom {
  width: 100%;
  max-width: 240px;
  justify-self: start;
  margin-top: -0.8rem;
}

.bubble-note-content {
  position: absolute;
  inset: 17% 16% 24% 16%;
  color: var(--sec-black);
  display: grid;
  gap: 0.35rem;
  align-content: center;
}

.bubble-note-content strong {
  font-size: 1.3rem;
  line-height: 1;
  text-transform: uppercase;
}

.bubble-note-content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.1;
}

.hero-cards {
  grid-area: cards;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-self: start;
  margin-top: 0;
}

.mini-card {
  padding: 1rem 1rem 1.15rem;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.mini-card-label {
  display: inline-flex;
  margin-bottom: 0.65rem;
  padding: 0.25rem 0.45rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--sec-black);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.45rem;
}

.mini-card-red {
  background: linear-gradient(160deg, var(--sec-red), var(--sec-mid-red));
}

.mini-card-blue {
  background: linear-gradient(160deg, #5acfff, var(--sec-mid-blue));
}

.mini-card-purple {
  background: linear-gradient(160deg, #c89cff, var(--sec-mid-purple));
}

.hero-cta {
  grid-area: cta;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.35rem;
  background: var(--sec-navy);
  color: var(--sec-white);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 4px solid var(--sec-black);
  align-self: start;
}

.heroes-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0 0.35rem;
  background: var(--sec-white);
  align-items: stretch;
}

.panel-corner-star,
.panel-corner-lightning,
.countdown-accent,
.event-accent,
.video-accent {
  position: absolute;
  display: block;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.hero-kid {
  position: relative;
  display: block;
  min-height: 420px;
  overflow: hidden;
  background: #fff;
  padding: 0.45rem;
}

.hero-kid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: 14px 14px;
  background-position: center;
  opacity: 1;
}

.hero-kid::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.08));
  pointer-events: none;
}

.hero-kid-red {
  clip-path: polygon(0 4%, 100% 0, 96% 100%, 0 96%);
  background: linear-gradient(160deg, #fd4760 0%, var(--sec-red) 55%, var(--sec-mid-red) 100%);
}

.hero-kid-red::before {
  background-image: radial-gradient(circle, rgba(100, 20, 50, 0.42) 0 2.6px, transparent 2.6px);
}

.hero-kid-pink {
  clip-path: polygon(5% 0, 100% 4%, 96% 100%, 0 96%);
  background: linear-gradient(160deg, #ffc4da 0%, #ffb2d0 55%, #f596bb 100%);
}

.hero-kid-pink::before {
  background-image: radial-gradient(circle, rgba(204, 87, 141, 0.38) 0 2.6px, transparent 2.6px);
}

.hero-kid-green {
  clip-path: polygon(3% 0, 100% 4%, 100% 96%, 0 100%);
  background: linear-gradient(160deg, #7bdc4f 0%, #58c931 55%, #2fa32e 100%);
}

.hero-kid-green::before {
  background-image: radial-gradient(circle, rgba(24, 108, 40, 0.4) 0 2.6px, transparent 2.6px);
}

.hero-kid img {
  position: absolute;
  inset: auto 0.5rem 0.6rem 0.5rem;
  z-index: 2;
  width: calc(100% - 1rem);
  height: 82%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}

.kid-bubble {
  position: absolute;
  z-index: 3;
  width: 320px;
  height: 240px;
}

.kid-bubble img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.kid-bubble span {
  position: absolute;
  inset: 16% 13% 24% 13%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--sec-black);
  font-family: "Bangers", cursive;
  font-size: 2.8rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.kid-bubble-left {
  top: -1.6rem;
  left: -1.2rem;
}

.kid-bubble-center {
  top: -1.65rem;
  left: 50%;
  transform: translateX(-50%);
}

.kid-bubble-right {
  top: -1.55rem;
  right: -1.1rem;
}

.panel-corner-star {
  top: 1rem;
  right: 1rem;
  width: 64px;
}

.panel-corner-lightning {
  right: 1rem;
  bottom: 1rem;
  width: 80px;
}

.countdown-section {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  gap: 0;
  padding: 1.5rem 1.4rem 1.2rem;
}

.countdown-section h2 {
  font-size: clamp(3rem, 5.5vw, 4.8rem);
  margin: 0.7rem 0 1rem;
  color: var(--sec-mid-red);
}

.countdown-board {
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(252, 39, 62, 0.08), transparent 46%),
    repeating-linear-gradient(135deg, rgba(17, 17, 17, 0.05) 0 8px, transparent 8px 16px),
    var(--sec-white);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.countdown-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 165px;
  padding: 1rem 0.5rem;
  background: linear-gradient(160deg, var(--sec-navy), #072b6b);
  color: var(--sec-white);
}

.count-value {
  display: block;
  font-family: "Bangers", cursive;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.06em;
}

.count-label {
  margin-top: 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.countdown-callout,
.deadline-copy {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  background: #ffd500;
  color: var(--sec-black);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
}

.countdown-callout {
  margin-top: 1rem;
}

.deadline-copy {
  margin-top: 1rem;
  gap: 0.5rem;
  flex-wrap: wrap;
  background: var(--sec-light-red);
}

.countdown-accent-dot {
  top: 1rem;
  right: 1rem;
  width: 18px;
}

.event-section {
  grid-column: 9 / -1;
  display: grid;
  gap: 0;
  align-content: start;
  color: var(--sec-black);
  clip-path: polygon(2% 0, 100% 3%, 100% 100%, 0 97%);
}

.event-primary,
.event-box {
  border: 4px solid var(--sec-black);
  background: var(--sec-white);
  padding: 1rem;
}

.event-accent-star {
  top: 0.8rem;
  right: 1rem;
  width: 54px;
}

.event-accent-exclaim {
  left: 0.6rem;
  bottom: 0.8rem;
  width: 60px;
}

.event-primary h2 {
  margin: 0.7rem 0 0.6rem;
  font-family: "Bangers", cursive;
  font-size: clamp(2.8rem, 4.5vw, 4.4rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--sec-red);
}

.event-strong {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
}

.event-secondary {
  display: grid;
  gap: 10px;
}

.event-label {
  display: inline-flex;
  margin-bottom: 0.65rem;
  padding: 0.25rem 0.55rem;
  background: #ffd500;
  border: 3px solid var(--sec-black);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.event-box p {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  line-height: 1.12;
  font-weight: 700;
}

.event-box p:last-child {
  margin-bottom: 0;
}

.video-section {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 0;
  align-items: stretch;
  clip-path: polygon(0 0, 100% 2%, 98% 100%, 0 97%);
}

.video-copy {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
}

.video-copy h2,
.future-copy h2 {
  font-size: clamp(3rem, 5.2vw, 4.8rem);
  margin: 0;
}

.info-card-inline {
  min-height: 0;
}

.video-accent-burst {
  top: 0.7rem;
  right: 0.7rem;
  width: 180px;
  opacity: 0.9;
}

.video-frame {
  position: relative;
  padding: 0.85rem;
  background: var(--sec-black);
}

.video-frame-inner {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 4px solid var(--sec-white);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.future-section {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0;
  align-items: center;
  clip-path: polygon(0 3%, 100% 0, 100% 100%, 0 97%);
}

.future-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.future-badge {
  padding: 0.8rem 1.05rem;
  background: var(--sec-white);
  color: var(--sec-navy);
  font-family: "Bangers", cursive;
  font-size: 1.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-parallax] {
  will-change: transform;
  transition: transform 80ms linear;
}

/* Mathematical comic layout engine:
   Panels share the same seam lines and cut positions, so neighboring
   clip-path polygons always meet on identical coordinates. */
.comic-board {
  display: grid;
  gap: 1.25rem;
  padding: 0;
  background: var(--sec-white);
  border: 0;
}

.comic-stage {
  position: relative;
  grid-column: 1 / -1;
  aspect-ratio: 100 / 112;
  background: var(--sec-white);
}

.comic-panel {
  position: absolute;
  overflow: hidden;
  border: 4px solid var(--sec-black);
  isolation: isolate;
}

.comic-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 42%);
  z-index: -1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.85fr);
  grid-template-areas:
    "title notes"
    "cards cards"
    "cta cta";
  gap: 12px;
  padding: 1.5rem 1.5rem 1.1rem;
}

.hero-copy-wrap,
.hero-side,
.hero-cards,
.hero-cta,
.graphic-layer,
.countdown-board,
.bottom-info-main,
.bottom-info-meta,
.future-badges,
.video-frame,
.video-copy {
  position: relative;
  z-index: 1;
}

.hero-copy-wrap {
  grid-area: title;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 100%;
}

.hero-side {
  grid-area: notes;
  display: grid;
  gap: 0.5rem;
  align-content: start;
  padding-top: 0.8rem;
}

.hero-title-block {
  width: min(100%, 760px);
  min-height: 280px;
  padding: 2.1rem 2.2rem 1.7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  isolation: isolate;
  background-image: url("./ksztalt2.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.hero h1 {
  margin: 0 0 0 1.8rem;
  font-family: "Bangers", cursive;
  font-size: clamp(4.8rem, 8.2vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 rgba(17, 17, 17, 0.9);
  max-width: 5.2ch;
}

.hero-copy {
  margin: 0.9rem 0 0 0.8rem;
  max-width: 25rem;
  font-size: clamp(0.95rem, 1.45vw, 1.12rem);
  line-height: 1.12;
  font-weight: 700;
}

.bubble-note {
  position: relative;
  min-height: 0;
  aspect-ratio: 1 / 0.82;
  background-image: url("./dymek.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.bubble-note-top {
  width: 100%;
  max-width: 290px;
  justify-self: end;
}

.bubble-note-bottom {
  width: 100%;
  max-width: 250px;
  justify-self: start;
  margin-top: -0.6rem;
}

.bubble-note-content {
  position: absolute;
  inset: 17% 16% 24% 16%;
  color: var(--sec-black);
  display: grid;
  gap: 0.35rem;
  align-content: center;
}

.bubble-note-content strong {
  font-size: 1.25rem;
  line-height: 1;
  text-transform: uppercase;
}

.bubble-note-content p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.08;
}

.hero-cards {
  grid-area: cards;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mini-card {
  padding: 0.95rem 0.95rem 1rem;
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 4px solid var(--sec-black);
}

.mini-card h2 {
  margin: 0 0 0.35rem;
  font-family: "Bangers", cursive;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.hero-cta {
  grid-area: cta;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.2rem;
  background: var(--sec-navy);
  color: var(--sec-white);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  border: 4px solid var(--sec-black);
}

.hero-kid {
  background: #fff;
  padding: 0.45rem;
}

.hero-kid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: 14px 14px;
  background-position: center;
  opacity: 1;
}

.hero-kid::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.08));
  pointer-events: none;
}

.hero-kid-red {
  background: linear-gradient(160deg, #fd4760 0%, var(--sec-red) 55%, var(--sec-mid-red) 100%);
}

.hero-kid-red::before {
  background-image: radial-gradient(circle, rgba(100, 20, 50, 0.42) 0 2.6px, transparent 2.6px);
}

.hero-kid-pink {
  background: linear-gradient(160deg, #ffc4da 0%, #ffb2d0 55%, #f596bb 100%);
}

.hero-kid-pink::before {
  background-image: radial-gradient(circle, rgba(204, 87, 141, 0.38) 0 2.6px, transparent 2.6px);
}

.hero-kid-green {
  background: linear-gradient(160deg, #7bdc4f 0%, #58c931 55%, #2fa32e 100%);
}

.hero-kid-green::before {
  background-image: radial-gradient(circle, rgba(24, 108, 40, 0.4) 0 2.6px, transparent 2.6px);
}

.hero-kid > img {
  position: absolute;
  inset: auto 0.55rem 0.45rem 0.55rem;
  z-index: 2;
  width: calc(100% - 1.1rem);
  height: 82%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}

.kid-bubble {
  position: absolute;
  z-index: 3;
  width: 38%;
  min-width: 180px;
  max-width: 290px;
  aspect-ratio: 1 / 0.76;
}

.kid-bubble img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.kid-bubble span {
  position: absolute;
  inset: 16% 13% 24% 13%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--sec-black);
  font-family: "Bangers", cursive;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.kid-bubble-left {
  top: -10%;
  left: -6%;
}

.kid-bubble-center {
  top: -11%;
  left: 50%;
  transform: translateX(-50%);
}

.kid-bubble-right {
  top: -10%;
  right: -6%;
}

.bottom-info {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1rem;
  padding: 1.35rem 1.25rem 1rem;
  color: var(--sec-black);
}

.bottom-info-main {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 1rem;
}

.bottom-info-meta {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.countdown-section,
.event-section,
.heroes-strip,
.frame-panel,
.frame-panel::after {
  all: unset;
}

@media (max-width: 1100px) {
  .comic-stage {
    aspect-ratio: 100 / 142;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "notes"
      "cards"
      "cta";
  }

  .hero-cards,
  .countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bottom-info,
  .bottom-info-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .comic-stage {
    aspect-ratio: auto;
    min-height: 1200px;
  }

  .hero-cards,
  .countdown-grid {
    grid-template-columns: 1fr;
  }

  .kid-bubble {
    width: 48%;
    min-width: 150px;
  }
}

/* Final fitted comic layout override */
.comic-board {
  background: var(--sec-white) !important;
  border: 0 !important;
  gap: 0.2rem !important;
}

.comic-stage {
  position: relative !important;
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  column-gap: 2px !important;
  row-gap: 2px !important;
  aspect-ratio: auto !important;
  min-height: 0 !important;
  background: var(--sec-white) !important;
}

.comic-panel {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  height: auto !important;
  clip-path: none !important;
  border: 4px solid var(--sec-black) !important;
}

.hero.comic-panel {
  grid-column: 1 / -1;
  display: grid !important;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, 0.75fr);
  grid-template-areas:
    "title notes"
    "cards cards"
    "cta cta";
  gap: 14px;
  padding: 1.35rem 1.35rem 1.05rem;
  min-height: 0 !important;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%) !important;
}

.hero-kid.hero-kid-red.comic-panel {
  grid-column: 1 / 5;
  min-height: 390px;
  clip-path: polygon(0 5%, 100% 0, 96% 100%, 0 96%) !important;
}

.hero-kid.hero-kid-pink.comic-panel {
  grid-column: 5 / 8;
  min-height: 390px;
  clip-path: polygon(6% 0, 100% 4%, 94% 100%, 0 96%) !important;
}

.hero-kid.hero-kid-green.comic-panel {
  grid-column: 8 / -1;
  min-height: 390px;
  clip-path: polygon(4% 0, 100% 4%, 100% 96%, 0 100%) !important;
}

.bottom-info.comic-panel {
  grid-column: 1 / -1;
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1rem;
  padding: 1.25rem 1.2rem 1rem;
  clip-path: polygon(0 3%, 100% 0, 100% 100%, 0 97%) !important;
}

.heroes-strip {
  all: unset;
  display: contents;
}

.hero-copy-wrap {
  grid-area: title;
}

.hero-side {
  grid-area: notes;
  display: grid;
  gap: 0.6rem;
  align-content: start;
  padding-top: 1rem;
}

.hero-cards {
  grid-area: cards;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-cta {
  grid-area: cta;
}

.hero-title-block {
  width: min(100%, 780px);
  min-height: 300px;
  padding: 2.4rem 2.45rem 1.8rem;
  background-size: 100% 100%;
}

.hero h1 {
  margin-left: 1.8rem;
  font-size: clamp(5.2rem, 8.8vw, 8rem);
}

.hero-copy {
  margin-left: 0.7rem;
  max-width: 25rem;
}

.graphic-exclaim {
  top: 1rem;
  left: 56%;
  width: 105px;
}

.graphic-lightning {
  top: 9.3rem;
  left: 1.2rem;
  width: 105px;
}

.graphic-star-hero {
  top: 1.7rem;
  right: 1.7rem;
  width: 72px;
}

.graphic-dot-hero {
  top: 3.8rem;
  right: 8rem;
  width: 18px;
}

.hero-kid {
  padding: 0.45rem;
}

.hero-kid > img {
  inset: auto 0.55rem 0.45rem 0.55rem;
  width: calc(100% - 1.1rem);
  height: 82%;
}

.kid-bubble {
  width: 42%;
  min-width: 190px;
  max-width: 300px;
}

.kid-bubble-left {
  top: -11%;
  left: -7%;
}

.kid-bubble-center {
  top: -12%;
  left: 50%;
  transform: translateX(-50%);
}

.kid-bubble-right {
  top: -11%;
  right: -7%;
}

.kid-bubble span {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
}

.bottom-info-main {
  display: grid !important;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 1rem;
}

.bottom-info-meta {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

@media (max-width: 1100px) {
  .hero.comic-panel,
  .bottom-info.comic-panel {
    grid-template-columns: 1fr !important;
  }

  .hero.comic-panel {
    grid-template-areas:
      "title"
      "notes"
      "cards"
      "cta";
  }

  .hero-kid.hero-kid-red.comic-panel,
  .hero-kid.hero-kid-pink.comic-panel,
  .hero-kid.hero-kid-green.comic-panel {
    grid-column: span 4;
  }

  .hero-cards,
  .countdown-grid,
  .bottom-info-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .comic-stage {
    grid-template-columns: 1fr !important;
  }

  .hero-kid.hero-kid-red.comic-panel,
  .hero-kid.hero-kid-pink.comic-panel,
  .hero-kid.hero-kid-green.comic-panel,
  .hero.comic-panel,
  .bottom-info.comic-panel {
    grid-column: 1 / -1;
  }

  .hero-cards,
  .countdown-grid,
  .bottom-info-main {
    grid-template-columns: 1fr;
  }

  .kid-bubble {
    width: 46%;
    min-width: 150px;
  }
}

/* Generated skew-frame system */
.comic-stage {
  position: relative !important;
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  column-gap: 2px !important;
  row-gap: 2px !important;
  aspect-ratio: auto !important;
  min-height: 0 !important;
  background: var(--sec-white) !important;
}

.comic-panel-shell {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  background: transparent !important;
  overflow: visible !important;
  isolation: isolate;
  transition: transform 220ms ease, filter 220ms ease;
}

.comic-panel-shell::before {
  content: none !important;
}

.comic-panel-shell > .comic-panel-frame {
  position: absolute;
  inset: 0;
  background: var(--sec-black);
  z-index: 0;
  transition: transform 220ms ease;
}

.comic-panel-shell > .comic-panel-fill {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  transition: transform 220ms ease;
}

.comic-panel-shell > .comic-panel-overlay {
  position: absolute;
  inset: 0;
  overflow: visible;
  z-index: 5;
  pointer-events: none;
  transition: transform 220ms ease;
}

.comic-panel-shell > .comic-panel-overlay > * {
  pointer-events: auto;
}

.comic-decor-layer {
  position: absolute;
  inset: 0;
  overflow: visible;
  z-index: 40;
  pointer-events: none;
}

.decor-slot {
  position: absolute;
  pointer-events: none;
}

.floating-decor {
  position: relative;
  display: block;
  pointer-events: auto;
  transform:
    perspective(1200px)
    rotateX(var(--tilt-y, 0deg))
    rotateY(var(--tilt-x, 0deg))
    translate3d(0, var(--parallax-y, 0px), 0);
  transform-style: preserve-3d;
  transition: transform 220ms ease;
}

.comic-decor-layer .graphic {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  width: 100%;
}

.comic-decor-layer .floating-decor {
  pointer-events: none;
}

.hero.comic-panel-shell {
  grid-column: 1 / -1;
  min-height: 430px;
  z-index: 1;
}

.hero.comic-panel-shell > .comic-panel-fill {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "title"
    "cta";
  gap: 0.45rem;
  padding: 1rem 1.1rem 0.95rem;
  background: linear-gradient(160deg, #ffd500 0%, #ffcf1f 55%, #f8bb00 100%);
  --spot-x: 50%;
  --spot-y: 50%;
  --spot-core: 0;
  --spot-mid: 0;
}

.hero-kid.hero-kid-red.comic-panel-shell {
  grid-column: 1 / 5;
  min-height: 390px;
  margin-top: -38px;
  z-index: 3;
  will-change: transform;
}

.hero-kid.hero-kid-pink.comic-panel-shell {
  grid-column: 5 / 8;
  min-height: 390px;
  margin-top: -38px;
  z-index: 3;
  will-change: transform;
}

.hero-kid.hero-kid-green.comic-panel-shell {
  grid-column: 8 / -1;
  min-height: 390px;
  margin-top: -38px;
  z-index: 3;
  will-change: transform;
}

.hero-kid.comic-panel-shell:hover {
  z-index: 7;
}

.panel:hover .comic-panel-fill,
.panel:focus-within .comic-panel-fill {
  transform: translate3d(-2px, -2px, 14px);
}

.panel:hover .comic-panel-frame,
.panel:focus-within .comic-panel-frame {
  transform: translate3d(-2px, -2px, 10px);
}

.panel:hover .comic-panel-overlay,
.panel:focus-within .comic-panel-overlay {
  transform: translate3d(0, -4px, 22px);
}

.hero-kid.comic-panel-shell > .comic-panel-fill {
  background: inherit;
  overflow: hidden;
  --spot-x: 50%;
  --spot-y: 50%;
  --spot-core: 0;
  --spot-mid: 0;
}

.hero-kid-overlay,
.bottom-info-overlay {
  overflow: visible;
}

.hero-kid-red.comic-panel-shell > .comic-panel-fill {
  background: linear-gradient(160deg, #fd4760 0%, var(--sec-red) 55%, var(--sec-mid-red) 100%);
}

.hero-kid-pink.comic-panel-shell > .comic-panel-fill {
  background: linear-gradient(160deg, #ffc4da 0%, #ffb2d0 55%, #f596bb 100%);
}

.hero-kid-green.comic-panel-shell > .comic-panel-fill {
  background: linear-gradient(160deg, #7bdc4f 0%, #58c931 55%, #2fa32e 100%);
}

.hero-kid.comic-panel-shell > .comic-panel-fill::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: 14px 14px;
  background-position: center;
  opacity: 1;
}

.hero-kid-red.comic-panel-shell > .comic-panel-fill::before {
  background-image: radial-gradient(circle, rgba(100, 20, 50, 0.42) 0 2.6px, transparent 2.6px);
}

.hero-kid-pink.comic-panel-shell > .comic-panel-fill::before {
  background-image: radial-gradient(circle, rgba(204, 87, 141, 0.38) 0 2.6px, transparent 2.6px);
}

.hero-kid-green.comic-panel-shell > .comic-panel-fill::before {
  background-image: radial-gradient(circle, rgba(24, 108, 40, 0.4) 0 2.6px, transparent 2.6px);
}

.hero-kid.comic-panel-shell > .comic-panel-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      circle at var(--spot-x) var(--spot-y),
      rgba(255, 255, 255, var(--spot-core)) 0,
      rgba(255, 255, 255, var(--spot-mid)) 18%,
      rgba(255, 255, 255, 0) 44%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.08));
  pointer-events: none;
  transition: background 120ms linear;
}

.bottom-info.comic-panel-shell {
  grid-column: 1 / -1;
  min-height: 360px;
  margin-top: -26px;
  z-index: 1;
}

.bottom-info.comic-panel-shell > .comic-panel-fill {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1rem;
  padding: 1.25rem 1.2rem 1rem;
  background: linear-gradient(160deg, var(--sec-paper) 0%, var(--sec-white) 100%);
  color: var(--sec-black);
}

.heroes-strip {
  display: contents !important;
}

.hero.comic-panel-shell {
  min-height: 430px;
}

.hero-copy-wrap {
  align-self: start;
  display: grid;
  gap: 0.55rem;
}

.hero-logo-stage {
  width: clamp(190px, 19vw, 300px);
  margin: 0 0.25rem 0.45rem auto;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.hero-logo-stage img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-logo-card {
  position: absolute;
  top: auto;
  bottom: 0.3rem;
  right: auto;
  left: 0.25rem;
  z-index: 9;
  width: clamp(190px, 19vw, 300px);
  border: 3px solid var(--sec-black);
  background: var(--sec-white);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.18);
  padding: 0.55rem 0.75rem;
}

.hero-logo-card img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-side {
  position: absolute;
  top: 0.8rem;
  right: -0.45rem;
  width: min(40%, 390px);
  display: grid;
  gap: 0.1rem;
  align-content: start;
  justify-items: stretch;
  padding-top: 0;
  z-index: 3;
  margin-top: 0.1rem;
}

.hero-title-block {
  width: min(100%, 720px);
  min-height: 230px;
  padding: 1.6rem 1.9rem 1.2rem;
}

.hero h1 {
  margin-left: 1rem;
  font-size: clamp(4.3rem, 8vw, 6.8rem);
  max-width: 5.4ch;
}

.hero-intro-card {
  max-width: 39rem;
  padding: 0.8rem 0.95rem;
  border: 4px solid var(--sec-black);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 8px 8px 0 rgba(17, 17, 17, 0.15);
}

.hero-copy {
  margin: 0;
  max-width: none;
  font-size: clamp(1rem, 1.45vw, 1.14rem);
  line-height: 1.24;
  color: var(--sec-black);
}

.hero-meta-line {
  margin: 0.45rem 0 0;
  font-size: 0.96rem;
  line-height: 1.15;
  font-weight: 800;
  text-transform: uppercase;
}

.bubble-note {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.8;
  background-image: url("./dymek.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.18));
}

.bubble-note-top {
  max-width: 430px;
  justify-self: end;
}

.bubble-note-bottom {
  max-width: 390px;
  justify-self: start;
  margin-top: -0.8rem;
  margin-left: -1.45rem;
}

.bubble-note-content {
  position: absolute;
  inset: 15% 13% 23% 14%;
  color: var(--sec-black);
  display: grid;
  gap: 0.3rem;
  align-content: center;
}

.bubble-note-content strong {
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 0.92;
}

.bubble-note-content p {
  margin: 0;
  font-size: clamp(0.98rem, 1.12vw, 1.08rem);
  line-height: 1.08;
}

.decor-slot-lightning {
  top: 7%;
  left: 51%;
  width: 110px;
}

.decor-slot-exclaim {
  top: 7%;
  right: 39%;
  width: 74px;
}

.decor-slot-star {
  top: 6%;
  right: 3.5%;
  width: 58px;
}

.decor-slot-dot {
  top: 6.2%;
  right: 11.2%;
  width: 12px;
}

.decor-slot-star-red {
  top: 10.5%;
  left: 31.8%;
  width: 46px;
}

.decor-slot-star-blue {
  top: 26.8%;
  left: 57.4%;
  width: 50px;
}

.decor-slot-star-fuchsia {
  top: 18.7%;
  right: 22.3%;
  width: 43px;
}

.decor-slot-exclaim-blue {
  top: 12.4%;
  left: 46.1%;
  width: 54px;
}

.decor-slot-exclaim-red {
  top: 8.1%;
  left: 18.7%;
  width: 51px;
}

.decor-slot-exclaim-pink {
  top: 24.2%;
  right: 13.6%;
  width: 52px;
}

.decor-slot-dot-red {
  top: 15.8%;
  right: 30.8%;
  width: 14px;
}

.decor-slot-hero-top {
  top: 3%;
  left: 58%;
  right: auto;
  width: min(38%, 400px);
}

.decor-slot-hero-bottom {
  top: 20%;
  left: 62%;
  right: auto;
  width: min(34%, 360px);
}

.decor-slot-hero-top .bubble-note-top,
.decor-slot-hero-bottom .bubble-note-bottom {
  max-width: 100%;
  margin: 0;
}

.decor-slot-kid-left {
  top: 41%;
  left: 3.4%;
  width: 25%;
}

.decor-slot-kid-center {
  top: 40.6%;
  left: 37.1%;
  width: 20%;
}

.decor-slot-kid-right {
  top: 40.6%;
  right: 5%;
  width: 25%;
}

.decor-slot-kid-left .kid-bubble,
.decor-slot-kid-center .kid-bubble,
.decor-slot-kid-right .kid-bubble {
  top: 0;
  left: 0;
  right: auto;
  width: 100%;
  min-width: 0;
  max-width: none;
}

.hero-cta {
  grid-area: cta;
  align-self: start;
  margin-top: 0.1rem;
}

.hero-cards {
  display: none !important;
}

.hero-kid img {
  z-index: 3;
  height: 84%;
}

.kid-bubble {
  position: absolute;
  z-index: 6;
  width: 72%;
  min-width: 290px;
  max-width: 450px;
  aspect-ratio: 1 / 0.76;
  filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.2));
}

.kid-bubble.floating-decor {
  pointer-events: none;
}

.kid-bubble img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 0;
}

.kid-bubble span {
  position: absolute;
  inset: 16% 14% 24% 14%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--sec-black);
  font-family: "Bangers", cursive;
  text-transform: uppercase;
  z-index: 1;
  font-size: clamp(2.3rem, 3.2vw, 3rem);
  line-height: 0.94;
}

.kid-bubble-left {
  top: -12%;
  left: 4%;
}

.kid-bubble-center {
  top: -12%;
  left: 50%;
  transform: translateX(-50%);
}

.kid-bubble-right {
  top: -12%;
  right: 4%;
}

.bottom-info.comic-panel-shell > .comic-panel-fill {
  padding: 1rem 1rem 0.95rem;
}

.countdown-board {
  padding: 0.8rem;
  border: var(--section-frame-size) solid var(--sec-black);
  background:
    linear-gradient(135deg, rgba(252, 39, 62, 0.08), transparent 46%),
    repeating-linear-gradient(135deg, rgba(17, 17, 17, 0.05) 0 8px, transparent 8px 16px),
    var(--sec-white);
}

.countdown-grid {
  gap: 8px;
}

.countdown-card,
.deadline-copy,
.countdown-callout,
.event-primary,
.event-box,
.video-copy,
.video-frame,
.future-badge {
  border-width: var(--section-frame-size);
}

.video-section {
  padding: var(--section-frame-size);
  background: var(--sec-black);
  gap: var(--section-frame-size);
  overflow: visible;
}

.video-copy {
  padding: 1.15rem;
  border: var(--section-frame-size) solid var(--sec-black);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14) 0 18%, transparent 19%),
    linear-gradient(160deg, #7b61ff 0%, #6541b6 55%, #26224c 100%);
}

.video-frame {
  padding: var(--section-frame-size);
  border: var(--section-frame-size) solid var(--sec-black);
  background: var(--sec-black);
}

.video-frame-inner {
  border: var(--section-frame-size) solid var(--sec-white);
}

.video-accent-burst {
  top: -1.2rem;
  right: -1rem;
  width: 210px;
  z-index: 3;
}

.video-section,
.future-section {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.video-copy,
.video-frame,
.future-copy,
.future-badges {
  transition: transform 220ms ease;
}

.video-section:hover .video-copy,
.video-section:hover .video-frame,
.future-section:hover .future-copy,
.future-section:hover .future-badges {
  transform: translate3d(-2px, -2px, 14px);
}

@media (max-width: 1100px) {
  .hero.comic-panel-shell > .comic-panel-fill,
  .bottom-info.comic-panel-shell > .comic-panel-fill,
  .bottom-info-main {
    grid-template-columns: 1fr !important;
  }

  .hero.comic-panel-shell > .comic-panel-fill {
    grid-template-areas:
      "title"
      "cta";
  }

  .hero-side {
    top: 0.65rem;
    right: -0.2rem;
    width: min(48%, 340px);
  }

  .hero-kid.hero-kid-red.comic-panel-shell,
  .hero-kid.hero-kid-pink.comic-panel-shell,
  .hero-kid.hero-kid-green.comic-panel-shell {
    grid-column: span 4;
  }
}

@media (max-width: 760px) {
  .hero.comic-panel-shell,
  .hero-kid.hero-kid-red.comic-panel-shell,
  .hero-kid.hero-kid-pink.comic-panel-shell,
  .hero-kid.hero-kid-green.comic-panel-shell,
  .bottom-info.comic-panel-shell {
    grid-column: 1 / -1;
  }

  .hero-kid.hero-kid-red.comic-panel-shell,
  .hero-kid.hero-kid-pink.comic-panel-shell,
  .hero-kid.hero-kid-green.comic-panel-shell {
    margin-top: -22px;
  }

  .bottom-info.comic-panel-shell {
    margin-top: -14px;
  }

  .hero.comic-panel-shell {
    min-height: auto;
  }

  .hero-title-block {
    min-height: 220px;
    padding: 1.8rem 1.35rem 1.35rem;
  }

  .hero-intro-card {
    max-width: 100%;
  }

  .hero-side {
    top: 0.55rem;
    right: -0.1rem;
    width: min(58%, 320px);
  }

  .bubble-note-top,
  .bubble-note-bottom {
    max-width: 100%;
  }

  .bubble-note-bottom {
    margin-top: -0.2rem;
    margin-left: -0.35rem;
  }

  .bubble-note-content {
    inset: 16% 16% 25% 16%;
  }

  .kid-bubble {
    width: 70%;
    min-width: 220px;
    max-width: 350px;
  }

  .kid-bubble-left {
    left: 1%;
  }

  .kid-bubble-right {
    right: 1%;
  }

  .kid-bubble span {
    font-size: clamp(2rem, 7vw, 2.45rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .panel {
    transform: none !important;
  }
}

@media (max-width: 1100px) {
  .hero,
  .countdown-section,
  .event-section,
  .video-section,
  .future-section {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-areas:
      "title"
      "notes"
      "cards"
      "cta";
  }

  .countdown-section,
  .event-section,
  .video-section,
  .future-section,
  .heroes-strip {
    grid-column: 1 / -1;
  }

  .hero-cards,
  .heroes-strip,
  .countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .graphic-exclaim {
    left: auto;
    right: 12rem;
    width: 104px;
  }

  .graphic-lightning {
    width: 124px;
  }

  .graphic-star-hero {
    width: 84px;
  }

  .future-badges {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  main {
    width: min(100% - 0.75rem, 100%);
    padding-top: 0.75rem;
  }

  .comic-board {
    gap: 0;
    padding: 0;
  }

  .hero,
  .story-panel,
  .countdown-section,
  .video-section,
  .future-section {
    padding: 1rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-title-block {
    min-height: 250px;
    padding: 2rem 1.4rem 1.8rem;
  }

  .hero-cards,
  .heroes-strip,
  .countdown-grid {
    grid-template-columns: 1fr;
  }

  .kid-bubble {
    width: 220px;
    height: 165px;
  }

  .kid-bubble span {
    font-size: 1.95rem;
  }

  .graphic-exclaim,
  .graphic-lightning,
  .graphic-star-hero,
  .graphic-dot-hero,
  .event-accent-exclaim {
    display: none;
  }

  .bubble-note-content {
    inset: 15% 16% 24% 16%;
  }

  .bubble-note-top,
  .bubble-note-bottom {
    max-width: 100%;
    justify-self: stretch;
  }

  .mini-card,
  .countdown-card,
  .info-card {
    min-height: auto;
  }

  .hero-cta {
    width: 100%;
  }
}

/* Final hero composition tuning (kept at file end to override legacy blocks). */
.hero-copy-wrap {
  position: relative;
  isolation: isolate;
}

.hero-copy-wrap::after {
  content: "";
  position: absolute;
  top: 1.05rem;
  left: 0.35rem;
  width: min(74%, 780px);
  min-width: 460px;
  aspect-ratio: 2.2 / 1;
  background-image: url("./ksztalt2.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
  pointer-events: none;
  z-index: 2;
}

.hero-title-block {
  width: min(100%, 780px);
  min-height: 240px;
  padding: 1.95rem 2.1rem 1.25rem;
  background: none;
  position: relative;
  z-index: 4;
}

.hero h1 {
  position: relative;
  z-index: 5;
}

.hero-intro-card {
  position: relative;
  z-index: 1;
  margin-top: -1rem;
}

.decor-slot-hero-top {
  top: 2.2%;
  left: 63%;
  right: auto;
  width: min(28%, 300px);
}

.decor-slot-hero-bottom {
  top: 14.6%;
  left: 66%;
  right: auto;
  width: min(24%, 260px);
}

@media (max-width: 1100px) {
  .hero-copy-wrap::after {
    top: 0.9rem;
    left: 0.2rem;
    width: min(82%, 650px);
    min-width: 380px;
  }

  .hero-title-block {
    min-height: 220px;
    padding: 1.75rem 1.85rem 1.1rem;
  }

  .hero-intro-card {
    margin-top: -0.75rem;
  }

  .decor-slot-hero-top {
    top: 2.8%;
    left: 60.5%;
    width: min(31%, 300px);
  }

  .decor-slot-hero-bottom {
    top: 15.5%;
    left: 63.5%;
    width: min(28%, 265px);
  }
}

@media (max-width: 760px) {
  .hero-copy-wrap::after {
    top: 0.7rem;
    left: 0;
    width: min(96%, 520px);
    min-width: 280px;
  }

  .hero-title-block {
    min-height: 190px;
    padding: 1.45rem 1.25rem 0.95rem;
  }

  .hero-intro-card {
    margin-top: -0.35rem;
  }

  .decor-slot-hero-top {
    top: 3.8%;
    left: 56%;
    width: min(36%, 260px);
  }

  .decor-slot-hero-bottom {
    top: 16%;
    left: 60%;
    width: min(32%, 230px);
  }
}

/* Layout editor mode */
body.edit-mode-active .layout-editable {
  cursor: move !important;
}

body.edit-mode-active .layout-editable * {
  user-select: none;
}

body.edit-mode-active .panel,
body.edit-mode-active .floating-decor,
body.edit-mode-active [data-parallax] {
  transition: none !important;
  animation: none !important;
}

body.edit-mode-active .layout-editable,
body.edit-mode-active .layout-editable * {
  transition: none !important;
  animation: none !important;
}

body.edit-mode-active [data-parallax] {
  transform: none !important;
}

.layout-edit-selected {
  outline: 2px dashed #1e66ff !important;
  outline-offset: 2px;
}

.layout-edit-marked-delete {
  outline: 3px solid #ff2a2a !important;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(255, 42, 42, 0.35) !important;
}

.layout-editor-toolbar {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 9999;
  width: min(360px, calc(100vw - 28px));
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem;
  border: 3px solid var(--sec-black);
  background: rgba(255, 255, 255, 0.98);
  color: var(--sec-black);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.layout-editor-toggle,
.layout-editor-export,
.layout-editor-delete,
.layout-editor-copy,
.layout-editor-close {
  appearance: none;
  border: 3px solid var(--sec-black);
  background: #ffe15a;
  color: var(--sec-black);
  font-family: inherit;
  font-weight: 800;
  font-size: 0.96rem;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.layout-editor-export[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.layout-editor-meta {
  font-size: 0.98rem;
  font-weight: 700;
  border: 2px solid var(--sec-black);
  background: #f3f4f7;
  padding: 0.42rem 0.55rem;
}

.layout-editor-hint {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.25;
}

.layout-editor-selection {
  position: fixed;
  z-index: 9998;
  border: 2px solid #1e66ff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.95) inset;
  pointer-events: none;
  display: none;
}

.layout-editor-selection.is-visible {
  display: block;
}

.layout-editor-handle {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid #0f1826;
  background: #ffe15a;
  pointer-events: auto;
  cursor: pointer;
  padding: 0;
}

.layout-editor-handle.handle-nw {
  left: -7px;
  top: -7px;
  cursor: nwse-resize;
}

.layout-editor-handle.handle-rotate {
  top: -24px;
  left: calc(50% - 6px);
  border-radius: 999px;
  background: #6fe8ff;
  cursor: grab;
}

.layout-editor-handle.handle-ne {
  right: -7px;
  top: -7px;
  cursor: nesw-resize;
}

.layout-editor-handle.handle-sw {
  left: -7px;
  bottom: -7px;
  cursor: nesw-resize;
}

.layout-editor-handle.handle-se {
  right: -7px;
  bottom: -7px;
  cursor: nwse-resize;
}

.layout-editor-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 10000;
  padding: 1rem;
  background: rgba(4, 9, 18, 0.75);
}

.layout-editor-modal.is-open {
  display: grid;
  place-items: center;
}

.layout-editor-modal-card {
  width: min(980px, 96vw);
  max-height: 90vh;
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border: 4px solid var(--sec-black);
  background: #ffffff;
  color: var(--sec-black);
}

.layout-editor-modal-card h3 {
  margin: 0;
  font-size: 1.4rem;
}

.layout-editor-modal-card p {
  margin: 0;
}

.layout-editor-code {
  width: 100%;
  min-height: 52vh;
  resize: vertical;
  border: 3px solid var(--sec-black);
  background: #f8fafc;
  color: #10141c;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.87rem;
  line-height: 1.4;
  padding: 0.7rem;
}

.layout-editor-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

/* Wdrozone z eksportu trybu edycyjnego */
article.bubble-note.bubble-note-bottom.reveal {
  margin-left: 221.15px;
  margin-top: -211.15px;
  width: 422.3px;
  height: 395.38px;
}

article.bubble-note.bubble-note-top.reveal {
  width: 499.14px;
  height: 421.93px;
  margin-left: -123.8px;
  margin-top: -121.61px;
}

div.decor-slot.decor-slot-lightning {
  left: 556.27px;
  top: 43.93px;
  right: auto;
  bottom: auto;
}

div.decor-slot.decor-slot-exclaim {
  left: 724.78px;
  top: 130.97px;
  right: auto;
  bottom: auto;
}

div.hero-title-block {
  margin-left: 0;
  margin-top: -0.23px;
  width: 595.84px;
  height: 212.78px;
}

div.hero-intro-card {
  margin-left: 562.39px;
  margin-top: -41.46px;
  height: 87.86px;
  width: 430.75px;
}

div.decor-slot.decor-slot-kid-left > div.kid-bubble.floating-decor {
  left: 163.62px;
  top: -272.53px;
  right: auto;
  bottom: auto;
  width: 334.66px;
  height: 392.5px;
}

div.decor-slot.decor-slot-kid-center > div.kid-bubble.floating-decor {
  left: 11.57px;
  top: -225.78px;
  right: auto;
  bottom: auto;
  width: 304.14px;
  height: 340.83px;
}

div.decor-slot.decor-slot-kid-right > div.kid-bubble.floating-decor {
  left: 71.76px;
  top: -331.84px;
  right: auto;
  bottom: auto;
  width: 428.59px;
  height: 481.34px;
}

div.decor-slot.decor-slot-star {
  left: 1294px;
  top: 10.64px;
  right: auto;
  bottom: auto;
}

article.hero-kid.hero-kid-red.panel {
  margin-left: 0.81px;
  margin-top: -32.41px;
  min-height: 390.61px;
  width: 496.06px;
}

#countdown {
  min-height: 599.67px;
  margin-left: 1.51px;
  margin-top: -36.48px;
}

section.video-section.panel.panel-purple {
  min-height: 513.88px;
}

section.future-section.panel.panel-navy {
  min-height: 288.94px;
}

article.hero-kid.hero-kid-pink.panel {
  margin-left: -17.06px;
  margin-top: -33.4px;
}

article.hero-kid.hero-kid-green.panel {
  margin-left: -19.86px;
  margin-top: -35.2px;
}

/* Hero countdown on the right side */
.hero-top-countdown {
  position: absolute;
  top: 0.95rem;
  right: 1rem;
  z-index: 7;
  width: min(34%, 350px);
  display: grid;
  gap: 0.45rem;
}

.hero-top-countdown .eyebrow {
  margin: 0;
}

.hero-top-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
}

.hero-top-countdown-card {
  background: rgba(3, 31, 80, 0.96);
  border: 3px solid var(--sec-black);
  color: var(--sec-white);
  min-height: 64px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 0.35rem 0.2rem;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.18);
}

.hero-top-countdown-card .count-value {
  line-height: 0.95;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
}

.hero-top-countdown-card .count-label {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

@media (max-width: 1100px) {
  .hero-logo-stage {
    width: clamp(165px, 20vw, 250px);
    margin: 0 0.2rem 0.38rem auto;
  }

  .hero-logo-card {
    top: auto;
    bottom: 0.2rem;
    right: auto;
    left: 0.2rem;
    width: clamp(165px, 20vw, 250px);
  }

  .hero-top-countdown {
    width: min(38%, 330px);
    right: 0.7rem;
  }

  .hero-top-countdown-card {
    min-height: 58px;
  }
}

@media (max-width: 760px) {
  .hero-top-countdown {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: 0.2rem;
  }

  .hero-top-countdown-grid {
    gap: 0.25rem;
  }

  .hero-top-countdown-card {
    min-height: 50px;
    box-shadow: none;
  }
}

/* Hero emphasis: very large title + strong centered countdown */
.topbar {
  display: none !important;
}

main {
  padding-top: 0.9rem;
}

.hero.comic-panel-shell {
  min-height: 500px;
}

.hero.comic-panel-shell > .comic-panel-fill {
  padding: 1.2rem 1.3rem 1.1rem;
}

.hero-copy-wrap {
  max-width: 62%;
}

.hero-copy-wrap::after {
  width: min(118%, 1400px);
  top: -0.35rem;
  left: -0.6rem;
}

div.hero-title-block {
  width: min(100%, 760px) !important;
  min-height: 290px !important;
  height: auto !important;
  margin-top: 0 !important;
  margin-left: 0 !important;
  padding: 2.2rem 2.35rem 1.6rem !important;
}

.hero h1 {
  font-size: clamp(6.2rem, 11.6vw, 10.8rem) !important;
  line-height: 0.88;
  margin-left: 1.35rem !important;
  max-width: 5.4ch;
  text-shadow: 5px 5px 0 rgba(17, 17, 17, 0.92);
}

div.hero-intro-card {
  display: none !important;
}

.hero-top-countdown {
  top: 38%;
  right: 1.9rem;
  transform: translateY(-50%);
  width: min(41%, 450px);
  gap: 0.65rem;
}

.hero-top-event {
  display: grid;
  gap: 0.2rem;
  border: 4px solid var(--sec-black);
  background: rgba(255, 255, 255, 0.96);
  color: var(--sec-black);
  padding: 0.62rem 0.72rem;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.22);
}

.hero-top-event-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 0.2rem 0.48rem;
  border: 3px solid var(--sec-black);
  background: #ffd500;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-top-event .event-location-kicker {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.28rem;
  padding: 0.2rem 0.48rem;
  border: 3px solid var(--sec-black);
  background: #ffd500;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-top-event strong {
  font-family: "Bangers", cursive;
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 0.92;
  color: var(--sec-red);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-top-event .event-time {
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.01em;
}

.hero-top-event .event-location-name {
  margin-top: 0.24rem;
  font-family: "Bangers", cursive;
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 0.92;
  color: var(--sec-red);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-top-event .event-location-address {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: none;
}

.hero-top-countdown-grid {
  gap: 0.42rem;
}

.hero-top-countdown-card {
  min-height: 96px;
  border-width: 4px;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.24);
}

.hero-top-countdown-card .count-value {
  font-size: clamp(2.25rem, 3vw, 3.05rem);
}

.hero-top-countdown-card .count-label {
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-kid img {
  height: 92% !important;
}

@media (max-width: 1100px) {
  .hero.comic-panel-shell {
    min-height: 460px;
  }

  .hero-copy-wrap {
    max-width: 58%;
  }

  div.hero-title-block {
    min-height: 245px !important;
    padding: 1.85rem 1.9rem 1.2rem !important;
  }

  .hero h1 {
    font-size: clamp(5rem, 9.7vw, 8.5rem) !important;
  }

  .hero-top-countdown {
    width: min(40%, 370px);
  }

  .hero-top-event strong {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  }

  .hero-top-countdown-card {
    min-height: 84px;
  }

  .hero-top-countdown-card .count-value {
    font-size: clamp(1.95rem, 2.8vw, 2.5rem);
  }

  .hero-kid img {
    height: 89% !important;
  }
}

@media (max-width: 760px) {
  .hero.comic-panel-shell {
    min-height: auto;
  }

  .hero-copy-wrap {
    max-width: 100%;
  }

  .hero-copy-wrap::after {
    width: min(112%, 700px);
    top: 0.55rem;
    left: -0.35rem;
  }

  div.hero-title-block {
    width: min(100%, 560px) !important;
    min-height: 210px !important;
    padding: 1.55rem 1.3rem 1rem !important;
  }

  .hero h1 {
    font-size: clamp(4.2rem, 13vw, 6.3rem) !important;
    margin-left: 0.8rem !important;
  }

  .hero-top-countdown {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    margin-top: 0.35rem;
  }

  .hero-top-event {
    box-shadow: none;
    padding: 0.5rem 0.58rem;
  }

  .hero-top-event strong {
    font-size: clamp(1.45rem, 6vw, 1.95rem);
  }

  .hero-top-event > span:last-child {
    font-size: 0.95rem;
  }

  .hero-top-countdown-card {
    min-height: 60px;
    box-shadow: none;
  }

  .hero-top-countdown-card .count-value {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .hero-kid img {
    height: 86% !important;
  }
}

/* Bottom-info rebuild to match upper comic sections */
#countdown.bottom-info.comic-panel-shell {
  min-height: 640px;
}

#countdown.bottom-info.comic-panel-shell > .comic-panel-fill {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 0.9rem;
  padding: 1rem;
  background: linear-gradient(160deg, var(--sec-paper) 0%, #fffdf9 100%);
  color: var(--sec-black);
}

.bottom-info-main,
.bottom-info-meta {
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.8rem;
  min-height: 0;
}

.bottom-subpanel.panel {
  border: var(--section-frame-size) solid var(--sec-black);
  background: var(--sec-white);
  box-shadow: 6px 6px 0 rgba(17, 17, 17, 0.16);
  padding: 1rem 1.05rem;
  color: var(--sec-black);
  overflow: hidden;
}

.bottom-subpanel.panel::before {
  content: none;
}

.bottom-subpanel.panel:hover,
.bottom-subpanel.panel:focus-within {
  z-index: 2;
}

#countdown .countdown-aside.bottom-subpanel {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  background:
    linear-gradient(138deg, rgba(255, 213, 0, 0.22), transparent 54%),
    var(--sec-white);
}

#countdown .countdown-aside h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(2.9rem, 4.6vw, 4.1rem);
  line-height: 0.95;
  color: var(--sec-mid-red);
}

#countdown .countdown-aside p {
  margin: 0;
  font-size: clamp(1.04rem, 1.45vw, 1.22rem);
  line-height: 1.15;
  font-weight: 700;
}

#countdown .countdown-callout {
  margin-top: 0.2rem;
  border: var(--section-frame-size) solid var(--sec-black);
  background: #ffe171;
}

#countdown .countdown-board.bottom-subpanel {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  background:
    linear-gradient(160deg, #102f68 0%, #082247 64%, #031127 100%);
  color: var(--sec-white);
}

#countdown .countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

#countdown .countdown-card {
  min-height: 124px;
  border: var(--section-frame-size) solid var(--sec-black);
  background: linear-gradient(160deg, #0a2d65 0%, #051c43 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

#countdown .count-value {
  font-size: clamp(2.4rem, 3.5vw, 3.9rem);
  letter-spacing: 0.05em;
}

#countdown .count-label {
  font-size: 0.95rem;
}

#countdown .deadline-copy {
  margin-top: 0.1rem;
  border: var(--section-frame-size) solid var(--sec-black);
  background: #ffd500;
  color: var(--sec-black);
}

#countdown .event-primary.bottom-subpanel {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  background:
    linear-gradient(145deg, rgba(252, 39, 62, 0.14), transparent 55%),
    var(--sec-white);
}

#countdown .event-primary h2 {
  margin: 0.2rem 0;
  font-size: clamp(2.8rem, 4.2vw, 3.9rem);
  color: var(--sec-red);
}

#countdown .event-strong {
  margin: 0;
  font-size: clamp(1.7rem, 2.1vw, 2.05rem);
}

#countdown .event-secondary.bottom-subpanel {
  display: grid;
  gap: 0.55rem;
  background:
    repeating-linear-gradient(135deg, rgba(17, 17, 17, 0.03) 0 10px, transparent 10px 20px),
    var(--sec-paper);
}

#countdown .event-secondary .event-box {
  border: var(--section-frame-size) solid var(--sec-black);
  background: var(--sec-white);
  padding: 0.72rem 0.78rem;
}

#countdown .event-secondary .event-label {
  margin-bottom: 0.48rem;
}

#countdown .event-secondary .event-box p {
  margin: 0 0 0.26rem;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}

#countdown .event-secondary .event-box p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  #countdown.bottom-info.comic-panel-shell {
    min-height: 700px;
  }

  #countdown.bottom-info.comic-panel-shell > .comic-panel-fill {
    grid-template-columns: 1fr;
  }

  .bottom-info-main,
  .bottom-info-meta {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: none;
  }
}

@media (max-width: 760px) {
  #countdown.bottom-info.comic-panel-shell {
    min-height: auto;
  }

  #countdown.bottom-info.comic-panel-shell > .comic-panel-fill {
    padding: 0.85rem;
    gap: 0.7rem;
  }

  .bottom-info-main,
  .bottom-info-meta {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  #countdown .countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  #countdown .countdown-card {
    min-height: 92px;
  }

  #countdown .count-value {
    font-size: clamp(2rem, 7.2vw, 2.8rem);
  }
}

/* Bottom section after removing timer/date cards */
#countdown.bottom-info.comic-panel-shell {
  min-height: auto !important;
}

#countdown.bottom-info.comic-panel-shell > .comic-panel-fill {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 0.9rem !important;
}

#countdown .bottom-info-main,
#countdown .bottom-info-meta {
  display: block !important;
}

#countdown .countdown-aside.bottom-subpanel,
#countdown .event-secondary.bottom-subpanel {
  min-height: 100%;
}

@media (max-width: 980px) {
  #countdown.bottom-info.comic-panel-shell > .comic-panel-fill {
    grid-template-columns: 1fr !important;
  }
}

/* Fix seam below kids + move kid bubbles lower */
#countdown {
  margin-left: 0 !important;
  margin-top: -16px !important;
}

div.decor-slot.decor-slot-kid-left > div.kid-bubble.floating-decor {
  top: -72px !important;
}

div.decor-slot.decor-slot-kid-center > div.kid-bubble.floating-decor {
  top: -48px !important;
}

div.decor-slot.decor-slot-kid-right > div.kid-bubble.floating-decor {
  top: -108px !important;
}

.comic-stage {
  row-gap: 0 !important;
}

/* Kids panels: keep full visible sides (no side cuts). */
article.hero-kid.hero-kid-red.panel,
article.hero-kid.hero-kid-pink.panel,
article.hero-kid.hero-kid-green.panel {
  margin-left: 0 !important;
  margin-top: -30px !important;
  width: auto !important;
  min-height: 390px !important;
}

article.hero-kid.hero-kid-red.panel {
  margin-top: -10px !important;
}

article.hero-kid.hero-kid-pink.panel {
  margin-top: -27px !important;
  margin-left: 2px !important;
}

article.hero-kid.hero-kid-green.panel {
  margin-top: -43px !important;
  margin-left: 2px !important;
}

/* Final seam fix for kids row: remove legacy clipping/gaps */
.comic-stage {
  column-gap: 0 !important;
  row-gap: 0 !important;
}

.hero-kid.comic-panel-shell::before,
.hero-kid.comic-panel-shell::after {
  content: none !important;
}

.hero-kid-red.comic-panel-shell,
.hero-kid-pink.comic-panel-shell,
.hero-kid-green.comic-panel-shell {
  clip-path: none !important;
  background: transparent !important;
}

/* Wdrozone z eksportu trybu edycji (aktualne ustawienie usera) */
article.hero-kid.hero-kid-red.panel {
  margin-left: 0.23px !important;
  margin-top: -10px !important;
}

article.hero-kid.hero-kid-pink.panel {
  margin-left: -112.29px !important;
  margin-top: -22.29px !important;
}

article.hero-kid.hero-kid-green.panel {
  margin-left: 15.11px !important;
  margin-top: -68.51px !important;
}

section.hero.panel.comic-panel-shell {
  margin-left: -0.23px !important;
  margin-top: 0 !important;
}

#video {
  margin-left: -0.87px !important;
  margin-top: 14.09px !important;
  width: 1368.19px !important;
}

/* Stronger dot pattern on top yellow hero */
.hero .hero-bg.halftone-yellow {
  opacity: 0.62 !important;
  background:
    radial-gradient(
      circle at var(--spot-x) var(--spot-y),
      rgba(255, 255, 255, var(--spot-core)) 0,
      rgba(255, 255, 255, var(--spot-mid)) 18%,
      rgba(255, 255, 255, 0) 44%
    ),
    radial-gradient(circle at center, rgba(0, 0, 0, 0.16) 0 2.2px, transparent 2.2px 100%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.28) 0 1.15px, transparent 1.15px 100%) !important;
  background-size: 100% 100%, 18px 18px, 18px 18px !important;
  background-position: 0 0, 0 0, 9px 9px !important;
  transition: background 120ms linear;
}

/* Kids images: larger + lower so bottom gets hard-cut by panel edge */
.hero-kid .comic-panel-fill > img {
  inset: auto 0.35rem -26px 0.35rem !important;
  width: calc(100% - 0.7rem) !important;
  height: 112% !important;
  object-position: center bottom !important;
}

/* Stronger scale for red and pink characters */
.hero-kid-red .comic-panel-fill > img {
  inset: auto 0.2rem -34px 0.2rem !important;
  width: calc(100% - 0.4rem) !important;
  height: 120% !important;
  transform: translateX(-14px) !important;
}

.hero-kid-pink .comic-panel-fill > img {
  inset: auto 0.22rem -30px 0.22rem !important;
  width: calc(100% - 0.44rem) !important;
  height: 118% !important;
}

/* In edit mode allow direct bubble dragging */
body.edit-mode-active .comic-decor-layer .layout-editable,
body.edit-mode-active .comic-decor-layer .layout-editable * {
  pointer-events: auto !important;
}

/* Wdrozone z eksportu trybu edycji: pozycje dymkow */
div.decor-slot.decor-slot-kid-left > div.kid-bubble.floating-decor {
  left: 63.59px !important;
  top: -19.9px !important;
  right: auto !important;
  bottom: auto !important;
  width: 314.26px !important;
  height: 432.61px !important;
}

div.decor-slot.decor-slot-kid-center > div.kid-bubble.floating-decor {
  left: 11.8px !important;
  top: -48.46px !important;
  right: auto !important;
  bottom: auto !important;
  height: 429.07px !important;
}

div.decor-slot.decor-slot-kid-right > div.kid-bubble.floating-decor {
  left: 96.1px !important;
  top: -104.78px !important;
  right: auto !important;
  bottom: auto !important;
  width: 335.24px !important;
  height: 469.02px !important;
}

/* Idle motion for kid speech bubbles (stronger, still smooth) */
@keyframes kid-bubble-drift {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  30% {
    transform: translate3d(0, -8px, 0) rotate(-1deg);
  }
  62% {
    transform: translate3d(0, 6px, 0) rotate(0.9deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

.decor-slot-kid-left {
  animation: kid-bubble-drift 5.8s ease-in-out infinite;
}

.decor-slot-kid-center {
  animation: kid-bubble-drift 6.4s ease-in-out infinite;
  animation-delay: 0.35s;
}

.decor-slot-kid-right {
  animation: kid-bubble-drift 6.1s ease-in-out infinite;
  animation-delay: 0.7s;
}

/* Continuous motion for stars, dots and exclamation marks */
@keyframes comic-decor-drift {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  34% {
    transform: translate3d(0, -7px, 0) rotate(-5deg);
  }
  68% {
    transform: translate3d(0, 5px, 0) rotate(4deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

.decor-slot-star {
  animation: comic-decor-drift 5.2s ease-in-out infinite;
}

.decor-slot-dot {
  animation: comic-decor-drift 4.6s ease-in-out infinite;
  animation-delay: 0.28s;
}

.decor-slot-exclaim {
  animation: comic-decor-drift 5.8s ease-in-out infinite;
  animation-delay: 0.55s;
}

.decor-slot-star-red,
.decor-slot-star-blue,
.decor-slot-star-fuchsia {
  animation: comic-decor-drift 5.4s ease-in-out infinite;
}

.decor-slot-star-blue {
  animation-delay: 0.2s;
}

.decor-slot-star-fuchsia {
  animation-delay: 0.5s;
}

.decor-slot-dot-red {
  animation: comic-decor-drift 4.8s ease-in-out infinite;
  animation-delay: 0.35s;
}

.decor-slot-exclaim-blue,
.decor-slot-exclaim-red,
.decor-slot-exclaim-pink {
  animation: comic-decor-drift 5.9s ease-in-out infinite;
}

.decor-slot-exclaim-blue {
  animation-delay: 0.18s;
}

.decor-slot-exclaim-red {
  animation-delay: 0.42s;
}

.decor-slot-exclaim-pink {
  animation-delay: 0.65s;
}

/* Wdrozone z eksportu trybu edycji: pozycja gwiazdki */
div.decor-slot.decor-slot-star {
  left: 783.07px !important;
  top: 40.5px !important;
  right: auto !important;
  bottom: auto !important;
}

/* Video section rebuilt from scratch with hero mechanics */
#video.video-section.comic-panel-shell {
  grid-column: 1 / -1 !important;
  min-height: 460px !important;
  margin-left: 0 !important;
  margin-top: 16px !important;
  width: auto !important;
  z-index: 1;
}

#video.video-section.comic-panel-shell > .comic-panel-fill {
  display: grid !important;
  grid-template-columns: minmax(0, 1.58fr) minmax(320px, 0.82fr) !important;
  gap: 0.8rem !important;
  padding: 1rem !important;
  background: linear-gradient(160deg, #7d63ea 0%, #6146cb 58%, #34246f 100%) !important;
}

#video .video-copy {
  display: grid !important;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.62rem;
  align-content: start;
  padding: 0.2rem 0.25rem;
  background: transparent !important;
}

#video .video-title-block {
  width: min(100%, 720px);
  min-height: 210px;
  padding: 1.65rem 1.85rem 1.2rem;
  display: flex;
  align-items: center;
  background-image: url("./ksztalt2.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 100% 100%;
}

#video .video-copy h2 {
  margin: 0 0 0 0.8rem;
  font-family: "Bangers", cursive;
  font-size: clamp(4.2rem, 7.6vw, 6.3rem);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--sec-white);
  text-shadow: 4px 4px 0 rgba(17, 17, 17, 0.9);
  max-width: 7ch;
}

#video .video-lead {
  margin: 0.12rem 0 0;
  max-width: 36rem;
  border: 4px solid var(--sec-black);
  background: rgba(255, 255, 255, 0.94);
  color: var(--sec-black);
  padding: 0.75rem 0.85rem;
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  font-weight: 700;
  line-height: 1.12;
}

#video .video-cta {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--sec-black);
  background: #ffd500;
  color: var(--sec-black);
  padding: 0.52rem 0.95rem;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.05em;
}

#video .video-side {
  display: grid;
  grid-template-rows: auto auto;
  gap: 0.62rem;
}

#video .video-frame {
  padding: 0.72rem !important;
  border: 6px solid var(--sec-black);
  background: #0f1432 !important;
}

#video .video-frame-inner {
  border: 5px solid var(--sec-white) !important;
}

#video .video-note {
  border: 6px solid var(--sec-black);
  background: rgba(255, 255, 255, 0.96);
  color: var(--sec-black);
  padding: 0.74rem 0.82rem;
  display: grid;
  gap: 0.3rem;
}

#video .video-note-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 0.2rem 0.48rem;
  border: 3px solid var(--sec-black);
  background: #ffd500;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#video .video-note strong {
  font-family: "Bangers", cursive;
  font-size: clamp(1.5rem, 2vw, 1.95rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
}

#video .video-note p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.1;
  font-weight: 700;
}

#video .video-accent-burst {
  top: -0.8rem !important;
  right: -0.6rem !important;
  width: 200px !important;
  opacity: 0.95 !important;
}

@media (max-width: 1100px) {
  #video.video-section.comic-panel-shell {
    min-height: 520px !important;
    margin-top: 14px !important;
  }

  #video.video-section.comic-panel-shell > .comic-panel-fill {
    grid-template-columns: 1fr !important;
  }

  #video .video-title-block {
    min-height: 175px;
    padding: 1.35rem 1.3rem 1rem;
  }

  #video .video-copy h2 {
    font-size: clamp(3.2rem, 8vw, 5rem);
    margin-left: 0.5rem;
  }
}

@media (max-width: 760px) {
  #video.video-section.comic-panel-shell {
    min-height: auto !important;
    margin-top: 10px !important;
  }

  #video.video-section.comic-panel-shell > .comic-panel-fill {
    padding: 0.82rem !important;
    gap: 0.58rem !important;
  }

  #video .video-title-block {
    min-height: 145px;
    padding: 1rem 0.95rem 0.8rem;
  }

  #video .video-copy h2 {
    font-size: clamp(2.5rem, 11vw, 3.9rem);
    margin-left: 0.35rem;
  }
}

/* Video section rebuilt in hero-like structure */
#video.video-section {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.58fr) minmax(320px, 0.82fr) !important;
  gap: 0.75rem !important;
  align-items: stretch !important;
  padding: 1rem !important;
  margin-left: 0 !important;
  margin-top: 18px !important;
  width: auto !important;
  clip-path: polygon(0 0, 100% 0, 100% 93%, 0 100%) !important;
  background: linear-gradient(160deg, #7d63ea 0%, #6146cb 58%, #34246f 100%) !important;
}

#video .video-copy {
  display: grid !important;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.6rem;
  align-content: start;
  padding: 0.15rem 0.2rem;
  background: transparent !important;
}

#video .video-title-block {
  width: min(100%, 760px);
  min-height: 210px;
  padding: 1.7rem 1.7rem 1.3rem;
  display: flex;
  align-items: center;
  background-image: url("./ksztalt.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 100% 100%;
}

#video .video-copy h2 {
  margin: 0 0 0 0.9rem;
  font-family: "Bangers", cursive;
  font-size: clamp(4.1rem, 7.2vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--sec-white);
  text-shadow: 4px 4px 0 rgba(17, 17, 17, 0.9);
  max-width: 7ch;
}

#video .video-lead {
  margin: 0.15rem 0 0;
  max-width: 34rem;
  padding: 0.72rem 0.82rem;
  border: 4px solid var(--sec-black);
  background: rgba(255, 255, 255, 0.94);
  color: var(--sec-black);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 700;
  line-height: 1.14;
}

#video .video-cta {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--sec-black);
  background: #ffd500;
  color: var(--sec-black);
  padding: 0.55rem 1rem;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.05em;
}

#video .video-side {
  display: grid;
  grid-template-rows: auto auto;
  gap: 0.62rem;
}

#video .video-frame {
  padding: 0.75rem !important;
  border: 6px solid var(--sec-black);
  background: #0f1432 !important;
}

#video .video-frame-inner {
  border: 5px solid var(--sec-white) !important;
}

#video .video-note {
  border: 6px solid var(--sec-black);
  background: rgba(255, 255, 255, 0.96);
  color: var(--sec-black);
  padding: 0.75rem 0.85rem;
  display: grid;
  gap: 0.32rem;
}

#video .video-note-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 0.2rem 0.5rem;
  border: 3px solid var(--sec-black);
  background: #ffd500;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#video .video-note strong {
  font-family: "Bangers", cursive;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
}

#video .video-note p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.12;
  font-weight: 700;
}

#video .video-accent-burst {
  top: -0.85rem !important;
  right: -0.6rem !important;
  width: 200px !important;
  opacity: 0.95 !important;
}

@media (max-width: 1100px) {
  #video.video-section {
    grid-template-columns: 1fr !important;
    margin-top: 14px !important;
  }

  #video .video-title-block {
    min-height: 180px;
    padding: 1.35rem 1.25rem 1.05rem;
  }

  #video .video-copy h2 {
    font-size: clamp(3.2rem, 8vw, 5rem);
    margin-left: 0.55rem;
  }
}

@media (max-width: 760px) {
  #video.video-section {
    padding: 0.8rem !important;
    margin-top: 10px !important;
    gap: 0.55rem !important;
  }

  #video .video-title-block {
    min-height: 145px;
    padding: 1.05rem 1rem 0.85rem;
  }

  #video .video-copy h2 {
    font-size: clamp(2.45rem, 11.5vw, 3.9rem);
    margin-left: 0.45rem;
  }
}

/* FINAL VIDEO NORMALIZATION: single source of truth */
#video.video-section.comic-panel-shell {
  display: block !important;
  padding: 0 !important;
  background: transparent !important;
  margin-top: 12px !important;
  width: auto !important;
  max-width: 100% !important;
  overflow: visible !important;
}

#video.video-section.comic-panel-shell > .comic-panel-fill {
  display: grid !important;
  grid-template-columns: minmax(0, 1.58fr) minmax(320px, 0.82fr) !important;
  gap: 0.8rem !important;
  padding: 1rem !important;
  overflow: hidden !important;
  background: linear-gradient(160deg, #7d63ea 0%, #6146cb 58%, #34246f 100%) !important;
}

#video.panel:hover .comic-panel-fill,
#video.panel:focus-within .comic-panel-fill {
  transform: translate3d(-4px, -4px, 20px) !important;
}

#video.panel:hover .comic-panel-frame,
#video.panel:focus-within .comic-panel-frame {
  transform: translate3d(-3px, -3px, 14px) !important;
}

#video .video-copy,
#video .video-side {
  transition: transform 220ms ease;
}

#video.panel:hover .video-copy,
#video.panel:hover .video-side,
#video.panel:focus-within .video-copy,
#video.panel:focus-within .video-side {
  transform: translate3d(-2px, -2px, 10px);
}

@media (max-width: 1100px) {
  #video.video-section.comic-panel-shell > .comic-panel-fill {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  #video.video-section.comic-panel-shell {
    margin-top: 10px !important;
  }

  #video.video-section.comic-panel-shell > .comic-panel-fill {
    padding: 0.82rem !important;
    gap: 0.58rem !important;
  }
}

/* Full-width purple section between kids and teaser */
.promo-purple.comic-panel-shell {
  grid-column: 1 / -1;
  min-height: 430px;
  margin-top: 12px;
  z-index: 1;
  max-width: 100%;
  overflow: hidden !important;
}

.promo-purple.comic-panel-shell > .comic-panel-frame {
  clip-path: none !important;
}

.promo-purple.comic-panel-shell > .comic-panel-fill {
  position: relative;
  inset: 6px !important;
  clip-path: none !important;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0.8rem;
  padding: 1rem;
  background: linear-gradient(160deg, #7b5bf0 0%, #6746cd 58%, #2f1e67 100%);
  color: var(--sec-white);
  max-width: calc(100% - 12px);
  overflow: hidden !important;
  --spot-x: 50%;
  --spot-y: 50%;
  --spot-core: 0;
  --spot-mid: 0;
}

.promo-purple.panel:hover .comic-panel-fill,
.promo-purple.panel:focus-within .comic-panel-fill,
.promo-purple.panel:hover .comic-panel-frame,
.promo-purple.panel:focus-within .comic-panel-frame {
  transform: none !important;
}

.promo-purple-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 10px;
  bottom: -4px;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(
      circle at var(--spot-x) var(--spot-y),
      rgba(255, 255, 255, var(--spot-core)) 0,
      rgba(255, 255, 255, var(--spot-mid)) 20%,
      rgba(255, 255, 255, 0) 46%
    ),
    radial-gradient(circle, rgba(255, 255, 255, 0.2) 0 2px, transparent 2px);
  background-size: 100% 100%, 16px 16px;
  background-position: 0 0, 0 0;
  opacity: 0.72;
  transition: background 120ms linear;
}

.promo-purple-copy,
.promo-purple-side {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.promo-purple-copy {
  display: grid;
  align-content: start;
  gap: 0.65rem;
}

.promo-purple-title {
  width: min(100%, 660px);
  aspect-ratio: 2.15 / 1;
  min-height: 0;
  padding: 1.05rem 1.3rem 0.9rem;
  display: flex;
  align-items: center;
  background-image: url("./ksztalt2.png");
  background-repeat: no-repeat;
  background-position: 72% center;
  background-size: contain;
}

.promo-purple-title h2 {
  margin: 0 0 0 10.35rem;
  font-family: "Bangers", cursive;
  font-size: clamp(4.2rem, 8vw, 7.2rem);
  line-height: 0.9;
  color: var(--sec-white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-shadow: 4px 4px 0 rgba(17, 17, 17, 0.9);
}

.promo-purple-copy p:not(.eyebrow) {
  margin: 0;
  max-width: 36rem;
  padding: 0.68rem 0.78rem;
  border: 4px solid var(--sec-black);
  background: rgba(255, 255, 255, 0.94);
  color: var(--sec-black);
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  font-weight: 700;
  line-height: 1.12;
}

.promo-purple-side {
  display: grid;
  align-content: stretch;
  gap: 0.58rem;
}

.promo-purple-video-frame {
  display: grid;
  align-self: stretch;
  border: 0;
  background: transparent;
  padding: 0;
  max-width: 100%;
  overflow: hidden;
}

.promo-purple-video-inner {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 4px solid var(--sec-white);
  overflow: hidden;
}

.promo-purple-video-inner iframe,
.promo-purple-video-inner video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.custom-video-player {
  position: relative;
  display: block;
  height: 100%;
}

.custom-video-player video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-video-controls {
  position: absolute;
  left: 0.3rem;
  right: 0.3rem;
  bottom: 0.3rem;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  border: 3px solid var(--sec-white);
  background: linear-gradient(180deg, rgba(90, 59, 196, 0.92) 0%, rgba(56, 33, 130, 0.92) 100%);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.custom-video-player.is-playing .custom-video-controls {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.custom-video-player.is-playing:hover .custom-video-controls,
.custom-video-player.is-playing:focus-within .custom-video-controls {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (hover: none) and (pointer: coarse) {
  .custom-video-player.is-playing .custom-video-controls {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.custom-video-button {
  border: 3px solid var(--sec-black);
  background: #ffd500;
  color: var(--sec-black);
  font-family: var(--font-display);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 900;
  line-height: 1;
  padding: 0.28rem 0.4rem;
  cursor: pointer;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
}

.custom-video-button:hover {
  transform: translateY(-1px);
}

.custom-video-progress {
  width: 100%;
  margin: 0;
  accent-color: #ff3366;
  cursor: pointer;
}

.custom-video-time {
  min-width: 4.4rem;
  text-align: right;
  color: var(--sec-white);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.promo-purple-note {
  border: 6px solid var(--sec-black);
  background: rgba(255, 255, 255, 0.96);
  color: var(--sec-black);
  padding: 0.72rem 0.82rem;
  display: grid;
  gap: 0.32rem;
}

.promo-purple-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 0.2rem 0.5rem;
  border: 3px solid var(--sec-black);
  background: #ffd500;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.promo-purple-note strong {
  font-family: "Bangers", cursive;
  font-size: clamp(1.4rem, 1.9vw, 1.85rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
}

.promo-purple-note p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.1;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .promo-purple.comic-panel-shell > .comic-panel-fill {
    grid-template-columns: 1fr;
  }

  .promo-purple-title {
    max-width: 560px;
  }

  .promo-purple-video-inner {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 760px) {
  .promo-purple.comic-panel-shell {
    min-height: auto;
    margin-top: 10px;
  }

  .promo-purple.comic-panel-shell > .comic-panel-fill {
    padding: 0.82rem;
    gap: 0.58rem;
  }

  .promo-purple-title {
    max-width: 100%;
    padding: 0.9rem 0.95rem 0.8rem;
  }

  .promo-purple-title h2 {
    font-size: clamp(3rem, 11vw, 4.8rem);
    margin-left: 1.25rem;
  }
}

/* Wdrozone z eksportu trybu edycyjnego: nowe rozmieszczenie dekoracji */
div.decor-slot.decor-slot-exclaim-blue {
  left: 356.33px !important;
  top: 336.49px !important;
  right: auto !important;
  bottom: auto !important;
  width: 274.38px !important;
  height: 335.75px !important;
}

div.decor-slot.decor-slot-kid-center > div.kid-bubble.floating-decor {
  left: 17.01px !important;
  top: -42.05px !important;
  right: auto !important;
  bottom: auto !important;
}

div.decor-slot.decor-slot-lightning {
  left: 307.34px !important;
  top: 644.93px !important;
  right: auto !important;
  bottom: auto !important;
  width: 88.06px !important;
  height: 114.41px !important;
}

div.decor-slot.decor-slot-star-blue {
  left: 763.49px !important;
  top: 286.85px !important;
  right: auto !important;
  bottom: auto !important;
  width: 354.38px !important;
  height: 201.07px !important;
}

div.decor-slot.decor-slot-star-red {
  left: -99.96px !important;
  top: 302.46px !important;
  right: auto !important;
  bottom: auto !important;
  width: 361.53px !important;
  height: 210.72px !important;
}

div.decor-slot.decor-slot-kid-left > div.kid-bubble.floating-decor {
  left: 63.36px !important;
  top: -19.9px !important;
  right: auto !important;
  bottom: auto !important;
  width: 307.41px !important;
  height: 429.71px !important;
}

div.decor-slot.decor-slot-exclaim-red {
  left: 447.44px !important;
  top: -229.65px !important;
  right: auto !important;
  bottom: auto !important;
  width: 412.05px !important;
  height: 232.74px !important;
}

div.decor-slot.decor-slot-star-fuchsia {
  left: 627.89px !important;
  top: 594.78px !important;
  right: auto !important;
  bottom: auto !important;
  width: 201px !important;
  height: 128.04px !important;
}

div.decor-slot.decor-slot-dot {
  left: 492.7px !important;
  top: -6.04px !important;
  right: auto !important;
  bottom: auto !important;
  width: 82.95px !important;
  height: 56.66px !important;
}

section.hero.panel.comic-panel-shell {
  margin-left: -0.46px !important;
  margin-top: 0 !important;
}

div.decor-slot.decor-slot-exclaim {
  left: 848.6px !important;
  top: 759.45px !important;
  right: auto !important;
  bottom: auto !important;
}

div.decor-slot.decor-slot-kid-right > div.kid-bubble.floating-decor {
  left: 93.67px !important;
  top: -83.7px !important;
  right: auto !important;
  bottom: auto !important;
}

/* Wdrozone z eksportu trybu edycyjnego: korekty obrotu/pozycji/rozmiaru */
div.decor-slot.decor-slot-exclaim-blue {
  rotate: 34.41deg !important;
  left: 356.33px !important;
  top: 336.72px !important;
  right: auto !important;
  bottom: auto !important;
  width: 229.02px !important;
}

article.hero-kid.hero-kid-pink.panel {
  margin-left: -106.35px !important;
  margin-top: 9.61px !important;
}

div.decor-slot.decor-slot-star-blue {
  rotate: 11.58deg !important;
  left: 769.34px !important;
  top: 255.49px !important;
  right: auto !important;
  bottom: auto !important;
}

div.decor-slot.decor-slot-exclaim-red {
  width: 508.25px !important;
  height: 304.62px !important;
  left: 448.12px !important;
  top: -270.57px !important;
  right: auto !important;
  bottom: auto !important;
}

div.decor-slot.decor-slot-exclaim-pink {
  left: 1284.07px !important;
  top: 486.25px !important;
  right: auto !important;
  bottom: auto !important;
  width: 229.22px !important;
  height: 228.2px !important;
  rotate: 65.31deg !important;
}

/* Fix: edit-19 ma zawsze aktywna animacje w normalnym trybie */
div.decor-slot.decor-slot-kid-left > div.kid-bubble.floating-decor {
  animation: kid-bubble-drift 5.8s ease-in-out infinite !important;
  transform-origin: 50% 58% !important;
}

/* Ukrycie panelu edycji */
.layout-editor-toolbar,
.layout-editor-modal,
.layout-editor-selection {
  display: none !important;
}

/* Mobilny layout od nowa: tytul + data + countdown + teaser */
.mobile-landing {
  display: none !important;
}

/* FINAL MOBILE VERSION (telefon) */
@media (max-width: 900px) {
  .hero-logo-stage {
    display: none !important;
  }

  .hero-logo-card {
    display: none !important;
  }

  .comic-board > :not(.mobile-landing) {
    display: none !important;
  }

  .comic-stage,
  .promo-purple {
    display: none !important;
  }

  body {
    background:
      radial-gradient(circle, rgba(66, 36, 2, 0.2) 0 2px, transparent 2px),
      linear-gradient(160deg, #ffd500 0%, #ffcf1f 55%, #f8bb00 100%) !important;
    background-size: 14px 14px, 100% 100% !important;
    background-repeat: repeat, no-repeat !important;
    background-attachment: scroll, scroll !important;
    min-height: 100dvh !important;
  }

  .mobile-landing {
    display: block !important;
    grid-column: 1 / -1 !important;
    margin: 0 !important;
    min-height: auto !important;
    z-index: 3;
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    transform: none !important;
  }

  .mobile-landing > .comic-panel-frame {
    display: none !important;
  }

  .mobile-landing > .comic-panel-fill {
    position: relative;
    inset: 0 !important;
    clip-path: none !important;
    overflow: visible !important;
    display: grid;
    gap: 0.58rem;
    padding: 0.76rem 0.7rem 0.78rem;
    background: linear-gradient(160deg, #ffd500 0%, #ffcf1f 55%, #f8bb00 100%);
    color: var(--sec-black);
    min-height: 100dvh;
  }

  .mobile-landing-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(66, 36, 2, 0.22) 0 2px, transparent 2px);
    background-size: 14px 14px;
    opacity: 1;
  }

  .mobile-title-block,
  .mobile-event-card,
  .mobile-countdown-wrap,
  .mobile-teaser {
    position: relative;
    z-index: 1;
  }

  .mobile-logo-card {
    position: relative;
    z-index: 2;
    width: min(48vw, 190px);
    border: 3px solid var(--sec-black);
    background: var(--sec-white);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.18);
    padding: 0.34rem 0.48rem;
    margin-bottom: 0.12rem;
  }

  .mobile-logo-card img {
    display: block;
    width: 100%;
    height: auto;
  }

  .mobile-title-block {
    display: grid;
    gap: 0.34rem;
  }

  .mobile-title-shape {
    min-height: 148px;
    padding: 0.85rem 0.8rem 0.64rem;
    background-image: url("./ksztalt2.png");
    background-repeat: no-repeat;
    background-position: 50% 46%;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
  }

  .mobile-title-shape h1 {
    margin: 0 0 0 0.4rem;
    font-family: "Bangers", cursive;
    font-size: clamp(2.9rem, 13.5vw, 4.7rem);
    line-height: 0.9;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sec-white);
    text-shadow: 6px 6px 0 rgba(17, 17, 17, 0.9);
  }

  .mobile-event-card {
    display: grid;
    gap: 0.12rem;
    border: 3px solid var(--sec-black);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.18);
    padding: 0.56rem 0.62rem;
  }

  .mobile-event-kicker {
    width: fit-content;
    padding: 0.16rem 0.43rem;
    border: 2px solid var(--sec-black);
    background: #ffd500;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .mobile-event-card strong {
    font-family: "Bangers", cursive;
    font-size: clamp(1.35rem, 6.9vw, 1.95rem);
    line-height: 0.9;
    color: var(--sec-red);
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .mobile-event-card .mobile-event-time {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.01em;
  }

  .mobile-event-card .mobile-event-location-name {
    margin-top: 0.14rem;
    font-family: "Bangers", cursive;
    font-size: clamp(1.35rem, 6.9vw, 1.95rem);
    line-height: 0.9;
    color: var(--sec-red);
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .mobile-event-card .mobile-event-location-kicker {
    width: fit-content;
    margin-top: 0.14rem;
    padding: 0.16rem 0.43rem;
    border: 2px solid var(--sec-black);
    background: #ffd500;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .mobile-event-card .mobile-event-location-address {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-transform: none;
  }

  .mobile-countdown-wrap {
    display: grid;
    gap: 0.28rem;
  }

  .mobile-countdown-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.34rem;
  }

  .mobile-countdown-card {
    min-height: 64px;
    border: 3px solid var(--sec-black);
    background: #082a62;
    color: var(--sec-white);
    display: grid;
    align-content: center;
    justify-items: center;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
    padding: 0.3rem 0.2rem;
  }

  .mobile-countdown-card .count-value {
    font-size: clamp(1.4rem, 6.2vw, 1.95rem);
    line-height: 0.9;
  }

  .mobile-countdown-card .count-label {
    font-size: 0.67rem;
    letter-spacing: 0.05em;
  }

  .mobile-teaser {
    margin-top: 0.1rem;
    display: grid;
    gap: 0.34rem;
  }

  .mobile-teaser-title-wrap {
    display: flex;
    justify-content: flex-start;
  }

  .mobile-teaser-title {
    width: min(100%, 340px);
    min-height: 86px;
    padding: 0.5rem 0.65rem 0.46rem;
    background-image: url("./ksztalt2.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    display: flex;
    align-items: center;
  }

  .mobile-teaser-title h2 {
    margin: 0 0 0 0.75rem;
    font-family: "Bangers", cursive;
    font-size: clamp(2rem, 9.2vw, 3rem);
    line-height: 0.9;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--sec-white);
    text-shadow: 4px 4px 0 rgba(17, 17, 17, 0.86);
  }

  .mobile-teaser-video {
    border: 3px solid var(--sec-black);
    background: #24185b;
    padding: 0.22rem;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
  }

  .mobile-teaser-video iframe,
  .mobile-teaser-video video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
  }

  .mobile-teaser-video .custom-video-controls {
    border-color: var(--sec-black);
    background: linear-gradient(180deg, #4f2db6 0%, #2f196f 100%);
  }

  .mobile-teaser-video .custom-video-player {
    height: auto;
  }

  .mobile-teaser-video .custom-video-player video {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .comic-board {
    gap: 0.9rem !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  html,
  body {
    overflow-x: hidden !important;
  }

  .comic-stage {
    display: grid !important;
    grid-template-columns: 1fr !important;
    column-gap: 0 !important;
    row-gap: 0.75rem !important;
    background: var(--sec-white) !important;
  }

  section.hero.panel.comic-panel-shell,
  article.hero-kid.hero-kid-red.panel,
  article.hero-kid.hero-kid-pink.panel,
  article.hero-kid.hero-kid-green.panel,
  .promo-purple.comic-panel-shell {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin-left: 0 !important;
    max-width: 100% !important;
  }

  section.hero.panel.comic-panel-shell {
    margin-top: 0 !important;
    min-height: auto !important;
  }

  .hero.comic-panel-shell > .comic-panel-fill {
    padding: 0.82rem 0.76rem 0.78rem !important;
    gap: 0.55rem !important;
  }

  .hero-copy-wrap {
    max-width: 100% !important;
  }

  .hero-copy-wrap::after {
    width: min(116%, 520px) !important;
    left: -0.3rem !important;
    top: 0.3rem !important;
  }

  div.hero-title-block {
    width: 100% !important;
    min-height: 170px !important;
    padding: 1.05rem 0.95rem 0.82rem !important;
  }

  .hero h1 {
    margin-left: 0.35rem !important;
    max-width: 100% !important;
    font-size: clamp(3.25rem, 13.2vw, 5.2rem) !important;
    line-height: 0.9 !important;
    text-wrap: balance;
  }

  .hero-top-countdown {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    margin-top: 0.1rem !important;
    gap: 0.42rem !important;
  }

  .hero-top-event {
    padding: 0.52rem 0.58rem !important;
    border-width: 3px !important;
    box-shadow: none !important;
  }

  .hero-top-event strong {
    font-size: clamp(1.35rem, 7.1vw, 1.9rem) !important;
  }

  .hero-top-event > span:last-child {
    font-size: 0.88rem !important;
  }

  .hero-top-countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.35rem !important;
  }

  .hero-top-countdown-card {
    min-height: 62px !important;
    border-width: 3px !important;
    box-shadow: none !important;
  }

  .hero-top-countdown-card .count-value {
    font-size: clamp(1.45rem, 6.2vw, 1.95rem) !important;
  }

  .hero-top-countdown-card .count-label {
    font-size: 0.7rem !important;
  }

  article.hero-kid.hero-kid-red.panel,
  article.hero-kid.hero-kid-pink.panel,
  article.hero-kid.hero-kid-green.panel {
    min-height: 300px !important;
  }

  article.hero-kid.hero-kid-red.panel {
    margin-top: -2px !important;
  }

  article.hero-kid.hero-kid-pink.panel {
    margin-top: 2px !important;
  }

  article.hero-kid.hero-kid-green.panel {
    margin-top: 2px !important;
  }

  .hero-kid .comic-panel-fill > img {
    height: 93% !important;
    width: auto !important;
    object-position: center bottom !important;
  }

  .comic-decor-layer {
    position: static !important;
    inset: auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.28rem !important;
    margin-top: 0.15rem !important;
    pointer-events: none !important;
  }

  .comic-decor-layer .decor-slot:not(.decor-slot-kid-left):not(.decor-slot-kid-center):not(.decor-slot-kid-right) {
    display: none !important;
  }

  .decor-slot-kid-left,
  .decor-slot-kid-center,
  .decor-slot-kid-right {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  div.decor-slot.decor-slot-kid-left > div.kid-bubble.floating-decor,
  div.decor-slot.decor-slot-kid-center > div.kid-bubble.floating-decor,
  div.decor-slot.decor-slot-kid-right > div.kid-bubble.floating-decor {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: min(78vw, 330px) !important;
    height: auto !important;
    animation: kid-bubble-drift 5.9s ease-in-out infinite !important;
  }

  .promo-purple.comic-panel-shell {
    min-height: auto !important;
    margin-top: 0.35rem !important;
  }

  .promo-purple.comic-panel-shell > .comic-panel-fill {
    grid-template-columns: 1fr !important;
    gap: 0.6rem !important;
    padding: 0.75rem !important;
  }

  .promo-purple-bg {
    right: 0 !important;
    bottom: 0 !important;
  }

  .promo-purple-copy {
    gap: 0.45rem !important;
  }

  .promo-purple-title {
    width: 100% !important;
    padding: 0.65rem 0.72rem 0.58rem !important;
    background-position: 72% center !important;
  }

  .promo-purple-title h2 {
    margin-left: 1.05rem !important;
    font-size: clamp(2.65rem, 11.3vw, 4.15rem) !important;
    line-height: 0.9 !important;
  }

  .promo-purple-video-inner {
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
    border-width: 3px !important;
  }
}

@media (max-width: 560px) {
  .mobile-landing {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .mobile-landing > .comic-panel-fill {
    padding: 0.66rem 0.58rem 0.68rem !important;
    gap: 0.5rem !important;
  }

  .mobile-logo-card {
    width: min(54vw, 170px);
    border-width: 2px;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.18);
    padding: 0.26rem 0.38rem;
  }

  .mobile-title-shape {
    min-height: 136px;
  }

  .mobile-title-shape h1 {
    font-size: clamp(2.55rem, 13.9vw, 4rem);
    text-shadow: 5px 5px 0 rgba(17, 17, 17, 0.88);
  }

  .mobile-event-card {
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.18);
  }

  .mobile-countdown-card {
    min-height: 58px;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.18);
  }

  .mobile-teaser-title {
    min-height: 78px;
  }

  .mobile-teaser-title h2 {
    margin-left: 0.6rem;
    font-size: clamp(1.84rem, 9.5vw, 2.65rem);
  }

  .comic-board {
    padding: 0 0.3rem 0.6rem !important;
  }

  .hero.comic-panel-shell > .comic-panel-fill {
    padding: 0.74rem 0.64rem 0.7rem !important;
  }

  div.hero-title-block {
    min-height: 154px !important;
    padding: 0.88rem 0.72rem 0.7rem !important;
  }

  .hero h1 {
    margin-left: 0.2rem !important;
    font-size: clamp(2.85rem, 13.5vw, 4.1rem) !important;
  }

  .hero-top-event-kicker {
    font-size: 0.64rem !important;
    border-width: 2px !important;
  }

  .hero-top-event .event-location-kicker {
    font-size: 0.64rem !important;
    border-width: 2px !important;
  }

  .hero-top-countdown-card {
    min-height: 56px !important;
  }

  article.hero-kid.hero-kid-red.panel,
  article.hero-kid.hero-kid-pink.panel,
  article.hero-kid.hero-kid-green.panel {
    min-height: 274px !important;
  }

  div.decor-slot.decor-slot-kid-left > div.kid-bubble.floating-decor,
  div.decor-slot.decor-slot-kid-center > div.kid-bubble.floating-decor,
  div.decor-slot.decor-slot-kid-right > div.kid-bubble.floating-decor {
    width: min(83vw, 320px) !important;
  }

  .promo-purple-title h2 {
    margin-left: 0.7rem !important;
    font-size: clamp(2.35rem, 11.8vw, 3.7rem) !important;
  }
}

/* Mocniejszy, dalszy cien tytulu "Piknik Supermocy" */
.hero h1 {
  text-shadow: 8px 8px 0 rgba(17, 17, 17, 0.92) !important;
}

@media (max-width: 900px) {
  .hero h1 {
    text-shadow: 6px 6px 0 rgba(17, 17, 17, 0.9) !important;
  }
}

/* Ksztalt2 pod tytulem: lekko mniejszy, wyzej i bez przycinania */
.hero.comic-panel-shell > .comic-panel-fill {
  overflow: visible !important;
}

.hero-copy-wrap {
  z-index: 45 !important;
  overflow: visible !important;
}

.hero-copy-wrap::after {
  top: -1.15rem !important;
  width: min(142%, 1660px) !important;
  z-index: 44 !important;
}

div.hero-title-block {
  position: relative !important;
  z-index: 46 !important;
}

.hero h1 {
  position: relative !important;
  z-index: 47 !important;
}

@media (max-width: 900px) {
  .hero-copy-wrap::after {
    top: -0.85rem !important;
    width: min(140%, 610px) !important;
  }
}

/* Delikatne pomniejszenie tytulu "Piknik Supermocy" i ksztalt2 */
div.hero-title-block {
  width: min(100%, 680px) !important;
  min-height: 250px !important;
}

.hero h1 {
  font-size: clamp(5.4rem, 10.4vw, 9.4rem) !important;
}

.hero-copy-wrap::after {
  width: min(132%, 1500px) !important;
}

@media (max-width: 900px) {
  .mobile-title-shape {
    min-height: 136px !important;
  }

  .mobile-title-shape h1 {
    font-size: clamp(2.55rem, 12.2vw, 4rem) !important;
  }
}

@media (max-width: 560px) {
  .mobile-title-shape {
    min-height: 126px !important;
  }

  .mobile-title-shape h1 {
    font-size: clamp(2.3rem, 12.4vw, 3.55rem) !important;
  }
}

/* Przesuniecie tytulu i wykrzyknika w prawo (desktop) */
@media (min-width: 901px) {
  .hero-copy-wrap {
    margin-left: 70px !important;
  }

  div.decor-slot.decor-slot-exclaim {
    left: 930px !important;
  }
}

/* Fix proporcji ksztalt2.png w mobile */
@media (max-width: 900px) {
  .mobile-title-shape {
    min-height: 0 !important;
    aspect-ratio: 2.2 / 1 !important;
    padding: 0.7rem 0.75rem 0.58rem !important;
    background-size: 76% auto !important;
    background-position: center center !important;
  }

  .mobile-teaser-title {
    min-height: 0 !important;
    aspect-ratio: 2.2 / 1 !important;
    padding: 0.45rem 0.56rem 0.4rem !important;
    background-size: 82% auto !important;
    background-position: center center !important;
  }

  .mobile-title-shape h1 {
    font-size: clamp(2.1rem, 10.8vw, 3.45rem) !important;
    line-height: 0.86 !important;
    max-width: 6.2ch;
  }
}

/* Mobile polish: rowne marginesy i mocniejszy tytul */
@media (max-width: 900px) {
  .mobile-landing > .comic-panel-fill {
    padding-left: 0.86rem !important;
    padding-right: 0.86rem !important;
  }

  .mobile-logo-card,
  .mobile-title-block,
  .mobile-event-card,
  .mobile-countdown-wrap,
  .mobile-teaser {
    width: calc(100% - 4px) !important;
    max-width: calc(100% - 4px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    min-width: 0 !important;
  }

  .mobile-countdown-grid {
    gap: 0.3rem !important;
  }

  .mobile-countdown-card {
    min-width: 0 !important;
  }

  .mobile-title-shape h1 {
    font-size: clamp(2.45rem, 11.9vw, 3.95rem) !important;
    line-height: 0.88 !important;
    letter-spacing: 0.045em !important;
  }
}

@media (max-width: 560px) {
  .mobile-landing > .comic-panel-fill {
    padding-left: 0.72rem !important;
    padding-right: 0.72rem !important;
  }

  .mobile-logo-card,
  .mobile-title-block,
  .mobile-event-card,
  .mobile-countdown-wrap,
  .mobile-teaser {
    width: calc(100% - 2px) !important;
    max-width: calc(100% - 2px) !important;
  }

  .mobile-title-shape h1 {
    font-size: clamp(2.25rem, 12.2vw, 3.6rem) !important;
  }
}

/* Mobile: wycentrowany tytul + male logo z boku */
@media (max-width: 900px) {
  .mobile-landing > .comic-panel-fill {
    position: relative !important;
  }

  .mobile-logo-card {
    position: absolute !important;
    top: 0.62rem !important;
    right: 0.72rem !important;
    left: auto !important;
    width: min(33vw, 122px) !important;
    z-index: 5 !important;
    padding: 0.2rem 0.28rem !important;
  }

  .mobile-title-shape h1 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .mobile-teaser-title-wrap {
    justify-content: center !important;
  }

  .mobile-teaser-title {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .mobile-teaser-title h2 {
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
}

@media (max-width: 560px) {
  .mobile-logo-card {
    width: min(31vw, 104px) !important;
    top: 0.56rem !important;
    right: 0.58rem !important;
    padding: 0.16rem 0.22rem !important;
  }
}

@media (max-width: 560px) {
  .mobile-title-shape {
    padding: 0.56rem 0.58rem 0.48rem !important;
  }

  .mobile-teaser-title {
    padding: 0.36rem 0.44rem 0.32rem !important;
  }
}

