/* 이벤트 목록 · 이벤트 상세 */

/* ── 대표 이벤트 슬라이더 ── */
.feat { position: relative; margin-bottom: 48px; border-radius: var(--r-big); overflow: hidden; background: var(--ink); color: var(--white); touch-action: pan-y; user-select: none; }
.feat__track { display: grid; }
.feat__slide { grid-area: 1 / 1; position: relative; display: flex; align-items: flex-end; min-height: clamp(420px, 46vw, 560px); opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s .8s; }
.feat__slide.is-on { opacity: 1; visibility: visible; transition: opacity .8s var(--ease); }
.feat__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s linear; }
.feat__slide.is-on img { transform: scale(1); }
.feat__slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 11, 28, .88) 0%, rgba(7, 11, 28, .5) 45%, rgba(7, 11, 28, 0) 75%); }
.feat__text { position: relative; z-index: 1; display: grid; justify-items: start; gap: 12px; max-width: 560px; padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 56px) clamp(84px, 8vw, 104px); }
.feat__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.feat__meta .num { font-size: 14px; }
.feat h2 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.18; }
.feat__sub { font-size: var(--fs-lead); color: rgba(255, 255, 255, .85); }
.feat__date { font-size: 14px; color: rgba(255, 255, 255, .65); }
.feat__go { margin-top: 8px; }
.feat__ctrl { position: absolute; left: clamp(24px, 4vw, 56px); bottom: clamp(24px, 3vw, 36px); z-index: 2; display: flex; align-items: center; gap: 8px; }
.feat__arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); color: var(--white); transition: background-color .2s; }
.feat__arrow:hover { background: rgba(255, 255, 255, .14); }
.feat__arrow svg { width: 18px; height: 18px; }
.feat__arrow[data-dir="-1"] svg { transform: rotate(180deg); }
.feat__count { min-width: 56px; text-align: center; font-size: 14px; color: rgba(255, 255, 255, .7); }
.feat__count b { color: var(--white); }
.feat__bar { width: 120px; height: 2px; margin-left: 12px; background: rgba(255, 255, 255, .25); }
.feat__bar i { display: block; height: 100%; background: var(--clay); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 767px) {
  .feat { border-radius: var(--r-card); margin-inline: calc(var(--gutter) * -1); border-radius: 0; }
  .feat__slide { min-height: 520px; }
  .feat__slide img { object-position: 70% 50%; }
  .feat__slide::after { background: linear-gradient(0deg, rgba(7, 11, 28, .94) 0%, rgba(7, 11, 28, .55) 55%, rgba(7, 11, 28, .1) 100%); }
  .feat__bar { width: 64px; }
}

.ph--events { padding-bottom: 40px; }
.events { padding-bottom: var(--sec); }
.events__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.events__empty { display: grid; justify-items: center; gap: 16px; padding: 64px 0; color: var(--mute); }

/* ── 이벤트 상세 ── */
.evh { position: relative; display: flex; align-items: flex-end; min-height: max(600px, min(88svh, 860px)); overflow: hidden; background: var(--ink); color: var(--white); }
.evh__media { position: absolute; inset: 0; }
.evh__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.evh__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 11, 28, .9) 0%, rgba(7, 11, 28, .55) 45%, rgba(7, 11, 28, .05) 78%), linear-gradient(0deg, rgba(7, 11, 28, .55), transparent 40%); }
.evh.is-ended .evh__media img { filter: grayscale(1); }
.evh__inner { position: relative; z-index: 1; display: grid; justify-items: start; gap: 18px; padding-top: calc(var(--hd-h) + 72px); padding-bottom: clamp(56px, 6vw, 88px); }
.evh .ph__crumb { color: rgba(255, 255, 255, .7); margin-bottom: 0; }
.evh__meta { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.evh h1 { font-size: var(--fs-hero); line-height: 1.1; max-width: 12em; }
.evh__sub { max-width: 40ch; font-size: var(--fs-lead); color: rgba(255, 255, 255, .86); }
.evh__facts { display: flex; flex-wrap: wrap; gap: 8px 32px; padding: 16px 0; border-block: 1px solid rgba(255, 255, 255, .2); }
.evh__facts div { display: flex; gap: 10px; font-size: 15px; }
.evh__facts dt { color: rgba(255, 255, 255, .6); }
.evh__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.btn.is-disabled { pointer-events: none; opacity: .6; }
@media (max-width: 767px) {
  .evh__media::after { background: linear-gradient(0deg, rgba(7, 11, 28, .95) 0%, rgba(7, 11, 28, .6) 55%, rgba(7, 11, 28, .2) 100%); }
  .evh__facts { flex-direction: column; }
  .evh__btns { width: 100%; }
  .evh__btns .btn { flex: 1; }
}

.ev-sec--white { background: var(--white); }
.bnf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bnf--1 { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
.bnf--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bnf li { display: grid; align-content: start; gap: 8px; padding: clamp(28px, 3vw, 40px); border-radius: var(--r-card); background: var(--white); border-top: 4px solid var(--court); }
.bnf__v { font-size: clamp(40px, 4.4vw, 64px); line-height: 1.05; color: var(--court); letter-spacing: -0.02em; font-stretch: 105%; }
.bnf h3 { font-size: 20px; }
.bnf p:last-child:not(.bnf__v) { font-size: 15px; color: var(--mute); }
@media (max-width: 767px) { .bnf, .bnf--2 { grid-template-columns: 1fr; } }

.joins { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: join; }
.joins li { position: relative; display: grid; gap: 14px; align-content: start; padding: 28px 24px; border-radius: var(--r-card); background: var(--paper); }
.joins .num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 16px; }
.joins p { font-size: 17px; font-weight: 600; line-height: 1.5; }

.coupon { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-big); background: var(--ink); color: var(--white); background-image: radial-gradient(circle at 100% 0%, rgba(36, 72, 255, .5), transparent 55%); }
.coupon h2 { margin-top: 8px; font-size: clamp(22px, 2.2vw, 30px); }
.coupon p { color: rgba(255, 255, 255, .75); margin-top: 6px; }
.coupon__code { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 22px; border-radius: 14px; border: 1.5px dashed rgba(255, 255, 255, .45); }
.coupon__code > span { font-size: 24px; letter-spacing: .08em; }
@media (max-width: 767px) { .coupon { grid-template-columns: 1fr; } .coupon__code { justify-content: space-between; } }

.notes { max-width: 860px; }
.notes h2 { font-size: 20px; margin-bottom: 16px; }
.notes ul { display: grid; gap: 8px; padding: 24px 28px; border-radius: var(--r-card); background: var(--white); }
.notes li { position: relative; padding-left: 16px; font-size: 15px; color: var(--mute); line-height: 1.7; }
.notes li::before { content: ''; position: absolute; left: 0; top: .78em; width: 5px; height: 5px; border-radius: 50%; background: var(--mute-2); }

.ev-none { margin-top: 32px; }

.ev-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; align-items: center; gap: 12px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--line); transform: translateY(110%); transition: transform .45s var(--ease); }
.ev-dock .num { flex: none; font-size: 15px; font-weight: 700; color: var(--court); }
.ev-dock .btn { flex: 1; }
.ev-dock.is-on { transform: none; }
@media (max-width: 767px) { .ev-dock { display: flex; } body[data-page="event"] .ft { padding-bottom: 120px; } }
