/* BREACHPOINT website — same identity as the game UI (dark, orange accent, Rajdhani). */
@font-face { font-family: 'Rajdhani'; font-weight: 600; font-display: swap; src: url(/fonts/rajdhani-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF, U+25A0-25FF, U+2713; }
@font-face { font-family: 'Rajdhani'; font-weight: 600; font-display: swap; src: url(/fonts/rajdhani-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-024F; }
@font-face { font-family: 'Rajdhani'; font-weight: 700; font-display: swap; src: url(/fonts/rajdhani-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Rajdhani'; font-weight: 700; font-display: swap; src: url(/fonts/rajdhani-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-024F; }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-024F; }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-024F; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-display: swap; src: url(/fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-display: swap; src: url(/fonts/jetbrains-mono-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-024F; }

:root {
  --bg: #121314;
  --bg-2: #18191b;
  --panel: rgba(22, 23, 25, 0.86);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #e9e7e3;
  --text-dim: #9a9ca0;
  --text-faint: #64666a;
  --accent: #ff6a1a;
  --accent-dim: rgba(255, 106, 26, 0.14);
  --good: #9be36a;
  --warn: #ffc23d;
  --bad: #ff4a3d;
  --display: 'Rajdhani', 'Bahnschrift', 'Arial Narrow', system-ui, sans-serif;
  --ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --max: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--ui); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.accent { color: var(--accent); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: 0.06em; line-height: 1.1; margin: 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.26em; color: var(--text-dim); text-transform: uppercase; }
.dot { width: 7px; height: 7px; background: var(--accent); }

/* ---------- nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 4vw, 40px); background: linear-gradient(180deg, rgba(18, 19, 20, 0.92), rgba(18, 19, 20, 0.0)); backdrop-filter: blur(6px); transition: background 0.3s; }
.nav.solid { background: rgba(18, 19, 20, 0.94); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 4; }
.brand-mark .x { stroke: var(--text); stroke-width: 3; }
.brand-mark circle { fill: var(--accent); stroke: none; }
.brand-text { font-family: var(--display); font-size: 22px; letter-spacing: 0.14em; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--text-dim); transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.lang { display: flex; border: 1px solid var(--line-2); }
.lang button { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; padding: 6px 10px; background: transparent; color: var(--text-dim); border: 0; cursor: pointer; }
.lang button.on { background: var(--accent); color: #111; }

/* ---------- hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px clamp(16px, 6vw, 80px) 90px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: -4%; z-index: -2; background: url(/img/hero.jpg) center / cover no-repeat; background-image: image-set(url(/img/hero.webp) type('image/webp'), url(/img/hero.jpg) type('image/jpeg')); animation: drift 26s ease-in-out infinite alternate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 15, 16, 0.94) 0%, rgba(14, 15, 16, 0.72) 42%, rgba(14, 15, 16, 0.25) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px); }
@keyframes drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.08) translate(-1.5%, -1%); } }
.hero-frame i { position: absolute; width: 34px; height: 34px; border: 2px solid var(--accent); opacity: 0.7; }
.hero-frame i:nth-child(1) { top: 86px; left: clamp(12px, 3vw, 36px); border-right: 0; border-bottom: 0; }
.hero-frame i:nth-child(2) { top: 86px; right: clamp(12px, 3vw, 36px); border-left: 0; border-bottom: 0; }
.hero-frame i:nth-child(3) { bottom: 28px; left: clamp(12px, 3vw, 36px); border-right: 0; border-top: 0; }
.hero-frame i:nth-child(4) { bottom: 28px; right: clamp(12px, 3vw, 36px); border-left: 0; border-top: 0; }
.hero-inner { max-width: 640px; animation: rise 0.9s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.title { font-size: clamp(30px, 12.5vw, 128px); letter-spacing: 0.06em; margin: 14px 0 10px; text-shadow: 0 6px 30px rgba(0, 0, 0, 0.5); }
.tagline { font-size: clamp(17px, 2vw, 20px); color: #d6d3cd; max-width: 540px; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; flex-direction: column; gap: 2px; min-width: 230px; padding: 14px 22px; text-decoration: none; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); transition: transform 0.15s, background 0.15s, border-color 0.15s; }
.btn:hover { transform: translateY(-2px); border-color: var(--text-dim); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #121212; box-shadow: 0 10px 34px rgba(255, 106, 26, 0.28); }
.btn.primary:hover { background: #ff7f38; }
.btn.disabled { background: rgba(255, 106, 26, 0.18); color: var(--text); box-shadow: none; cursor: default; }
.btn-label { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: 0.14em; }
.btn-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; opacity: 0.75; }
.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 7px 14px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; background: rgba(10, 11, 12, 0.6); border: 1px solid var(--line); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-faint); }
.status.online .status-dot { background: var(--good); box-shadow: 0 0 0 0 rgba(155, 227, 106, 0.6); animation: ping 2s infinite; }
.status.offline .status-dot { background: var(--bad); }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(155, 227, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(155, 227, 106, 0); } }
.scroll { position: absolute; left: 50%; bottom: 26px; width: 24px; height: 38px; border: 2px solid var(--line-2); border-radius: 12px; transform: translateX(-50%); }
.scroll span { position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--accent); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

/* ---------- sections */
.section { max-width: var(--max); margin: 0 auto; padding: 100px clamp(16px, 4vw, 40px) 20px; }
.section-head { margin-bottom: 36px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 52px); margin-top: 8px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card { background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; transition: transform 0.2s, border-color 0.2s; }
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; filter: saturate(0.95); }
.card-body { padding: 18px 20px 22px; }
.card-tag { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--accent); background: var(--accent-dim); padding: 2px 8px; margin-bottom: 10px; }
.card h3 { font-size: 24px; margin-bottom: 8px; }
.card p { margin: 0; color: var(--text-dim); font-size: 15px; }

/* mission strip (mirrors the in-game HUD) */
.mission { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; padding-top: 110px; }
.mission-img { min-height: 340px; background: url(/img/vantage.webp) center / cover; border: 1px solid var(--line); }
.mission-panel { background: linear-gradient(90deg, rgba(22, 23, 25, 0.98), rgba(22, 23, 25, 0.92)); border: 1px solid var(--line); border-left: 0; padding: 28px 30px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.mp-op { font-family: var(--mono); font-size: 12px; letter-spacing: 0.26em; color: var(--text-dim); }
.mp-op b { color: var(--accent); font-weight: 400; }
.tasks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: 0.05em; }
.tasks li { display: flex; gap: 10px; }
.tasks i { font-style: normal; width: 18px; text-align: center; }
.tasks .done { color: var(--good); text-decoration: line-through; text-decoration-color: rgba(155, 227, 106, 0.5); }
.tasks .current { color: var(--text); }
.tasks .current i { color: var(--accent); }
.tasks .locked { color: var(--text-faint); }
.alarm { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line); }
.alarm-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.26em; color: var(--text-dim); }
.alarm-level { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: 0.22em; color: var(--bad); animation: pulse 0.9s ease-in-out infinite alternate; }
.alarm-sub { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--bad); }
@keyframes pulse { to { opacity: 0.5; } }

/* co-op steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.steps li { position: relative; background: var(--bg-2); border: 1px solid var(--line); padding: 26px 22px; }
.step-n { font-family: var(--display); font-weight: 700; font-size: 46px; color: var(--accent); line-height: 1; }
.steps h3 { font-size: 24px; margin: 10px 0 6px; }
.steps p { margin: 0; color: var(--text-dim); font-size: 15px; }
.code-chip { display: inline-block; margin-top: 14px; padding: 6px 14px; font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: 0.2em; color: var(--accent); border: 1px dashed rgba(255, 106, 26, 0.5); }
.note { margin-top: 18px; font-size: 14px; color: var(--text-faint); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.gallery button { padding: 0; border: 1px solid var(--line); background: none; cursor: zoom-in; overflow: hidden; }
.gallery img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform 0.4s; }
.gallery button:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(8, 9, 10, 0.92); }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; border: 1px solid var(--line-2); }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; font-size: 20px; color: var(--text); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); cursor: pointer; }

/* roadmap */
.roadmap { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid var(--line-2); display: flex; flex-direction: column; gap: 22px; }
.roadmap li { position: relative; display: flex; flex-direction: column; gap: 2px; }
.roadmap li::before { content: ''; position: absolute; left: -36px; top: 6px; width: 12px; height: 12px; background: var(--bg); border: 2px solid var(--text-faint); }
.roadmap li.done::before { background: var(--good); border-color: var(--good); }
.roadmap li.next::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-dim); }
.roadmap b { font-family: var(--display); font-size: 22px; letter-spacing: 0.06em; }
.roadmap li.next b { color: var(--accent); }
.roadmap span { color: var(--text-dim); font-size: 15px; }

/* faq */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--bg-2); border: 1px solid var(--line); padding: 16px 20px; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: 0.05em; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--accent); }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: 10px 0 0; color: var(--text-dim); }

/* footer */
.footer { max-width: var(--max); margin: 100px auto 0; padding: 30px clamp(16px, 4vw, 40px) 40px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--text-faint); }
.footer-brand { font-family: var(--display); font-size: 18px; letter-spacing: 0.12em; color: var(--text-dim); }
.footer-credits { max-width: 860px; }


/* ---------- AI SLOP: stamp, ticker, certificate, toast */
.lang button.soon { color: var(--text-faint); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.25); }
.stamp { display: inline-flex; align-items: baseline; gap: 8px; margin: 0 0 22px; padding: 6px 14px 7px; font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2.4vw, 26px); letter-spacing: 0.18em; color: var(--accent); border: 3px double var(--accent); transform: rotate(-3deg); background: rgba(255, 106, 26, 0.07); position: relative; animation: thunk 0.5s 0.6s cubic-bezier(0.2, 1.6, 0.4, 1) both; }
.stamp span { font-size: 1.35em; letter-spacing: 0.04em; }
.stamp small { position: absolute; right: -6px; bottom: -20px; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.08em; color: var(--text-dim); transform: rotate(3deg); white-space: nowrap; }
@keyframes thunk { from { opacity: 0; transform: rotate(-12deg) scale(2.2); } to { opacity: 1; transform: rotate(-3deg) scale(1); } }

.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--accent); color: #141414; }
.ticker-track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker-track span { padding: 9px 0; font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: 0.16em; white-space: nowrap; }
@keyframes tick { to { transform: translateX(-50%); } }

.cert { position: relative; display: grid; grid-template-columns: 1fr; gap: 28px; padding: clamp(24px, 4vw, 44px); background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.015) 0 10px, transparent 10px 20px), var(--bg-2); border: 1px solid var(--line-2); outline: 1px dashed rgba(255, 106, 26, 0.35); outline-offset: -10px; }
.cert-head h2 { font-size: clamp(32px, 4.6vw, 52px); margin: 8px 0 6px; }
.cert-head p { margin: 0; color: var(--text-dim); max-width: 520px; }
.cert-stats { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.cert-stats > div { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.18); }
.cert-stats dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); }
.cert-stats dd { margin: 4px 0 0; font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 1.05; color: var(--accent); }
.cert-stats span { font-size: 14px; color: var(--text-faint); }
.cert-seal { position: absolute; top: clamp(18px, 3vw, 34px); right: clamp(18px, 3vw, 40px); width: 132px; height: 132px; border-radius: 50%; border: 3px solid var(--accent); outline: 1px solid var(--accent); outline-offset: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--accent); transform: rotate(12deg); opacity: 0.85; font-family: var(--display); }
.cert-seal b { font-size: 34px; line-height: 1; }
.cert-seal span { font-weight: 700; font-size: 14px; letter-spacing: 0.2em; line-height: 1.15; }
.cert-seal i { font-style: normal; font-family: var(--mono); font-size: 9px; letter-spacing: 0.3em; margin-top: 4px; color: var(--text-dim); }
.card p em { color: var(--text-faint); font-style: normal; font-family: var(--mono); font-size: 12px; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; max-width: calc(100vw - 32px); padding: 12px 18px; font-family: var(--mono); font-size: 13px; color: var(--text); background: #1e1f22; border: 1px solid var(--accent); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.reviews figure { margin: 0; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 18px; background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--accent); }
.reviews blockquote { margin: 0; font-family: var(--display); font-weight: 700; font-size: 23px; line-height: 1.2; letter-spacing: 0.02em; }
.reviews figcaption { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-dim); }
.stars { margin-top: auto; color: var(--warn); letter-spacing: 0.2em; font-size: 15px; }

@media (max-width: 860px) {
  .cert-seal { position: static; justify-self: start; width: 104px; height: 104px; order: -1; }
  .cert-seal b { font-size: 26px; }
  .cert-seal span { font-size: 12px; }
  .nav-links { display: none; }
  .lang { margin-left: auto; }
  .mission { grid-template-columns: 1fr; }
  .mission-img { min-height: 220px; }
  .mission-panel { border-left: 1px solid var(--line); border-top: 0; }
  .btn { min-width: 0; flex: 1 1 100%; }
  .hero { align-items: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
