/* CRIMSON GATE homepage. Dark fantasy like the game UI: ink black, old gold, crimson. */
:root {
  --bg: #0b0807;
  --bg2: #110c0a;
  --panel: #16100d;
  --panel2: #1c1410;
  --line: rgba(196, 150, 82, 0.30);
  --line-soft: rgba(196, 150, 82, 0.14);
  --gold: #e2b25a;
  --gold-hi: #f4d69a;
  --gold-dim: #a8804a;
  --crimson: #b4232c;
  --crimson-hi: #e04048;
  --text: #eadcc4;
  --muted: #b3a387;
  --dim: #7d6f5b;
  --wrap: 1180px;
  --gut: 16px;
  --sans: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Cinzel", "Noto Serif", Georgia, serif;
}
body.lang-ko { --sans: "Noto Sans KR", "Noto Sans", system-ui, sans-serif; }
body.lang-ja { --sans: "Noto Sans JP", "Noto Sans", system-ui, sans-serif; }
body.lang-zh-Hans { --sans: "Noto Sans SC", "Noto Sans", system-ui, sans-serif; }
body.lang-zh-Hant { --sans: "Noto Sans TC", "Noto Sans", system-ui, sans-serif; }
body.lang-ko, body.lang-ja, body.lang-zh-Hans, body.lang-zh-Hant { --display-cjk: var(--sans); }
body.lang-ru { --display: "Noto Serif", Georgia, serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
body.noscroll { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: var(--gold-hi); text-decoration: none; }
a:hover { color: #fff3d8; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: #120c08; padding: 6px 12px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 960px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: #050403; border-bottom: 1px solid var(--line-soft); }
.top__in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); min-height: 58px; display: flex; align-items: center; gap: 22px; }
.top__logo img { height: 20px; width: auto; }   /* 10-25 사장님 "로고 너무 커" — 한 줄 각인 로고는 옆으로 길다(폭 = 높이 x 11.8) */
.top__nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.top__nav a { color: #e9dcc3; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; font-family: var(--display); font-weight: 700; white-space: nowrap; }
body.lang-ko .top__nav a, body.lang-ja .top__nav a, body.lang-zh-Hans .top__nav a, body.lang-zh-Hant .top__nav a { font-family: var(--sans); text-transform: none; letter-spacing: .02em; }
.top__nav a:hover { color: var(--gold-hi); }
.lang summary span { white-space: nowrap; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 14px;
  padding: 6px 10px; border: 1px solid var(--line); border-radius: 3px; background: rgba(12, 9, 8, .55); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 16px; height: 16px; fill: currentColor; }
.lang[open] summary, .lang summary:hover { color: var(--gold-hi); border-color: var(--gold-dim); }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; min-width: 220px;
  background: var(--panel); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, .6); }
.lang li a { display: block; padding: 7px 12px; color: var(--text); font-size: 14px; }
.lang li a:hover { background: var(--panel2); color: var(--gold-hi); }
.lang li a[aria-current] { color: var(--gold); }

/* page order */
main { display: flex; flex-direction: column; }
.has-trailer main > .hero, .has-trailer main > .sec { order: 1; }

/* trailer (YouTube) */
.trailer { background: #000; }
.trailer__frame { position: relative; aspect-ratio: 16 / 9; width: min(100%, calc((100svh - 58px - 76px) * 16 / 9)); min-width: min(100%, 560px); margin: 0 auto; }
.trailer__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer__play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #fff3d8; font: inherit; }
.trailer__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .3s; }
.trailer__play::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .15) 30%, rgba(0, 0, 0, .55) 100%); }
.trailer__btn { position: relative; z-index: 1; width: clamp(72px, 9vw, 112px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #e0444c, #9e1c24 70%); border: 2px solid #f4d69a;
  box-shadow: 0 0 0 6px rgba(11, 8, 7, .45), 0 12px 40px rgba(0, 0, 0, .6), 0 0 40px rgba(224, 64, 72, .45); transition: transform .2s, box-shadow .2s; }
.trailer__btn::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-36%, -50%);
  border-style: solid; border-width: clamp(13px, 1.6vw, 20px) 0 clamp(13px, 1.6vw, 20px) clamp(22px, 2.7vw, 34px);
  border-color: transparent transparent transparent #fff6e2; }
.trailer__label { position: relative; z-index: 1; font-family: var(--display); font-weight: 700; font-size: clamp(14px, 1.4vw, 18px);
  letter-spacing: .22em; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0, 0, 0, .9); }
body.lang-ko .trailer__label, body.lang-ja .trailer__label, body.lang-zh-Hans .trailer__label, body.lang-zh-Hant .trailer__label { font-family: var(--sans); letter-spacing: .08em; }
.trailer__play:hover .trailer__poster { transform: scale(1.02); filter: brightness(1.08); }
.trailer__play:hover .trailer__btn { transform: scale(1.06); box-shadow: 0 0 0 6px rgba(11, 8, 7, .45), 0 12px 40px rgba(0, 0, 0, .6), 0 0 60px rgba(224, 64, 72, .7); }

/* button band under the trailer */
.band { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; padding: 16px var(--gut);
  background: linear-gradient(180deg, #2a140f, #1b0e0b); border-top: 1px solid rgba(224, 64, 72, .28); border-bottom: 1px solid var(--line-soft); }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 26px; border-radius: 999px;
  font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #f1e4cc; background: #120b09;
  border: 1px solid rgba(196, 150, 82, .35); transition: background .2s, border-color .2s, color .2s, transform .15s; }
.pill:hover { color: #fff3d8; border-color: var(--gold); background: #24170f; transform: translateY(-1px); }
.pill--steam { background: linear-gradient(180deg, #d1343c, #9e1c24); border-color: #e86a70; color: #fff; box-shadow: 0 6px 20px rgba(180, 35, 44, .35); }
.pill--steam:hover { background: linear-gradient(180deg, #e0444c, #b0242c); color: #fff; }
.pill--soon { gap: 10px; cursor: default; border-color: rgba(224, 64, 72, .55); background: rgba(60, 10, 14, .55); color: #f3c7c2; }
.pill--soon:hover { transform: none; }
.pill--soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--crimson-hi); box-shadow: 0 0 10px var(--crimson-hi); animation: pulse 2.2s ease-in-out infinite; }
body.lang-ko .pill, body.lang-ja .pill, body.lang-zh-Hans .pill, body.lang-zh-Hant .pill { letter-spacing: .03em; }

/* hero */
.hero { position: relative; min-height: min(calc(100svh - 58px - 76px), 900px); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(11, 8, 7, 0) 30%, rgba(11, 8, 7, .55) 75%, rgba(11, 8, 7, .92) 100%),
    linear-gradient(to bottom, rgba(11, 8, 7, .55) 0%, rgba(11, 8, 7, 0) 18%, rgba(11, 8, 7, 0) 52%, rgba(11, 8, 7, .9) 84%, var(--bg) 100%); }
.hero__in { width: 100%; max-width: 900px; padding: 0 var(--gut) clamp(48px, 9vh, 96px); text-align: center; }
.hero__logo { margin: 0 auto 18px; width: min(560px, 82vw); }
.hero__logo img { width: 100%; height: auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .8)); }
.has-trailer .hero { min-height: min(72svh, 760px); }
.hero__tag { margin: 0 auto; max-width: 720px; font-size: clamp(16px, 1.6vw, 19px); color: #f1e6d1; text-shadow: 0 2px 10px rgba(0, 0, 0, .9); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; border-radius: 3px;
  font-weight: 700; font-size: 15px; letter-spacing: .03em; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, color .2s; }
.btn--gold { color: #1a1008; background: linear-gradient(180deg, #f6dc9f 0%, #e2b25a 46%, #b9863a 100%);
  border: 1px solid #f7e2ad; box-shadow: 0 6px 22px rgba(226, 178, 90, .25), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--gold:hover { color: #1a1008; transform: translateY(-1px); box-shadow: 0 10px 30px rgba(226, 178, 90, .38), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--line { color: var(--gold-hi); border: 1px solid var(--gold-dim); background: rgba(12, 9, 8, .5); }
.btn--line:hover { color: #fff3d8; border-color: var(--gold); background: rgba(40, 28, 18, .7); }
.btn--block { width: 100%; margin-top: 18px; }
@keyframes pulse { 50% { opacity: .35; } }

/* sections */
.sec { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.sec--dark { background: linear-gradient(180deg, var(--bg2), var(--bg) 70%); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.title { margin: 0 0 40px; text-align: center; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: .08em; color: var(--gold-hi); text-transform: uppercase; display: flex; align-items: center; justify-content: center; gap: 18px; }
body.lang-ko .title, body.lang-ja .title, body.lang-zh-Hans .title, body.lang-zh-Hant .title { font-family: var(--sans); letter-spacing: .04em; }
.title::before, .title::after { content: ""; flex: 0 1 140px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-dim)); }
.title::after { transform: scaleX(-1); }
.title span { position: relative; padding: 0 6px; }
.title span::before, .title span::after { content: ""; position: absolute; top: 50%; width: 6px; height: 6px; background: var(--crimson); transform: translateY(-50%) rotate(45deg); }
.title span::before { left: -10px; }
.title span::after { right: -10px; }
.intro { text-align: center; font-size: clamp(16px, 1.5vw, 18px); color: #efe3cc; margin: 0 auto 40px; max-width: 760px; }
.intro p { margin: 0 0 8px; }
.hint, .lead { text-align: center; color: var(--muted); margin: -22px auto 32px; max-width: 760px; }
.lead { margin-bottom: 36px; }

/* frame around pictures and videos */
.frame { position: relative; background: #050403; border: 1px solid var(--line); border-radius: 3px; overflow: hidden;
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--line-soft), 0 24px 60px rgba(0, 0, 0, .55); }
.frame--video { aspect-ratio: 16 / 9; }
.frame .media { width: 100%; height: 100%; object-fit: cover; }

/* features */
.feature { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin: 0 0 clamp(56px, 8vw, 96px); }
.feature--flip { grid-template-columns: 5fr 7fr; }
.feature--flip .feature__media { order: 2; }
.feature__media { aspect-ratio: 16 / 9; }
.kicker { margin: 0 0 8px; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .24em; color: var(--crimson-hi);
  display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--crimson-hi); }
.feature h3 { margin: 0 0 16px; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.35; color: var(--gold-hi); font-weight: 700; }
.feature p { margin: 0 0 10px; color: #e3d6be; }
.outro { text-align: center; color: var(--muted); margin: 8px 0 0; }

/* gallery */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.shot { display: block; aspect-ratio: 16 / 9; transition: transform .2s, box-shadow .2s, border-color .2s; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--gold-dim), 0 24px 60px rgba(0, 0, 0, .6); }

/* press kit */
.press { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; margin-bottom: 48px; }
.panel { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: 3px; padding: 28px clamp(18px, 3vw, 32px);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .5); }
.panel h3 { margin: 0 0 16px; font-size: 19px; color: var(--gold-hi); }
.facts { margin: 0; display: grid; gap: 10px; }
.fact { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
.fact dt { color: var(--dim); font-size: 14px; }
.fact dd { margin: 0; color: var(--text); font-size: 15px; }
.note { color: var(--dim); font-size: 13px; margin: 10px 0 0; }
.desc-short { color: var(--gold-hi); font-weight: 600; }
.press__desc p { margin: 0 0 10px; }
.press__contact { margin-top: 26px !important; }
.contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.contact span { color: var(--dim); font-size: 14px; display: inline-block; min-width: 11em; }

/* contact form (Netlify Forms) */
.cform { display: grid; gap: 16px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform label { display: grid; gap: 6px; }
.cform label span { font-size: 13px; color: var(--muted); letter-spacing: .03em; }
.cform input, .cform textarea { width: 100%; font: inherit; font-size: 15px; color: var(--text); background: #0d0907; border: 1px solid var(--line);
  border-radius: 3px; padding: 11px 13px; transition: border-color .2s, box-shadow .2s; }
.cform textarea { resize: vertical; min-height: 160px; line-height: 1.6; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(226, 178, 90, .18); }
.cform .btn { justify-self: center; min-width: 220px; margin-top: 6px; }
.cform__captcha { justify-self: center; min-height: 0; }
.cform__captcha:empty { display: none; }
.cform__err { margin: 0; justify-self: center; max-width: 560px; text-align: center; font-size: 14px; line-height: 1.6; color: #f1b0a0;
  background: rgba(150, 40, 30, .18); border: 1px solid rgba(200, 80, 60, .45); border-radius: 6px; padding: 10px 16px; }
.cform__err[hidden] { display: none; }

/* thanks page */
.thanks { position: relative; min-height: calc(100svh - 58px - 180px); display: flex; align-items: center; justify-content: center; padding: 64px var(--gut); isolation: isolate; overflow: hidden; }
.thanks .hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(11, 8, 7, .78); }
.thanks__box { max-width: 560px; text-align: center; }
.thanks__box h1 { margin: 0 0 10px; font-family: var(--display); color: var(--gold-hi); font-size: clamp(26px, 3vw, 34px); }
body.lang-ko .thanks__box h1, body.lang-ja .thanks__box h1, body.lang-zh-Hans .thanks__box h1, body.lang-zh-Hant .thanks__box h1 { font-family: var(--sans); }
.thanks__box p { margin: 0 0 24px; color: var(--text); }

/* footer */
.foot { padding: 48px 0 56px; text-align: center; color: var(--dim); font-size: 14px; }
.foot__in img { margin: 0 auto 14px; height: 56px; width: auto; opacity: .9; }
.foot p { margin: 4px 0; }
.foot__small { font-size: 12px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(5, 4, 3, .94); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .8); }
.lightbox__close { position: absolute; top: 12px; right: 16px; width: 44px; height: 44px; font-size: 30px; line-height: 1; color: var(--gold-hi);
  background: none; border: 1px solid var(--line); border-radius: 3px; cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 72px; font-size: 40px; color: var(--gold-hi);
  background: rgba(12, 9, 8, .6); border: 1px solid var(--line); border-radius: 3px; cursor: pointer; }
.lightbox__prev { left: 10px; }
.lightbox__next { right: 10px; }
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--gold); color: #fff3d8; }

/* small screens */
@media (max-width: 900px) {
  .feature, .feature--flip { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .press { grid-template-columns: 1fr; }
}
/* the menu stays on the right next to the language button (owner 10-10); long languages wrap inside the menu, right-aligned */
@media (max-width: 980px) {
  .top__in { gap: 14px; }
  .top__logo img { height: 16px; }
  .top__nav { flex: 1 1 auto; min-width: 0; justify-content: flex-end; flex-wrap: wrap; gap: 4px 16px; padding: 6px 0; }
  .top__nav a { font-size: 12px; letter-spacing: .04em; }
  .lang summary { padding: 6px 8px; }
  .trailer__frame { width: 100%; min-width: 0; }
}
@media (max-width: 600px) {
  .top__in { gap: 10px; }
  .top__logo img { height: auto; width: 118px; }
  .top__nav { gap: 2px 12px; }
  .top__nav a { font-size: 11px; letter-spacing: .02em; }
  .lang summary span { display: none; }
  html { scroll-padding-top: 96px; }
}
@media (max-width: 720px) {
  .cform__row { grid-template-columns: 1fr; }
  .pill { flex: 1 1 100%; }
  .fact { grid-template-columns: 1fr; gap: 2px; }
  .contact span { display: block; }
  .lightbox { padding: 56px 8px; }
  .lightbox__nav { width: 38px; height: 56px; font-size: 30px; }
  .title::before, .title::after { flex-basis: 40px; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* press kit: key features list (copy-ready) */
.press__keys { margin-top: 24px !important; }
.keys { margin: 0; padding: 0 0 0 18px; display: grid; gap: 6px; }
.keys li { color: #e3d6be; }
.keys li::marker { color: var(--crimson-hi); }
.keys b { color: var(--gold); font-weight: 700; font-size: 12px; letter-spacing: .14em; margin-right: 6px; font-family: var(--display); }
