/* grandivo-lab.games — Baba Wild Slots editorial promo */
:root {
  --bg: #f6f2ea;
  --bg-dots: #ebe4d8;
  --surface: #fffef9;
  --ink: #120c18;
  --muted: #5b5363;
  --accent: #5b21b6;
  --accent-2: #b45309;
  --line: rgba(18, 12, 24, 0.1);
  --shadow: 0 18px 50px rgba(18, 12, 24, 0.08);
  --radius: 6px;
  --radius-lg: 14px;
  --font-body: "Work Sans", system-ui, sans-serif;
  --font-display: "Fraunces", "Georgia", serif;
  --stripe: linear-gradient(135deg, #5b21b6 0%, #7c3aed 45%, #b45309 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 1px 1px, var(--bg-dots) 1px, transparent 0),
    linear-gradient(180deg, rgba(91, 33, 182, 0.06) 0%, transparent 42%);
  background-size:
    24px 24px,
    100% 100%;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
a:hover {
  text-decoration: underline;
  color: #4c1d95;
}

img.ous-contain {
  object-fit: contain;
  width: 100%;
  height: 100%;
  display: block;
}

/* Age gate */
.age-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(18, 12, 24, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

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

.age-panel {
  width: min(440px, 100%);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow:
    var(--shadow),
    0 0 0 1px var(--line);
  padding: 2rem 2rem 1.75rem;
  position: relative;
  overflow: hidden;
}

.age-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--stripe);
}

.age-panel-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.age-panel h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  margin: 0 0 0.5rem;
  text-align: center;
  color: var(--ink);
}

.age-panel p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.age-slider-captcha {
  margin: 1.25rem 0 1rem;
}

.age-slider-captcha label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.slider-track {
  position: relative;
  height: 52px;
  background: #ede8df;
  border-radius: 999px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.slider-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(
    90deg,
    rgba(91, 33, 182, 0.2),
    rgba(180, 83, 9, 0.25)
  );
  pointer-events: none;
  transition: width 0.05s linear;
}

.age-slider-captcha input[type="range"] {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  margin: 0;
  height: 52px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}

.age-slider-captcha input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--stripe);
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(91, 33, 182, 0.45);
}

.age-slider-captcha input[type="range"]::-moz-range-thumb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--stripe);
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(91, 33, 182, 0.45);
}

.age-cta {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius);
  background: #d6d0c5;
  color: var(--muted);
  cursor: not-allowed;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.15s;
}

.age-cta:not(:disabled) {
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

.age-cta:not(:disabled):hover {
  background: #4c1d95;
}

.age-hint {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.75rem;
}

/* Shell */
.ous-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.ous-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 242, 234, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  margin: 0 -1.25rem;
  padding: 0 1.25rem;
}

.ous-topbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.65rem 0;
}

.ous-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
}
.ous-brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.ous-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
}

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

.ous-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0.25rem 0;
}
.ous-nav a:hover {
  color: var(--accent);
}

.ous-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 2.5rem 0 2rem;
}

@media (min-width: 900px) {
  .ous-hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    padding-top: 3rem;
  }
}

.ous-kicker {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 0.75rem;
}

.ous-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--ink);
}

.ous-hero-lead {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.ous-hero-lead strong {
  color: var(--ink);
}

.ous-welcome-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

.ous-welcome-block p {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}

.ous-welcome-block p:last-child {
  margin-bottom: 0;
}

.ous-tile-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0;
}

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

.ous-aside-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.ous-aside-card h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
}

.ous-aside-card p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.ous-section-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 2.5rem 0 0.75rem;
  padding-top: 0.5rem;
  border-top: 2px solid var(--ink);
  display: inline-block;
}

.ous-prose {
  max-width: 72ch;
}
.ous-prose p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.ous-video {
  margin: 1.5rem 0 0.5rem;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #000;
  aspect-ratio: 1335 / 751;
}

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

.ous-video-caption {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
}

.ous-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin: 1.25rem 0 2rem;
}

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

.ous-shot {
  aspect-ratio: 16 / 9;
  width: 100%;
  max-height: none;
  min-height: 0;
  background: #1a1420;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ous-cta-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0 1rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px dashed var(--accent);
  border-radius: var(--radius-lg);
}

.ous-btn-game {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.15rem;
  background: var(--accent);
  color: #fff !important;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(91, 33, 182, 0.35);
}
.ous-btn-game:hover {
  background: #4c1d95;
  text-decoration: none !important;
}

.ous-btn-game img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.ous-store-badge {
  display: inline-block;
  max-width: 200px;
  vertical-align: middle;
}
.ous-store-badge img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Inner pages */
.ous-page-head {
  padding: 2rem 0 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.75rem;
}
.ous-page-head h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 0.5rem;
}
.ous-page-head p {
  margin: 0;
  color: var(--muted);
  max-width: 65ch;
}

.ous-list {
  padding-left: 1.15rem;
  color: var(--muted);
}
.ous-list li {
  margin-bottom: 0.5rem;
}

.ous-footer {
  margin-top: 3.5rem;
  padding: 2rem 0 0;
  border-top: 1px solid var(--line);
}

.ous-footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.ous-footer-mark {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
}

.ous-footer-copy {
  font-size: 0.88rem;
  color: var(--muted);
}

.ous-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
}
.ous-footer-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.ous-legal-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 1.25rem;
  max-width: 75ch;
}
