/* Opulenta Studio Games — Fort Knox promo (unique vault / editorial layout) */
:root {
  --bg-deep: #06080f;
  --bg-panel: #0e1220;
  --bg-elevated: #141a2e;
  --border: rgba(232, 197, 71, 0.22);
  --gold: #e8c547;
  --gold-dim: #9a7b2d;
  --text: #e8ecf4;
  --text-muted: #8b95ad;
  --accent-cool: #7eb8ff;
  --radius: 14px;
  --radius-lg: 22px;
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
  --max: 1120px;
  --gate-z: 99999;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(232, 197, 71, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(126, 184, 255, 0.06), transparent),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(184, 115, 51, 0.08), transparent);
  min-height: 100vh;
}

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

/* Decorative / logo images — always contain */
.asset-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 72px;
  padding: 10px;
}

.asset-frame img,
.asset-frame .asset-img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
  object-position: center;
}

.asset-frame--sm {
  min-height: 48px;
  max-width: 140px;
}

.asset-frame--lg {
  min-height: 140px;
  max-height: 200px;
}

.asset-frame--wide {
  min-height: 100px;
}

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

a:hover {
  text-decoration: underline;
}

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

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
}

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

.brand-mark {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-panel);
}

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

.brand-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-top: 2px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}

.nav a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav a:hover,
.nav a.is-active {
  color: var(--gold);
  text-decoration: none;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 22px 64px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 48px;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-copy .lede {
  font-size: 1.05rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.55;
}

.hero-copy .desc {
  color: var(--text-muted);
  margin: 0 0 24px;
}

.hero-aside {
  display: grid;
  gap: 14px;
}

.tilt-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transform: rotate(-0.5deg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.tilt-panel:nth-child(2) {
  transform: rotate(0.6deg);
}

.intro-strip {
  background: linear-gradient(105deg, var(--bg-elevated) 0%, rgba(20, 26, 46, 0.4) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.intro-strip::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 55%;
  height: 140%;
  background: radial-gradient(circle, rgba(232, 197, 71, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.intro-strip-inner {
  position: relative;
  display: grid;
  gap: 18px;
}

@media (min-width: 720px) {
  .intro-strip-inner {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 24px;
  }
}

.intro-strip p {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.7;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--text-muted);
  margin: 0 0 22px;
  max-width: 62ch;
}

.grid-shots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 48px;
}

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

.shot-card .shot-asset {
  padding: 12px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
}

.shot-card .shot-asset img {
  max-height: 64px;
  width: auto;
  max-width: 90%;
  object-fit: contain;
}

.shot-frame {
  aspect-ratio: 9 / 16;
  max-height: 420px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080a12;
  padding: 8px;
}

.shot-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
}

.video-block {
  margin-bottom: 48px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  gap: 18px;
}

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

.video-wrap {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  background: #000;
}

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

.video-fallback {
  margin: 14px 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

.video-fallback a {
  font-weight: 700;
  color: var(--gold);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: center;
  padding: 32px 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
}

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

.play-badge {
  display: inline-flex;
  align-items: center;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.play-badge:hover {
  transform: scale(1.03);
  filter: brightness(1.08);
}

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

.page-block {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  margin-bottom: 24px;
}

.page-block h1 {
  font-family: var(--font-display);
  margin: 0 0 12px;
  font-size: 2rem;
}

.page-block h2 {
  font-family: var(--font-display);
  margin: 28px 0 10px;
  font-size: 1.35rem;
}

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

.page-block ul {
  padding-left: 1.2em;
}

.meta-deco {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(14, 18, 32, 0.95);
  padding: 36px 22px 28px;
  margin-top: 20px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

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

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

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

.footer-brand strong {
  font-family: var(--font-display);
  display: block;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

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

.footer-copy {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(232, 197, 71, 0.12);
}

/* Age gate — slider verification */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: var(--gate-z);
  background: rgba(3, 5, 12, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.age-gate.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.age-gate__box {
  max-width: 420px;
  width: 100%;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 26px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
}

.age-gate__brand {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  overflow: hidden;
}

.age-gate__brand img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.age-gate__box h2 {
  font-family: var(--font-display);
  text-align: center;
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.age-gate__box > p {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 20px;
  font-size: 0.95rem;
}

.age-slider-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-dim);
  margin-bottom: 10px;
  font-weight: 700;
}

.age-slider-track {
  position: relative;
  height: 52px;
  background: var(--bg-deep);
  border-radius: 999px;
  border: 2px solid var(--border);
  overflow: hidden;
  touch-action: none;
  user-select: none;
}

.age-slider-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, rgba(232, 197, 71, 0.25), rgba(126, 184, 255, 0.2));
  border-radius: 999px;
  pointer-events: none;
}

.age-slider-thumb {
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  padding: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold), #a68620);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--bg-deep);
  font-weight: 800;
}

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

.age-hint {
  text-align: center;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  min-height: 1.2em;
}

.age-hint.is-ok {
  color: var(--gold);
  font-weight: 700;
}

.inline-deco {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.inline-deco .asset-frame {
  flex: 1 1 100px;
  min-height: 64px;
  max-width: 160px;
}

.games-list {
  display: grid;
  gap: 18px;
}

.game-row {
  display: grid;
  gap: 16px;
  padding: 20px;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

@media (min-width: 720px) {
  .game-row {
    grid-template-columns: 140px 1fr auto;
    align-items: center;
  }
}

.game-row .thumb-slot {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-row .thumb-slot img {
  max-height: 100px;
  width: 100%;
  object-fit: contain;
}
