/* Luna & Friends Ltd — dark premium */
:root {
  --bg: #0A0A0A;
  --bg-elev: #121212;
  --bg-card: #141414;
  --text: #FFFFFF;
  --muted: #A1A1A1;
  --muted-dim: #6E6E6E;
  --accent: #CC0000;
  --accent-hover: #FF1A1A;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.nav-links a {
  color: var(--muted);
  transition: color 0.18s ease;
}
.nav-links a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 620px;
  height: 620px;
  max-width: 120vw;
  background: radial-gradient(circle, rgba(204, 0, 0, 0.16) 0%, rgba(204, 0, 0, 0) 62%);
  pointer-events: none;
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-mascot {
  width: 168px;
  height: auto;
  margin: 0 auto 30px;
  filter: drop-shadow(0 14px 40px rgba(0, 0, 0, 0.55));
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.02;
}
.hero h1 .amp { color: var(--accent); }
.hero .tagline {
  margin: 26px auto 0;
  max-width: 620px;
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- Section frame ---------- */
.section { padding: 60px 0; }
.section + .section { border-top: 1px solid var(--border); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--border-strong); }
.card h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: 0.01em;
}
.card p {
  margin: 0;
  color: var(--muted);
  max-width: 640px;
  font-size: 1.08rem;
}
.status {
  display: inline-block;
  justify-self: start;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(204, 0, 0, 0.4);
  border-radius: 999px;
  padding: 5px 14px;
}

/* Featured game card with hero image */
.game-card {
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 44px;
  padding: 44px;
  background: linear-gradient(160deg, #161616 0%, #0f0f0f 100%);
}
.game-card .game-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.game-media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  line-height: 0;
}
.game-media img { width: 100%; height: auto; }

/* ---------- Contact ---------- */
.contact { text-align: center; padding: 84px 0; }
.contact h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 800;
}
.contact p { margin: 0 0 30px; color: var(--muted); }
.mail-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  padding: 15px 34px;
  border-radius: 999px;
  transition: background 0.18s ease, transform 0.18s ease;
}
.mail-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  color: var(--muted-dim);
  font-size: 14px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); transition: color 0.18s ease; }
.footer-links a:hover { color: var(--text); }

/* ---------- Content pages (privacy / support) ---------- */
.page { padding: 64px 0 40px; }
.page-head { max-width: 760px; }
.page-head h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
}
.page-head .updated {
  color: var(--muted-dim);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.prose { max-width: 760px; margin-top: 40px; }
.prose h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 40px 0 12px;
}
.prose p { color: var(--muted); margin: 0 0 18px; }
.prose ul { color: var(--muted); padding-left: 22px; margin: 0 0 18px; }
.prose li { margin-bottom: 10px; }
.prose a { color: var(--accent); }
.prose a:hover { color: var(--accent-hover); }
.prose strong { color: var(--text); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .brand-name { display: none; }
  .nav-links { gap: 22px; }
  .hero { padding: 66px 0 58px; }
  .hero-mascot { width: 132px; }
  .card { padding: 30px 24px; }
  .game-card { grid-template-columns: 1fr; gap: 28px; padding: 28px 22px; }
  .game-card .game-media { order: -1; }
  .section { padding: 46px 0; }
  .contact { padding: 62px 0; }
}
