/* VRuzi Time Paradox – LacourGame site. Purple night, molten gold, violet afterimage trails. */
:root {
  --bg: #0e0a1a;
  --bg-2: #171029;
  --panel: rgba(28, 19, 52, 0.72);
  --line: rgba(255, 196, 92, 0.22);
  --text: #f1ecff;
  --muted: #b7acd6;
  --gold: #ffbe55;
  --gold-2: #ff8a2a;
  --violet: #b77bff;
  --cyan: #63e6ff;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: "Cinzel", Georgia, serif; line-height: 1.15; margin: 0 0 0.6em; letter-spacing: 0.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; color: var(--gold); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(14, 10, 26, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: 0.06em; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 22px; font-size: 0.95rem; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--gold); text-decoration: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex; align-items: flex-end;
  background: url("img/hero.jpg") center 30% / cover no-repeat;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,10,26,0.15) 0%, rgba(14,10,26,0.35) 45%, var(--bg) 100%),
    linear-gradient(90deg, rgba(14,10,26,0.75) 0%, rgba(14,10,26,0) 60%);
}
.hero .wrap { padding-bottom: 64px; padding-top: 140px; }
.badge {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--violet); color: var(--violet);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(183, 123, 255, 0.12);
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem); margin: 18px 0 8px;
  background: linear-gradient(180deg, #fff3d6 0%, var(--gold) 55%, var(--gold-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 40px rgba(255, 170, 60, 0.25);
}
.tagline { font-size: clamp(1.1rem, 2.2vw, 1.35rem); max-width: 620px; color: #e6defc; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 10px; font-weight: 700; letter-spacing: 0.02em;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-2) 100%); color: #20120a;
  box-shadow: 0 8px 30px rgba(255, 140, 40, 0.3);
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.note { color: var(--muted); font-size: 0.9rem; }

/* ---------- sections ---------- */
section { padding: 84px 0; }
.lead { color: var(--muted); max-width: 680px; margin-bottom: 36px; }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.split > * { min-width: 0; }
.split img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,0.5); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 18px; position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(183,123,255,0.18), transparent 70%);
}
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.icon {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 14px;
  background: rgba(255, 190, 85, 0.12); border: 1px solid var(--line); font-size: 1.3rem;
}

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery a.wide { grid-column: 1 / -1; }
.gallery img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.4s ease; }
.gallery a:hover img { transform: scale(1.03); }

.alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }

.bosses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: boss; }
.boss {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,0.03); border: 1px solid var(--line);
}
.boss::before {
  counter-increment: boss; content: counter(boss, upper-roman);
  font-family: "Cinzel", serif; color: var(--gold); min-width: 2.4em; font-weight: 700;
}
.boss small { display: block; color: var(--muted); font-size: 0.82rem; }

.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin: 0; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; text-align: right; font-weight: 600; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 0.92rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
footer nav { display: flex; gap: 20px; }

/* ---------- legal page ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 20px 80px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); color: var(--gold); }
.legal h2 { font-size: 1.3rem; color: var(--violet); margin-top: 2em; }
.legal li { margin: 0.3em 0; }
.legal .meta { color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split img { max-width: min(420px, 100%); margin: 0 auto; }
  .grid, .bosses { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .grid, .bosses, .specs, .gallery { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero .wrap { padding-bottom: 40px; }
}
