:root {
  --bg: #0d0f0b;
  --bg2: #161a12;
  --olive: #5d6a3f;
  --olive-dark: #2c331d;
  --amber: #f2a922;
  --amber-dark: #d38a0c;
  --fire: #ff5a1f;
  --text: #ecebe3;
  --text2: #b8b6a6;
  --muted: #7d7b6c;
  --line: rgba(236, 235, 227, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; }
body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: radial-gradient(ellipse at 50% 35%, #1f2617 0%, var(--bg) 70%);
  color: var(--text);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.prelander { position: relative; width: 100vw; height: 100vh; height: 100dvh; overflow: hidden; cursor: pointer; }

/* ATMOSPHERE */
.atmosphere { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.camo {
  position: absolute; inset: -10%;
  opacity: 0;
  background:
    radial-gradient(ellipse 22% 14% at 12% 22%, #4b5632 60%, transparent 61%),
    radial-gradient(ellipse 18% 11% at 78% 16%, #3a4227 60%, transparent 61%),
    radial-gradient(ellipse 26% 12% at 64% 70%, #4b5632 60%, transparent 61%),
    radial-gradient(ellipse 16% 10% at 24% 78%, #57492c 60%, transparent 61%),
    radial-gradient(ellipse 14% 9% at 90% 52%, #57492c 60%, transparent 61%),
    radial-gradient(ellipse 12% 8% at 42% 40%, #3a4227 60%, transparent 61%);
  filter: blur(1px);
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.glow-amber { width: 620px; height: 420px; left: 50%; top: 42%; transform: translate(-50%, -50%); background: rgba(242, 169, 34, .05); }
.glow-fire { width: 420px; height: 220px; left: 50%; bottom: 6%; transform: translateX(-50%); background: rgba(255, 90, 31, .06); }
.smoke { position: absolute; width: 60vw; height: 30vh; border-radius: 50%; background: radial-gradient(closest-side, rgba(200, 196, 180, .07), transparent); filter: blur(20px); }
.smoke-1 { left: -15vw; bottom: 8vh; animation: drift 26s linear infinite; }
.smoke-2 { right: -20vw; bottom: 14vh; animation: drift 34s linear infinite reverse; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(30vw); } }
.grain {
  position: absolute; inset: 0; opacity: .04;
  background-image: repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
.ground { position: absolute; left: 0; right: 0; bottom: 0; height: 22vh; background: linear-gradient(to top, #0a0b08 20%, transparent); }

.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(8, 10, 7, .55) 0%, rgba(8, 10, 7, .35) 55%, rgba(8, 10, 7, .7) 100%),
    linear-gradient(to bottom, rgba(8, 10, 7, .5) 0%, rgba(8, 10, 7, 0) 30%, rgba(8, 10, 7, .8) 100%);
}

.logo { width: min(340px, 72vw); height: auto; margin-bottom: 14px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .7)); }

/* BARS */
.top-bar, .bottom-bar { position: absolute; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 16px 28px; }
.top-bar { top: 0; border-bottom: 1px solid var(--line); }
.top-bar-left { display: flex; align-items: center; gap: 10px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(242, 169, 34, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(242, 169, 34, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 169, 34, 0); } }
.status-text, .source-text { font-size: 11px; letter-spacing: .22em; font-weight: 700; color: var(--text2); }
.source-text { color: var(--muted); }
.bottom-bar { bottom: 0; justify-content: center; border-top: 1px solid var(--line); }
.legal { font-size: 11px; color: var(--muted); text-align: center; }
.legal a { color: var(--text2); }

/* CONTENT */
.content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 64px 20px 72px; gap: 0;
  animation: rise .7s ease both;
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.kicker { display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .3em; font-weight: 800; color: var(--amber); margin-bottom: 14px; }
.kicker-line { width: 36px; height: 2px; background: var(--amber); opacity: .7; }

.headline {
  font-family: Impact, "Arial Narrow Bold", "Segoe UI Black", sans-serif;
  font-weight: 900; text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(30px, 5.2vw, 64px); line-height: 1.02;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .6);
  max-width: 980px;
}
.highlight { color: var(--amber); }
html:lang(ja) .headline, html:lang(ko) .headline { font-family: "Yu Gothic UI", "Meiryo", "Malgun Gothic", "Hiragino Sans", "Noto Sans CJK JP", "Noto Sans KR", sans-serif; font-weight: 800; letter-spacing: 0; line-height: 1.2; }

.tank-wrap { position: relative; width: min(560px, 86vw); margin: 18px 0 8px; }
.tank { width: 100%; height: auto; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .65)); animation: idle 3.2s ease-in-out infinite; position: relative; z-index: 1; }
@keyframes idle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.crosshair { position: absolute; width: 34%; right: -6%; top: -18%; color: rgba(242, 169, 34, .55); animation: spin 18s linear infinite; z-index: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.muzzle {
  position: absolute; right: -2%; top: 23%; width: 70px; height: 40px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 230, 150, .95), rgba(255, 90, 31, .7) 45%, transparent 75%);
  opacity: 0; animation: fire 4.5s ease-out infinite 1.2s; z-index: 2;
}
@keyframes fire { 0%, 86% { opacity: 0; transform: scale(.4); } 88% { opacity: 1; transform: scale(1.15); } 100% { opacity: 0; transform: scale(1.6); } }

.stats { list-style: none; display: flex; gap: 12px; margin: 26px 0 24px; flex-wrap: wrap; justify-content: center; }
.stats li { min-width: 140px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 6px; background: rgba(22, 26, 18, .75); backdrop-filter: blur(4px); }
.stats b { display: block; font-family: Impact, "Arial Narrow Bold", sans-serif; font-size: 24px; color: var(--text); letter-spacing: .03em; }
.stats span { font-size: 12px; color: var(--text2); text-transform: uppercase; letter-spacing: .1em; }

.cta-button {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 42px; border-radius: 6px;
  background: linear-gradient(180deg, var(--amber), var(--amber-dark));
  color: #1a1305; text-decoration: none; font-weight: 900; font-size: 19px; letter-spacing: .08em;
  box-shadow: 0 10px 30px rgba(242, 169, 34, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .15s ease, box-shadow .15s ease;
  animation: nudge 2.6s ease-in-out infinite 1.5s;
}
.cta-button:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 38px rgba(242, 169, 34, .5), inset 0 1px 0 rgba(255, 255, 255, .35); }
.cta-button .arrow { font-size: 22px; transition: transform .15s ease; }
.cta-button:hover .arrow { transform: translateX(4px); }
@keyframes nudge { 0%, 90%, 100% { transform: none; } 94% { transform: scale(1.04); } }
.cta-sub { margin-top: 12px; font-size: 13px; color: var(--text2); }

/* MODAL */
.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; cursor: default; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .7); }
.modal-panel { position: relative; width: min(620px, 92vw); max-height: 80vh; overflow: auto; background: #15180f; border: 1px solid var(--line); border-radius: 10px; padding: 28px; color: var(--text2); font-size: 14px; line-height: 1.6; }
.modal-panel h2 { color: var(--text); margin-bottom: 12px; }
.modal-panel h3 { color: var(--text); font-size: 15px; margin: 16px 0 6px; }
.modal-panel ul { padding-left: 18px; }
.modal-muted { color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.modal-close { position: absolute; top: 10px; right: 14px; background: none; border: 0; color: var(--text2); font-size: 28px; cursor: pointer; }

/* RESPONSIVE */
@media (max-width: 640px) {
  .top-bar, .bottom-bar { padding: 12px 16px; }
  .source-text { display: none; }
  .stats { gap: 6px; flex-wrap: nowrap; width: 100%; }
  .stats li { min-width: 0; flex: 1; padding: 8px 4px; }
  .stats b { font-size: 18px; }
  .stats span { font-size: 9px; letter-spacing: .05em; }
  .cta-button { padding: 16px 26px; font-size: 16px; }
}
@media (max-height: 760px) {
  .logo { width: min(260px, 60vw); margin-bottom: 8px; }
  .headline { font-size: clamp(28px, 4.2vw, 48px); }
  .tank-wrap { width: min(380px, 66vw); margin: 8px 0 2px; }
  .stats { margin: 16px 0 16px; }
  .stats li { padding: 7px 14px; }
  .stats b { font-size: 20px; }
  .cta-button { padding: 15px 34px; font-size: 17px; }
  .kicker { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }
