/* =========================================================
   Wolf777 — wolfs777.live
   Brand system pulled from the live Wolf777 identity:
   near-black purple base, magenta -> purple accent gradient,
   silver/white typography.
   Fonts: Sora (display) + Manrope (body)
   ========================================================= */

:root {
  --ink:        #0b050c;   /* page base */
  --ink-2:      #110713;   /* deeper wells */
  --panel:      #1a0f1c;   /* cards */
  --panel-2:    #241428;   /* raised cards */
  --line:       #3a2740;   /* hairline borders */
  --magenta:    #e63bbc;   /* primary accent */
  --purple:     #9543c6;   /* secondary accent */
  --magenta-lo: rgba(230, 59, 188, 0.14);
  --silver:     #e8e6ea;   /* headings */
  --text:       #d5cdd9;   /* body copy */
  --muted:      #a394ab;   /* secondary copy */
  --white:      #ffffff;
  --good:       #1cd766;
  --warn:       #ffcf4a;
  --grad:       linear-gradient(135deg, #e63bbc 0%, #9543c6 100%);
  --grad-soft:  linear-gradient(160deg, #1f0f20 0%, #110713 100%);
  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 18px 44px rgba(0, 0, 0, 0.45);
  --shadow-mag: 0 14px 34px rgba(230, 59, 188, 0.28);
  --wrap:       1160px;
  --font-head:  "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body:  "Manrope", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  background-image:
    radial-gradient(1100px 520px at 82% -8%, rgba(230, 59, 188, 0.12), transparent 60%),
    radial-gradient(900px 480px at 8% 4%, rgba(149, 67, 198, 0.12), transparent 60%);
  background-attachment: fixed;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--silver); line-height: 1.18; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.28rem; }
p { margin-bottom: 1.05rem; }
a { color: var(--magenta); text-decoration: none; transition: color .18s ease; }
a:hover { color: #f27fd6; }
img { max-width: 100%; display: block; }
strong { color: var(--silver); font-weight: 700; }
ul, ol { margin: 0 0 1.15rem 1.15rem; }
li { margin-bottom: .5rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.section { padding: 74px 0; }
.section-sm { padding: 46px 0; }
.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--magenta); margin-bottom: 14px;
}
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  text-align: center;
}
.btn-primary { background: var(--grad); color: var(--white); box-shadow: var(--shadow-mag); }
.btn-primary:hover { transform: translateY(-2px); color: var(--white); box-shadow: 0 18px 40px rgba(230, 59, 188, .4); }
.btn-ghost { background: transparent; color: var(--silver); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--magenta); color: var(--white); transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11, 5, 12, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 42px; width: auto; }
.brand span { display: none; }
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; }
.nav-links a {
  font-family: var(--font-head); font-weight: 500; font-size: .96rem;
  color: var(--text); padding: 9px 16px; border-radius: 999px;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,.06); }
.nav-links a.login { border: 1px solid var(--line); }
.nav-links a.signup { background: var(--grad); color: var(--white); box-shadow: var(--shadow-mag); }
.nav-links a.signup:hover { color: var(--white); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--silver); margin: 4px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { padding: 78px 0 64px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero p { max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-stats { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats .num { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: var(--silver); }
.hero-stats .lbl { font-size: .84rem; color: var(--muted); }
.hero-art {
  border-radius: 22px; border: 1px solid var(--line); overflow: hidden;
  background: var(--grad-soft); box-shadow: var(--shadow); padding: 22px;
}
.hero-art .tile-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-art img { border-radius: 12px; border: 1px solid var(--line); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 7px 15px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  color: var(--silver); background: var(--magenta-lo); border: 1px solid rgba(230,59,188,.3);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(28,215,102,.18); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(230,59,188,.5); }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--magenta-lo); border: 1px solid rgba(230,59,188,.3); margin-bottom: 16px;
  font-size: 1.3rem;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .98rem; }

.game-card {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  background: var(--panel); transition: transform .18s ease, box-shadow .18s ease;
}
.game-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-mag); }
.game-card img { aspect-ratio: 5/3; object-fit: cover; width: 100%; }
.game-card .body { padding: 14px 16px; }
.game-card h4 { font-family: var(--font-head); color: var(--silver); font-size: 1.02rem; margin-bottom: 3px; }
.game-card span { font-size: .82rem; color: var(--muted); }

/* ---------- Section head ---------- */
.sec-head { max-width: 680px; margin-bottom: 40px; }
.sec-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.split img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.split.rev .txt { order: 2; }

/* ---------- Tools ---------- */
.tool {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; height: 100%;
}
.tool h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.tool .hint { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .82rem; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.field input, .field select {
  width: 100%; padding: 12px 14px; border-radius: 10px; font-family: var(--font-body);
  background: var(--ink-2); border: 1px solid var(--line); color: var(--silver); font-size: 1rem;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--magenta); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tool-out {
  margin-top: 16px; padding: 16px 18px; border-radius: 12px;
  background: var(--magenta-lo); border: 1px solid rgba(230,59,188,.3);
}
.tool-out .big { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--white); }
.tool-out .sub { font-size: .86rem; color: var(--muted); }
.tool-out .row { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.tool-out .row:last-child { border-bottom: none; }
.tool-out .row span:last-child { color: var(--silver); font-weight: 600; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step .n {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; color: var(--white); background: var(--grad);
}
.step h4 { margin-bottom: 3px; }
.step p { color: var(--muted); margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: var(--panel); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 18px 20px; font-family: var(--font-head); font-weight: 600; color: var(--silver);
  font-size: 1.04rem; display: flex; justify-content: space-between; gap: 14px; align-items: center;
}
.faq-q .plus { color: var(--magenta); font-size: 1.4rem; transition: transform .2s ease; flex: 0 0 auto; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a p { padding: 0 20px 18px; color: var(--muted); margin: 0; }

/* ---------- Callout / CTA band ---------- */
.cta-band {
  background: var(--grad); border-radius: 24px; padding: 52px 44px; text-align: center;
  box-shadow: var(--shadow-mag);
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.9); max-width: 620px; margin: 12px auto 26px; }
.cta-band .btn-primary { background: var(--ink); color: var(--white); box-shadow: none; }
.cta-band .btn-primary:hover { background: #000; }

/* ---------- Auth pages ---------- */
.auth-wrap { min-height: calc(100vh - 74px); display: grid; place-items: center; padding: 48px 22px; }
.auth-card {
  width: 100%; max-width: 440px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 20px; padding: 34px; box-shadow: var(--shadow);
}
.auth-card .brand-mini { text-align: center; margin-bottom: 8px; }
.auth-card .brand-mini img { height: 48px; margin: 0 auto 14px; }
.auth-card h1 { font-size: 1.7rem; text-align: center; margin-bottom: 6px; }
.auth-card .sub { text-align: center; color: var(--muted); margin-bottom: 24px; font-size: .96rem; }
.auth-card .btn { width: 100%; justify-content: center; }
.auth-alt { text-align: center; margin-top: 18px; font-size: .94rem; color: var(--muted); }
.auth-note {
  margin-top: 20px; padding: 12px 14px; border-radius: 10px; font-size: .82rem;
  color: var(--muted); background: var(--ink-2); border: 1px solid var(--line);
}
.checkrow { display: flex; align-items: flex-start; gap: 9px; font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.checkrow input { margin-top: 4px; accent-color: var(--magenta); }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: 56px 0 30px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--magenta); }

/* ---------- Prose ---------- */
.prose h2 { margin: 40px 0 14px; }
.prose h3 { margin: 26px 0 10px; }
.prose ul { color: var(--muted); }
.prose { max-width: 820px; }

/* ---------- Table ---------- */
.table-scroll { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); }
table.data { width: 100%; border-collapse: collapse; min-width: 520px; }
table.data th, table.data td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: .95rem; }
table.data th { font-family: var(--font-head); color: var(--silver); background: var(--ink-2); }
table.data td { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); border-top: 1px solid var(--line); padding: 48px 0 26px; margin-top: 20px; }
.foot-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: center; }
.foot-top img { height: 40px; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; }
.foot-legal a { color: var(--muted); font-size: .92rem; }
.foot-legal a:hover { color: var(--magenta); }
.foot-rule { height: 1px; background: var(--line); margin: 26px 0; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot-bottom p { color: var(--muted); font-size: .84rem; margin: 0; }
.age-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
}
.age-badge b { color: var(--magenta); font-family: var(--font-head); }
.disclaimer-strip { font-size: .8rem; color: var(--muted); line-height: 1.6; margin-top: 18px; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.tag { display: inline-block; font-size: .74rem; font-weight: 600; color: var(--magenta); background: var(--magenta-lo); padding: 4px 11px; border-radius: 999px; border: 1px solid rgba(230,59,188,.25); font-family: var(--font-head); letter-spacing: .04em; }
.divide { border: none; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .split { grid-template-columns: 1fr; }
  .split.rev .txt { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 54px 0; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--ink); border-bottom: 1px solid var(--line); padding: 14px 22px 20px; gap: 6px;
    transform: translateY(-140%); transition: transform .25s ease; z-index: 50;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 14px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 22px; }
  .foot-top { flex-direction: column; align-items: flex-start; }
}
