/* deckario-studio.games — HighRoller Vegas spotlight */
:root {
  --paper: #f7f3ea;
  --ink: #140c10;
  --burgundy: #6b1f3a;
  --burgundy-dim: #4a1528;
  --gold: #c6a035;
  --gold-soft: #e8d9a4;
  --teal: #1e5c5a;
  --mist: rgba(255, 255, 255, 0.72);
  --shadow: 0 18px 40px rgba(20, 12, 16, 0.12);
  --radius: 14px;
  --font-ui: "Outfit", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body.age-locked {
  overflow: hidden;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 10% 0%, rgba(198, 160, 53, 0.18), transparent 55%),
    radial-gradient(90% 60% at 100% 20%, rgba(107, 31, 58, 0.12), transparent 50%),
    var(--paper);
  min-height: 100vh;
}

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

a {
  color: var(--burgundy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--teal);
}

.site-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

/* —— Age gate —— */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(160deg, var(--burgundy-dim) 0%, #0d0609 100%);
  color: var(--paper);
}

.age-gate.is-hidden {
  display: none;
}

.age-gate__card {
  width: min(440px, 100%);
  background: var(--mist);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(230, 218, 195, 0.35);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.age-gate__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.age-gate__brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.age-gate__brand span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--burgundy-dim);
}

.age-gate__hint {
  font-size: 0.92rem;
  margin: 0 0 1rem;
  color: #3d2a32;
}

.age-gate__check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
  cursor: pointer;
}

.age-gate__check input {
  margin-top: 0.2rem;
  accent-color: var(--burgundy);
}

.age-gate__slider-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--burgundy);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.age-gate-track {
  position: relative;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(90deg, #dfd6c8, #efe7db);
  border: 2px solid rgba(107, 31, 58, 0.25);
  overflow: hidden;
  user-select: none;
  touch-action: none;
}

.age-gate-track__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  border-radius: 999px;
  pointer-events: none;
  transition: width 0.05s linear;
}

.age-gate-thumb {
  position: absolute;
  left: 4px;
  top: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: grab;
  box-shadow: 0 4px 14px rgba(20, 12, 16, 0.35);
  z-index: 2;
}

.age-gate-thumb:active {
  cursor: grabbing;
}

.age-gate__status {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  min-height: 1.3em;
  color: var(--teal);
}

.age-gate__status.is-warn {
  color: #a33;
}

.age-gate__enter {
  margin-top: 1rem;
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--burgundy), var(--burgundy-dim));
  color: var(--paper);
  cursor: not-allowed;
  opacity: 0.45;
  transition: opacity 0.2s, transform 0.15s;
}

.age-gate__enter.is-ready {
  cursor: pointer;
  opacity: 1;
}

.age-gate__enter.is-ready:hover {
  transform: translateY(-1px);
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 234, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(107, 31, 58, 0.12);
  margin: 0 -1.25rem 2rem;
  padding: 0.85rem 1.25rem;
}

.site-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand:hover {
  color: inherit;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand__text {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.15rem;
  line-height: 1.15;
  color: var(--burgundy-dim);
}

.brand__text small {
  display: block;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
}

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

.nav a {
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a.is-active {
  border-bottom-color: var(--gold);
  color: var(--burgundy);
}

/* —— Hero & sections —— */
.hero {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

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

.hero__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--burgundy-dim);
}

.hero__lead {
  font-size: 1.08rem;
  margin: 0 0 1.25rem;
  color: #2f2428;
}

.hero__deck {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: stretch;
}

.media-tile {
  flex: 1 1 140px;
  min-height: 120px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(107, 31, 58, 0.1);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

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

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

.cta-play {
  display: inline-block;
  line-height: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20, 12, 16, 0.15);
  transition: transform 0.15s, box-shadow 0.15s;
}

.cta-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(20, 12, 16, 0.2);
}

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

.section {
  margin-bottom: 3.25rem;
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(198, 160, 53, 0.45);
}

.section__head h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0;
  color: var(--burgundy-dim);
}

.pill {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--gold-soft);
  color: var(--burgundy-dim);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

/* Horizontal screenshot strip */
.shots-scroll {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.shots-scroll::-webkit-scrollbar {
  height: 8px;
}

.shots-scroll::-webkit-scrollbar-thumb {
  background: rgba(107, 31, 58, 0.28);
  border-radius: 999px;
}

.shot-h {
  flex: 0 0 auto;
  width: min(520px, 88vw);
  scroll-snap-align: start;
  background: #0f0a0c;
  border-radius: var(--radius);
  border: 1px solid rgba(230, 218, 195, 0.35);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.shot-h img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: radial-gradient(circle at center, #2a1f24 0%, #0f0a0c 70%);
}

.video-block {
  background: #121015;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(198, 160, 53, 0.35);
  box-shadow: var(--shadow);
}

.video-block__cap {
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--paper);
  background: linear-gradient(90deg, var(--burgundy-dim), #2c1620);
}

.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
}

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

.grid-2 {
  display: grid;
  gap: 1.5rem;
}

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

.card {
  background: #fffef9;
  border: 1px solid rgba(107, 31, 58, 0.12);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 10px 28px rgba(20, 12, 16, 0.06);
}

.card__icon {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  background: linear-gradient(135deg, rgba(232, 217, 164, 0.35), transparent);
  border-radius: 10px;
}

.card__icon img {
  max-width: 85%;
  max-height: 72px;
  object-fit: contain;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: var(--burgundy-dim);
}

.prose p {
  margin: 0 0 1rem;
}

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

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.site-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(107, 31, 58, 0.15);
  display: grid;
  gap: 1.5rem;
}

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

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

.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-brand strong {
  font-family: var(--font-display);
  color: var(--burgundy-dim);
}

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

.footer-links a {
  text-decoration: none;
  font-weight: 600;
}

.footer-note {
  font-size: 0.82rem;
  color: #5c4e53;
  max-width: 520px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  color: var(--burgundy-dim);
  margin: 0 0 0.5rem;
}

.page-sub {
  margin: 0 0 1.75rem;
  color: #4a3f44;
  font-size: 1.02rem;
}

.legal-block h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 1.75rem 0 0.65rem;
  color: var(--burgundy-dim);
}

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

.legal-block p,
.legal-block li {
  font-size: 0.98rem;
}

@media (max-width: 480px) {
  .nav {
    width: 100%;
    justify-content: flex-start;
  }
}
