/* =========================================================
   LIGHT LAMP STUDIOS — site styles
   Colors, fonts and spacing live in :root so they're easy to change.
   ========================================================= */

@font-face { font-family: "Fredoka"; src: url("../fonts/Fredoka-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("../fonts/Fredoka-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/Nunito-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/Nunito-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/Nunito-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --navy-900: #07131f;
  --navy-800: #0b1b2b;
  --navy-700: #10263a;
  --navy-600: #163450;
  --line: rgba(255, 236, 200, 0.10);
  --cream: #fff3dc;
  --text: #e9e2d3;
  --muted: #a9b4c0;
  --gold: #ffd36e;
  --amber: #f2a23a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --sidebar-w: 248px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(255, 196, 102, 0.13), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(22, 52, 80, 0.55), transparent 60%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900) 60%);
  background-attachment: fixed;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: "Fredoka", "Nunito", sans-serif; color: var(--cream); line-height: 1.15; margin: 0 0 .5em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 19, 31, 0.78);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: calc(var(--maxw) + var(--sidebar-w) + 48px);
  margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 14px; color: var(--cream); }
.brand:hover { text-decoration: none; }
.brand img { width: 46px; height: 48px; filter: drop-shadow(0 0 14px rgba(255, 196, 102, .45)); transition: filter .3s; }
.brand:hover img { filter: drop-shadow(0 0 22px rgba(255, 196, 102, .8)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: "Fredoka"; font-weight: 700; font-size: 25px; letter-spacing: .08em; }
.brand-name sup { font-size: 10px; letter-spacing: 0; margin-left: 2px; opacity: .8; }
.brand-sub { font-family: "Nunito"; font-weight: 800; font-size: 11px; letter-spacing: .5em; color: var(--gold); margin-top: 6px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav a {
  display: block; padding: 9px 16px; border-radius: 999px;
  color: var(--text); font-weight: 700; font-size: 15px;
  transition: background .2s, color .2s;
}
.main-nav a:hover { background: rgba(255, 211, 110, .12); color: var(--gold); text-decoration: none; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--cream);
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 22px; height: 2.5px; margin: 0 auto; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, opacity .25s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; } .menu-toggle span::after { top: 7px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Page layout ---------- */
.layout {
  max-width: calc(var(--maxw) + var(--sidebar-w) + 48px);
  margin: 0 auto; padding: 36px 24px 0;
  display: grid; grid-template-columns: var(--sidebar-w) 1fr; gap: 40px; align-items: start;
}

/* ---------- Sidebar ---------- */
.sidebar { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 26px; padding-bottom: 30px; }
.side-group h2 {
  font-family: "Nunito"; font-weight: 800; font-size: 13px; letter-spacing: .28em;
  color: var(--cream); text-transform: uppercase; margin: 0 0 12px 4px;
}
.side-group .btn-list { display: flex; flex-direction: column; gap: 11px; }
.about-btn {
  display: block; text-align: center; padding: 16px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 211, 110, .55); color: var(--gold);
  font-family: "Fredoka"; font-weight: 600; font-size: 16px; letter-spacing: .06em;
  background: rgba(255, 211, 110, .06);
  transition: box-shadow .3s, background .3s, transform .2s;
}
.about-btn:hover { text-decoration: none; background: rgba(255, 211, 110, .12); box-shadow: 0 0 26px rgba(255, 196, 102, .35); transform: translateY(-2px); }

/* Social + platform buttons with brand-colored glow */
.social-btn {
  --c: #444; --c2: var(--c); --glow: rgba(255, 255, 255, .35);
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 16px; border-radius: var(--radius-sm);
  background: var(--c); color: #fff;
  font-family: "Nunito"; font-weight: 800; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: transform .2s ease, box-shadow .3s ease, filter .3s ease;
}
.social-btn svg { width: 19px; height: 19px; fill: currentColor; flex: none; }
.social-btn:hover, .social-btn:focus-visible {
  text-decoration: none; transform: translateY(-3px);
  box-shadow: 0 0 18px var(--glow), 0 0 42px var(--glow), 0 10px 22px rgba(0, 0, 0, .4);
  filter: brightness(1.08);
}
.social-btn.discord   { --c: #5865F2; --glow: rgba(88, 101, 242, .75); }
.social-btn.youtube   { --c: #E62117; --glow: rgba(255, 30, 30, .7); }
.social-btn.facebook  { --c: #1877F2; --glow: rgba(24, 119, 242, .75); }
.social-btn.instagram { --c: #d62976; --glow: rgba(214, 41, 118, .7);
  background: linear-gradient(45deg, #f58529 0%, #dd2a7b 50%, #8134af 100%); }
.social-btn.instagram:hover { box-shadow: -10px 0 26px rgba(245, 133, 41, .55), 10px 0 26px rgba(129, 52, 175, .6), 0 0 40px rgba(221, 42, 123, .55); }
/* TikTok: black button with the cyan/pink "split" underglow */
.social-btn.tiktok { --c: #0b0b0d; border: 1px solid rgba(255, 255, 255, .08); }
.social-btn.tiktok:hover, .social-btn.tiktok:focus-visible {
  box-shadow: -5px 9px 0 -2px #25F4EE, 5px 12px 0 -2px #FE2C55, -10px 14px 30px rgba(37, 244, 238, .55), 10px 16px 30px rgba(254, 44, 85, .55);
  text-shadow: -1.5px 0 #25F4EE, 1.5px 0 #FE2C55;
}
.social-btn.tiktok:hover svg { filter: drop-shadow(-1.5px 0 #25F4EE) drop-shadow(1.5px 0 #FE2C55); }
.social-btn.googleplay { --c: #101820; --glow: rgba(1, 135, 95, .7); border: 1px solid rgba(1, 135, 95, .55); }
.social-btn.googleplay:hover { box-shadow: -8px 0 22px rgba(0, 200, 255, .45), 8px 0 22px rgba(255, 200, 0, .45), 0 0 40px rgba(1, 175, 110, .6); }
.social-btn.email { --c: #3a2a10; --glow: rgba(255, 196, 102, .7); color: var(--gold); border: 1px solid rgba(255, 211, 110, .5); background: rgba(255, 211, 110, .08); }
.social-btn.is-coming { cursor: default; }
.social-btn.is-coming::after {
  content: "Coming soon"; position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px);
  background: var(--cream); color: var(--navy-900); font-size: 11px; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; white-space: nowrap;
}
.social-btn.is-coming:hover::after, .social-btn.is-coming:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Main content ---------- */
main { min-width: 0; }
section { margin-bottom: 72px; }
.eyebrow {
  font-family: "Nunito"; font-weight: 800; font-size: 13px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 12px;
}
.section-title { font-size: clamp(28px, 3.2vw, 38px); }
.section-lead { color: var(--muted); max-width: 680px; margin-top: -4px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; align-items: center;
  padding: 52px 48px; border-radius: 28px;
  background:
    radial-gradient(520px 360px at 82% 30%, rgba(255, 199, 105, .22), transparent 70%),
    linear-gradient(135deg, rgba(22, 52, 80, .9), rgba(11, 27, 43, .95));
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.hero h1 { font-size: clamp(36px, 4.6vw, 58px); font-weight: 700; margin-bottom: 14px; }
.hero h1 .glow { color: var(--gold); text-shadow: 0 0 28px rgba(255, 196, 102, .45); }
.hero .tagline { font-size: 21px; color: var(--cream); opacity: .9; margin: 0 0 18px; font-weight: 700; }
.hero p.intro { color: var(--text); margin: 0 0 26px; max-width: 600px; }
.hero-art { position: relative; justify-self: center; width: min(320px, 100%); }
.hero-art img { width: 100%; height: auto; filter: drop-shadow(0 0 40px rgba(255, 196, 102, .35)); animation: lampGlow 5s ease-in-out infinite; }
.hero-art::after {
  content: ""; position: absolute; inset: auto 8% -6% 8%; height: 30px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 211, 110, .35), transparent); filter: blur(6px);
}
@keyframes lampGlow { 0%, 100% { filter: drop-shadow(0 0 30px rgba(255, 196, 102, .30)); } 50% { filter: drop-shadow(0 0 52px rgba(255, 196, 102, .55)); } }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  font-family: "Fredoka"; font-weight: 600; font-size: 17px; letter-spacing: .02em; transition: transform .2s, box-shadow .3s, background .3s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-primary { background: linear-gradient(180deg, var(--gold), var(--amber)); color: #2a1a04; box-shadow: 0 8px 24px rgba(242, 162, 58, .35); }
.btn-primary:hover { box-shadow: 0 0 34px rgba(255, 196, 102, .6); }
.btn-ghost { border: 1.5px solid rgba(255, 243, 220, .35); color: var(--cream); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 24px rgba(255, 196, 102, .25); }

/* Promise strip */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 26px 0 72px; }
.promise {
  display: flex; align-items: center; gap: 14px; padding: 18px 18px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line);
}
.promise .ic {
  flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255, 211, 110, .12); color: var(--gold);
}
.promise .ic svg { width: 24px; height: 24px; }
.promise strong { display: block; font-family: "Fredoka"; font-weight: 600; color: var(--cream); font-size: 17px; line-height: 1.2; }
.promise span { display: block; margin-top: 3px; font-size: 14px; color: var(--muted); line-height: 1.35; }

/* Games grid */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; }
.game-card {
  --accent: #ffd36e;
  position: relative; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, rgba(22, 52, 80, .55), rgba(11, 27, 43, .9));
  border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
  transition: transform .3s ease, box-shadow .35s ease, border-color .35s;
}
.game-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent), 0 18px 44px rgba(0, 0, 0, .45), 0 0 46px color-mix(in srgb, var(--accent) 35%, transparent); }
.game-card .art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.game-card .art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.game-card:hover .art img { transform: scale(1.05); }
.status {
  position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(7, 19, 31, .78); color: var(--cream); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px);
}
.status::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; background: #7fd3ff; vertical-align: 1px; }
.status.testing::before { background: #6bf09a; box-shadow: 0 0 10px #6bf09a; }
.game-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.game-card h3 { font-size: 24px; margin-bottom: 6px; }
.game-card p { margin: 0 0 16px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tags span { font-size: 12px; font-weight: 800; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }

/* Split panels (playtest / about) */
.panel {
  border-radius: 24px; padding: 40px 44px; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(22, 52, 80, .7), rgba(11, 27, 43, .85)); box-shadow: var(--shadow);
}
.panel.playtest { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  background: radial-gradient(600px 300px at 100% 0%, rgba(107, 240, 154, .12), transparent 70%), linear-gradient(135deg, rgba(22, 52, 80, .75), rgba(11, 27, 43, .9)); }
.panel.playtest h2 { margin-bottom: 8px; }
.panel.playtest p { margin: 0; color: var(--text); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.about-grid p { margin: 0 0 14px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: rgba(255, 211, 110, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23ffd36e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.signature { margin-top: 18px; font-family: "Fredoka"; font-weight: 600; color: var(--gold); }

/* Contact */
.contact-card { text-align: center; padding: 48px 32px; }
.contact-card .mail { font-family: "Fredoka"; font-weight: 600; font-size: clamp(22px, 3vw, 32px); color: var(--cream); display: inline-block; margin: 6px 0 18px; }
.contact-card .mail:hover { color: var(--gold); text-decoration: none; text-shadow: 0 0 24px rgba(255, 196, 102, .5); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 20px; padding: 34px 24px 40px; color: var(--muted); font-size: 14px; }
.footer-inner { max-width: calc(var(--maxw) + var(--sidebar-w) + 48px); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.footer-inner nav a { color: var(--muted); margin-left: 18px; font-weight: 700; }
.footer-inner nav a:hover { color: var(--gold); }

/* Legal page */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); }
.legal h2 { font-size: 23px; margin-top: 34px; }
.legal p, .legal li { color: var(--text); }
.legal .updated { color: var(--muted); font-weight: 700; }
.legal ul { padding-left: 22px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .promises { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  :root { --sidebar-w: 0px; }
  .layout { grid-template-columns: 1fr; gap: 24px; padding-top: 22px; }
  .sidebar { position: static; order: 2; padding: 26px; border-radius: 22px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
  .sidebar .btn-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .main-nav { position: fixed; inset: 77px 0 auto 0; background: rgba(7, 19, 31, .97); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s ease; }
  .menu-open .main-nav { transform: none; }
  .main-nav ul { flex-direction: column; padding: 12px 18px 20px; }
  .main-nav a { padding: 14px 16px; font-size: 17px; }
  .menu-toggle { display: grid; place-items: center; }
  .hero { grid-template-columns: 1fr; padding: 36px 26px; text-align: left; }
  .hero-art { order: -1; width: 180px; justify-self: start; }
  .about-grid, .panel.playtest { grid-template-columns: 1fr; }
  .panel { padding: 30px 24px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .games-grid, .promises { grid-template-columns: 1fr; }
  .brand-name { font-size: 20px; }
  .brand img { width: 38px; height: 40px; }
  .hero h1 { font-size: 34px; }
}
