/* Veilstorm website: one stylesheet for every page. Light and dark follow the visitor's device. */
:root {
  --bg: #f6f5fb; --ink: #17142b; --dim: #5d5a75; --card: #ffffff; --edge: #e2e0ef;
  --brand: #4f46e5; --brand-2: #ff5a8a; --gold: #f2b10d; --shadow: 0 10px 30px -12px rgba(23, 20, 43, .25);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0d0b1d; --ink: #f1effc; --dim: #aaa6c6; --card: #17142e; --edge: #2c2850; --brand: #8b84ff; --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--brand); }
img { max-width: 100%; display: block; }
.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1rem; }

/* header */
header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--edge); }
header .wrap { display: flex; align-items: center; gap: 1rem; height: 3.6rem; }
.brand { font: 900 1.35rem/1 "Outfit", sans-serif; letter-spacing: .02em; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: .55rem; }
.brand i { width: 1.6rem; height: 1.6rem; border-radius: .5rem; background: linear-gradient(135deg, var(--brand), var(--brand-2)); display: inline-block; }
nav { margin-left: auto; display: flex; gap: 1.1rem; font-weight: 700; font-size: .95rem; white-space: nowrap; }
nav a { color: var(--dim); text-decoration: none; } nav a:hover, nav a[aria-current] { color: var(--ink); }

/* sections */
.hero { padding-top: 4rem; padding-bottom: 3rem; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; margin: 0 0 1rem; letter-spacing: -.02em; }
.hero p.lead { font-size: 1.15rem; color: var(--dim); margin: 0 0 1.4rem; max-width: 34rem; }
.kicker { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--brand); margin-bottom: .6rem; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.3rem; border-radius: 999px; font-weight: 800; text-decoration: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: var(--shadow); }
.btn.ghost { background: var(--card); color: var(--ink); border: 1px solid var(--edge); box-shadow: none; }
.btns { display: flex; flex-wrap: wrap; gap: .7rem; }
.phones { display: flex; gap: 1rem; justify-content: center; }
.phones img { width: 46%; border-radius: 1.4rem; box-shadow: var(--shadow); border: 6px solid #111; }
.phones img:nth-child(2) { margin-top: 2.5rem; }
section { padding: 3rem 0; }
section h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 0 0 .6rem; letter-spacing: -.01em; }
section > .wrap > p.sub { color: var(--dim); max-width: 42rem; margin: 0 0 1.6rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { background: var(--card); border: 1px solid var(--edge); border-radius: 1.1rem; padding: 1.3rem; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 .3rem; font-size: 1.15rem; }
.card p { margin: 0; color: var(--dim); font-size: .97rem; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; }
.gallery img { border-radius: 1rem; box-shadow: var(--shadow); }
.tv { margin-top: 1.6rem; border-radius: 1rem; box-shadow: var(--shadow); }
.game { display: grid; grid-template-columns: 9rem 1fr; gap: 1.6rem; align-items: center; }
.game img { border-radius: 1.6rem; box-shadow: var(--shadow); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.facts b { display: block; font-size: 1.9rem; color: var(--brand); }
.facts span { color: var(--dim); font-size: .92rem; }
.contact { text-align: center; }
.contact a.mail { font-size: 1.3rem; font-weight: 800; }

/* legal pages */
.legal { max-width: 46rem; margin: 0 auto; padding: 2.5rem 1rem 3rem; }
.legal h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 .2rem; }
.legal h2 { font-size: 1.2rem; margin: 1.8rem 0 .4rem; }
.legal .dim { color: var(--dim); }
.legal .card { box-shadow: none; margin: 1rem 0; }
.legal table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .45rem .5rem; border-bottom: 1px solid var(--edge); }

footer { border-top: 1px solid var(--edge); padding: 1.6rem 0 2.2rem; color: var(--dim); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; justify-content: space-between; }
footer a { color: var(--dim); }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 2.2rem; }
  header .wrap { gap: .6rem; } .brand { font-size: 1.15rem; }
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .game { grid-template-columns: 1fr; }
  .game img { width: 7rem; }
  nav { gap: .8rem; font-size: .88rem; }
}
