/* Ludivo Social Studio — global styles */
:root {
  --bg-deep: #0c0b10;
  --bg-panel: #15131c;
  --bg-elevated: #1e1b28;
  --accent: #8b5cf6;
  --accent-dim: #6d28d9;
  --mint: #2dd4bf;
  --mint-dim: #0d9488;
  --text: #f4f1f8;
  --text-muted: #9c96ad;
  --border: rgba(139, 92, 246, 0.22);
  --radius-lg: 20px;
  --radius-md: 12px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(
      ellipse 80% 50% at 50% -20%,
      rgba(139, 92, 246, 0.25),
      transparent
    ),
    radial-gradient(
      ellipse 60% 40% at 100% 50%,
      rgba(45, 212, 191, 0.06),
      transparent
    );
  min-height: 100vh;
}

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

a {
  color: var(--mint);
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

a:hover {
  color: #5eead4;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 11, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-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.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
}

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

.nav-main a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

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

.btn-game {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  line-height: 0;
}

.btn-game img {
  height: 52px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.btn-game:hover img {
  transform: scale(1.04);
  filter: brightness(1.08);
}

.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 8vw, 6rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.hero__label {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mint);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 45%, #2dd4bf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 36ch;
  margin-bottom: 1.5rem;
}

.hero__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  box-shadow: var(--shadow-glow);
  aspect-ratio: 4/3;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section--tight {
  padding-top: 2rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.section__subtitle {
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 0 2rem;
}

.section__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.section__badges span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 56px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
}

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

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

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

  .bento__item--wide {
    grid-column: span 2;
  }
}

.bento__item {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bento__thumb {
  height: 120px;
  border-radius: 10px;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bento__thumb img {
  max-width: 85%;
  max-height: 85%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.bento__item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0;
  font-weight: 700;
}

.bento__item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

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

.shots__cell {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-panel);
}

.shots__cell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.35rem;
}

.stats-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

.stat-card {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(160deg, var(--bg-panel), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.stat-card__icon {
  height: 64px;
  margin: 0 auto 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-card__icon img {
  max-width: 72px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.stat-card strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  display: block;
  color: var(--mint);
  margin-bottom: 0.25rem;
}

.stat-card span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cta-block {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 2rem 0 0;
}

.cta-block__visual {
  height: 72px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.cta-block__visual img {
  max-height: 56px;
  max-width: 80px;
  width: auto;
  object-fit: contain;
}

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

.cta-block p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.site-footer {
  margin-top: 4rem;
  background: #08070b;
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

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

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

.site-footer .brand {
  margin-bottom: 0.75rem;
}

.footer-address {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 280px;
  margin-top: 1.5rem;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.2) contrast(1.05);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.page-hero {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  margin: 0 0 0.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-hero .lede {
  color: var(--text-muted);
  margin: 0;
  max-width: 60ch;
}

.prose {
  max-width: 70ch;
}

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

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

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

.prose strong {
  color: var(--text);
}

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

.inline-cta__strip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.inline-cta__strip span {
  width: 48px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 4px;
}

.inline-cta__strip img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.inline-cta__mid {
  flex: 1;
  min-width: 200px;
}

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

.games-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .games-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.game-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.game-card__media {
  aspect-ratio: 16/10;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-card__media img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.game-card__body {
  padding: 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.game-card__body p {
  margin: 0;
  color: var(--text-muted);
  flex: 1;
}

.legal-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 2rem;
  padding: 1rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-panel);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
