:root {
  --bg: #050608;
  --bg-alt: #0b0f16;
  --accent: #f4d35e;
  --accent-dark: #d7aa33;
  --accent-soft: rgba(244, 211, 94, 0.14);
  --green: #f9fafb;
  --text-main: #f9fafb;
  --text-sub: #9ca3af;
  --border-soft: rgba(148, 163, 184, 0.32);
}


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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Noto Sans KR", sans-serif;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(249, 250, 251, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f9fafb;
  padding: 4px 2px;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.16s ease-out;
}

.nav-menu a:hover {
  color: var(--accent);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #020617;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: #222222;
  border-radius: 999px;
}

.nav-toggle span + span {
  margin-top: 4px;
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 70vh;
  max-height: 720px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid rgba(249, 250, 251, 0.12);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.35)),
    linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: center;
  padding: 56px 20px 64px;
  color: #ffffff;
}

.hero-copy {
  max-width: 620px;
}

.hero-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.9;
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}

.hero-title span {
  color: #ffe7b8;
}

.hero-subtitle {
  margin: 0 0 24px;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-subtitle strong {
  color: #ffe7b8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.16s ease-out, transform 0.12s ease-out,
    box-shadow 0.16s ease-out, border-color 0.16s ease-out, color 0.16s;
}

.btn.primary {
  background: var(--accent);
  color: #111111;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.5);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(249, 250, 251, 0.7);
  color: #f9fafb;
}

.btn.ghost:hover {
  background: rgba(249, 250, 251, 0.08);
}

.hero-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-side {
  display: flex;
  justify-content: flex-end;
}

.hero-side-card {
  background: rgba(255, 248, 236, 0.95);
  color: #222222;
  border-radius: 18px;
  padding: 18px 18px 16px;
  max-width: 320px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.55);
}

.side-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a5803a;
  margin-bottom: 6px;
}

.side-slogan {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.side-text {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-inner {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 24px;
  padding: 32px 24px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(249, 250, 251, 0.06);
}

.section + .section {
  padding-top: 54px;
}

.section-label {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  margin: 0 0 12px;
  letter-spacing: -0.03em;
  color: var(--green);
}

.section-lead {
  font-size: 0.98rem;
  color: var(--text-sub);
  margin: 0 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 24px;
}

.section-desc {
  max-width: 520px;
  margin: 0 auto;
  font-size: 0.94rem;
  color: var(--text-sub);
}

/* Layout helpers */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: 32px;
  align-items: flex-start;
}

.section-left,
.section-right {
  position: relative;
}

/* About images */
.img-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: #111827;
}

.img-card.primary img {
  height: 260px;
  width: 100%;
  object-fit: cover;
}

.img-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.img-card.small img {
  height: 130px;
  width: 100%;
  object-fit: cover;
}

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

.bullet-item {
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background: #111827;
  padding: 12px 12px 10px;
  font-size: 0.86rem;
}

.bullet-item h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  color: var(--green);
}

/* Program */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  background: #111827;
  padding: 16px 14px 14px;
  font-size: 0.9rem;
}

.info-card h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: var(--green);
}

.info-card p {
  margin: 0 0 8px;
  color: var(--text-sub);
}

.info-card ul {
  margin: 0;
  padding-left: 18px;
}

/* Schedule */
.schedule-card {
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  background: #111827;
  padding: 14px 14px 12px;
}

.schedule-name {
  margin: 0 0 8px;
  font-weight: 600;
  color: var(--green);
}

.schedule-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  font-size: 0.9rem;
}

.schedule-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
}

.schedule-list li span:first-child {
  color: var(--text-sub);
}

.schedule-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-sub);
}

.timeline h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  color: var(--green);
}

.timeline ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  font-size: 0.9rem;
}

.timeline li {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 10px;
  padding: 5px 0;
}

.timeline .time {
  font-weight: 600;
  color: var(--text-sub);
}

.timeline .desc {
  color: var(--text-main);
}

.poster-card {
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  overflow: hidden;
  background: #111827;
  margin-top: 10px;
}

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

/* Concept */
.concept-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr);
  gap: 32px;
}

.concept-list {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-sub);
}

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

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: #111827;
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.gallery-item.wide {
  grid-column: span 3;
}

.gallery-item.wide img {
  height: 220px;
}

/* Info */
.info-list {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  font-size: 0.9rem;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
}

.info-list li span:first-child {
  color: var(--text-sub);
}

.info-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-sub);
}

.info-box {
  border-radius: 16px;
  border: 1px dashed rgba(0, 0, 0, 0.16);
  background: var(--accent-soft);
  padding: 16px 14px 14px;
  font-size: 0.9rem;
}

.info-box h3 {
  margin: 0 0 6px;
  color: var(--green);
}

.info-mini {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: var(--text-sub);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 14px 0 18px;
  background: #f4ebdd;
}

.footer-inner p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-sub);
  text-align: center;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
    max-height: none;
  }

  .hero-side {
    justify-content: flex-start;
  }

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

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

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

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

  .gallery-item.wide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding-inline: 4px;
  }

  .nav-menu {
    position: fixed;
    top: 56px;
    right: 16px;
    left: 16px;
    background: #020617;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 8px 10px 10px;
    flex-direction: column;
    gap: 4px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease-out, transform 0.16s ease-out;
  }

  .nav-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-section {
    min-height: 520px;
  }

  .hero-content {
    padding-top: 40px;
  }

  .section-inner {
    border-radius: 18px;
    padding-inline: 18px;
  }

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

  .gallery-item.wide {
    grid-column: span 1;
  }
}

@media (max-width: 520px) {
  .container {
    padding-inline: 16px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

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

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


/* Stats panel beside schedule */
.stats-panel {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  background: #fff7f0;
}

.section-label.small {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  opacity: 0.7;
}

.stats-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
}


.stats-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.stats-list li {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  opacity: 0.8;
}

.stats-note {
  font-size: 0.78rem;
  color: var(--text-sub);
}

/* Brand strip under market concept */
.brand-strip {
  padding: 0 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brand-strip-label {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.brand-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
}

/* Apply section */
.apply-section .section-inner {
  align-items: flex-start;
}

.apply-fee-list {
  margin-top: 14px;
  margin-bottom: 10px;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.apply-fee-list li + li {
  margin-top: 6px;
}


.apply-card {
  margin-bottom: 18px;
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.05), #020617 55%);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.85);
}

.apply-card.secondary {
  background: radial-gradient(circle at top left, rgba(244, 211, 94, 0.1), #020617 58%);
}

.apply-card h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.apply-card p {
  font-size: 0.9rem;
  color: var(--text-sub);
}
e: 1.02rem;
  margin-bottom: 8px;
}

.apply-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.apply-form {
  margin-top: 12px;
}

.form-row {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.form-row label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-row input,
.form-row select,
.form-row textarea {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: rgba(3, 8, 16, 0.9);
  color: #ffffff;
  font-size: 0.86rem;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.form-row textarea {
  resize: vertical;
}

.btn.primary.full {
  width: 100%;
  margin-top: 4px;
}

.btn.ghost.small {
  font-size: 0.78rem;
  padding-inline: 14px;
  padding-block: 8px;
}

.form-note {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.apply-steps {
  margin: 10px 0 10px 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.apply-steps li + li {
  margin-top: 4px;
}

.apply-contact {
  margin-top: 6px;
  margin-bottom: 10px;
  font-size: 0.88rem;
}

/* Footer powered-by */
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  flex-wrap: wrap;
}

.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-sub);
}


.powered-logos {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.powered-logos img {
  height: 22px;
  width: auto;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .stats-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .apply-section .section-inner {
    flex-direction: column;
  }
  .form-row.two {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ---- Custom NOZI MARKET extensions (results, apply modals) ---- */

/* Results section */
.results-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.results-inner {
  background: radial-gradient(circle at top, rgba(30, 64, 175, 0.16), rgba(15, 23, 42, 0.96));
  border-radius: 24px;
  padding: 1.9rem 1.9rem 1.7rem;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(30, 64, 175, 0.45);
}

.results-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: stretch;
}
.results-main .section-label.small {
  margin-bottom: 0.4rem;
}
.results-main .section-title {
  margin-bottom: 0.9rem;
}
.results-value {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.results-value strong {
  font-size: 1.6rem;
  font-weight: 700;
  margin-left: 0.35rem;
  color: var(--accent);
}
.results-caption {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 34rem;
}
.results-stats .stats-panel {
  height: 100%;
}

/* Apply fee table */
.fee-table-wrap {
  margin-top: 1.5rem;
}
.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #020617;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}
.fee-table th,
.fee-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  color: #f9fafb;
}
.fee-table thead {
  background: #111827;
  color: #f9fafb;
}
.fee-table tbody tr:nth-child(2n) {
  background: #f9fafb;
}
.fee-table tbody tr:nth-child(2n + 1) {
  background: #020617;
}
.fee-table td:nth-child(2) {
  white-space: nowrap;
  font-weight: 600;
}
.fee-note {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.apply-card .btn.full {
  width: 100%;
}
.form-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.form-note.small {
  font-size: 0.8rem;
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
}
.modal.open {
  display: flex;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}
.modal-dialog {
  position: relative;
  z-index: 1;
  max-width: 560px;
  width: calc(100% - 2rem);
  max-height: calc(100% - 4rem);
  overflow-y: auto;
  background: #020617;
  border-radius: 18px;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}
.modal-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.modal-intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: #4b5563;
}
.modal-actions {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.5rem;
}
.modal-actions .btn.full {
  width: 100%;
}
body.modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .results-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .results-section {
    padding-top: 2.75rem;
  }
}


/* ---- NOZI MARKET results breakdown UI ---- */

/* Results split breakdown */
.results-split {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 1.4rem;
  align-items: flex-start;
}


.results-categories {
  list-style: none;
  padding: 0;
  margin: 0.2rem auto 0.4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 180px));
  gap: 0.7rem;
  justify-content: center;
  text-align: center;
}

.results-cat {
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
  cursor: pointer;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.08), #020617);
  transition: background 0.18s ease-out, transform 0.18s ease-out, border-color 0.18s ease-out, box-shadow 0.18s ease-out;
  box-shadow: 0 14px 38px rgba(3, 7, 18, 0.75);
}

.results-cat .cat-label {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.results-cat .cat-value {
  font-size: 0.8rem;
  color: var(--accent);
}

.results-cat:hover {
  transform: translateY(-1px);
  border-color: rgba(244, 211, 94, 0.7);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.95);
}

.results-cat.active {
  background: radial-gradient(circle at top left, rgba(244, 211, 94, 0.18), #020617);
  border-color: rgba(244, 211, 94, 0.95);
}

.results-formulas {
  border-radius: 16px;
  padding: 1rem 1.15rem 0.9rem;
  background: radial-gradient(circle at top, rgba(30, 64, 175, 0.18), #020617);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(17, 24, 39, 0.9);
}

.formula-panel {
  display: none;
}

.formula-panel.is-active {
  display: block;
}

.formula-title {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.45rem;
  color: var(--accent-soft);
}

.formula-eq {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  background: rgba(15, 23, 42, 0.65);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  margin-bottom: 0.55rem;
  overflow-x: auto;
}

.formula-eq .subscript {
  font-size: 0.78em;
  vertical-align: sub;
}

.formula-legend {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.formula-legend li + li {
  margin-top: 0.25rem;
}

@media (max-width: 900px) {
  .results-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .results-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
x) {
  .results-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .results-categories {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .results-categories {
    grid-template-columns: minmax(0, 1fr);
  }
}


.results-categories {
  text-align: center;
  justify-items: center;
}
.results-categories .results-cat {
  align-items: center;
}


/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  transition-delay: var(--reveal-delay, 0s);
}

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


.brand-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.partner-logo {
  background: #050608;
  border-radius: 18px;
  padding: 10px 18px;
  border: 1px solid rgba(156, 163, 175, 0.4);
  min-width: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.partner-logo img {
  max-height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: grayscale(0.1);
  opacity: 0.94;
}

.partner-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}


.history-section .section-inner {
  padding-bottom: 28px;
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.history-item {
  position: relative;
  padding: 18px 18px 18px;
  border-radius: 18px;
  border: 1px solid rgba(156, 163, 175, 0.45);
  background: radial-gradient(circle at top left, rgba(244, 211, 94, 0.12), #050608 48%);
}

.history-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.history-round {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.history-date {
  font-size: 0.8rem;
  color: var(--text-sub);
}

.history-title {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.history-summary {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 10px;
}

.history-location {
  border-top: 1px dashed rgba(75, 85, 99, 0.65);
  padding-top: 8px;
  margin-top: 4px;
}

.location-name {
  font-size: 0.9rem;
}

.location-coord {
  font-size: 0.8rem;
  color: var(--text-sub);
  margin-bottom: 6px;
}


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

.nav-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.nav-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-kakao {
  background: #fee500;
}

.nav-tmap {
  background: #111827;
}

@media (max-width: 900px) {
  .history-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}



.modal,
.modal-dialog,
.modal-title,
.modal-intro,
.modal-list,
.modal-footnote {
  color: #f9fafb;
}
.modal-list li {
  margin-bottom: 0.4rem;
}


.results-chart-wrap {
  margin-top: 1.75rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(148, 163, 184, 0.45);
}
.results-chart-wrap .chart-title {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}
#resultsChart {
  width: 100%;
  max-height: 260px;
}
@media (min-width: 1024px) {
  #resultsChart {
    max-height: 280px;
  }
}
