/* Light Up the Night 紹介ページ（外部サイト Nimble Fox で遊ぶゲームの案内）
   夜の街のあたたかい灯り。紺の空 × ランタンの琥珀色。動きは opacity / transform のみ。 */
:root {
  --lu-amber: #ffc766;
  --lu-amber-hi: #ffe9b8;
  --lu-amber-lo: #f29a2e;
  --lu-ink: #2a1700;
  --lu-night: #050816;
  --lu-panel: rgba(12, 18, 46, .88);
  --lu-line: rgba(255, 199, 102, .22);
  --lu-text: #d8def2;
  --lu-muted: #a9b4d4;
}

.lu-unified { background: var(--lu-night) radial-gradient(1200px 520px at 50% -120px, #14204f 0%, transparent 70%) no-repeat top center; color: var(--lu-text); }
.lu-page { width: min(100% - 2rem, 1180px); margin: 0 auto; padding: 1rem 0 4rem; }

/* ---- hero ---- */
.lu-hero { position: relative; min-height: 640px; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; border: 1px solid var(--lu-line); border-radius: 26px; background: #0a1030; box-shadow: 0 25px 90px rgba(0, 0, 0, .5), 0 0 80px rgba(255, 170, 60, .08); }
.lu-hero-media { position: absolute; inset: 0; }
.lu-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.lu-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 7, 22, .96) 0%, rgba(4, 7, 22, .82) 30%, rgba(4, 7, 22, .22) 62%, rgba(4, 7, 22, 0) 100%), linear-gradient(0deg, rgba(4, 7, 22, .7), transparent 38%); }
.lu-hero::after { content: ""; position: absolute; inset: auto 0 0; z-index: 3; height: 2px; background: linear-gradient(90deg, transparent, var(--lu-amber), var(--lu-amber-lo), transparent); opacity: .8; }
.lu-stars { position: absolute; inset: 0 0 45% 0; z-index: 1; pointer-events: none; }
.lu-stars i { position: absolute; left: var(--x); top: var(--y); width: var(--s, 3px); height: var(--s, 3px); border-radius: 50%; background: #fff6d6; box-shadow: 0 0 8px 2px rgba(255, 214, 128, .75); opacity: .15; animation: luTwinkle var(--d, 3.6s) ease-in-out var(--o, 0s) infinite; }
@keyframes luTwinkle { 0%, 100% { opacity: .1; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.25); } }

.lu-hero-copy { position: relative; z-index: 2; width: min(640px, 62%); padding: clamp(2rem, 5vw, 4.25rem); }
.lu-kicker, .lu-section-kicker { margin: 0 0 .7rem; color: var(--lu-amber); font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.lu-hero h1 { margin: 0; color: #ffe3a3; font-family: "Hiragino Mincho ProN", Palatino, "Palatino Linotype", Georgia, serif; font-size: clamp(2.8rem, 6.6vw, 5.6rem); font-style: italic; font-weight: 800; line-height: .94; letter-spacing: -.01em; text-shadow: 0 0 18px rgba(255, 176, 64, .55), 0 0 56px rgba(255, 150, 40, .28), 0 5px 0 rgba(60, 28, 0, .55); }
.lu-hero h1 span { display: block; }
.lu-lead { max-width: 560px; margin: 1.2rem 0 1.2rem; color: #e6eaf8; font-size: clamp(.98rem, 1.5vw, 1.1rem); line-height: 1.75; }
.lu-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.4rem; padding: 0; list-style: none; }
.lu-chips li { padding: .38rem .75rem; border: 1px solid rgba(255, 199, 102, .32); border-radius: 999px; color: var(--lu-amber-hi); background: rgba(255, 199, 102, .08); font-size: .76rem; font-weight: 700; letter-spacing: .03em; }
.lu-actions { display: flex; flex-wrap: wrap; gap: .65rem; }

.lu-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; padding: .75rem 1.4rem; border-radius: 999px; font-size: .95rem; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background-color .2s ease; }
.lu-btn:hover { text-decoration: none; transform: translateY(-2px); }
.lu-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.lu-btn-play { z-index: 0; border: 0; color: var(--lu-ink); background: linear-gradient(180deg, var(--lu-amber-hi) 0%, var(--lu-amber) 48%, var(--lu-amber-lo) 100%); box-shadow: 0 4px 0 #9a5a10, 0 10px 26px rgba(0, 0, 0, .35); }
.lu-btn-play:hover { color: var(--lu-ink); }
.lu-btn-play::before { content: ""; position: absolute; inset: -6px; z-index: -1; border-radius: inherit; background: radial-gradient(closest-side, rgba(255, 190, 80, .85), transparent 72%); filter: blur(6px); opacity: .35; animation: luLantern 2.8s ease-in-out infinite; }
.lu-btn-play:hover::before { opacity: .8; animation: none; }
@keyframes luLantern { 0%, 100% { opacity: .25; transform: scale(.96); } 50% { opacity: .75; transform: scale(1.06); } }
.lu-btn-ghost { border: 1px solid rgba(255, 255, 255, .3); color: #fff; background: rgba(5, 8, 22, .45); }
.lu-btn-ghost:hover { color: #fff; border-color: var(--lu-amber); background: rgba(255, 199, 102, .1); }
.lu-note { max-width: 520px; margin: .9rem 0 0; color: var(--lu-muted); font-size: .8rem; line-height: 1.6; }

/* ---- story ---- */
.lu-card { min-width: 0; border: 1px solid var(--lu-line); border-radius: 20px; background: linear-gradient(150deg, rgba(20, 30, 70, .9), rgba(7, 11, 30, .95)); box-shadow: 0 18px 55px rgba(0, 0, 0, .28); }
.lu-story { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(1.2rem, 3vw, 2.4rem); margin: 1.5rem 0; padding: clamp(1.3rem, 3vw, 2.2rem); }
.lu-story h2, .lu-final h2 { margin: 0; color: #fff; font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.2; }
.lu-story-body { margin: .9rem 0 0; color: var(--lu-muted); line-height: 1.8; }
.lu-steps { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; counter-reset: lustep; }
.lu-step { display: grid; grid-template-columns: 52px 1fr; gap: .95rem; align-items: center; padding: .85rem; border: 1px solid rgba(255, 199, 102, .16); border-radius: 14px; background: rgba(255, 199, 102, .045); }
.lu-step::before { counter-increment: lustep; content: counter(lustep); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: var(--lu-ink); background: radial-gradient(circle at 35% 30%, var(--lu-amber-hi), var(--lu-amber) 60%, var(--lu-amber-lo)); box-shadow: 0 0 18px rgba(255, 176, 64, .45); font-family: Georgia, serif; font-size: 1.5rem; font-weight: 800; }
.lu-step strong { display: block; color: #fff6e0; font-size: 1rem; }
.lu-step span { display: block; margin-top: .15rem; color: var(--lu-muted); font-size: .84rem; line-height: 1.55; }

/* ---- gallery（Steam 風: 大きい 1 枚＋サムネイル）---- */
.lu-gallery { margin: 1.5rem 0; padding: clamp(1rem, 2.5vw, 1.6rem); }
.lu-gal-head { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin-bottom: .9rem; }
.lu-gal-head h2 { margin: 0; color: #fff; font-size: clamp(1.2rem, 2.6vw, 1.6rem); }
.lu-gal-count { color: var(--lu-muted); font-size: .8rem; font-variant-numeric: tabular-nums; }
.lu-gal-stage { position: relative; }
.lu-gal-fig { position: relative; overflow: hidden; margin: 0; aspect-ratio: 16 / 9; border: 1px solid rgba(255, 199, 102, .22); border-radius: 14px; background: #050816; touch-action: pan-y; }
.lu-gal-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.lu-gal-open:focus-visible { outline: 3px solid var(--lu-amber); outline-offset: -3px; }
.lu-gal-open img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lu-gal-open img.is-in { animation: luFade .35s ease; }
@keyframes luFade { from { opacity: 0; } to { opacity: 1; } }
.lu-gal-fig figcaption { position: absolute; inset: auto 0 0; padding: 2.4rem 1.1rem .9rem; color: #fff6e0; font-size: .95rem; font-weight: 700; pointer-events: none; background: linear-gradient(0deg, rgba(3, 5, 16, .88), transparent); }
.lu-gal-nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255, 199, 102, .5); border-radius: 50%; color: #fff6e0; background: rgba(5, 8, 22, .72); cursor: pointer; transform: translateY(-50%); transition: background-color .2s ease, border-color .2s ease; }
.lu-gal-nav:hover { border-color: var(--lu-amber); background: rgba(255, 199, 102, .22); }
.lu-gal-nav:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lu-gal-prev { left: .7rem; }
.lu-gal-next { right: .7rem; }
.lu-gal-thumbs { display: flex; gap: .55rem; overflow-x: auto; margin-top: .8rem; padding: .25rem .1rem .45rem; scrollbar-width: thin; scrollbar-color: rgba(255, 199, 102, .5) transparent; }
.lu-gal-thumb { flex: 0 0 auto; width: 144px; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 8px; background: #050816; opacity: .62; cursor: pointer; transition: opacity .2s ease, border-color .2s ease, transform .2s ease; }
.lu-gal-thumb:hover { opacity: 1; transform: translateY(-2px); }
.lu-gal-thumb:focus-visible { outline: 3px solid #fff; outline-offset: 2px; opacity: 1; }
.lu-gal-thumb.is-active { border-color: var(--lu-amber); opacity: 1; box-shadow: 0 0 14px rgba(255, 176, 64, .45); }
.lu-gal-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lu-gal-help { margin: .5rem 0 0; color: var(--lu-muted); font-size: .76rem; }

.lu-lb { width: min(96vw, 1500px); max-width: none; max-height: 96vh; margin: auto; padding: 0; overflow: visible; border: 0; background: transparent; color: #fff; }
.lu-lb::backdrop { background: rgba(2, 4, 12, .92); }
.lu-lb img { display: block; width: 100%; max-height: 84vh; object-fit: contain; border-radius: 10px; background: #050816; }
.lu-lb p { margin: .7rem 0 0; color: #fff6e0; text-align: center; font-size: .95rem; font-weight: 700; }
.lu-lb-btn { position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; padding: 0 0 .15rem; border: 1px solid rgba(255, 199, 102, .55); border-radius: 50%; color: #fff6e0; background: rgba(5, 8, 22, .8); font-size: 1.9rem; line-height: 1; cursor: pointer; }
.lu-lb-btn:hover { background: rgba(255, 199, 102, .25); }
.lu-lb-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lu-lb-close { top: -.6rem; right: -.4rem; }
.lu-lb-prev { top: 42%; left: .6rem; }
.lu-lb-next { top: 42%; right: .6rem; }

/* ---- final ---- */
.lu-final { position: relative; overflow: hidden; margin-top: 1.5rem; padding: clamp(1.6rem, 4vw, 2.8rem); text-align: center; background: radial-gradient(520px 220px at 50% 0%, rgba(255, 176, 64, .2), transparent 70%), linear-gradient(150deg, rgba(20, 30, 70, .92), rgba(7, 11, 30, .96)); }
.lu-final p { max-width: 520px; margin: .7rem auto 1.3rem; color: var(--lu-muted); line-height: 1.7; }
.lu-final .lu-actions { justify-content: center; }
.lu-share-h { margin: 1.6rem 0 .6rem; color: var(--lu-amber-hi); font-size: .9rem; font-weight: 800; letter-spacing: .04em; }
.lu-final .about-share { text-align: left; }
#other-games-section { margin-top: 3rem; }

@media (max-width: 850px) {
  .lu-hero { display: block; min-height: 0; }
  .lu-hero-media { position: relative; aspect-ratio: 16 / 9; }
  .lu-hero-media img { object-position: center; }
  .lu-hero-media::after { background: linear-gradient(0deg, rgba(4, 7, 22, 1) 0%, rgba(4, 7, 22, .55) 22%, transparent 55%); }
  .lu-stars { inset: 0 0 auto 0; aspect-ratio: 16 / 9; height: auto; bottom: auto; }
  .lu-hero-copy { width: 100%; margin-top: -2.4rem; padding: 0 1.4rem 1.7rem; }
  .lu-story { grid-template-columns: 1fr; }
  .lu-gal-thumb { width: 118px; }
}
@media (max-width: 560px) {
  .lu-page { width: min(100% - 1rem, 1180px); padding-top: .5rem; }
  .lu-hero { border-radius: 18px; }
  .lu-hero-copy { padding: 0 1rem 1.4rem; }
  .lu-hero h1 { font-size: clamp(2.6rem, 14vw, 3.8rem); }
  .lu-actions { display: grid; }
  .lu-actions .lu-btn { width: 100%; }
  .lu-gal-nav { width: 40px; height: 40px; }
  .lu-gal-fig figcaption { padding: 1.6rem .8rem .65rem; font-size: .84rem; }
  .lu-gal-thumb { width: 96px; }
  .lu-lb-close { top: .4rem; right: .4rem; }
  .lu-step { grid-template-columns: 46px 1fr; gap: .8rem; }
  .lu-step::before { width: 46px; height: 46px; font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .lu-stars i, .lu-btn-play::before, .lu-gal-open img.is-in { animation: none; }
  .lu-stars i { opacity: .6; }
  .lu-btn:hover, .lu-gal-thumb:hover { transform: none; }
}
@media (forced-colors: active) {
  .lu-stars, .lu-btn-play::before { display: none; }
  .lu-btn-play { border: 2px solid ButtonText; }
}
