:root {
  --space: #0e1424;
  --space-2: #151c33;
  --surface: #ffffff;
  --surface-soft: #f5f7fb;
  --text: #111827;
  --muted: #667085;
  --line: #d9e0ec;
  --red: #e53935;
  --blue: #24c6ff;
  --lime: #9cff45;
  --yellow: #ffd166;
  --cyan: #45f0ff;
  --green: #23a56f;
  --warning: #f5a524;
  --danger: #d94c43;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  background: var(--space);
  color: var(--text);
  font-family: "Segoe UI", "Malgun Gothic", sans-serif;
}

button,
a,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font-family: inherit;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 42px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(14, 20, 36, 0.84);
  color: #fff;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, transparent 38%, rgba(255, 255, 255, 0.35) 39% 48%, transparent 49%),
    linear-gradient(135deg, var(--red), var(--blue));
  box-shadow: 0 0 26px rgba(36, 198, 255, 0.42);
  transform: rotate(-8deg);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
}

.tabs,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab,
.filter {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  cursor: pointer;
}

.tab {
  min-width: 92px;
  padding: 0 16px;
}

.tab.active,
.filter.active {
  background: #fff;
  color: var(--space);
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.participant-view {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 14%, rgba(36, 198, 255, 0.3), transparent 28%),
    radial-gradient(circle at 80% 8%, rgba(156, 255, 69, 0.2), transparent 24%),
    linear-gradient(180deg, #0e1424 0%, #121a31 48%, #f5f7fb 48%);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(24px, 5vw, 62px);
  min-height: calc(100svh - 76px);
  padding: clamp(36px, 6vw, 76px) clamp(18px, 5vw, 72px) 84px;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, #000, transparent 88%);
}

.hero-copy,
.world-stage {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: min(680px, 100%);
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.98;
  font-weight: 950;
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.1;
  font-weight: 930;
}

h3 {
  font-size: 22px;
  line-height: 1.22;
}

.hero-lead {
  max-width: 650px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.primary-action {
  border: 0;
  background: var(--yellow);
  color: #1f2937;
  box-shadow: 0 14px 34px rgba(255, 209, 102, 0.28);
  cursor: pointer;
}

.primary-action.compact {
  min-height: 44px;
  padding: 0 16px;
  box-shadow: none;
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 640px;
  margin-top: 32px;
}

.hero-stats span {
  display: grid;
  gap: 4px;
  min-height: 78px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}

.hero-stats strong {
  color: var(--lime);
}

.world-stage {
  display: grid;
  place-items: center;
  min-height: 520px;
  position: relative;
  transition: transform 180ms ease;
}

.hero-art {
  width: min(760px, 100%);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.42),
    0 0 90px rgba(36, 198, 255, 0.16);
}

.world-stage::after {
  content: "";
  position: absolute;
  inset: 8% 2% 4%;
  pointer-events: none;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(14, 20, 36, 0.38), transparent 38%),
    radial-gradient(circle at 65% 45%, rgba(36, 198, 255, 0.16), transparent 34%);
}

.floating-card {
  position: absolute;
  z-index: 2;
  width: min(260px, 46vw);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(8, 12, 24, 0.78);
  color: #fff;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.floating-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.ai-panel {
  top: 14%;
  left: 4%;
}

.ai-panel i {
  display: block;
  height: 8px;
  margin-top: 14px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--lime));
  animation: scan 2.4s ease-in-out infinite;
}

.quest-card {
  right: 2%;
  bottom: 2%;
}

.mission-section,
.process-section,
.criteria-section,
.festival-section,
.ai-guide-section {
  padding: 78px clamp(18px, 5vw, 72px);
  background: var(--surface-soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  color: #4b5563;
  font-size: 17px;
  line-height: 1.7;
}

.section-heading .eyebrow {
  color: var(--red);
}

.mission-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 22px;
}

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

.mission,
.criteria,
.step {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.mission {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 14px 16px;
  background: #fff;
  color: var(--text);
  font-weight: 900;
  text-align: left;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

.mission span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #eef4ff;
  color: var(--red);
}

.mission.active {
  background: var(--space);
  color: #fff;
}

.mission.active span {
  background: var(--yellow);
  color: #111827;
}

.mission-detail,
.process-detail,
.criteria-note {
  min-height: 320px;
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

.mission-detail .eyebrow {
  color: var(--blue);
}

.mission-detail p,
.process-detail p,
.criteria-note {
  color: #4b5563;
  font-size: 17px;
  line-height: 1.7;
}

.mission-detail ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: #374151;
}

.mission-use-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.mission-use-grid div {
  min-height: 122px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.mission-use-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--space);
}

.mission-use-grid p {
  font-size: 15px;
  line-height: 1.6;
}

.ai-guide-section {
  background:
    radial-gradient(circle at 82% 12%, rgba(156, 255, 69, 0.18), transparent 24%),
    linear-gradient(135deg, #10182b, #18233f);
  color: #fff;
}

.ai-guide-section .section-heading .eyebrow {
  color: var(--lime);
}

.ai-guide-section .section-heading p {
  color: rgba(255, 255, 255, 0.76);
}

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

.ai-guide-grid article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.ai-guide-grid span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: var(--lime);
  color: #111827;
  font-weight: 950;
}

.ai-guide-grid p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.process-section {
  background: #fff;
}

.festival-section {
  background:
    radial-gradient(circle at 16% 18%, rgba(36, 198, 255, 0.18), transparent 26%),
    linear-gradient(135deg, #111827, #17203a);
  color: #fff;
}

.festival-section .section-heading .eyebrow {
  color: var(--yellow);
}

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

.festival-grid article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.festival-grid span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--yellow);
  color: #111827;
  font-weight: 950;
}

.festival-grid p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.step {
  position: relative;
  min-height: 104px;
  padding: 16px;
  background: #f3f6fb;
  text-align: left;
}

.step span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.step strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
}

.step.active {
  background: var(--space);
  color: #fff;
}

.step.active span {
  color: var(--lime);
}

.criteria-section {
  padding-bottom: 96px;
}

.criteria-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.criteria {
  min-height: 48px;
  padding: 0 16px;
  background: #fff;
  color: var(--space);
  font-weight: 900;
}

.criteria.active {
  background: var(--red);
  color: #fff;
}

.criteria-note {
  min-height: auto;
}

.tool-view {
  min-height: calc(100svh - 76px);
  padding: 34px clamp(18px, 4vw, 44px) 54px;
  background: #f4f6fb;
}

.tool-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.tool-header .eyebrow {
  color: #3563e9;
}

select {
  min-width: 280px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.panel,
.metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.panel {
  padding: 22px;
}

.notice {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #c7d7fe;
  border-radius: 8px;
  background: #eef4ff;
  color: #1e3a8a;
  font-weight: 800;
  line-height: 1.55;
}

.judge-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.wide {
  grid-column: 1 / -1;
}

.work-summary p:not(.eyebrow) {
  margin-top: 12px;
  color: #4b5563;
  line-height: 1.65;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.detail-list div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.detail-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.detail-list dd {
  margin: 6px 0 0;
  color: #374151;
  line-height: 1.6;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.link-row a,
.rubric span,
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 8px;
  background: #eef4ff;
  color: #2457d6;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.link-row a.disabled {
  pointer-events: none;
  background: #f1f5f9;
  color: #94a3b8;
}

.panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.panel-title-row h3 {
  margin: 0;
}

.score-panel {
  display: grid;
  align-content: start;
  gap: 14px;
}

.score-ring {
  display: grid;
  place-items: center;
  width: 122px;
  height: 122px;
  border-radius: 50%;
  background: conic-gradient(var(--blue) 0deg, var(--blue) 302deg, #e6edf8 302deg);
}

.score-ring span {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #fff;
  color: var(--space);
  font-size: 28px;
  font-weight: 950;
}

.rubric {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.rubric span {
  justify-content: center;
  min-height: 56px;
  text-align: center;
}

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

.score-item {
  display: grid;
  gap: 12px;
  min-height: 180px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.score-item div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.score-item strong {
  color: var(--space);
}

.score-item span {
  color: #2457d6;
  font-weight: 950;
}

.score-item p,
#reviewNotes,
.empty-state {
  color: #4b5563;
  line-height: 1.65;
}

.insight-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 20px;
  color: #374151;
  line-height: 1.6;
}

.risk-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.metric {
  padding: 18px;
}

.metric span {
  color: var(--muted);
  font-weight: 900;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 34px;
}

.filter {
  min-width: 86px;
  padding: 0 12px;
  border-color: var(--line);
  background: #fff;
  color: #334155;
}

.filter.active {
  background: var(--space);
  color: #fff;
}

.tool-view > .filters {
  margin-bottom: 18px;
}

.table-count {
  color: var(--muted);
  font-weight: 900;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

th {
  color: var(--muted);
  font-size: 13px;
}

.badge.warning {
  background: #fff2d1;
  color: #8a5c00;
}

.badge.danger {
  background: #f8dfdc;
  color: var(--danger);
}

.badge.top {
  background: #e7f2ff;
  color: #1c5ed6;
}

.badge.muted {
  background: #f1f5f9;
  color: #64748b;
}

.toast {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: 24px;
  z-index: 20;
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 16px;
  border: 1px solid #c7d7fe;
  border-radius: 8px;
  background: #fff;
  color: #1e3a8a;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.18);
  font-weight: 800;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.load-error {
  display: grid;
  align-content: center;
  min-height: 100svh;
  padding: 40px;
  background: #f8fafc;
}

.load-error h1 {
  color: var(--space);
  font-size: 34px;
  line-height: 1.15;
}

.load-error p {
  max-width: 760px;
  margin-top: 14px;
  color: #4b5563;
  line-height: 1.7;
}

.load-error code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #e2e8f0;
  color: #0f172a;
}

@keyframes scan {
  0%,
  100% {
    transform: scaleX(0.32);
    transform-origin: left;
  }
  50% {
    transform: scaleX(1);
    transform-origin: left;
  }
}

@media (max-width: 980px) {
  .hero,
  .mission-layout,
  .judge-layout {
    grid-template-columns: 1fr;
  }

  .world-stage {
    min-height: 440px;
  }

  .timeline,
  .metric-grid,
  .rubric,
  .festival-grid,
  .ai-guide-grid,
  .score-breakdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-nav,
  .tool-header {
    align-items: stretch;
    flex-direction: column;
  }

  .tabs {
    display: flex;
    width: min(342px, 100%);
    max-width: 342px;
    min-width: 0;
    gap: 6px;
  }

  .tab {
    flex: 0 0 110px;
    width: 110px;
    min-width: 0;
    max-width: 100%;
    padding: 0 8px;
    font-size: 14px;
  }

  .hero {
    max-width: 100vw;
    grid-template-columns: minmax(0, 1fr);
    padding-top: 32px;
    overflow: hidden;
  }

  h1 {
    max-width: min(342px, calc(100vw - 48px));
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.04;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero-lead {
    max-width: min(342px, calc(100vw - 48px));
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .hero-actions,
  .hero-stats {
    max-width: min(342px, calc(100vw - 48px));
  }

  .world-stage {
    min-height: 390px;
  }

  .hero-art {
    width: 100%;
  }

  .hero-stats,
  .timeline,
  .metric-grid,
  .rubric,
  .festival-grid,
  .ai-guide-grid,
  .score-breakdown,
  .mission-use-grid {
    grid-template-columns: 1fr;
  }

  .floating-card {
    width: min(230px, 74vw);
  }

  .ai-panel {
    left: 4%;
  }

  .quest-card {
    right: auto;
    left: 4%;
    bottom: -42px;
  }

  .mission-detail,
  .process-detail,
  .criteria-note {
    padding: 22px;
  }

  .link-row a {
    width: 100%;
    justify-content: center;
  }
}


/* 2026 participant recruitment refresh */
.brand::before {
  content: "";
  width: 84px;
  height: 34px;
  background: url("assets/center-logo.png") center / contain no-repeat;
  border-radius: 6px;
}

.primary-action small,
.secondary-action small {
  display: block;
  margin-left: 8px;
  font-size: 11px;
  opacity: 0.72;
}

.disabled-action {
  opacity: 0.82;
  cursor: not-allowed;
}

.center-stage::before {
  content: "";
  position: absolute;
  width: 78%;
  height: 78%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(36, 198, 255, 0.28), transparent 68%);
  filter: blur(10px);
}

.center-model-art {
  position: relative;
  object-fit: contain;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  padding: 18px;
}

.overview-section,
.download-section,
.quest-section,
.ideas-section,
.howto-section,
.prize-section,
.apply-section {
  padding: 78px clamp(18px, 5vw, 72px);
  background: var(--surface-soft);
}

.overview-grid,
.quest-grid,
.prize-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.overview-grid article,
.quest-grid article,
.prize-grid article {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.08);
}

.overview-grid span,
.prize-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-weight: 950;
}

.overview-grid strong,
.prize-grid strong {
  color: var(--space);
  font-size: 24px;
  line-height: 1.25;
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 30px;
  align-items: center;
  background: #fff;
}

.download-copy p:not(.eyebrow),
.apply-section p,
.small-note {
  color: #4b5563;
  font-size: 17px;
  line-height: 1.7;
}

.rule-callout {
  margin: 22px 0;
  padding: 18px;
  border: 2px solid rgba(36, 198, 255, 0.28);
  border-radius: 12px;
  background: #eefbff;
}

.rule-callout strong {
  display: block;
  margin-bottom: 6px;
  color: #075985;
}

.model-gallery {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 12px;
}

.model-gallery img {
  width: 100%;
  min-height: 170px;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: linear-gradient(145deg, #10182b, #18233f);
  box-shadow: var(--shadow);
}

.model-gallery img:first-child {
  grid-row: span 2;
}

.quest-section {
  background: linear-gradient(135deg, #111827, #18233f);
  color: #fff;
}

.quest-section .section-heading .eyebrow {
  color: var(--lime);
}

.quest-grid article {
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: #fff;
}

.quest-grid span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--yellow);
  color: #111827;
  font-weight: 950;
}

.quest-grid p {
  margin-top: 12px;
  color: rgba(255,255,255,.76);
  line-height: 1.65;
}

.ideas-section {
  background: #fff;
}

.idea-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.idea-chips span {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1e3a8a;
  font-weight: 950;
}

.howto-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.howto-list li {
  counter-increment: step;
  min-height: 190px;
  padding: 22px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.08);
}

.howto-list li::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--space);
  color: var(--lime);
  font-weight: 950;
}

.howto-list strong,
.howto-list span {
  display: block;
}

.howto-list span {
  margin-top: 10px;
  color: #4b5563;
  line-height: 1.6;
}

.prize-section {
  background: #fff;
}

.prize-grid article {
  text-align: center;
  background: linear-gradient(180deg, #fff8df, #fff);
}

.prize-grid strong {
  font-size: clamp(34px, 5vw, 54px);
  color: #b45309;
}

.apply-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, #10182b, #17203a);
  color: #fff;
}

.apply-section p {
  color: rgba(255,255,255,.78);
}

.apply-actions {
  display: grid;
  gap: 12px;
}

.contact-note {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-weight: 800;
}

@media (max-width: 980px) {
  .overview-grid,
  .quest-grid,
  .prize-grid,
  .download-section,
  .apply-section,
  .howto-list {
    grid-template-columns: 1fr 1fr;
  }
  .apply-section > div:first-child,
  .contact-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .overview-grid,
  .quest-grid,
  .prize-grid,
  .download-section,
  .apply-section,
  .howto-list,
  .model-gallery {
    grid-template-columns: 1fr;
  }
  .brand::before {
    width: 72px;
  }
  .model-gallery img:first-child {
    grid-row: auto;
  }
}


.hero-video {
  position: relative;
  display: block;
  object-fit: cover;
  background: #0b1020;
  filter: saturate(1.08) contrast(1.04);
}

.video-fallback {
  display: none;
}

.world-stage.video-failed .hero-video {
  display: none;
}

.world-stage.video-failed .video-fallback {
  display: block;
}

.world-stage::after {
  background:
    linear-gradient(90deg, rgba(14, 20, 36, 0.44), transparent 42%),
    radial-gradient(circle at 65% 45%, rgba(36, 198, 255, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.24));
}


/* Hero trailer background tuning */
.world-stage:has(.hero-video) {
  min-height: 560px;
}

.world-stage:has(.hero-video) .hero-art {
  width: min(820px, 100%);
  height: min(560px, 66vh);
  min-height: 440px;
  aspect-ratio: auto;
  border-radius: 18px;
}

.world-stage:has(.hero-video)::after {
  inset: 4% 0 0;
  border-radius: 18px;
}

.world-stage:has(.hero-video) .floating-card {
  background: rgba(8, 12, 24, 0.68);
}

@media (max-width: 980px) {
  .world-stage:has(.hero-video),
  .world-stage:has(.hero-video) .hero-art {
    min-height: 380px;
  }
  .world-stage:has(.hero-video) .hero-art {
    height: 420px;
  }
}

@media (max-width: 680px) {
  .world-stage:has(.hero-video),
  .world-stage:has(.hero-video) .hero-art {
    min-height: 300px;
  }
  .world-stage:has(.hero-video) .hero-art {
    height: 320px;
  }
}
