:root {
  --ink: #f1f1f2;
  --muted: #a8a9b3;
  --deep: #06070c;
  --deep-2: #090b14;
  --deep-3: #0d101a;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: #10131f;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(139, 108, 255, 0.36);
  --violet: #8b6cff;
  --violet-2: #5e43d8;
  --cyan: #60d7ff;
  --green: #48d27d;
  --yellow: #ffd34f;
  --pink: #f0619a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--deep);
  background-size: 32px 32px, 32px 32px, auto;
  font-family: Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

:focus-visible {
  outline: 3px solid rgba(139, 108, 255, 0.55);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 12px clamp(18px, 4vw, 56px);
  color: #ffffff;
  background: rgba(6, 7, 12, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  min-width: 0;
  font-weight: 950;
}

.brand-symbol {
  display: block;
  width: 40px;
  height: 35px;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.18));
}

.brand-name {
  color: #ffffff;
  font-size: 1rem;
  letter-spacing: 0;
}

.nav-links {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  font-weight: 850;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(139, 108, 255, 0.16);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 3vw, 38px) 0 clamp(34px, 4vw, 54px);
  color: #ffffff;
  background:
    linear-gradient(180deg, #05060a, #070811),
    #05060a;
  border-bottom: 1px solid var(--line);
}

.hero-poster-image {
  display: block;
  width: min(1200px, calc(100% - 36px));
  height: auto;
  min-height: 0;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  border: 1px solid rgba(139, 108, 255, 0.24);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-cta-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 72px));
  margin: -72px auto 0;
  padding: 16px 18px;
  background: rgba(6, 7, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-cta-bar p {
  display: grid;
  gap: 3px;
  margin: 0;
}

.hero-cta-bar strong {
  font-size: 1.16rem;
}

.hero-cta-bar span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 780;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 950;
  cursor: pointer;
  white-space: nowrap;
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--violet), var(--violet-2));
  box-shadow: 0 14px 34px rgba(139, 108, 255, 0.32);
}

.button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
}

.button:disabled {
  cursor: wait;
  opacity: 0.66;
}

.world-preview-section {
  padding: clamp(42px, 6vw, 76px) 0;
  background:
    linear-gradient(180deg, #05060a, var(--deep)),
    var(--deep);
  border-top: 1px solid var(--line);
}

.world-preview-shell {
  display: grid;
  gap: 20px;
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
}

.world-preview-head {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.52fr);
  gap: clamp(18px, 4vw, 48px);
  align-items: end;
}

.world-preview-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
  word-break: keep-all;
}

.world-preview-head p:not(.contest-label) {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 720;
  word-break: keep-all;
}

.world-frame-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1200 / 600;
  background: #05080d;
  border: 1px solid rgba(139, 108, 255, 0.34);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.world-frame-poster,
.world-frame-card iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.world-frame-poster {
  z-index: 1;
  object-fit: cover;
  opacity: 1;
  transition: opacity 520ms ease;
}

.world-frame-card iframe {
  z-index: 2;
  border: 0;
  opacity: 0;
  transition: opacity 520ms ease;
}

.world-frame-loading {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(5, 8, 13, 0.42), rgba(5, 8, 13, 0.72)),
    radial-gradient(circle at center, rgba(139, 108, 255, 0.22), transparent 38%);
  opacity: 1;
  transition: opacity 420ms ease;
}

.world-frame-loading span,
.world-frame-loading strong,
.world-frame-loading em,
.world-frame-loading i {
  display: block;
}

.world-frame-loading span {
  margin-bottom: 10px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.world-frame-loading strong {
  max-width: 620px;
  color: #ffffff;
  font-size: clamp(1.25rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: 0;
  word-break: keep-all;
}

.world-frame-loading em {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  font-weight: 800;
}

.world-frame-loading i {
  position: relative;
  overflow: hidden;
  width: min(320px, 70%);
  height: 6px;
  margin: 18px auto 0;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.world-frame-loading i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 42%;
  background: linear-gradient(90deg, var(--violet), var(--yellow));
  border-radius: inherit;
  animation: world-loading-bar 1.2s ease-in-out infinite;
}

@keyframes world-loading-bar {
  0% {
    transform: translateX(-110%);
  }

  100% {
    transform: translateX(250%);
  }
}

.world-frame-card.is-ready iframe {
  opacity: 1;
}

.world-frame-card.is-ready .world-frame-poster,
.world-frame-card.is-ready .world-frame-loading {
  opacity: 0;
  pointer-events: none;
}

.world-frame-open {
  justify-self: end;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid rgba(139, 108, 255, 0.72);
}

.world-frame-open:hover {
  color: #ffffff;
}

.content-section {
  position: relative;
  padding: clamp(76px, 9vw, 120px) 0;
  border-top: 1px solid var(--line);
}

.intro-section {
  background: linear-gradient(180deg, var(--deep), #080a12);
}

.program-section {
  background: linear-gradient(180deg, #080a12, #0a0d16);
}

.outcome-section {
  background: linear-gradient(180deg, #0a0d16, #070811);
}

.faq-section {
  background: #070811;
}

.apply-section {
  background: linear-gradient(180deg, #070811, #0d101a);
}

.section-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.section-heading,
.apply-copy {
  max-width: 840px;
  margin-bottom: clamp(26px, 4vw, 40px);
}

.section-heading h2,
.apply-copy h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.05rem, 4.4vw, 4rem);
  line-height: 1.06;
  letter-spacing: 0;
  word-break: keep-all;
}

.section-heading p:not(.contest-label),
.apply-copy p:not(.contest-label) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  font-weight: 680;
  word-break: keep-all;
}

.contest-label {
  margin: 0 0 12px;
  color: var(--violet);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 18px;
  align-items: stretch;
}

.statement-card,
.purpose-cards article,
.fact-grid article,
.support-grid article,
.schedule-strip,
.showcase-card,
.outcome-list article,
.faq-list details,
.apply-panel,
.license-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.statement-card {
  display: grid;
  align-content: end;
  min-height: 420px;
  padding: clamp(24px, 4vw, 42px);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(139, 108, 255, 0.2), rgba(96, 215, 255, 0.06)),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.statement-card span,
.showcase-card span {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.statement-card h3 {
  max-width: 760px;
  margin: 12px 0 16px;
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: 0;
  word-break: keep-all;
}

.statement-card p,
.purpose-cards p,
.fact-grid p,
.support-grid p,
.showcase-card p,
.outcome-list p,
.faq-list p,
.license-panel p:not(.contest-label) {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 650;
  word-break: keep-all;
}

.purpose-cards {
  display: grid;
  gap: 12px;
}

.purpose-cards article {
  display: grid;
  gap: 10px;
  min-height: 132px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.052);
}

.purpose-cards strong {
  color: #ffffff;
  font-size: 1.2rem;
}

.purpose-cards article:nth-child(1) {
  border-color: rgba(240, 97, 154, 0.36);
}

.purpose-cards article:nth-child(2) {
  border-color: rgba(96, 215, 255, 0.34);
}

.purpose-cards article:nth-child(3) {
  border-color: rgba(72, 210, 125, 0.34);
}

.program-board {
  display: grid;
  gap: 16px;
}

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

.fact-grid article {
  min-height: 166px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.fact-grid span,
.schedule-strip span {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 950;
}

.fact-grid strong {
  display: block;
  color: #ffffff;
  font-size: clamp(1.25rem, 2vw, 1.68rem);
  line-height: 1.12;
}

.fact-grid p {
  margin-top: 12px;
}

.schedule-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(139, 108, 255, 0.18), rgba(255, 211, 79, 0.06)),
    rgba(255, 255, 255, 0.046);
}

.schedule-strip div {
  min-width: 0;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
}

.schedule-strip strong {
  display: block;
  color: #ffffff;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.2;
}

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

.support-grid article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.048);
}

.support-grid strong,
.outcome-list strong {
  display: block;
  color: #ffffff;
  font-size: 1.08rem;
}

.support-grid p,
.outcome-list p {
  margin-top: 8px;
}

.outcome-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 16px;
  align-items: stretch;
}

.showcase-card {
  overflow: hidden;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.showcase-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.showcase-card div {
  padding: clamp(20px, 3vw, 30px);
}

.showcase-card h3 {
  margin: 10px 0 10px;
  color: #ffffff;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: 0;
  word-break: keep-all;
}

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

.outcome-list article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.052);
}

.outcome-list span {
  display: grid;
  width: 38px;
  height: 30px;
  margin-bottom: 16px;
  place-items: center;
  color: #ffffff;
  background: var(--violet);
  border-radius: 6px;
  font-weight: 950;
}

.outcome-list article:nth-child(2) span {
  background: var(--cyan);
  color: #061017;
}

.outcome-list article:nth-child(3) span {
  background: var(--green);
  color: #06110b;
}

.outcome-list article:nth-child(4) span {
  background: var(--yellow);
  color: #161103;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: rgba(255, 255, 255, 0.052);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 18px 20px;
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
  word-break: keep-all;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  display: grid;
  width: 28px;
  min-width: 28px;
  height: 28px;
  place-items: center;
  color: #ffffff;
  background: rgba(139, 108, 255, 0.22);
  border: 1px solid rgba(139, 108, 255, 0.34);
  border-radius: 8px;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  padding: 0 20px 18px;
}

.apply-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(22px, 5vw, 58px);
  align-items: start;
}

.apply-panel {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--panel-strong);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

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

.application-form > input[type="hidden"] {
  display: none;
}

.submitted-message {
  margin: 0;
  padding: 13px 15px;
  color: #ffffff;
  background: rgba(72, 210, 125, 0.16);
  border: 1px solid rgba(72, 210, 125, 0.38);
  border-radius: 8px;
  font-weight: 850;
}

.form-status {
  margin: 0;
  padding: 13px 15px;
  color: #ffffff;
  border-radius: 8px;
  font-weight: 850;
}

.form-status.is-pending {
  background: rgba(139, 108, 255, 0.16);
  border: 1px solid rgba(139, 108, 255, 0.38);
}

.form-status.is-success {
  background: rgba(72, 210, 125, 0.16);
  border: 1px solid rgba(72, 210, 125, 0.38);
}

.form-status.is-warning {
  background: rgba(255, 205, 88, 0.13);
  border: 1px solid rgba(255, 205, 88, 0.36);
}

label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: #ffffff;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-weight: 700;
}

textarea {
  resize: vertical;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

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

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.consent input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--violet);
}

.company-section {
  padding-top: 58px;
  padding-bottom: 78px;
}

.license-panel {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(20px, 4vw, 28px);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.045);
}

.license-panel img {
  display: block;
  width: min(260px, 100%);
  height: auto;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.16));
}

.license-panel h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.license-panel p:not(.contest-label) {
  max-width: 780px;
  margin-top: 12px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.74);
  background: #05060a;
  border-top: 1px solid var(--line);
}

.site-footer strong {
  color: #ffffff;
}

@media (max-width: 980px) {
  .intro-layout,
  .outcome-layout,
  .faq-layout,
  .apply-layout,
  .world-preview-head,
  .license-panel {
    grid-template-columns: 1fr;
  }

  .fact-grid,
  .support-grid,
  .outcome-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-poster-image {
    height: auto;
    min-height: 0;
  }

  .hero-cta-bar {
    position: static;
    align-items: stretch;
    flex-direction: column;
    width: calc(100% - 28px);
    margin: -14px auto 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding: 10px 14px;
  }

  .brand-name {
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-links {
    width: 100%;
    gap: 4px;
    justify-content: flex-start;
  }

  .nav-links a {
    padding: 7px 8px;
    font-size: 0.84rem;
  }

  .hero-actions,
  .schedule-strip,
  .fact-grid,
  .support-grid,
  .outcome-list,
  .application-form {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
    white-space: normal;
  }

  .content-section {
    padding: 62px 0;
  }

  .section-shell,
  .license-panel {
    width: calc(100% - 28px);
  }

  .world-frame-loading {
    padding: 14px;
  }

  .world-frame-card {
    aspect-ratio: auto;
    min-height: min(112vw, 440px);
  }

  .world-frame-open {
    justify-self: stretch;
    min-height: 44px;
    display: inline-grid;
    place-items: center;
    padding: 0 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(139, 108, 255, 0.42);
    border-radius: 6px;
    text-align: center;
  }

  .world-frame-loading span {
    margin-bottom: 6px;
    font-size: 0.68rem;
  }

  .world-frame-loading strong {
    font-size: 1rem;
  }

  .world-frame-loading i {
    width: 72%;
    height: 5px;
    margin-top: 10px;
  }

  .world-frame-loading em {
    display: none;
  }

  .statement-card {
    min-height: 0;
  }
}
