:root {
  --page-bg: #090806;
  --page-bg-2: #18100b;
  --panel-bg: rgba(13, 10, 8, 0.96);
  --panel-line: rgba(255, 214, 115, 0.3);
  --text-main: #fdfbf6;
  --text-sub: rgba(253, 251, 246, 0.78);
  --gold-1: #fff2c0;
  --gold-2: #ffd56f;
  --gold-3: #c8831f;
  --red-1: #ff9a8c;
  --red-2: #ff240d;
  --red-3: #a10000;
  --shadow-strong: 0 36px 90px rgba(0, 0, 0, 0.5);
  --shell-width: 1000px;
}

@font-face {
  font-family: "Gmarket Sans";
  src: url("../fonts/GmarketSansBold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 210, 104, 0.22), transparent 26%),
    radial-gradient(circle at 10% 30%, rgba(255, 157, 31, 0.1), transparent 24%),
    radial-gradient(circle at 90% 20%, rgba(255, 157, 31, 0.1), transparent 24%),
    linear-gradient(180deg, var(--page-bg-2), var(--page-bg));
  color: var(--text-main);
  font-family: "Noto Sans KR", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 208, 112, 0.16), transparent 6%, transparent 94%, rgba(255, 208, 112, 0.16)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 10%, transparent 90%, rgba(255, 255, 255, 0.03));
}

.promo-page {
  min-height: 100vh;
}

.promo-shell {
  width: min(100%, var(--shell-width));
  margin: 0 auto;
  padding: 0 0 56px;
  background:
    radial-gradient(circle at 50% 6%, rgba(255, 222, 121, 0.28), transparent 16%),
    linear-gradient(180deg, rgba(26, 18, 12, 0.94), rgba(8, 8, 8, 0.98));
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.promo-hero {
  padding: 0 28px 10px;
}

.hero-image-frame {
  margin: 0 -28px;
  border-bottom: 3px solid rgba(255, 214, 115, 0.32);
  box-shadow: 0 22px 34px rgba(0, 0, 0, 0.34);
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 420px;
  padding: 40px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(24, 18, 13, 0.45), rgba(8, 8, 8, 0.72)),
    radial-gradient(circle at 50% 18%, rgba(255, 216, 111, 0.3), transparent 28%),
    linear-gradient(135deg, rgba(255, 206, 95, 0.08), rgba(255, 206, 95, 0.02));
}

.hero-image-placeholder__eyebrow {
  color: var(--gold-2);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-image-placeholder strong {
  font-family: "Gmarket Sans", "Noto Sans KR", sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.hero-copy {
  padding-top: 52px;
  text-align: center;
}

.hero-kicker {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.hero-title {
  margin: 0;
  font-family: "Gmarket Sans", "Noto Sans KR", sans-serif;
  font-size: clamp(64px, 10.5vw, 118px);
  line-height: 1.1;
  letter-spacing: -0.06em;
}

.hero-title > span {
  display: block;
}

.hero-title__gold {
  background: linear-gradient(180deg, #fff8dc 0%, #ffe08a 36%, #c77e18 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 10px 18px rgba(0, 0, 0, 0.34);
}

.hero-title__red {
  margin-top: 6px;
  background: linear-gradient(180deg, var(--red-1) 0%, var(--red-2) 42%, var(--red-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 10px 18px rgba(0, 0, 0, 0.4);
}

.hero-description {
  width: min(100%, 760px);
  margin: 22px auto 0;
  color: var(--text-sub);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.5;
}

.section-divider {
  display: block;
  width: 100%;
  height: 114px;
  object-fit: cover;
  object-position: center;
}

.section-divider--bottom {
  height: 114px;
  margin: 16px auto 0;
}

.intro-panel {
  padding: 10px 38px 0;
  text-align: center;
}

.intro-badge {
  margin: 0;
  color: var(--gold-2);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.intro-title {
  margin: 12px 0 0;
  font-family: "Gmarket Sans", "Noto Sans KR", sans-serif;
  font-size: clamp(46px, 6vw, 82px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.intro-description {
  width: min(100%, 760px);
  margin: 16px auto 0;
  color: var(--text-sub);
  font-size: clamp(20px, 2.3vw, 26px);
  line-height: 1.5;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 42px 38px 0;
}

.event-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 28px 26px 30px;
  border: 1px solid var(--panel-line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(24, 18, 12, 0.96), rgba(10, 9, 8, 0.98)),
    var(--panel-bg);
  box-shadow: inset 0 0 28px rgba(255, 216, 111, 0.06), 0 20px 34px rgba(0, 0, 0, 0.28);
}

.event-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 216, 111, 0.12), transparent 36%);
  pointer-events: none;
}

.event-card--wide {
  grid-column: span 2;
}

.event-card__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.event-card__index {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 224, 122, 0.26), rgba(255, 224, 122, 0.08));
  color: var(--gold-1);
  font-family: "Gmarket Sans", "Noto Sans KR", sans-serif;
  font-size: 28px;
  font-weight: 700;
}

.event-card__title {
  margin: 2px 0 0;
  font-family: "Gmarket Sans", "Noto Sans KR", sans-serif;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.event-card__subtitle {
  margin: 8px 0 0;
  color: var(--gold-2);
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 700;
}

.event-card__meta,
.event-card__body,
.event-card__caption,
.event-list {
  color: var(--text-sub);
  font-size: clamp(20px, 2vw, 34px);
  line-height: 1.6;
}

.event-card__meta {
  margin: 20px 0 0;
  padding-left: 12px;
  word-break: keep-all;
}

.event-card__body {
  margin: 18px 0 0;
  padding-left: 12px;
}

.event-card__caption {
  margin: 16px 0 0;
  padding-left: 12px;
  color: var(--gold-1);
  font-weight: 700;
}

.event-list {
  margin: 18px 0 0;
  padding-left: 46px;
}

.event-list li + li {
  margin-top: 8px;
}

.event-grid .event-card:first-child {
  border-color: rgba(255, 224, 138, 0.62);
  background:
    radial-gradient(circle at top right, rgba(255, 226, 146, 0.22), transparent 26%),
    radial-gradient(circle at 18% 0%, rgba(255, 241, 188, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(39, 28, 12, 0.98), rgba(12, 10, 8, 0.98)),
    var(--panel-bg);
  box-shadow:
    inset 0 0 42px rgba(255, 216, 111, 0.12),
    inset 0 1px 0 rgba(255, 247, 212, 0.18),
    0 24px 38px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 221, 128, 0.12);
}

.event-grid .event-card:first-child::before {
  background:
    linear-gradient(135deg, rgba(255, 232, 160, 0.28), transparent 42%),
    linear-gradient(180deg, rgba(255, 248, 214, 0.08), transparent 28%);
}

.event-grid .event-card:first-child::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 26px;
  border: 1px solid rgba(255, 232, 163, 0.14);
  pointer-events: none;
}

.event-grid .event-card:first-child .event-card__head {
  align-items: center;
}

.event-grid .event-card:first-child .event-card__index {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 235, 171, 0.34);
  background: linear-gradient(180deg, rgba(255, 234, 165, 0.44), rgba(255, 228, 148, 0.12));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 10px 18px rgba(0, 0, 0, 0.16),
    0 0 18px rgba(255, 214, 112, 0.12);
  font-size: 30px;
}

.event-grid .event-card:first-child .event-card__title {
  font-size: clamp(31px, 3.4vw, 48px);
  color: #fff3cb;
  text-shadow:
    0 10px 18px rgba(0, 0, 0, 0.34),
    0 0 12px rgba(255, 216, 111, 0.08);
}

.event-grid .event-card:first-child .event-card__subtitle {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 10px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 226, 146, 0.18);
  background: linear-gradient(180deg, rgba(255, 214, 112, 0.14), rgba(255, 214, 112, 0.06));
  color: #ffe49b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.event-grid .event-card:first-child .event-card__meta {
  margin-top: 0;
  color: #f5e3bd;
}

.event-grid .event-card:first-child .event-list {
  margin-top: 20px;
  padding-left: 22px;
  list-style: none;
}

.event-grid .event-card:first-child .event-list li {
  position: relative;
  padding-left: 18px;
}

.event-grid .event-card:first-child .event-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe8b3, #d49d35);
  box-shadow: 0 0 10px rgba(255, 214, 112, 0.28);
}

@media (max-width: 560px) {
  .event-grid .event-card:first-child .event-card__index {
    width: 60px;
    height: 60px;
    font-size: 25px;
  }

  .event-grid .event-card:first-child .event-card__subtitle {
    min-height: 34px;
    padding: 0 12px;
  }

  .event-grid .event-card:first-child .event-list {
    padding-left: 14px;
  }

  .event-grid .event-card:first-child .event-list li {
    padding-left: 16px;
  }
}

.domain-panel {
  padding: 44px 38px 0;
}

.promo-domain {
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-domain--hero {
  margin-top: 28px;
}

.promo-domain__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 906px);
  min-height: 180px;
  padding: 0 20px;
  background-image: url("../images/square.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: var(--gold-1);
  font-family: "Gmarket Sans", "Noto Sans KR", sans-serif;
  font-size: clamp(32px, 2vw, 52px);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

body.promo-theme--ibaksa .promo-domain__button {
  font-size: clamp(52px, 2vw, 54px);
}

@media (max-width: 860px) {
  .promo-hero {
    padding: 0 20px 28px;
  }

  .hero-image-frame {
    margin: 0 -20px;
  }

  .hero-image-placeholder {
    min-height: 320px;
    padding: 30px;
  }

  .intro-panel {
    padding: 10px 22px 0;
  }

  .event-grid {
    grid-template-columns: 1fr;
    padding: 34px 22px 0;
  }

  .domain-panel {
    padding: 34px 22px 0;
  }

  .event-card--wide {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .section-divider {
    height: 88px;
  }

  .section-divider--bottom {
    height: 88px;
    margin-top: 12px;
  }

  .event-card {
    padding: 24px 18px 26px;
    border-radius: 22px;
  }

  .event-card__head {
    gap: 12px;
  }

  .event-card__index {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    font-size: 24px;
  }

  .intro-title {
    font-size: clamp(34px, 8.8vw, 42px);
  }

  .event-card__title {
    font-size: clamp(24px, 6.8vw, 30px);
  }

  .event-card__meta {
    font-size: 16px;
    padding: 0 8px;
  }

  .event-card__body {
    font-size: 16px;
    margin-top: 10px;
    padding: 0 8px;
  }

  .promo-domain__button {
    min-height: 92px;
    padding: 0 16px;
    font-size: clamp(26px, 7vw, 34px);
  }

  body.promo-theme--ibaksa .promo-domain__button {
    font-size: clamp(26px, 7vw, 34px);
  }

  .promo-domain--hero {
    margin-top: 22px;
  }

  .promo-domain__button--hero {
    min-height: 84px;
  }
}