:root {
  --ink: #201a1a;
  --muted: #665b57;
  --paper: #fffaf0;
  --white: #ffffff;
  --line: #eadfcf;
  --red: #ef3340;
  --red-dark: #b91827;
  --yellow: #ffd23f;
  --green: #13a85a;
  --blue: #2f6fdf;
  --orange: #ff8a2a;
  --shadow: 0 18px 42px rgba(32, 26, 26, 0.13);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(239, 51, 64, 0.08) 0 1px, transparent 1px 34px),
    linear-gradient(0deg, rgba(255, 210, 63, 0.14) 0 1px, transparent 1px 34px),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 10px 12px;
}

textarea {
  resize: vertical;
}

label {
  font-weight: 750;
}

code {
  display: inline-block;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
  font-size: 12px;
}

.site-header,
.site-nav,
.brand-lockup,
.hero-actions,
.button-row,
.leader-row,
.dashboard-meta,
.admin-heading,
.table-heading,
.mini-row {
  display: flex;
  align-items: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  justify-content: space-between;
  gap: 14px;
  padding: 12px max(16px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 250, 240, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand-lockup {
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: 0 0 auto;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--red);
  font-weight: 950;
}

.brand-lockup strong,
.brand-lockup small {
  display: block;
}

.brand-lockup small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-weight: 750;
}

.link-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 750;
  padding: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.98fr);
  gap: 32px;
  align-items: center;
  max-width: var(--max);
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  padding: 52px 18px 72px;
}

.hero h1,
.section-heading h1,
.section-heading h2,
.panel h1,
.panel h2,
.admin-heading h1 {
  margin: 10px 0;
  line-height: 1.02;
}

.hero h1 {
  max-width: 720px;
  font-size: 56px;
  font-weight: 950;
}

.hero p,
.section-heading p,
.panel p {
  color: var(--muted);
  margin: 0 0 20px;
}

.hero-copy {
  min-width: 0;
}

.hero-art {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  min-height: 420px;
  padding: 24px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, var(--yellow) 0 50%, #ffffff 50% 100%);
  box-shadow: 10px 10px 0 var(--blue);
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  border: 3px solid var(--ink);
  background: var(--red);
  transform: rotate(-10deg);
}

.hero-art::before {
  width: 86px;
  height: 24px;
  left: 24px;
  top: 22px;
}

.hero-art::after {
  width: 46px;
  height: 46px;
  right: 28px;
  bottom: 28px;
  background: var(--green);
  transform: rotate(14deg);
}

.hero-art img {
  width: 100%;
  min-width: 0;
  border-radius: var(--radius);
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 rgba(32, 26, 26, 0.24);
}

.hero-art img:nth-child(2) {
  transform: translateY(54px) rotate(5deg);
}

.hero-art img:nth-child(3) {
  grid-column: 1 / -1;
  width: 58%;
  justify-self: center;
  transform: rotate(-4deg);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 18px;
}

.section.narrow {
  max-width: 720px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 22px;
}

.section-heading h1,
.section-heading h2 {
  font-size: 38px;
}

.badge,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  max-width: 100%;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 850;
  font-size: 12px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  overflow-wrap: anywhere;
  text-align: center;
}

.badge-yellow {
  background: var(--yellow);
}

.badge-green {
  background: #b8f3cd;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--red);
  color: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  font-weight: 900;
  padding: 10px 16px;
  text-align: center;
}

.button:hover,
.button:focus-visible {
  box-shadow: 4px 4px 0 var(--ink);
}

.button:disabled {
  cursor: progress;
  opacity: 0.65;
}

.button-large {
  min-height: 52px;
  padding-inline: 22px;
}

.button-secondary {
  background: var(--yellow);
  color: var(--ink);
}

.button-ghost {
  background: var(--white);
  color: var(--ink);
}

.button-danger {
  background: var(--red-dark);
}

.button-small {
  min-height: 36px;
  padding: 6px 10px;
  box-shadow: 2px 2px 0 var(--ink);
}

.full-width {
  width: 100%;
}

.hero-actions,
.button-row {
  gap: 12px;
  flex-wrap: wrap;
}

.steps-grid,
.stat-grid,
.content-grid,
.settings-grid {
  display: grid;
  gap: 16px;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card,
.panel,
.stat-card,
.leaderboard-strip,
.admin-panel,
.admin-stat {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.step-card {
  padding: 18px;
}

.step-card strong {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--yellow);
  border: 2px solid var(--ink);
}

.step-card h3 {
  margin: 16px 0 6px;
}

.step-card p,
.muted,
.small-note {
  color: var(--muted);
}

.split-section,
.content-grid,
.settings-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.split-section {
  display: grid;
  gap: 22px;
  align-items: start;
}

.leaderboard-strip,
.panel,
.admin-panel {
  padding: 20px;
}

.leader-row,
.mini-row {
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.leader-row:first-of-type,
.mini-row:first-of-type {
  border-top: 0;
}

.auth-section {
  padding-top: 76px;
}

.auth-form,
.stack-form,
.upload-form {
  display: grid;
  gap: 12px;
}

.phone-field {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.phone-field span {
  display: grid;
  min-height: 44px;
  place-items: center;
  border-right: 1px solid var(--line);
  background: #fff0b8;
  font-weight: 850;
}

.phone-field input {
  border: 0;
  border-radius: 0;
}

.hidden {
  display: none !important;
}

.recaptcha-box {
  min-height: 78px;
  margin-top: 14px;
}

.recaptcha-box.recaptcha-invisible {
  min-height: 0;
  height: 0;
  margin: 0;
  overflow: hidden;
}

.form-message {
  min-height: 24px;
  color: var(--muted);
  font-weight: 750;
}

.form-message[data-type="error"],
.error-text {
  color: var(--red-dark);
}

.form-message[data-type="success"] {
  color: #08783f;
}

.character-form {
  padding-bottom: 76px;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.character-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-width: 0;
  min-height: 210px;
  padding: 10px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  text-align: center;
}

.character-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.character-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  filter: grayscale(1);
  border-radius: var(--radius);
  background: #f6f6f6;
}

.character-card strong,
.character-card small {
  overflow-wrap: anywhere;
}

.character-card small {
  color: var(--muted);
}

.character-card.is-selected {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(19, 168, 90, 0.18);
}

.character-card.is-selected img {
  filter: grayscale(0);
}

.selected-badge {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  display: none;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  padding: 4px 8px;
}

.character-card.is-selected .selected-badge {
  display: inline-flex;
}

.sticky-action {
  position: sticky;
  bottom: 14px;
  z-index: 12;
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.file-drop {
  display: grid;
  min-height: 150px;
  place-items: center;
  border: 2px dashed var(--blue);
  border-radius: var(--radius);
  background: #edf4ff;
  cursor: pointer;
  padding: 18px;
  text-align: center;
}

.file-drop span {
  font-size: 22px;
  font-weight: 950;
}

.file-drop input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.preview-box img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 650;
}

.checkbox-row input {
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 2px;
}

.celebration-panel {
  text-align: center;
}

.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  padding: 18px;
}

.stat-card span {
  color: var(--muted);
  font-weight: 850;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 42px;
  line-height: 1;
}

.stat-card.approved {
  background: #e9fff1;
}

.stat-card.pending {
  background: #fff4c8;
}

.stat-card.rejected {
  background: #ffe6e8;
}

.dashboard-meta {
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
}

.submission-list {
  display: grid;
  gap: 12px;
}

.submission-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.submission-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.submission-item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: var(--radius);
  background: #f6f6f6;
}

.submission-item h3,
.submission-item p {
  margin: 0;
}

.submission-status {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.status-pending {
  background: #fff1a6;
}

.status-approved {
  background: #b8f3cd;
}

.status-rejected {
  background: #ffd4da;
}

.terms-float {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 30;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 850;
  padding: 8px 12px;
}

.toast {
  position: fixed;
  z-index: 60;
  top: 72px;
  right: 16px;
  max-width: min(420px, calc(100vw - 32px));
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 14px;
  font-weight: 800;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast-success {
  background: #d9ffe7;
}

.toast-error {
  background: #ffdce1;
}

.toast-hide {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.legal-copy h2 {
  margin-top: 22px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
  background: #f7f8fb;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100vh;
  padding: 18px;
  border-right: 1px solid #dfe4ef;
  background: var(--white);
}

.admin-nav {
  display: grid;
  gap: 6px;
}

.admin-nav a {
  border-radius: var(--radius);
  padding: 10px 12px;
  font-weight: 800;
}

.admin-nav a:hover {
  background: #eef3ff;
}

.admin-main {
  min-width: 0;
  padding: 26px;
}

.admin-main-centered {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
}

.admin-login {
  width: min(460px, calc(100vw - 32px));
}

.auth-card {
  width: 100%;
}

.admin-heading {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-heading h1,
.admin-heading p {
  margin: 0;
}

.admin-heading p {
  color: var(--muted);
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-stat {
  padding: 16px;
  box-shadow: none;
}

.admin-stat span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.admin-stat strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
}

.admin-panel {
  margin-bottom: 18px;
  box-shadow: none;
}

.table-heading {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.table-heading h2 {
  margin: 0;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 840px;
}

th,
td {
  border-bottom: 1px solid #e3e8f1;
  padding: 10px;
  text-align: left;
  vertical-align: middle;
}

th {
  color: #4f5c70;
  font-size: 12px;
  text-transform: uppercase;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) minmax(140px, 0.8fr) minmax(160px, 1fr) minmax(160px, 1fr) auto;
  gap: 10px;
  margin-bottom: 14px;
}

.thumb {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.review-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(340px, 1.05fr);
  gap: 18px;
  align-items: start;
}

.review-photo {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  border-radius: var(--radius);
  background: #f1f3f8;
}

.detail-list {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 8px 12px;
}

.detail-list dt {
  color: var(--muted);
  font-weight: 850;
}

.detail-list dd {
  min-width: 0;
  margin: 0;
}

.review-form {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.warning-text {
  color: #9a5d00;
  font-weight: 900;
}

.notice {
  border-radius: var(--radius);
  margin-bottom: 14px;
  padding: 12px 14px;
  font-weight: 850;
}

.notice.warning {
  background: #fff0b8;
  border: 1px solid #e0b100;
}

.settings-actions {
  grid-column: 1 / -1;
}

.brand-logo {
  width: clamp(220px, 32vw, 390px);
  height: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--ink);
}

.nav-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-login {
  border: 2px solid var(--ink);
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
}

.mobile-menu-wrap {
  position: relative;
  display: none;
}

.mobile-menu-toggle {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
  cursor: pointer;
}

.mobile-menu-toggle svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.mobile-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 210px;
  gap: 6px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.mobile-menu-panel .nav-link {
  width: 100%;
  justify-content: flex-start;
}

.mobile-menu-panel form {
  margin: 0;
}

.mobile-menu-wrap.is-open .mobile-menu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-shell {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.82) 0 84px, transparent 86px),
    radial-gradient(circle at 84% 10%, rgba(239, 51, 64, 0.18) 0 72px, transparent 74px),
    linear-gradient(120deg, rgba(110, 0, 205, 0.1), transparent 38%),
    var(--paper);
}

.hero-campaign {
  position: relative;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  min-height: auto;
  padding-top: 38px;
  padding-bottom: 30px;
}

.hero-campaign::before {
  content: "";
  position: absolute;
  inset: 24px 18px auto auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background:
    linear-gradient(#ef3340 0 48%, #201a1a 48% 54%, #fff 54%),
    #fff;
  border: 7px solid #201a1a;
  opacity: 0.16;
  animation: floaty 5s ease-in-out infinite;
}

.hero-campaign h1 {
  font-size: clamp(40px, 5.8vw, 72px);
  color: #6f00cc;
  text-shadow: 3px 3px 0 rgba(255, 210, 63, 0.88);
}

.hero-campaign p {
  max-width: 640px;
  font-size: 18px;
  font-weight: 700;
}

.hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
  width: min(100%, 620px);
  max-width: 620px;
}

.hero-mini-stats span {
  display: grid;
  aspect-ratio: 1;
  width: 100%;
  min-height: 0;
  min-width: 0;
  align-content: center;
  justify-items: center;
  text-align: center;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 4px 4px 0 var(--blue);
  padding: 9px;
  font-weight: 850;
}

.hero-mini-stats img {
  width: min(64px, 48%);
  margin-bottom: 6px;
}

.hero-mini-stats strong {
  display: block;
  color: var(--red);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.hero-mini-stats small {
  display: block;
  color: var(--ink);
  font-size: clamp(10px, 1.2vw, 13px);
  font-weight: 900;
  line-height: 1.05;
}

@media (max-width: 820px) {
  .site-header {
    align-items: center;
  }

  .brand-logo {
    width: clamp(188px, 58vw, 300px);
  }

  .site-nav {
    flex: 0 0 auto;
  }

  .nav-desktop {
    display: none !important;
  }

  .mobile-menu-wrap {
    display: block;
  }

  .mobile-menu-panel {
    position: fixed;
    top: 68px;
    left: 12px;
    right: 12px;
    z-index: 80;
    min-width: 0;
    gap: 8px;
    padding: 12px;
  }

  .mobile-menu-panel .nav-link {
    min-height: 48px;
    border-radius: var(--radius);
    background: #fff8d6;
    padding: 10px 12px;
  }

  .mobile-menu-panel .nav-link svg {
    width: 20px;
    height: 20px;
  }
}

.hero-poster {
  position: relative;
  min-width: 0;
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  background: var(--yellow);
  box-shadow: 12px 12px 0 #6f00cc;
  overflow: hidden;
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 16 / 9.6;
  object-fit: cover;
}

.float-ball {
  position: absolute;
  width: 62px;
  height: 62px;
  border: 6px solid #201a1a;
  border-radius: 50%;
  background: linear-gradient(#ef3340 0 48%, #201a1a 48% 55%, #fff 55%);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.55);
}

.float-ball::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 5px solid #201a1a;
  border-radius: 50%;
  background: #fff;
}

.float-ball-one {
  left: 5%;
  top: 12%;
  animation: bob 4s ease-in-out infinite;
}

.float-ball-two {
  right: 7%;
  bottom: 10%;
  animation: bob 4.8s ease-in-out infinite reverse;
}

.spark {
  position: absolute;
  width: 28px;
  height: 28px;
  background: var(--yellow);
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
  filter: drop-shadow(2px 2px 0 #201a1a);
  animation: pulse-pop 1.8s ease-in-out infinite;
}

.spark-one {
  left: 16%;
  bottom: 22%;
}

.spark-two {
  right: 18%;
  top: 18%;
  animation-delay: 0.5s;
}

.catch-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 16px;
}

.catch-strip article {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 5px 5px 0 var(--orange);
  padding: 14px;
}

.catch-strip img {
  width: 86px;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: var(--radius);
  background: #fff4c8;
}

.catch-strip h2,
.catch-strip p {
  margin: 0;
}

.catch-strip p {
  color: var(--muted);
}

.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.how-visual {
  position: relative;
}

.how-visual::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 46%;
  height: 8px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, #6f00cc 0 18px, transparent 18px 32px);
  opacity: 0.18;
}

.visual-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
}

.visual-step-card {
  text-align: center;
  transform: rotate(-1deg);
}

.visual-step-card:nth-child(even) {
  transform: rotate(1deg);
}

.step-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 150px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 36%, transparent 37%),
    var(--yellow);
  overflow: hidden;
}

.step-image img {
  width: min(118px, 72%);
  filter: drop-shadow(4px 5px 0 rgba(32, 26, 26, 0.18));
  animation: wiggle 3.2s ease-in-out infinite;
}

.step-image strong {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 38px;
  height: 38px;
  background: var(--red);
  color: var(--white);
}

.reward-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 48px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 210, 63, 0.95), rgba(255, 138, 42, 0.85)),
    var(--yellow);
  box-shadow: 10px 10px 0 var(--blue);
}

.reward-copy h2 {
  margin: 10px 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
}

.reward-copy p {
  max-width: 720px;
  color: #3b3029;
  font-weight: 700;
}

.reward-stack {
  position: relative;
  display: grid;
  min-height: 300px;
  place-items: center;
}

.reward-stack img {
  position: absolute;
  width: min(190px, 62%);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 5px 5px 0 rgba(32, 26, 26, 0.25);
}

.reward-stack img:nth-child(1) {
  transform: translateX(-70px) rotate(-10deg);
}

.reward-stack img:nth-child(2) {
  transform: translateY(-12px) rotate(4deg);
  z-index: 2;
}

.reward-stack img:nth-child(3) {
  transform: translateX(76px) rotate(12deg);
}

.dashboard-content {
  display: grid;
  gap: 16px;
}

.landing-journey {
  padding-top: 24px;
}

.journey-preview,
.collection-hero-panel,
.collection-panel {
  position: relative;
  overflow: hidden;
}

.journey-preview {
  display: grid;
  gap: 20px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 244, 200, 0.92)),
    var(--white);
  box-shadow: 8px 8px 0 var(--red);
  padding: 22px;
}

.journey-preview::before,
.collection-hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 36%, rgba(255, 255, 255, 0.52) 46%, transparent 58%),
    repeating-linear-gradient(90deg, rgba(47, 111, 223, 0.08) 0 2px, transparent 2px 28px);
  animation: shine-sweep 5.5s ease-in-out infinite;
}

.mini-sticker-rail {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
  padding: 8px 0 4px;
}

.mini-sticker-rail::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 2%;
  right: 2%;
  top: 50%;
  height: 10px;
  border: 2px solid rgba(32, 26, 26, 0.18);
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, var(--blue) 0 18px, var(--yellow) 18px 30px, var(--red) 30px 42px);
  opacity: 0.2;
  transform: translateY(-50%);
  animation: journey-track 2.6s linear infinite;
}

.journey-box {
  position: relative;
  display: grid;
  min-height: 88px;
  aspect-ratio: 1;
  place-items: center;
  align-content: center;
  gap: 4px;
  overflow: hidden;
  border: 2px dashed rgba(32, 26, 26, 0.45);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
  font-weight: 950;
  box-shadow: 3px 3px 0 rgba(32, 26, 26, 0.14);
  animation: journey-float 3.4s ease-in-out infinite;
  animation-delay: calc(var(--delay) * -0.09s);
}

.journey-box::before {
  content: "";
  position: absolute;
  inset: auto 8px 8px auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 210, 63, 0.24);
  opacity: 0.7;
}

.journey-box::after {
  content: "";
  position: absolute;
  inset: -46%;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.82) 50%, transparent 58%);
  transform: translateX(-34%);
  opacity: 0;
  animation: slot-shine 4.2s ease-in-out infinite;
  animation-delay: calc(var(--delay) * 0.11s);
}

.journey-box b {
  position: relative;
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid rgba(32, 26, 26, 0.18);
  border-radius: 50%;
  background: #fffaf0;
  font-size: 18px;
  line-height: 1;
}

.journey-box small {
  position: relative;
  z-index: 1;
  max-width: 100%;
  color: var(--ink);
  font-size: 9px;
  font-weight: 950;
  line-height: 1.05;
  text-align: center;
}

.journey-box.is-milestone {
  border-style: solid;
  border-color: var(--red);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--blue);
  animation: milestone-bounce 2.6s ease-in-out infinite;
  animation-delay: calc(var(--delay) * -0.08s);
}

.journey-box.is-milestone::before {
  inset: 8px 8px auto auto;
  width: 18px;
  height: 18px;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(239, 51, 64, 0.18);
}

.journey-box.is-milestone b {
  border-color: var(--ink);
  background: var(--red);
  color: var(--white);
}

.milestone-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.landing-milestones {
  position: relative;
  z-index: 1;
}

.milestone-card {
  display: grid;
  gap: 8px;
  align-content: start;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 5px 5px 0 var(--blue);
  padding: 16px;
}

.milestone-card span {
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.milestone-card h3,
.milestone-card p {
  margin: 0;
}

.milestone-card p {
  color: var(--muted);
}

.milestone-card strong {
  width: fit-content;
  border-radius: 999px;
  background: #fff0b8;
  padding: 5px 9px;
  font-size: 12px;
}

.collection-dashboard {
  padding-top: 34px;
}

.collection-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 18px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 18%, rgba(239, 51, 64, 0.22) 0 70px, transparent 72px),
    linear-gradient(135deg, rgba(255, 210, 63, 0.95), rgba(255, 255, 255, 0.9) 66%),
    var(--yellow);
  box-shadow: 10px 10px 0 var(--blue);
  padding: 22px;
}

.collection-hero-panel > * {
  position: relative;
  z-index: 1;
}

.collection-hero-panel h2 {
  max-width: 720px;
  margin: 12px 0 10px;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.02;
}

.collection-hero-panel p {
  max-width: 760px;
  color: #3b3029;
  font-weight: 750;
}

.collection-meter {
  display: grid;
  gap: 12px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 5px 5px 0 var(--red);
  padding: 16px;
}

.collection-meter-copy {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}

.collection-meter-copy strong {
  color: var(--red);
  font-size: clamp(48px, 8vw, 82px);
  line-height: 0.9;
}

.collection-meter-copy span {
  color: var(--muted);
  font-weight: 950;
}

.collection-progress {
  height: 18px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff4c8;
}

.collection-progress span {
  display: block;
  width: var(--progress);
  height: 100%;
  border-right: 2px solid var(--ink);
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.36) 0 8px, transparent 8px 16px),
    linear-gradient(90deg, var(--green), var(--blue));
  animation: progress-stripes 1.1s linear infinite;
}

.collection-stats {
  margin-bottom: 18px;
}

.collection-panel {
  margin-bottom: 18px;
}

.collection-panel .table-heading p {
  margin: 4px 0 0;
}

.sticker-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.sticker-slot {
  position: relative;
  display: grid;
  gap: 6px;
  min-width: 0;
  min-height: 154px;
  justify-items: center;
  align-content: center;
  overflow: hidden;
  border: 2px dashed rgba(32, 26, 26, 0.35);
  border-radius: var(--radius);
  background: #fffaf0;
  padding: 10px;
  text-align: center;
}

.sticker-slot::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.72) 50%, transparent 62%);
  opacity: 0;
  transform: translateX(-35%);
}

.sticker-slot img,
.sticker-placeholder {
  width: min(74px, 64%);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--white);
}

.sticker-placeholder {
  display: grid;
  place-items: center;
  border: 2px dashed var(--line);
  color: var(--muted);
  font-size: 30px;
  font-weight: 950;
}

.slot-number {
  position: absolute;
  top: 7px;
  left: 7px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.sticker-slot strong,
.sticker-slot small {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.sticker-slot strong {
  font-size: 13px;
  line-height: 1.1;
}

.sticker-slot small {
  color: var(--muted);
  font-weight: 900;
}

.sticker-slot.is-collected {
  border-style: solid;
  border-color: var(--green);
  background: #e9fff1;
  box-shadow: 4px 4px 0 rgba(19, 168, 90, 0.32);
}

.sticker-slot.is-collected::after {
  animation: slot-shine 3.8s ease-in-out infinite;
}

.sticker-slot.is-collected img {
  filter: drop-shadow(3px 4px 0 rgba(32, 26, 26, 0.16));
}

.sticker-slot.is-pending {
  border-style: solid;
  border-color: var(--orange);
  background: #fff4c8;
  box-shadow: 4px 4px 0 rgba(255, 138, 42, 0.38);
  animation: pending-pulse 1.8s ease-in-out infinite;
}

.sticker-slot.is-empty img {
  filter: grayscale(1);
  opacity: 0.45;
}

.sticker-slot.is-milestone .slot-number {
  background: var(--red);
  color: var(--white);
}

.dashboard-milestones {
  margin-bottom: 18px;
}

.dashboard-milestones .milestone-card.is-unlocked {
  background: #e9fff1;
  box-shadow: 5px 5px 0 var(--green);
}

.dashboard-milestones .milestone-card.is-locked {
  background: var(--white);
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }

  50% {
    transform: translateY(-14px) rotate(7deg);
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(16px) rotate(9deg);
  }
}

@keyframes pulse-pop {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  50% {
    transform: scale(1.2) rotate(18deg);
  }
}

@keyframes wiggle {
  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(4deg) translateY(-4px);
  }
}

@keyframes shine-sweep {
  0%,
  44% {
    transform: translateX(-45%);
  }

  70%,
  100% {
    transform: translateX(45%);
  }
}

@keyframes progress-stripes {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 24px 0;
  }
}

@keyframes slot-shine {
  0%,
  58% {
    opacity: 0;
    transform: translateX(-35%);
  }

  72% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(35%);
  }
}

@keyframes pending-pulse {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

@keyframes milestone-bounce {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-5px) rotate(2deg);
  }
}

@keyframes journey-track {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 42px 0;
  }
}

@keyframes journey-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 920px) {
  .hero,
  .split-section,
  .content-grid,
  .settings-grid,
  .review-grid,
  .reward-band,
  .collection-hero-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .steps-grid,
  .stat-grid,
  .catch-strip,
  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sticker-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid #dfe4ef;
  }

  .admin-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filter-bar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .legal-copy {
    padding: 24px 14px 84px;
  }

  .legal-copy .panel {
    padding: 20px 17px;
  }

  .legal-copy p,
  .legal-copy li {
    font-size: 17px;
    line-height: 1.62;
  }

  .legal-copy h1 {
    font-size: 34px;
  }

  .legal-copy h2 {
    font-size: 25px;
    line-height: 1.15;
  }

  .site-header {
    align-items: center;
  }

  .site-nav {
    gap: 8px;
    font-size: 14px;
  }

  .brand-logo {
    width: clamp(190px, 62vw, 300px);
  }

  .nav-desktop {
    display: none !important;
  }

  .mobile-menu-wrap {
    display: block;
  }

  .nav-link {
    padding: 7px 8px;
  }

  .hero h1,
  .section-heading h1,
  .section-heading h2 {
    font-size: 34px;
  }

  .hero-art {
    min-height: 300px;
  }

  .steps-grid,
  .stat-grid,
  .catch-strip,
  .visual-steps,
  .admin-stat-grid,
  .filter-bar {
    grid-template-columns: 1fr;
  }

  .hero-campaign {
    padding-top: 24px;
  }

  .hero-mini-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    max-width: none;
  }

  .hero-mini-stats span {
    padding: 6px;
    box-shadow: 3px 3px 0 var(--blue);
  }

  .hero-mini-stats img {
    width: min(48px, 50%);
    margin-bottom: 4px;
  }

  .catch-strip article {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .catch-strip img {
    width: 70px;
  }

  .reward-stack {
    min-height: 240px;
  }

  .character-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .mini-sticker-rail,
  .sticker-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sticker-slot {
    min-height: 136px;
    padding: 8px;
  }

  .sticker-slot img,
  .sticker-placeholder {
    width: min(58px, 58%);
  }

  .character-card {
    min-height: 156px;
    padding: 7px;
  }

  .character-card strong {
    font-size: 13px;
  }

  .character-card small {
    font-size: 11px;
  }

  .submission-item {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .submission-status {
    grid-column: 1 / -1;
    justify-items: start;
  }

  .admin-main {
    padding: 16px;
  }

  .admin-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-list {
    grid-template-columns: 1fr;
  }

  .terms-float {
    left: 14px;
    right: auto;
  }
}
