/* Lucholli Game Studios — black & gold. Accent is one variable: --gold. */
:root {
  --gold: #f0a500;          /* cranked-up gold — swap this one line to re-theme */
  --gold-bright: #ffc21a;
  --gold-dim: #9a6b00;
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --bg-card: #141414;
  --text: #f4f1ea;
  --muted: #a8a49a;
  --line: #262626;
  --forkensics: #f07723;
  --plumeclue: #0a9396;
  --plumeclue-amber: #ee9b00;
  --finriddle: #2e86c1;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1080px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand-mark { width: 40px; height: 40px; object-fit: contain; }
.brand-word { font-family: 'Archivo Black', sans-serif; letter-spacing: .12em; font-size: 1.05rem; color: var(--gold); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--gold); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 88px 24px 72px;
}
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 120%;
  background: radial-gradient(ellipse 60% 45% at 50% 30%, rgba(240,165,0,.16), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.hero-logo { width: min(420px, 78vw); margin: 0 auto 8px; filter: drop-shadow(0 0 44px rgba(240,165,0,.35)); }
.hero-kicker { letter-spacing: .42em; font-size: .8rem; color: var(--gold); font-weight: 700; margin-bottom: 18px; }
.hero-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1.04; letter-spacing: -.01em; margin-bottom: 20px;
}
.hero-sub { color: var(--muted); font-size: 1.12rem; max-width: 560px; margin: 0 auto 34px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease;
}
.btn-gold { background: var(--gold); color: #0a0a0a; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(240,165,0,.4); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- ticker ---------- */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--bg-soft); }
.ticker-track {
  display: inline-flex; gap: 26px; white-space: nowrap; padding: 12px 0;
  animation: tick 28s linear infinite;
  font-family: 'Archivo Black', sans-serif; font-size: .85rem; letter-spacing: .18em; color: var(--gold);
}
.ticker-track i { color: var(--gold-dim); font-style: normal; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-kicker { color: var(--gold); font-weight: 700; letter-spacing: .3em; font-size: .78rem; text-transform: uppercase; margin-bottom: 14px; }
.section-title { font-family: 'Archivo Black', sans-serif; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.08; margin-bottom: 40px; }

/* ---------- game cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); }
.card-accent { position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.card-forkensics .card-accent { background: var(--forkensics); }
.card-forkensics:hover { border-color: var(--forkensics); }
.card-plumeclue .card-accent { background: linear-gradient(90deg, var(--plumeclue), var(--plumeclue-amber)); }
.card-plumeclue:hover { border-color: var(--plumeclue); }
.card-finriddle .card-accent { background: var(--finriddle); }
.card-finriddle:hover { border-color: var(--finriddle); }
.card h3 { font-family: 'Archivo Black', sans-serif; font-size: 1.7rem; margin-bottom: 6px; }
.card-tag { color: var(--gold); font-weight: 600; font-size: .95rem; margin-bottom: 14px; }
.card-body { color: var(--muted); font-size: .98rem; flex: 1; margin-bottom: 22px; }
.card-body strong { color: var(--text); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-link { color: var(--text); font-weight: 700; text-decoration: none; font-size: .95rem; }
.card-link:hover { color: var(--gold); }
.card-link-muted { color: var(--muted); font-weight: 600; cursor: default; }
.pill {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 5px 12px; white-space: nowrap;
}
.more-coming { margin-top: 30px; color: var(--muted); }
.more-coming a { color: var(--gold); font-weight: 600; }

/* ---------- engine ---------- */
.section-engine { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.engine-lede { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin-bottom: 40px; }
.engine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.engine-item { border-left: 3px solid var(--gold); padding: 4px 0 4px 20px; }
.engine-item h4 { font-size: 1.15rem; margin-bottom: 8px; }
.engine-item p { color: var(--muted); font-size: .96rem; }

/* ---------- studio ---------- */
.studio-wrap { max-width: 720px; }
.studio-body { color: var(--muted); font-size: 1.08rem; margin-bottom: 44px; }
.notify label { display: block; font-weight: 600; margin-bottom: 12px; }
.notify-row { display: flex; gap: 12px; }
.notify-row input {
  flex: 1; background: var(--bg-card); border: 1px solid var(--line); border-radius: 999px;
  padding: 14px 22px; color: var(--text); font-size: 1rem; font-family: inherit; min-width: 0;
}
.notify-row input:focus { outline: none; border-color: var(--gold); }
.notify-row input.invalid { border-color: #e5484d; }
.notify-note { margin-top: 12px; font-size: .92rem; min-height: 1.4em; }
.notify-note.ok { color: var(--gold); }
.notify-note.err { color: #e5484d; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 34px; background: var(--bg-soft); }
.footer-inner { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-family: 'Archivo Black', sans-serif; letter-spacing: .1em; font-size: .9rem; color: var(--gold); }
.footer-mark { width: 34px; height: 34px; object-fit: contain; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .92rem; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { color: var(--muted); font-size: .85rem; }

/* ---------- 404 ---------- */
.page-404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 24px; }
.code-404 { font-family: 'Archivo Black', sans-serif; font-size: clamp(4rem, 14vw, 8rem); color: var(--gold); line-height: 1; }
.page-404 h1 { font-size: 1.6rem; margin: 18px 0 10px; }
.page-404 p { color: var(--muted); margin-bottom: 28px; }

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .cards, .engine-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-soft); flex-direction: column; padding: 18px 24px 24px; gap: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .notify-row { flex-direction: column; }
  .notify-row .btn { width: 100%; }
  .section { padding: 64px 0; }
}
