:root {
  color-scheme: dark;
  --text: #f4f0e7;
  --muted: #b7bfc1;
  --gold: #edc779;
  --line: #edc77938;
  --content: min(1180px, calc(100% - 64px));
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { background: #0b1418; color: var(--text); font-family: "Noto Sans KR", sans-serif; word-break: keep-all; line-height: 1.7; }
body.has-dialog { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; }
button, a, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 12px 20px; background: #15242c; }
.skip-link:focus { top: 12px; }
.section-inner, .header-inner, .footer-inner { width: var(--content); margin-inline: auto; }
.header { position: fixed; inset: 0 0 auto; z-index: 40; border-bottom: 1px solid #ffffff26; background: #0b1418e8; backdrop-filter: blur(16px); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; gap: 12px; align-items: center; }
.brand-mark { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; }
.brand-copy strong { display: block; font: 700 19px/1.2 "Space Grotesk", sans-serif; }
.brand-copy span { display: block; margin-top: 5px; font-size: 10px; color: #e5d8bd; letter-spacing: .12em; }
.nav-area, .nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 13px; white-space: nowrap; color: #e1e4e1; transition: color .2s; }
.nav a:hover, .nav a.is-active { color: var(--gold); }
.nav a.nav-event { color: #ffb56b; }
.nav a[data-nav-link="download"] { border: 1px solid var(--gold); padding: 8px 18px; color: var(--gold); }
.lang-select { color: var(--text); background: #0c172a80; border: 1px solid #ffffff40; padding: 6px; font-size: 12px; max-width: 105px; }
.lang-select option { background: #101b23; }
.hamburger { display: none; background: transparent; border: 1px solid #ffffff55; width: 42px; height: 42px; padding: 10px; }
.hamburger span { display: block; height: 2px; background: var(--text); margin: 4px 0; }
.hero { position: relative; min-height: 800px; min-height: max(800px, 100svh); display: grid; place-items: center; isolation: isolate; text-align: center; overflow: hidden; padding: 145px 24px 115px; }
.hero-backdrop { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #07101740, #07101712 35%, #0710177a 65%, #0b1418 100%); }
.hero-intro { max-width: 780px; text-shadow: 0 3px 25px #000d; }
.eyebrow { display: block; font: 700 11px/1.4 "Space Grotesk", sans-serif; letter-spacing: .32em; color: var(--gold); margin-bottom: 22px; }
.hero-logo { font: italic 700 clamp(58px, 9vw, 122px)/.85 "Space Grotesk", sans-serif; letter-spacing: -.07em; color: #fff9ed; text-shadow: 0 4px 0 #152c36, 0 8px 20px #000a; }
.hero-logo span { display: block; font-size: 1.18em; color: #ffe69f; margin-top: 8px; }
.hero-title { font-size: clamp(20px, 3vw, 32px); line-height: 1.5; margin: 32px 0 12px; letter-spacing: -.04em; }
.hero-copy { max-width: 580px; margin-inline: auto; font-size: 14px; color: #eeefdf; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.event-pill { display: inline-flex; gap: 14px; align-items: center; justify-content: center; margin-top: 22px; padding: 9px 18px; border: 1px solid #ffb56b80; border-radius: 99px; background: #21131ae6; color: #ffd3a3; font-size: 12px; text-shadow: none; }
.event-pill:hover { background: #452624; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 28px; border: 1px solid var(--gold); background: #091821a6; font-size: 13px; font-weight: 700; letter-spacing: .04em; transition: background .2s, transform .2s; }
.button:hover { background: #23343c; transform: translateY(-2px); }
.button--gold { background: var(--gold); color: #192125; text-shadow: none; }
.button--gold:hover { background: #ffe3a5; }
.scroll-cue { position: absolute; bottom: 28px; font: 10px "Space Grotesk", sans-serif; letter-spacing: .28em; color: #e0d7c3; }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 30px; background: var(--gold); margin: 12px auto 0; }
.section { padding-block: 110px; position: relative; }
.section-head { text-align: center; margin: 0 auto 54px; max-width: 760px; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.4; letter-spacing: -.04em; margin-bottom: 18px; }
.section-head p { font-size: 14px; color: var(--muted); line-height: 1.95; }
.section-head::after { content: "◆"; display: block; margin-top: 26px; color: var(--gold); font-size: 10px; }
.section-head .eyebrow { margin-bottom: 14px; }
.halloween-section { border-block: 1px solid #ffa55240; background: radial-gradient(ellipse at 80% 30%, #71382d45, transparent 55%), radial-gradient(ellipse at 10% 80%, #582e633d, transparent 55%), #17121e; }
.halloween-section .eyebrow { color: #ffb56b; }
.halloween-intro { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center; }
.event-period { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: #c9bbd0; font-size: 12px; margin-bottom: 20px; }
.event-status { color: #ffba76; border: 1px solid #ffba7666; padding: 4px 12px; font-size: 11px; font-weight: 700; border-radius: 99px; }
.halloween-copy h2 { font-size: clamp(28px, 3.5vw, 42px); line-height: 1.5; letter-spacing: -.04em; margin-bottom: 20px; }
.halloween-copy > p { font-size: 14px; line-height: 1.95; color: #c9bbd0; }
.button--pumpkin { background: #f4aa61; border-color: #f4aa61; color: #2c1721; margin-top: 28px; }
.button--pumpkin:hover { background: #ffc286; }
.halloween-copy p.event-phase-note { font-size: 11px; margin-top: 18px; }
.event-heroes { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; align-items: end; }
.event-hero { text-align: center; min-width: 0; }
.event-hero:first-child { padding-bottom: 40px; }
.event-hero img { width: 100%; height: auto; filter: drop-shadow(0 18px 25px #0008); }
.event-hero figcaption { display: grid; gap: 6px; margin-top: 20px; }
.event-hero figcaption span { color: #ffba76; font-size: 11px; letter-spacing: .03em; }
.event-hero figcaption strong { font-size: 23px; }
.event-details { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; margin-top: 64px; border-top: 1px solid #ffba7638; padding-top: 40px; }
.event-details h3 { font-size: 19px; line-height: 1.6; margin-bottom: 16px; }
.event-details p { font-size: 13px; line-height: 1.95; color: #c9bbd0; }
.event-details .eyebrow { margin-bottom: 12px; }
.event-details p.event-small { font-size: 11px; color: #b3a5bb; margin-top: 18px; }
.event-companion-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.event-companion-list figure { min-width: 0; text-align: center; }
.event-companion-list img { height: auto; width: 100%; }
.event-companion-list strong { display: block; font-size: 12px; margin: 8px 0 5px; }
.event-companion-list figcaption span { display: block; font-size: 10px; color: #ffba76; }
.halloween-section[data-phase="ended"] .event-status { color: #c9bbd0; border-color: #c9bbd066; }
.intro-line { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; margin: -15px auto 64px; border-block: 1px solid var(--line); max-width: 880px; }
.intro-line div { flex: 1; min-width: 130px; text-align: center; padding: 24px 16px; }
.intro-line strong { display: block; color: var(--gold); font: 700 34px "Space Grotesk", sans-serif; }
.intro-line span { font-size: 11px; color: var(--muted); }
.story-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; padding-block: 42px; }
.story-row:nth-child(even) .story-art { order: 2; }
.story-art { position: relative; height: 480px; background: #101e24; overflow: hidden; border: 1px solid var(--line); }
.story-art img { width: 100%; height: 100%; object-fit: cover; }
.story-row:first-child .story-art img { object-position: center 39%; }
.story-number { position: absolute; bottom: 15px; left: 22px; font: 700 11px "Space Grotesk", sans-serif; letter-spacing: .18em; background: #071017c9; padding: 6px 10px; }
.feature-card { padding-block: 24px; border-bottom: 1px solid var(--line); }
.feature-card:last-child { border-bottom: 0; }
.feature-icon { width: 44px; height: 44px; margin-bottom: 14px; }
.feature-icon img { width: 100%; height: 100%; object-fit: contain; }
.feature-card h3 { font-size: 23px; letter-spacing: -.035em; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 13px; line-height: 1.95; }
.media-section { background: linear-gradient(180deg, #0e1e27, #102530 65%, #0b1418); }
.media-feature { position: relative; border: 1px solid var(--line); background: #071017; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; display: block; text-align: left; }
.media-feature > img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s; }
.media-feature:hover > img { transform: scale(1.025); }
.media-feature::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, #071017e8); }
.media-overlay { position: absolute; z-index: 1; left: 36px; right: 36px; bottom: 30px; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.media-heading { display: block; font-size: clamp(17px, 2.5vw, 28px); font-weight: 700; margin-top: 7px; }
.media-status { font: 700 10px "Space Grotesk", sans-serif; color: var(--gold); letter-spacing: .16em; }
.media-open { border: 1px solid #fff8; padding: 10px 20px; font-size: 12px; white-space: nowrap; }
.media-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.media-item { background: transparent; border: 0; text-align: left; }
.media-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .55; border: 1px solid transparent; padding: 3px; transition: opacity .2s; }
.media-item[aria-pressed="true"] img, .media-item:hover img { opacity: 1; border-color: var(--gold); }
.media-item span { display: block; margin-top: 8px; font-size: 12px; }
.media-note { text-align: center; color: var(--muted); font-size: 12px; margin-top: 26px; }
.heroes-section { background: radial-gradient(ellipse at 25% 50%, #2541347a, transparent 65%); overflow: hidden; }
.hero-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; min-height: 450px; }
.hero-stage { position: relative; height: 450px; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 80%, #e4bd6938, transparent 60%); }
.hero-stage::after { content: ""; position: absolute; bottom: 16px; width: 70%; height: 40px; border: 1px solid #edc7794d; border-radius: 50%; }
.hero-stage img { position: relative; z-index: 1; height: 92%; width: 90%; object-fit: contain; filter: drop-shadow(0 20px 25px #0008); }
.hero-profile h3 { font-size: clamp(38px, 5vw, 64px); line-height: 1.4; letter-spacing: -.05em; }
.hero-role { color: var(--gold); font-size: 14px; margin: 8px 0 22px; }
.hero-description { font-size: 14px; color: var(--muted); max-width: 390px; line-height: 1.95; }
.heroes-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; margin-top: 35px; }
.hero-card { text-align: center; min-width: 0; }
.hero-select { width: 100%; border: 1px solid #ffffff1c; background: #14252b; transition: border-color .2s, background .2s; }
.hero-select:hover, .hero-select[aria-pressed="true"] { border-color: var(--gold); background: #29342c; }
.portrait { height: 110px; padding: 8px; display: grid; place-items: center; }
.portrait img { max-height: 100%; width: 100%; object-fit: contain; }
.hero-name { display: block; padding: 10px 3px; font-size: 12px; }
.hero-name span { display: block; color: var(--muted); font-size: 9px; margin-top: 2px; }
.gallery-section { background: #0e1c23; }
.shots-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; max-width: 960px; margin-inline: auto; }
.shot-card { min-width: 0; scroll-snap-align: start; }
.shot-open { padding: 8px; background: #172831; border: 1px solid #ffffff24; width: 100%; transition: border-color .2s, transform .2s; }
.shot-open:hover { border-color: var(--gold); transform: translateY(-5px); }
.shot-card img { width: 100%; height: auto; }
.shot-caption { font-size: 12px; color: var(--muted); padding: 16px 4px; }
.gallery-hint { color: var(--muted); font-size: 12px; margin-top: 25px; text-align: center; }
.odds-section { border-bottom: 1px solid var(--line); }
.odds-card { margin-bottom: 30px; padding: 30px; border: 1px solid #ffffff16; background: #102128; }
.odds-card h3 { font-size: 17px; margin-bottom: 22px; }
.odds-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.odds-table { width: 100%; border-collapse: collapse; white-space: nowrap; font-size: 12px; }
.odds-table th, .odds-table td { padding: 14px; text-align: right; border-bottom: 1px solid #ffffff10; }
.odds-table th { color: var(--gold); font-weight: 500; }
.odds-table :is(th, td):first-child { text-align: left; }
.odds-table td { color: #c3cdce; font-variant-numeric: tabular-nums; }
.odds-note { color: var(--muted); font-size: 11px; margin-top: 18px; line-height: 1.9; }
.download-section { text-align: center; background: linear-gradient(#0b1418d9, #0b1418e6), url("images/showcase/keyart.webp") center / cover; }
.download-section .section-head { margin-bottom: 30px; }
.store-buttons { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.store-badge { display: inline-flex; border: 1px solid #ffffff38; background: #000; min-height: 54px; border-radius: 8px; overflow: hidden; }
.store-badge img { height: 54px; width: auto; }
.store-badge-coming { position: relative; }
.store-badge-coming::after { content: attr(data-coming-label); position: absolute; inset: 0; display: grid; place-items: center; background: #08131ad9; font-size: 13px; }
.footer { padding: 40px 0; background: #081014; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; color: var(--muted); font-size: 11px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer a:hover { color: var(--gold); }
.dialog { position: fixed; inset: 0; z-index: 80; border: 0; background: #000c; padding: 24px; width: 100%; height: 100%; max-width: none; max-height: none; display: grid; place-items: center; }
.dialog-panel { position: relative; width: min(980px, 100%); max-height: 70vh; max-height: 70dvh; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); background: #0d1a22; box-shadow: 0 24px 100px #0008; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 20px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.dialog-title { font-size: 15px; }
.dialog-close { flex-shrink: 0; background: transparent; border: 1px solid #ffffff40; font-size: 24px; line-height: 1; width: 38px; height: 38px; }
.dialog-body { min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 20px; overscroll-behavior: contain; }
.dialog-body > img { width: auto; max-width: 100%; height: auto; margin-inline: auto; }
.dialog-body > p { text-align: center; color: var(--muted); font-size: 13px; padding-top: 18px; }
.dialog-body iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
@media (min-width: 1500px) { .section-inner { max-width: 1180px; } }
@media (max-width: 1100px) {
  .nav { gap: 16px; }
  .brand-copy span { display: none; }
  .story-row { gap: 40px; }
  .hero-showcase { gap: 40px; }
  .heroes-grid { gap: 7px; }
}
@media (max-width: 1000px) {
  .hamburger { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 24px 32px; background: #0b1820fa; border-bottom: 1px solid var(--line); flex-wrap: wrap; gap: 20px 28px; }
  .nav.is-open { display: flex; }
  .nav a { font-size: 14px; }
  .header-inner { min-height: 76px; }
  .story-art { height: 420px; }
  .hero-showcase { gap: 25px; }
  .heroes-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .shots-grid { gap: 14px; }
  .halloween-intro, .event-details { gap: 28px; }
}
@media (max-width: 600px) {
  :root { --content: calc(100% - 40px); }
  html { scroll-padding-top: 88px; }
  .header-inner { min-height: 68px; }
  .brand-copy strong { font-size: 16px; }
  .brand-mark { width: 36px; height: 36px; }
  .hero { min-height: 760px; min-height: max(760px, 100svh); padding: 120px 20px 100px; }
  .hero-backdrop { object-position: 48% center; }
  .hero::after { background: linear-gradient(#07101766, #07101733 35%, #07101780 65%, #0b1418); }
  .hero-title { margin-top: 30px; }
  .hero-copy { font-size: 12px; max-width: 330px; }
  .hero-actions { gap: 10px; }
  .button { padding: 12px 20px; min-height: 48px; }
  .event-pill { font-size: 10px; padding: 8px 12px; margin-top: 18px; }
  .halloween-intro, .event-details { grid-template-columns: 1fr; }
  .halloween-copy > p { font-size: 13px; }
  .event-heroes { margin-top: 20px; gap: 10px; }
  .event-hero figcaption strong { font-size: 20px; }
  .event-details { margin-top: 38px; padding-top: 30px; gap: 30px; }
  .event-companion-list { gap: 8px; }
  .event-companion-list strong { font-size: 10px; }
  .event-companion-list figcaption span { font-size: 9px; }
  .section { padding-block: 75px; }
  .section-head { margin-bottom: 35px; }
  .section-head p { font-size: 13px; }
  .intro-line { margin-bottom: 24px; }
  .intro-line div { min-width: 0; padding: 20px 6px; }
  .intro-line strong { font-size: 27px; }
  .intro-line span { font-size: 10px; }
  .story-row { grid-template-columns: 1fr; gap: 8px; padding-block: 24px; }
  .story-row:nth-child(even) .story-art { order: 0; }
  .story-art { height: 330px; }
  .story-row:first-child .story-art { height: 420px; }
  .feature-card { padding-block: 20px; }
  .feature-card h3 { font-size: 21px; }
  .feature-icon { float: left; margin: 0 14px 5px 0; width: 34px; height: 34px; }
  .feature-card p { clear: both; }
  .media-overlay { left: 16px; right: 16px; bottom: 14px; }
  .media-open { display: none; }
  .media-status { font-size: 8px; }
  .media-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .hero-showcase { grid-template-columns: 1fr; gap: 10px; }
  .hero-stage { height: 330px; }
  .hero-profile { text-align: center; }
  .hero-profile .eyebrow { margin-bottom: 8px; }
  .hero-description { min-height: 81px; margin-inline: auto; font-size: 13px; }
  .hero-role { margin: 5px 0 15px; }
  .hero-name { font-size: 11px; }
  .hero-name span { font-size: 8px; }
  .portrait { height: 82px; padding: 5px; }
  .heroes-grid { gap: 8px; }
  .shots-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(76vw, 300px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 0 12px; }
  .odds-card { padding: 20px 15px; }
  .odds-card h3 { font-size: 15px; }
  .odds-table th, .odds-table td { padding: 11px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .dialog { padding: 12px; }
  .dialog-body { padding: 12px; }
  .dialog-head { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
