/* TrevonaPlayStudio.games — Jackpot Crush spotlight (standalone styles) */
:root {
  --bg-deep: #07060c;
  --bg-panel: #12101c;
  --bg-elevated: #1b1828;
  --stroke: rgba(255, 255, 255, 0.08);
  --text: #f4f2ff;
  --muted: #a9a4c2;
  --accent: #ff3cac;
  --accent-2: #22d3ee;
  --gold: #fbbf24;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --font-body: "Lexend", system-ui, sans-serif;
  --font-display: "Unbounded", var(--font-body);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 60, 172, 0.18), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(34, 211, 238, 0.12), transparent 50%),
    var(--bg-deep);
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--accent-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #7ee7fb;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Age gate */
.age-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(3, 2, 8, 0.92);
  backdrop-filter: blur(10px);
}

.age-overlay[hidden] {
  display: none;
}

.age-card {
  width: min(100%, 460px);
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #1e1a2e, #14111f);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.age-card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

.age-card p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.age-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  font-family: inherit;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), #784bff);
  color: #fff;
  box-shadow: 0 12px 40px rgba(255, 60, 172, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 16px 48px rgba(120, 75, 255, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--stroke);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--stroke);
  background: rgba(7, 6, 12, 0.78);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: var(--bg-panel);
  display: grid;
  place-items: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  display: block;
  letter-spacing: -0.02em;
}

.brand-text span {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

/* Main */
main {
  padding-block: 2.5rem 4rem;
}

.page-hero {
  padding-bottom: 2rem;
}

.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 0.75rem;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 2rem;
}

/* Intro block (required copy) */
.game-intro {
  margin-top: 0.5rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(34, 211, 238, 0.08), rgba(255, 60, 172, 0.06));
  border: 1px solid var(--stroke);
}

.game-intro h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 1rem;
}

.game-intro p {
  margin: 0 0 1rem;
  color: #dcd7f0;
}

.game-intro p:last-child {
  margin-bottom: 0;
}

.game-intro ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
  color: #e6e2ff;
}

.game-intro ul li {
  margin-bottom: 0.45rem;
}

.game-intro .highlight {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
}

/* Video */
.video-block {
  margin-top: 2.25rem;
}

.video-block h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
}

.video-frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: #000;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* CTA image button */
.cta-strip {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.cta-strip p {
  margin: 0;
  color: var(--muted);
  flex: 1 1 200px;
}

.img-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.15s ease, filter 0.15s ease;
}

a.img-btn {
  text-decoration: none;
}

.img-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.img-btn img {
  height: 54px;
  width: auto;
  display: block;
}

/* Media tiles (contain) */
.media-bento {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.tile {
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke);
  background: var(--bg-panel);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  overflow: hidden;
}

.tile img {
  width: 100%;
  height: 100%;
  max-height: 140px;
  object-fit: contain;
}

/* Screenshots — horizontal frames */
.block {
  margin-top: 3rem;
}

.block h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

.block .sub {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.shot {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, #161322, #0e0c14);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Inner pages */
.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
}

.prose {
  max-width: 70ch;
}

.prose p,
.prose li {
  color: #d8d3ec;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 2rem 0 0.5rem;
}

.prose ul {
  padding-left: 1.25rem;
}

.prose code {
  font-size: 0.9em;
  padding: 0.12rem 0.35rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--stroke);
}

.legal-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent);
  background: rgba(255, 60, 172, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--stroke);
  padding: 2.5rem 0 2rem;
  background: rgba(10, 8, 16, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.footer-brand .brand-mark {
  width: 48px;
  height: 48px;
}

.footer-brand strong {
  font-family: var(--font-display);
  display: block;
  margin-bottom: 0.35rem;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-meta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--stroke);
  font-size: 0.82rem;
  color: #7a7394;
  text-align: center;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 10001;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
}

.skip-link:focus {
  left: 0.5rem;
}
