:root {
  --bg: #080b0e;
  --panel: #10161b;
  --panel-2: #151d23;
  --text: #f2f5f7;
  --muted: #a5b1b9;
  --line: #27333a;
  --forge: #f1903d;
  --forge-soft: #ffc07d;
  --signal: #4dd5e7;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(77, 213, 231, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 213, 231, .025) 1px, transparent 1px),
    radial-gradient(circle at 82% 8%, rgba(77, 213, 231, .09), transparent 28rem),
    radial-gradient(circle at 8% 48%, rgba(241, 144, 61, .08), transparent 30rem),
    var(--bg);
  background-size: 36px 36px, 36px 36px, auto, auto, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-wrap: break-word;
}

a { color: inherit; }
.skip-link { position: fixed; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 20; padding: .65rem 1rem; border-radius: 8px; background: var(--text); color: var(--bg); }
.shell { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(8,11,14,.88);
  backdrop-filter: blur(18px);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; font-weight: 800; letter-spacing: -.03em; font-size: 1.15rem; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--forge); border-radius: 9px 9px 12px 12px; color: var(--forge-soft); box-shadow: inset 0 0 18px rgba(241,144,61,.12), 0 0 22px rgba(241,144,61,.08); }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }

main { overflow: hidden; }
.hero { min-height: 72vh; display: grid; align-items: center; padding: 7rem 0 5rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 5rem; align-items: center; }
.eyebrow { margin: 0 0 1rem; color: var(--signal); font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.04em; }
h1 { max-width: 780px; margin: 0; font-size: clamp(3rem, 7vw, 6.5rem); }
.hero-copy { max-width: 680px; margin: 1.5rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: .75rem 1.1rem; border: 1px solid var(--forge); border-radius: 10px; background: var(--forge); color: #17100a; font-weight: 800; text-decoration: none; }
.button.secondary { border-color: var(--line); background: transparent; color: var(--text); }
.button:hover, .button:focus-visible { transform: translateY(-1px); filter: brightness(1.08); }
.hero-aside { position: relative; padding: 2rem; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); box-shadow: 0 32px 80px rgba(0,0,0,.34); }
.hero-aside::before { content: ""; position: absolute; inset: -1px auto -1px -1px; width: 3px; border-radius: 18px 0 0 18px; background: linear-gradient(var(--forge), var(--signal)); }
.hero-aside strong { display: block; margin-bottom: .35rem; font-size: 1.06rem; }
.hero-aside p { margin: 0 0 1.4rem; color: var(--muted); }
.hero-aside p:last-child { margin-bottom: 0; }

.section { padding: 6rem 0; }
.section-head { display: grid; grid-template-columns: .65fr 1.35fr; gap: 3rem; margin-bottom: 2.5rem; }
.section h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.6rem); }
.section-intro { max-width: 700px; margin: .2rem 0 0; color: var(--muted); font-size: 1.05rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { min-height: 260px; padding: 1.6rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(16,22,27,.76); }
.card-index { color: var(--forge); font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.card h3 { margin: 3rem 0 .75rem; font-size: 1.45rem; }
.card p { margin: 0; color: var(--muted); }

.skins { border-block: 1px solid var(--line); background: rgba(255,255,255,.018); }
.skin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.skin { position: relative; min-height: 300px; padding: 1.4rem; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; background: #111; }
.skin::after { content: ""; position: absolute; inset: auto -15% -38% 20%; height: 70%; transform: rotate(-12deg); border-radius: 50%; background: var(--skin-glow); filter: blur(35px); opacity: .55; }
.skin > * { position: relative; z-index: 1; }
.skin small { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.skin h3 { margin: 7rem 0 .5rem; font-size: 1.7rem; }
.skin p { margin: 0; color: rgba(255,255,255,.72); }
.skin.cyber { --skin-glow: #00e0ff; background: linear-gradient(145deg, #081219, #17111c); color: #ffd33d; }
.skin.steam { --skin-glow: #d4782c; background: linear-gradient(145deg, #1a1109, #302011); color: #f3c177; }
.skin.glass { --skin-glow: #65b9ff; background: linear-gradient(145deg, #0b1826, #15152b); color: #bfe9ff; }
.skin.anime { --skin-glow: #f477cf; background: linear-gradient(145deg, #101527, #1d1733); color: #7deaff; }

.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.trust-panel { padding: 2rem; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.trust-panel h3 { margin: 0 0 .7rem; }
.trust-panel p { margin: 0; color: var(--muted); }

.page-head { padding: 5rem 0 2.5rem; }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.prose { max-width: 800px; padding-bottom: 6rem; }
.prose h2 { margin: 2.5rem 0 .7rem; font-size: 1.6rem; }
.prose p, .prose li { color: var(--muted); }
.prose a { color: var(--signal); }
.notice { padding: 1rem 1.2rem; border-left: 3px solid var(--forge); background: rgba(241,144,61,.08); color: var(--text); }
.error-page { min-height: calc(100vh - 153px); display: grid; place-items: center; padding-block: 5rem; }
.error-code { margin: 0 0 .8rem; color: var(--forge); font-size: clamp(4rem, 18vw, 9rem); font-weight: 900; line-height: .85; letter-spacing: -.08em; }
.error-copy { max-width: 560px; margin: 1.25rem 0 0; color: var(--muted); font-size: 1.1rem; }

.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--line); }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-start; }
.footer-grid p { margin: .25rem 0 0; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1rem; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 880px) {
  .hero-grid, .section-head { grid-template-columns: 1fr; gap: 2rem; }
  .hero { min-height: auto; padding-top: 5rem; }
  .hero-aside { max-width: 620px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .card h3 { margin-top: 2rem; }
  .skin-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 1.5rem - env(safe-area-inset-left) - env(safe-area-inset-right)), var(--max)); }
  .nav { min-height: 64px; }
  .brand { gap: .6rem; font-size: 1.05rem; }
  .brand-mark { width: 32px; height: 32px; }
  .nav-links { gap: .75rem; }
  .nav-links a:not(.nav-support) { display: none; }
  .hero { padding: 4rem 0; }
  h1 { font-size: clamp(2.45rem, 13vw, 3.5rem); }
  .hero-copy { font-size: 1rem; }
  .actions { align-items: stretch; }
  .actions .button { flex: 1 1 100%; }
  .hero-aside, .trust-panel { padding: 1.4rem; }
  .section { padding: 4.5rem 0; }
  .skin-grid, .trust { grid-template-columns: 1fr; }
  .skin { min-height: 250px; }
  .skin h3 { margin-top: 5rem; }
  .footer-grid { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 360px) {
  .nav-support { font-size: .84rem !important; }
  .page-head { padding-top: 3.5rem; }
  .card, .skin { padding: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
