:root {
  --red: #a9141b;
  --red-2: #7f1016;
  --gold: #f4b33d;
  --gold-2: #d78322;
  --ink: #261815;
  --muted: #6c5148;
  --cream: #fff8ea;
  --paper: #fffdf6;
  --line: rgba(169, 20, 27, 0.18);
  --shadow: 0 18px 48px rgba(77, 23, 10, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff6df;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

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

.page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 253, 246, 0.74), rgba(255, 246, 223, 0.95)),
    url("../assets/iycj/main-hero-2400.jpeg") top center / 100% auto no-repeat;
}

.hero {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  isolation: isolate;
  padding: 34px clamp(18px, 3vw, 46px) 48px;
}

.online .hero {
  min-height: auto;
}

.offline .hero {
  min-height: auto;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--poster-bg) center / cover no-repeat;
  opacity: 0.5;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 14%, rgba(244, 179, 61, 0.38), transparent 28%),
    linear-gradient(105deg, rgba(255, 253, 246, 0.98) 0%, rgba(255, 253, 246, 0.92) 43%, rgba(255, 248, 234, 0.66) 72%, rgba(169, 20, 27, 0.18) 100%);
}

.offline {
  --poster-bg: url("../assets/iycj/offline-bg.png");
}

.online {
  --poster-bg: url("../assets/iycj/online-bg.png");
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1220px;
  margin: 0 auto 56px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand-mascots {
  display: none;
}

.brand-logo {
  width: 116px;
  height: 116px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(91, 23, 15, 0.14));
}

.brand-text {
  display: grid;
  gap: 2px;
}

.kicker {
  color: var(--red);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.brand-title {
  color: var(--ink);
  font-size: 25px;
  font-weight: 900;
}

.online .topbar {
  align-items: stretch;
  gap: 18px;
}

.online .brand {
  position: relative;
  flex: 1 1 760px;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid rgba(169, 20, 27, 0.18);
  border-radius: 8px;
  padding: 22px 320px 22px 22px;
  background:
    linear-gradient(100deg, rgba(244, 179, 61, 0.98) 0%, rgba(255, 196, 76, 0.94) 48%, rgba(169, 20, 27, 0.94) 100%),
    url("../assets/iycj/main-hero-2400.jpeg") center / cover no-repeat;
  box-shadow: 0 18px 44px rgba(91, 23, 15, 0.16);
}

.online .brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 35%, rgba(255, 253, 246, 0.24), transparent 32%),
    linear-gradient(90deg, rgba(255, 188, 62, 0.06), rgba(127, 16, 22, 0.18));
  pointer-events: none;
}

.online .brand-logo {
  position: relative;
  z-index: 1;
  width: 132px;
  height: 132px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.72);
}

.online .brand-text {
  position: relative;
  z-index: 1;
}

.online .kicker {
  max-width: 430px;
  color: var(--red);
  font-size: clamp(17px, 2vw, 29px);
  line-height: 0.98;
  letter-spacing: 0.09em;
}

.online .brand-title {
  color: var(--red-2);
  font-size: clamp(44px, 5vw, 82px);
  line-height: 0.86;
  text-transform: uppercase;
}

.online .brand-mascots {
  position: absolute;
  z-index: 1;
  right: 10px;
  bottom: -86px;
  display: block;
  width: clamp(250px, 30vw, 420px);
  max-width: none;
  filter: drop-shadow(0 18px 24px rgba(69, 16, 8, 0.22));
}

.online .mode-pill {
  align-self: start;
  margin-top: 24px;
}

.mode-pill {
  border: 1px solid rgba(169, 20, 27, 0.22);
  border-radius: 999px;
  padding: 12px 18px;
  background: rgba(255, 253, 246, 0.78);
  color: var(--red);
  font-weight: 900;
  white-space: nowrap;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(116, 38, 7, 0.1);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) 360px;
  gap: clamp(20px, 3vw, 42px);
  align-items: end;
  max-width: 1220px;
  margin: 0 auto;
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.tag {
  border: 1px solid rgba(169, 20, 27, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 253, 246, 0.84);
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  max-width: 840px;
  margin: 0;
  color: var(--red);
  font-size: clamp(62px, 9vw, 126px);
  line-height: 0.88;
  font-weight: 950;
  text-transform: uppercase;
}

.subtitle {
  max-width: 760px;
  margin: 0;
  color: #4a2c23;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.18;
  font-weight: 750;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  border: 1px solid rgba(169, 20, 27, 0.18);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 253, 246, 0.82);
  box-shadow: 0 10px 24px rgba(83, 27, 11, 0.08);
  font-weight: 850;
}

.meta-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: #fffaf1;
  font-size: 15px;
}

.register-panel {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(169, 20, 27, 0.2);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 253, 246, 0.94);
  box-shadow: var(--shadow);
}

.qr-box {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 2px dashed rgba(169, 20, 27, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(169, 20, 27, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(169, 20, 27, 0.06) 1px, transparent 1px),
    #fffdf6;
  background-size: 22px 22px;
  color: rgba(169, 20, 27, 0.58);
  font-size: 15px;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.qr-box.has-qr {
  padding: 12px;
  background: #fff;
  background-size: auto;
}

.qr-box.has-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.scan {
  display: grid;
  gap: 4px;
  text-align: center;
}

.scan strong {
  color: var(--red);
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scan span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.register-button {
  display: grid;
  place-items: center;
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  color: #fff8ea;
  box-shadow: 0 14px 28px rgba(127, 16, 22, 0.24);
  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.register-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(127, 16, 22, 0.28);
}

.fb-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(24, 119, 242, 0.18);
  border-radius: 8px;
  padding: 12px;
  background: #f6f9ff;
}

.fb-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #1877f2;
  color: #fff;
  font-size: 26px;
  font-family: Arial, sans-serif;
  font-weight: 900;
}

.fb-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.fb-copy b {
  color: #18345d;
  font-size: 13px;
}

.fb-copy span {
  color: #51627c;
  font-size: 12px;
  font-weight: 750;
}

.section {
  position: relative;
  overflow: hidden;
  padding: 54px clamp(18px, 3vw, 46px);
}

.section:nth-of-type(even) {
  background: rgba(255, 253, 246, 0.72);
}

.wrap {
  max-width: 1220px;
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

h2 {
  margin: 0;
  color: var(--red);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 0.98;
  font-weight: 950;
  text-transform: uppercase;
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
}

.authority-section {
  background:
    linear-gradient(135deg, rgba(169, 20, 27, 0.96), rgba(127, 16, 22, 0.96)),
    url("../assets/iycj/main-hero-2400.jpeg") center / cover no-repeat;
  color: #fff8ea;
}

.authority-section .section-head h2 {
  color: var(--gold);
}

.authority-section .section-head p {
  color: rgba(255, 248, 234, 0.84);
}

.authority-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.online-authority {
  grid-template-columns: 1fr 1fr;
}

.certificate-only {
  grid-template-columns: minmax(0, 1fr);
}

.certificate-only .certificate-feature {
  max-width: 980px;
}

.authority-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  border: 1px solid rgba(255, 248, 234, 0.18);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 253, 246, 0.96), rgba(255, 240, 204, 0.9));
  color: var(--ink);
  box-shadow: 0 18px 46px rgba(30, 8, 4, 0.2);
}

.certificate-feature {
  grid-template-columns: 320px minmax(0, 1fr);
}

.authority-card:not(.certificate-feature) {
  grid-template-columns: 1fr;
  align-content: start;
}

.authority-card img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
  border: 1px solid rgba(169, 20, 27, 0.16);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(94, 35, 9, 0.12);
}

.authority-card:not(.certificate-feature) img {
  aspect-ratio: 1.55;
}

.platform-label {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(244, 179, 61, 0.28);
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.authority-card h3,
.single-certificate h3 {
  margin: 0 0 10px;
  color: var(--red);
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.authority-card p,
.single-certificate p {
  margin: 0;
  color: #543730;
  font-size: 16px;
  line-height: 1.42;
  font-weight: 680;
}

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

.info-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(150deg, rgba(255, 253, 246, 0.9), rgba(255, 243, 214, 0.74));
  box-shadow: 0 12px 32px rgba(86, 28, 11, 0.08);
}

.panda-card {
  min-height: 210px;
  padding-right: 94px;
}

.panda-sticker {
  position: absolute;
  z-index: 0;
  display: block;
  width: 76px;
  height: 92px;
  border: 0;
  border-radius: 0;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  filter: drop-shadow(0 10px 14px rgba(91, 23, 15, 0.18));
}

.panda-card .panda-sticker {
  top: 14px;
  right: 14px;
}

.panda-card .card-icon,
.panda-card h3,
.panda-card p,
.panda-step .num,
.panda-step h3,
.panda-step p {
  position: relative;
  z-index: 1;
}

.panda-01 { background-image: url("../assets/iycj/panda-stickers/panda-01.png"); }
.panda-02 { background-image: url("../assets/iycj/panda-stickers/panda-02.png"); }
.panda-03 { background-image: url("../assets/iycj/panda-stickers/panda-03.png"); }
.panda-04 { background-image: url("../assets/iycj/panda-stickers/panda-04.png"); }
.panda-05 { background-image: url("../assets/iycj/panda-stickers/panda-05.png"); }
.panda-06 { background-image: url("../assets/iycj/panda-stickers/panda-06.png"); }
.panda-07 { background-image: url("../assets/iycj/panda-stickers/panda-07.png"); }
.panda-08 { background-image: url("../assets/iycj/panda-stickers/panda-08.png"); }
.panda-09 { background-image: url("../assets/iycj/panda-stickers/panda-09.png"); }
.panda-10 { background-image: url("../assets/iycj/panda-stickers/panda-10.png"); }
.panda-11 { background-image: url("../assets/iycj/panda-stickers/panda-11.png"); }
.panda-12 { background-image: url("../assets/iycj/panda-stickers/panda-12.png"); }

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border: 2px solid rgba(255, 253, 246, 0.8);
  border-radius: 50%;
  background:
    linear-gradient(145deg, var(--red), var(--red-2));
  color: #fff8ea;
  box-shadow: 0 10px 22px rgba(91, 23, 15, 0.16);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
}

.card-icon-wide {
  font-size: 9px;
}

.info-card h3 {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 18px;
  line-height: 1.15;
  font-weight: 950;
}

.info-card p {
  margin: 0;
  color: #51372f;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 650;
}

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

.online .flow {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.offline .flow {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.flow-step {
  position: relative;
  min-height: 148px;
  border: 1px solid rgba(169, 20, 27, 0.18);
  border-radius: 8px;
  padding: 14px 12px;
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(94, 35, 9, 0.08);
}

.online .flow-step {
  min-height: 170px;
  padding-top: 16px;
  background:
    linear-gradient(145deg, rgba(255, 253, 246, 0.96), rgba(255, 246, 224, 0.9));
}

.online .panda-step {
  overflow: hidden;
  min-height: 190px;
  padding-right: 76px;
}

.offline .panda-step {
  overflow: hidden;
  min-height: 190px;
  padding-right: 76px;
}

.panda-step .panda-sticker {
  top: 12px;
  right: 12px;
  width: 58px;
  height: 72px;
}

.online .panda-step .step-icon {
  display: none;
}

.offline .panda-step .step-icon {
  display: none;
}

.flow-step::after {
  content: "";
  position: absolute;
  top: 38px;
  right: -8px;
  width: 14px;
  height: 14px;
  border-top: 3px solid var(--gold-2);
  border-right: 3px solid var(--gold-2);
  transform: rotate(45deg);
  background: transparent;
}

.flow-step:last-child::after {
  display: none;
}

.num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--red);
  color: #fff7e7;
  font-weight: 950;
}

.step-icon {
  position: absolute;
  top: 16px;
  right: 14px;
  display: grid;
  place-items: center;
  min-width: 46px;
  height: 34px;
  border-radius: 999px;
  padding: 0 10px;
  background:
    linear-gradient(145deg, rgba(244, 179, 61, 0.92), rgba(255, 220, 118, 0.92));
  color: var(--red);
  font-size: 11px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(91, 23, 15, 0.1);
}

.flow-step h3 {
  margin: 0 0 6px;
  color: #321d17;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 930;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 650;
}

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

.kit-card {
  position: relative;
  overflow: hidden;
  min-height: 238px;
  border: 1px solid rgba(169, 20, 27, 0.2);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 253, 246, 0.96), rgba(255, 244, 216, 0.88)),
    radial-gradient(circle at top right, rgba(244, 179, 61, 0.32), transparent 40%);
  box-shadow: 0 14px 34px rgba(92, 32, 11, 0.09);
}

.visual-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  padding: 12px 12px 18px;
}

.kit-image {
  width: 100%;
  aspect-ratio: 1.12;
  margin-bottom: 16px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(169, 20, 27, 0.12);
}

.kit-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--red);
  font-size: 24px;
  font-weight: 950;
}

.kit-card h3 {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 18px;
  line-height: 1.16;
  font-weight: 950;
}

.kit-card p {
  margin: 0;
  color: #563a32;
  font-size: 14px;
  line-height: 1.38;
  font-weight: 650;
}

.single-certificate {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(169, 20, 27, 0.2);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 253, 246, 0.96), rgba(255, 244, 216, 0.88));
  box-shadow: 0 14px 34px rgba(92, 32, 11, 0.09);
}

.single-certificate img {
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(94, 35, 9, 0.12);
}

.closing-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.date-card {
  border-radius: 8px;
  padding: clamp(22px, 4vw, 40px);
  background:
    linear-gradient(135deg, rgba(169, 20, 27, 0.96), rgba(127, 16, 22, 0.96)),
    url("../assets/iycj/iycj-logo-1200.png") right -120px center / 360px auto no-repeat;
  color: #fff8ea;
  box-shadow: var(--shadow);
}

.date-card h2 {
  color: #fff8ea;
}

.date-card p {
  max-width: 680px;
  margin: 16px 0 0;
  color: rgba(255, 248, 234, 0.86);
  font-size: 18px;
  line-height: 1.42;
  font-weight: 720;
}

.date-big {
  display: inline-block;
  margin-top: 22px;
  color: var(--gold);
  font-size: clamp(34px, 5vw, 70px);
  line-height: 0.95;
  font-weight: 950;
  text-transform: uppercase;
}

.side-note {
  display: grid;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 253, 246, 0.92);
  box-shadow: 0 12px 32px rgba(86, 28, 11, 0.08);
}

.side-note h3 {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 22px;
  font-weight: 950;
}

.side-note p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 680;
}

.footer {
  padding: 28px clamp(18px, 3vw, 46px) 44px;
  background: #3b1712;
  color: rgba(255, 248, 234, 0.78);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1220px;
  margin: 0 auto;
}

.footer b {
  color: #fff8ea;
}

.nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-links a {
  border: 1px solid rgba(255, 248, 234, 0.18);
  border-radius: 999px;
  padding: 10px 14px;
  color: #fff8ea;
  font-size: 13px;
  font-weight: 850;
}

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

  .online .brand {
    width: 100%;
    min-height: 210px;
    padding-right: clamp(190px, 34vw, 300px);
  }

  .hero-grid,
  .closing-band {
    grid-template-columns: 1fr;
  }

  .register-panel {
    max-width: 430px;
  }

  .info-grid,
  .kit-grid,
  .authority-grid,
  .online-authority {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .authority-card,
  .certificate-feature,
  .single-certificate {
    grid-template-columns: 1fr;
  }

  .flow,
  .online .flow,
  .offline .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-step::after {
    display: none;
  }
}

@media (max-width: 650px) {
  .hero {
    min-height: auto;
    padding-top: 18px;
  }

  .topbar,
  .section-head,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .mode-pill {
    font-size: 13px;
  }

  .brand-logo {
    width: 84px;
    height: 84px;
  }

  .online .brand {
    min-height: 260px;
    padding: 16px 138px 16px 16px;
  }

  .online .brand-logo {
    width: 94px;
    height: 94px;
  }

  .online .brand-mascots {
    right: -48px;
    bottom: -46px;
    width: 240px;
  }

  .kicker {
    font-size: 12px;
  }

  .brand-title {
    font-size: 18px;
  }

  h1 {
    font-size: clamp(50px, 16vw, 82px);
  }

  .info-grid,
  .kit-grid,
  .authority-grid,
  .online-authority,
  .flow,
  .online .flow,
  .offline .flow {
    grid-template-columns: 1fr;
  }
}

.online .brand.official-title-card {
  display: block;
  flex: 1 1 980px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: none;
  box-shadow: none;
}

.online .brand.official-title-card::after {
  display: none;
}

.official-title-bg {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(91, 23, 15, 0.18);
}

@media (max-width: 650px) {
  .official-title-bg {
    border-radius: 8px;
  }

  .panda-card {
    min-height: 170px;
    padding-right: 92px;
  }

  .panda-card .panda-sticker {
    width: 72px;
    height: 88px;
  }

  .online .panda-step {
    min-height: 150px;
    padding-right: 92px;
  }

  .panda-step .panda-sticker {
    width: 72px;
    height: 88px;
  }
}

.page.online .topbar,
.page.offline .topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.page.online .brand.official-title-card,
.page.offline .brand.official-title-card {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.page.online .official-title-bg,
.page.offline .official-title-bg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1672 / 941;
  object-fit: contain;
}

.page.online .panda-card .panda-sticker,
.page.online .panda-step .panda-sticker,
.page.offline .panda-card .panda-sticker,
.page.offline .panda-step .panda-sticker {
  width: 82px;
  height: 82px;
  background-size: contain;
  background-position: center;
}

.page.online .panda-card,
.page.offline .panda-card {
  padding-right: 112px;
}

.page.online .panda-step,
.page.offline .panda-step {
  padding-right: 102px;
}

@media (max-width: 760px) {
  .page.online .topbar,
  .page.offline .topbar {
    grid-template-columns: 1fr;
  }

  .page.online .mode-pill,
  .page.offline .mode-pill {
    justify-self: start;
    margin-top: 0;
  }
}

@media (max-width: 650px) {
  .page.online .hero,
  .page.offline .hero {
    padding-top: 18px;
  }

  .page.online .panda-card,
  .page.online .panda-step,
  .page.offline .panda-card,
  .page.offline .panda-step {
    padding-right: 98px;
  }

  .page.online .panda-card .panda-sticker,
  .page.online .panda-step .panda-sticker,
  .page.offline .panda-card .panda-sticker,
  .page.offline .panda-step .panda-sticker {
    width: 74px;
    height: 74px;
  }
}

.page.online .brand.official-title-card.logo-title-card,
.page.offline .brand.official-title-card.logo-title-card {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 30px);
  width: 100%;
  min-height: clamp(148px, 18vw, 230px);
  padding: clamp(18px, 3.4vw, 34px);
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(108deg, rgba(255, 189, 55, 0.96), rgba(255, 225, 151, 0.9) 48%, rgba(177, 17, 27, 0.92)),
    url("../assets/iycj/main-hero-2400.jpeg") center / cover no-repeat;
  box-shadow: 0 18px 44px rgba(91, 23, 15, 0.18);
  text-decoration: none;
}

.top-event-logo {
  flex: 0 0 auto;
  width: clamp(112px, 15vw, 186px);
  height: clamp(112px, 15vw, 186px);
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(91, 23, 15, 0.24));
}

.top-title-copy {
  display: grid;
  gap: 8px;
  color: var(--red);
  text-transform: uppercase;
}

.top-title-copy b {
  max-width: 760px;
  font-size: clamp(24px, 4.8vw, 60px);
  line-height: 0.96;
  font-weight: 950;
}

.top-title-copy span {
  color: #6c1d14;
  font-size: clamp(15px, 2.2vw, 26px);
  line-height: 1.12;
  font-weight: 900;
}

.event-badge-preview {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255, 252, 241, 0.92), rgba(234, 205, 151, 0.62)),
    repeating-linear-gradient(45deg, rgba(120, 64, 32, 0.08) 0 1px, transparent 1px 7px);
  overflow: hidden;
}

.event-badge-preview img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  border-radius: 50%;
  filter:
    drop-shadow(0 10px 14px rgba(92, 32, 11, 0.22))
    saturate(1.04)
    contrast(1.05);
}

@media (max-width: 650px) {
  .page.online .brand.official-title-card.logo-title-card,
  .page.offline .brand.official-title-card.logo-title-card {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .top-event-logo {
    width: 132px;
    height: 132px;
  }
}
