/* PlaymoraInteractive.games — global styles */
:root {
  --bg: #07060a;
  --bg-elevated: #100e16;
  --surface: #161321;
  --surface-2: #1e1a2e;
  --border: rgba(244, 192, 106, 0.18);
  --text: #f2eef9;
  --muted: #9a92ae;
  --accent: #f0b84a;
  --accent-2: #d48a2c;
  --glow: rgba(240, 184, 74, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 10% -10%, rgba(240, 184, 74, 0.12), transparent 50%),
    radial-gradient(ellipse 80% 50% at 100% 20%, rgba(120, 80, 200, 0.08), transparent 45%),
    linear-gradient(180deg, #0a0810 0%, var(--bg) 35%);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Contain rule for promo art */
.img-contain {
  object-fit: contain;
  object-position: center;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #111;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 6, 10, 0.88);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}

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

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}

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

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.hero {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 880px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.btn-play {
  display: inline-block;
  line-height: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--glow);
}

.btn-play img {
  display: block;
  height: 54px;
  width: auto;
  object-fit: contain;
}

.hero-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.hero-tile {
  aspect-ratio: 1;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  overflow: hidden;
}

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

.section-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  margin-bottom: 2rem;
}

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

.grid-3 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 1.1rem;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.feature-card .thumb {
  flex: 1;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--surface-2);
  padding: 0.5rem;
}

.feature-card .thumb img {
  max-height: 64px;
  max-width: 100%;
  object-fit: contain;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0;
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.shots {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .shots {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .shots {
    grid-template-columns: repeat(3, 1fr);
  }
}

.shot {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #0c0a12;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  width: 100%;
}

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

.ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1rem;
  margin: 2rem 0;
}

.ribbon-item {
  flex: 1 1 160px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  background: linear-gradient(145deg, var(--surface), var(--bg-elevated));
}

.ribbon-item img {
  max-height: 72px;
  width: 100%;
  object-fit: contain;
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding: 2rem 1.25rem;
  background: var(--bg-elevated);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.footer-brand strong {
  font-family: var(--font-display);
  display: block;
  font-size: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

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

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

.footer-copy {
  width: 100%;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.page-intro {
  margin-bottom: 2rem;
}

.page-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
}

.page-intro p {
  color: var(--muted);
  margin: 0;
  max-width: 65ch;
}

.prose {
  max-width: 70ch;
}

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

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--muted);
}

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

.inline-cta {
  margin: 2rem 0;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.inline-cta p {
  margin: 0;
  color: var(--text);
  font-weight: 500;
}

.disclaimer {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
