:root {
  --color-primary: #ddc398;
  --color-secondary: #aaa5af;
  --color-accent: #ac92e8;
  --color-success: #9bccba;
  --color-warning: #e5b97a;
  --color-danger: #ed9797;
  --color-disabled: #706c77;
  --bg: #0e0d13;
  --line: rgba(221, 195, 152, .2);
  --muted: #b2acbb;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: #f6f0e7; font-family: 'Noto Sans KR', sans-serif; line-height: 1.7; word-break: keep-all; }
body.modal-open { overflow: hidden; }
/* 일본어·중국어는 공백이 없는 문장이므로 해당 언어의 문장부호 금칙을 따른다. */
html:lang(ja) body, html:lang(zh) body { word-break: normal; line-break: strict; }
button, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; }
button:active, .action:active { transform: translateY(1px); }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 5px; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 1100; padding: 12px 20px; background: var(--bg); }
.skip-link:focus { top: 12px; }
.header { position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: center; gap: 28px; height: 80px; padding: 0 4vw; background: rgba(14, 13, 19, .9); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.header-brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.header-brand img { width: 35px; height: 35px; border-radius: 8px; }
.header-logo { font-size: 15px; font-weight: 800; letter-spacing: -.04em; }
.header-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 30px); margin-left: auto; }
.header-nav a { font-size: 12px; color: #d4cfda; padding: 15px 0; }
.header-nav a:hover, .header-nav a[aria-current] { color: var(--color-primary); }
.header-tools { display: flex; align-items: center; gap: 14px; }
.lang-select { width: 98px; min-height: 44px; color: #e8e1d9; background: transparent; border: 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.lang-select option { color: #fff; background: var(--bg); }
.header-download { padding: 9px 19px; background: var(--color-primary); color: #201c1a; font-size: 12px; font-weight: 800; white-space: nowrap; }
.menu-toggle { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line); font-size: 22px; }
.hero { position: relative; min-height: 800px; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 160px 8vw 130px; }
.hero-art, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 9, 18, .89) 0%, rgba(9, 9, 18, .53) 36%, rgba(9, 9, 18, .03) 75%), linear-gradient(0deg, var(--bg), transparent 35%); }
.hero-copy { position: relative; z-index: 1; max-width: 630px; }
.eyebrow { display: block; font-family: 'Orbitron', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: .24em; color: var(--color-primary); margin-bottom: 24px; }
.hero h1 { font-size: clamp(46px, 5.5vw, 82px); font-weight: 900; line-height: 1.14; letter-spacing: -.06em; text-shadow: 0 5px 30px #08080f; }
.hero-tagline { font-size: clamp(22px, 2.4vw, 35px); margin: 20px 0; letter-spacing: -.045em; color: var(--color-primary); font-weight: 600; }
.hero-desc { max-width: 460px; font-size: 15px; color: #d0cad8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.event-pill { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; padding: 10px 15px; border: 1px solid #df98525e; background: #20120edb; color: #f2c696; font-size: 11px; }
.event-pill[hidden], .event-section[hidden] { display: none; }
.event-dot { width: 6px; height: 6px; border-radius: 50%; background: #edaa65; flex-shrink: 0; }
#pillEventStatus { color: #e5d6c4; font-size: 10px; }
.event-section { background: radial-gradient(ellipse at 90% 30%, #5c2b233b, transparent 60%), #191118; border-top: 1px solid #bc7d3b40; border-bottom: 1px solid #bc7d3b40; }
.event-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 24px; }
.event-heading .eyebrow { margin: 0; color: #eeb579; }
.event-status { color: #f7c18f; border: 1px solid #a76b404d; padding: 4px 12px; font-size: 11px; }
.event-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 35px; align-items: center; }
.event-intro .section-subtitle { max-width: 590px; }
.event-mascot { height: 330px; width: 100%; object-fit: contain; filter: drop-shadow(0 12px 30px #f180241f); }
.event-dates { display: grid; gap: 10px; margin: 28px 0; font-size: 12px; }
.event-dates > div { display: flex; flex-wrap: wrap; gap: 5px 22px; }
.event-dates dt { color: #ab9baf; min-width: 110px; }
.event-dates dd { margin: 0; color: #e7d3ba; }
.event-cta { background: #e4b783; border-color: #e4b783; }
.event-rewards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.event-rewards article { display: flex; align-items: center; gap: 15px; padding: 20px 0; border-top: 1px solid #bc7d3b40; }
.event-rewards img { width: 86px; height: 110px; object-fit: contain; flex-shrink: 0; }
.event-rewards span { color: #b4a1b7; font-size: 11px; }
.event-rewards h3 { font-size: 15px; margin-top: 10px; color: #ecd0a8; font-weight: 600; }
.event-note { color: #a698ac; font-size: 11px; margin-top: 20px; max-width: 780px; }
.footer-languages { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-languages a { padding: 7px 0; }
.action { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 52px; padding: 14px 27px; border: 1px solid var(--color-primary); background: var(--color-primary); color: #211c19; font-size: 13px; font-weight: 700; transition: background .2s; }
.action.secondary { background: rgba(12, 10, 20, .35); color: #f6f0e7; border-color: #8f829c; }
.action:hover { background: #efdab8; color: #211c19; }
.hero-bottom { position: absolute; z-index: 1; bottom: 36px; left: 8vw; right: 8vw; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.hero-edition { font: 10px 'Orbitron', sans-serif; color: #b5aebf; letter-spacing: .16em; }
.scroll-cue { font-size: 10px; letter-spacing: .25em; color: var(--color-primary); }
.scroll-cue::after { content: '↓'; display: inline-block; margin-left: 15px; font-size: 22px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1140px; margin: 0 auto; padding: 35px 24px; border-bottom: 1px solid var(--line); }
.stats p { text-align: center; color: var(--muted); font-size: 12px; border-right: 1px solid var(--line); }
.stats p:last-child { border: 0; }
.stats strong { color: var(--color-primary); font: 27px 'Orbitron', sans-serif; margin-right: 10px; }
.section { padding: 110px max(24px, calc((100vw - 1140px) / 2)); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 40px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-title { font-size: clamp(30px, 3.5vw, 48px); letter-spacing: -.05em; line-height: 1.35; }
.section-subtitle { max-width: 440px; color: var(--muted); font-size: 14px; margin-top: 18px; }
.section-number { font: 13px 'Orbitron', sans-serif; color: #7d718a; letter-spacing: .15em; padding-bottom: 8px; }
.media-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.media-card { display: block; width: 100%; padding: 0; text-align: left; background: none; border: 0; }
.media-image { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--line); }
.media-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.media-card:hover img { transform: scale(1.035); }
.media-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #0e0d1366, transparent 70%); }
.play-icon { position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%); width: 64px; height: 64px; border: 1px solid #f6f0e7a6; border-radius: 50%; display: grid; place-items: center; background: #0e0d1355; font-size: 20px; }
.media-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.media-caption strong { font-size: 15px; font-weight: 600; }
.media-caption small { color: var(--color-primary); font-size: 11px; white-space: nowrap; }
.media-note { margin-top: 18px; font-size: 11px; color: #928a9f; }
.story { position: relative; min-height: 540px; display: flex; align-items: center; background: linear-gradient(90deg, #0e0d13ee, #0e0d1366), url('images/showcase/chapter-1.jpg') center / cover; }
.story-copy { max-width: 520px; position: relative; }
.story .section-title { max-width: 500px; }
.story p { margin-top: 26px; color: #c9c1d3; font-size: 15px; line-height: 2; }
.story-rule { width: 70px; height: 1px; background: var(--color-primary); margin-top: 30px; }
.features-section { background: #15121d; }
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.feature-card { padding: 24px 0; border-top: 1px solid var(--line); }
.feature-icon { height: 50px; width: 50px; object-fit: contain; margin-bottom: 22px; }
.feature-title { font-size: 19px; font-weight: 700; margin-bottom: 12px; letter-spacing: -.03em; }
.feature-desc { font-size: 13px; color: var(--muted); line-height: 1.9; }
.feature-id { float: right; color: #82738e; font: 10px 'Orbitron', sans-serif; }
.heroes-section { overflow: hidden; }
.hero-showcase { display: grid; grid-template-columns: 1fr 1fr; min-height: 390px; background: radial-gradient(ellipse at 25% 60%, #3e2b5966, transparent 64%); }
.character-art { width: 100%; height: 390px; object-fit: contain; filter: drop-shadow(0 20px 30px #0008); }
.character-copy { align-self: center; padding: 30px; border-left: 1px solid var(--line); }
.character-copy .eyebrow { margin-bottom: 10px; }
.character-copy h3 { font-size: clamp(30px, 4vw, 50px); letter-spacing: -.05em; margin-bottom: 20px; }
.character-copy p { color: var(--muted); font-size: 14px; }
.character-counter { display: block; margin-top: 30px; color: var(--color-primary); font: 12px 'Orbitron', sans-serif; letter-spacing: .15em; }
.character-tabs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; margin-top: 25px; }
.character-tab { padding: 8px 2px; background: transparent; border: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.character-tab img { height: 80px; width: 100%; object-fit: contain; transition: transform .2s; }
.character-tab:hover img { transform: translateY(-3px); }
.character-tab[aria-pressed='true'] { background: #ddc39812; border-color: var(--color-primary); color: var(--color-primary); }
.character-note { color: #928a9f; font-size: 11px; margin-top: 15px; }
.world-section { background: #15121d; }
.world-stage { position: relative; min-height: 440px; display: flex; align-items: end; overflow: hidden; }
.world-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.world-stage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #0e0d13f5, transparent 85%); }
.world-copy { padding: 45px; position: relative; z-index: 1; max-width: 570px; }
.world-copy h3 { font-size: 29px; margin: 10px 0; }
.world-copy p { color: #c9c1d3; font-size: 14px; }
.world-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 15px; }
.world-tab { display: flex; align-items: center; gap: 15px; min-height: 65px; padding: 12px 18px; text-align: left; border: 1px solid var(--line); background: transparent; font-size: 13px; }
.world-tab span { color: var(--color-primary); font: 12px 'Orbitron', sans-serif; }
.world-tab[aria-pressed='true'] { border-color: var(--color-primary); background: #ddc3980b; }
.gallery-controls { display: flex; gap: 8px; }
.gallery-controls button { width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; font-size: 22px; }
#screenshots { padding-block: 80px; }
#screenshots .section-head { margin-bottom: 28px; }
.screenshots-grid { display: flex; align-items: flex-start; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 24px; scrollbar-width: thin; scrollbar-color: var(--color-primary) #26202f; }
.screenshot-item { padding: 0; background: transparent; text-align: left; flex: 0 0 clamp(150px, 15vw, 190px); min-width: 0; border: 0; scroll-snap-align: start; }
/* HTML의 원본 높이 속성을 덮어써야 축소된 폭에 맞춰 세로 비율도 줄어든다. */
.screenshot-item img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; background: #18131f; border: 1px solid var(--line); }
.screenshot-caption { display: block; font-size: 12px; color: #bcb4c8; padding-top: 14px; }
.cta { padding: 100px 24px; text-align: center; background: linear-gradient(0deg, #0e0d13ee, #0e0d13b3), url('images/showcase/heroes.webp') center 40% / cover; border-top: 1px solid var(--line); }
.cta-title { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.05em; }
.cta-desc { color: #c9c1d3; font-size: 14px; margin: 20px auto 30px; max-width: 560px; }
.store-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.store-badge { display: grid; place-items: center; background: #050505; min-height: 56px; min-width: 166px; padding: 7px 18px; border: 1px solid #6c6674; border-radius: 5px; }
.store-badge img { height: 36px; width: 132px; object-fit: contain; }
.footer { padding: 40px max(24px, calc((100vw - 1140px) / 2)); font-size: 11px; color: #958d9e; border-top: 1px solid var(--line); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { font: 16px 'Orbitron', sans-serif; color: #e8dfd0; letter-spacing: .08em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 15px; }
.footer p { margin-top: 8px; }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; background: #000b; }
.lightbox.active { display: flex; }
.modal-panel { position: relative; width: min(920px, 100%); max-height: 70vh; max-height: 70dvh; display: flex; flex-direction: column; background: #17131f; border: 1px solid var(--line); overflow: hidden; }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 10px 12px 10px 24px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.modal-header h2 { font-size: 15px; font-weight: 500; }
.lightbox-close { width: 44px; height: 44px; flex-shrink: 0; background: none; border: 0; font-size: 25px; }
.modal-body { padding: 22px; overflow-y: auto; -webkit-overflow-scrolling: touch; min-height: 0; }
.modal-body > img { max-height: 48vh; max-height: 48dvh; margin: auto; width: auto; object-fit: contain; }
.modal-body p { text-align: center; font-size: 13px; color: #c9c1d3; margin-top: 20px; }
.video-frame { aspect-ratio: 16 / 9; width: 100%; border: 0; display: block; }
.lightbox-controls { display: flex; justify-content: center; align-items: center; gap: 25px; margin-top: 20px; }
.lightbox-controls button { width: 44px; height: 44px; border: 1px solid var(--line); background: none; font-size: 24px; }
.lightbox-controls span { font: 11px 'Orbitron', sans-serif; color: var(--color-primary); }
@media (min-width: 1500px) { .hero-art img { object-position: center 44%; } }
@media (max-width: 1100px) {
  .header { gap: 16px; padding-inline: 24px; }
  .header-download { display: none; }
  .header-nav { gap: 18px; }
  .section { padding-block: 80px; }
  .character-tabs { gap: 7px; }
}
@media (max-width: 800px) {
  html { scroll-padding-top: 78px; }
  .header { height: 68px; justify-content: space-between; padding: 0 18px; gap: 12px; }
  .header-logo { font-size: 13px; }
  .header-brand img { width: 30px; height: 30px; }
  .header-tools { gap: 10px; }
  .lang-select { width: 82px; }
  .menu-toggle { display: block; }
  .header-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #131019; padding: 20px 24px; border-bottom: 1px solid var(--line); }
  .header-nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; max-height: 70dvh; overflow-y: auto; }
  .header-nav a { min-height: 44px; padding: 12px; }
  .hero { min-height: 850px; min-height: 100svh; padding: 340px 24px 120px; align-items: end; }
  .hero-art img { object-position: center 35%; }
  .hero::after { background: linear-gradient(0deg, var(--bg) 0%, #0e0d13dd 24%, #0e0d1333 65%, #0e0d1344); }
  .hero-copy { width: 100%; max-width: 560px; }
  .hero h1 { font-size: clamp(38px, 8vw, 64px); }
  .hero .eyebrow { margin-bottom: 14px; font-size: 9px; }
  .hero-tagline { margin: 15px 0; font-size: 23px; }
  .hero-desc { font-size: 13px; }
  .hero-actions { margin-top: 25px; }
  .event-pill { gap: 8px; font-size: 10px; margin-top: 17px; }
  .event-intro { grid-template-columns: 1fr; gap: 20px; }
  .event-mascot { height: 240px; }
  .event-rewards { grid-template-columns: 1fr; gap: 0; margin-top: 15px; }
  .event-rewards img { height: 85px; }
  .event-dates > div { display: block; }
  .event-dates dd { margin-top: 4px; font-size: 11px; }
  .hero-bottom { bottom: 30px; left: 24px; right: 24px; }
  .hero-edition { font-size: 8px; }
  .stats { padding: 25px 16px; }
  .stats strong { display: block; font-size: 25px; margin: 0 0 6px; }
  .stats p { font-size: 11px; padding: 0 6px; }
  .section { padding: 65px 24px; }
  .section-head { margin-bottom: 30px; gap: 15px; flex-direction: column; align-items: start; }
  .section-title { font-size: 30px; }
  .section-subtitle { font-size: 13px; }
  .section-number { display: none; }
  .media-grid { grid-template-columns: 1fr; gap: 28px; }
  .story { min-height: 480px; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .hero-showcase { grid-template-columns: 1fr; }
  .character-art { height: 300px; }
  .character-copy { text-align: center; border: 0; padding: 20px 0; }
  .character-copy h3 { font-size: 32px; margin-bottom: 12px; }
  .character-counter { margin-top: 15px; }
  .character-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .character-tab img { height: 70px; }
  .world-stage { min-height: 380px; }
  .world-copy { padding: 25px; }
  .world-tabs { gap: 6px; }
  .world-tab { display: block; padding: 12px 8px; font-size: 11px; text-align: center; }
  .world-tab span { display: block; margin-bottom: 5px; }
  #screenshots { padding-block: 56px; }
  .screenshot-item { flex-basis: clamp(145px, 44vw, 180px); }
  .screenshots-grid { gap: 14px; }
  .cta { padding: 70px 24px; }
  .footer-row { align-items: start; flex-direction: column; }
  .footer-links { gap: 15px; }
  .modal-body { padding: 12px; }
}
@media (max-width: 380px) {
  .header { padding-inline: 12px; }
  .header-brand { gap: 6px; }
  .header-logo { font-size: 12px; }
  .header-tools { gap: 6px; }
  .lang-select { width: 74px; }
  .hero { padding-inline: 20px; }
  .action { padding-inline: 19px; }
  .features-grid { grid-template-columns: 1fr; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
