/*
Theme Name: Betfun
Theme URI: https://betfun.bet.ar/
Author: Betfun
Description: Tema oscuro para Betfun con portada estática y blog dinámico.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: betfun
*/

@font-face {
  font-family: 'Outfit Variable';
  src: url('assets/fonts/outfit-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk Variable';
  src: url('assets/fonts/space-grotesk-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --ink: #10090f;
  --ink-soft: #190e18;
  --surface: #211220;
  --surface-light: #2c1729;
  --text: #f8f2f6;
  --muted: #cdbdca;
  --accent: #ed63a6;
  --accent-dark: #ba3978;
  --line: rgba(255, 235, 247, 0.14);
  --display: 'Outfit Variable', sans-serif;
  --body: 'Space Grotesk Variable', sans-serif;
  color-scheme: dark;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

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

::selection {
  background: var(--accent);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand {
  font-family: var(--display);
}

h2 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 4.4vw, 4.75rem);
  font-weight: 580;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

p {
  max-width: 76ch;
  margin-bottom: 24px;
  color: var(--muted);
}

.page-width {
  width: min(100% - 64px, 1320px);
  margin-inline: auto;
}

.site-shell {
  min-height: 100dvh;
  background: var(--ink);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 76px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 9, 15, 0.76);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
}

.header-inner {
  width: min(100% - 48px, 1400px);
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  line-height: 1;
}

.brand img {
  width: auto;
  height: 29px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.desktop-nav a,
.footer-links a {
  position: relative;
  padding: 8px 0;
  color: #ded0dc;
  font-size: 14px;
  font-weight: 560;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-action {
  justify-self: end;
}

.header-action .cta-button {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 13px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  inset: 76px 0 0;
  z-index: 35;
  padding: 36px 24px;
  background: rgba(16, 9, 15, 0.98);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.mobile-menu nav > a:not(.cta-button) {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 32px;
  font-weight: 560;
}

.mobile-menu .cta-button {
  margin-top: 20px;
}

.cta-button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  width: fit-content;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 680;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.cta-button > * {
  position: relative;
  z-index: 2;
}

.cta-primary {
  background: var(--accent);
  color: #1c0b16;
  box-shadow: 0 10px 34px rgba(202, 55, 128, 0.22);
}

.cta-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #f58bbb;
  transform: translateX(-102%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-primary::after {
  content: '';
  position: absolute;
  inset: -5px;
  z-index: -1;
  border: 1px solid rgba(237, 99, 166, 0.5);
  border-radius: inherit;
  animation: cta-pulse 2.8s ease-out infinite;
}

.cta-primary:hover::before {
  transform: translateX(0);
}

.cta-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(18, 9, 17, 0.48);
  color: var(--text);
  backdrop-filter: blur(12px);
}

.cta-secondary:hover {
  border-color: var(--accent);
  background: rgba(36, 15, 31, 0.82);
}

@keyframes cta-pulse {
  0%, 45% { opacity: 0; transform: scale(0.98); }
  65% { opacity: 0.65; }
  100% { opacity: 0; transform: scale(1.09, 1.25); }
}

.badge,
.age-badge,
.location-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(237, 99, 166, 0.42);
  border-radius: 999px;
  background: rgba(29, 12, 25, 0.62);
  color: #f5a5cb;
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.15em;
  line-height: 1;
}

.badge {
  padding: 10px 14px;
}

.home-hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--ink-soft);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url('assets/images/image2.webp');
  background-position: 65% center;
  background-size: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(14, 7, 14, 0.88) 0%, rgba(14, 7, 14, 0.5) 48%, rgba(14, 7, 14, 0.12) 78%),
    linear-gradient(0deg, rgba(14, 7, 14, 0.94) 0%, transparent 56%, rgba(14, 7, 14, 0.34) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 112px;
  padding-bottom: clamp(40px, 7vh, 76px);
}

.hero-content .badge {
  margin-bottom: 22px;
}

.hero-content h1 {
  max-width: 1450px;
  margin-bottom: 30px;
  font-size: clamp(2.25rem, 3vw, 3.15rem);
  font-weight: 570;
  letter-spacing: -0.05em;
  line-height: 1.01;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.content-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(96px, 11vw, 168px) 0;
  background: var(--ink-soft);
}

.scene-bg,
.scene-overlay,
.dual-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.scene-bg {
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
}

.scene-overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgba(16, 9, 15, 0.97) 0%, rgba(16, 9, 15, 0.89) 48%, rgba(16, 9, 15, 0.4) 100%);
}

.scene-inner > p,
.scene-inner > .table-wrap,
.scene-inner > .editorial-list,
.scene-inner > .steps-list,
.scene-inner > .cta-button {
  position: relative;
}

.scene-inner > .cta-button,
.floating-panel .cta-button {
  margin-top: 12px;
}

.scene-inner h2 {
  text-wrap: balance;
}

.intro-scene {
  padding-block: clamp(88px, 9vw, 136px);
}

.intro-scene .scene-bg {
  background-position: 72% center;
}

.intro-scene .scene-overlay {
  background: linear-gradient(90deg, rgba(16, 9, 15, 0.98) 12%, rgba(16, 9, 15, 0.85) 62%, rgba(16, 9, 15, 0.36));
}

.lead-copy {
  max-width: 870px;
  margin-bottom: 30px;
  color: #f1e4ed;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.1vw, 1.85rem);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.42;
}

.lobby-scene .scene-inner,
.cards-scene .scene-inner,
.duration-scene .scene-inner,
.payments-scene .scene-inner {
  max-width: 1120px;
  margin-left: max(32px, calc((100vw - 1320px) / 2));
}

.lobby-scene .scene-bg,
.payments-scene .scene-bg {
  background-position: 80% center;
}

.table-wrap {
  width: 100%;
  max-width: 1040px;
  margin: 38px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(24, 11, 22, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  scrollbar-color: var(--accent) var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th,
td {
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: rgba(237, 99, 166, 0.08);
  color: #f5a5cb;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.03em;
}

td {
  color: #e2d5df;
  font-size: 14px;
  line-height: 1.55;
}

td:first-child {
  min-width: 160px;
  color: var(--text);
  font-weight: 580;
}

tr:last-child td {
  border-bottom: 0;
}

.crash-scene .scene-bg {
  background-position: 78% center;
}

.crash-scene .scene-overlay {
  background: linear-gradient(90deg, rgba(16, 9, 15, 0.97), rgba(16, 9, 15, 0.84) 58%, rgba(16, 9, 15, 0.3));
}

.scene-copy {
  max-width: 820px;
}

.roulette-scene,
.errors-scene,
.app-scene {
  min-height: 820px;
  display: flex;
  align-items: center;
}

.roulette-scene .scene-bg,
.errors-scene .scene-bg,
.app-scene .scene-bg {
  background-position: 72% center;
}

.roulette-scene .scene-overlay,
.errors-scene .scene-overlay,
.app-scene .scene-overlay {
  background: linear-gradient(90deg, rgba(16, 9, 15, 0.38), rgba(16, 9, 15, 0.08) 52%, rgba(16, 9, 15, 0.65));
}

.floating-panel {
  width: min(100%, 660px);
  margin-left: auto;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(20, 9, 18, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 80px rgba(23, 5, 18, 0.28);
  backdrop-filter: blur(24px) saturate(125%);
}

.floating-panel h2 {
  font-size: clamp(2.2rem, 3.6vw, 3.9rem);
}

.floating-panel p:last-of-type {
  margin-bottom: 0;
}

.editorial-list,
.steps-list {
  max-width: 880px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.editorial-list li {
  position: relative;
  padding: 15px 0 15px 28px;
  border-bottom: 1px solid var(--line);
  color: #e8dce5;
  line-height: 1.55;
}

.editorial-list li::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 2px;
  width: 10px;
  height: 2px;
  background: var(--accent);
}

.editorial-list li:last-child {
  border-bottom: 0;
}

.editorial-list a {
  color: #f5a5cb;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.compact-list {
  margin-block: 0 28px;
}

.dual-bg {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.dual-bg > div {
  background-position: center;
  background-size: cover;
}

.slots-scene .scene-overlay,
.showgames-scene .scene-overlay {
  background: rgba(16, 9, 15, 0.83);
}

.slots-scene .scene-inner,
.showgames-scene .scene-inner {
  padding: clamp(28px, 4vw, 52px);
  border-left: 2px solid var(--accent);
  background: rgba(16, 9, 15, 0.68);
  backdrop-filter: blur(16px);
}

.duration-scene .scene-bg {
  background-position: center 70%;
}

.duration-scene .scene-overlay {
  background: linear-gradient(180deg, rgba(16, 9, 15, 0.95), rgba(16, 9, 15, 0.79));
}

.slideshow-section {
  padding: 40px 0 26px;
  background: #0d080d;
}

.slideshow-frame {
  position: relative;
  width: min(100% - 64px, 1500px);
  height: min(76dvh, 790px);
  min-height: 480px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface);
}

.slideshow-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slideshow-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.slideshow-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
}

.slide-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.slide-dots button {
  width: 18px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #614154;
  cursor: pointer;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.slide-dots button.active {
  width: 38px;
  background: var(--accent);
}

.slide-arrows {
  display: flex;
  gap: 10px;
}

.slide-arrows button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.slide-arrows button:hover {
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-2px);
}

.showgames-scene .scene-inner {
  max-width: 1080px;
}

.showgames-scene p {
  color: #eadde7;
  font-size: 18px;
}

.session-scene {
  background:
    radial-gradient(circle at 85% 20%, rgba(163, 42, 105, 0.2), transparent 40%),
    var(--ink);
}

.session-scene .scene-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  column-gap: 80px;
}

.session-scene h2,
.session-scene > .scene-inner > p:first-of-type {
  grid-column: 1;
}

.steps-list {
  grid-column: 2;
  grid-row: 1 / span 4;
  margin: 0;
  counter-reset: steps;
}

.steps-list li {
  position: relative;
  min-height: 80px;
  padding: 18px 0 18px 76px;
  border-bottom: 1px solid var(--line);
  color: #e8dce5;
  counter-increment: steps;
}

.steps-list li::before {
  content: counter(steps);
  position: absolute;
  top: 14px;
  left: 0;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(237, 99, 166, 0.45);
  border-radius: 999px;
  color: #f5a5cb;
  font-family: var(--display);
  font-size: 20px;
}

.session-scene .scene-inner > p:last-of-type,
.session-scene .cta-button {
  grid-column: 1;
}

.final-scene {
  padding-block: clamp(110px, 14vw, 200px);
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(186, 57, 120, 0.34), transparent 62%),
    #140b13;
}

.final-scene .scene-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-scene .badge {
  margin-bottom: 24px;
}

.final-scene p {
  max-width: 900px;
  font-size: 18px;
}

.final-scene .cta-button {
  margin-top: 18px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #0d080d;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding-block: 48px;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-main .cta-button {
  justify-self: end;
}

.footer-base {
  display: flex;
  gap: 10px;
  padding-block: 20px 30px;
  border-top: 1px solid var(--line);
}

.age-badge,
.location-badge {
  min-width: 42px;
  padding: 9px 12px;
  letter-spacing: 0.04em;
}

.blog-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 160px 0 82px;
}

.blog-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 9, 15, 0.97), rgba(16, 9, 15, 0.72) 62%, rgba(16, 9, 15, 0.34)),
    url('assets/images/image10.webp') center 52% / cover;
}

.blog-hero-content {
  position: relative;
}

.blog-hero .badge {
  margin-bottom: 24px;
}

.blog-hero h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 7.5vw, 7.8rem);
  font-weight: 560;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.blog-hero p {
  max-width: 620px;
  margin-bottom: 0;
  font-size: 18px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 88px 32px;
  padding-block: 100px 150px;
}

.post-card {
  min-width: 0;
}

.post-card-1,
.post-card-5 {
  grid-column: span 7;
}

.post-card-2,
.post-card-6 {
  grid-column: span 5;
}

.post-card-3 {
  grid-column: span 4;
}

.post-card-4 {
  grid-column: span 8;
}

.post-image-link {
  display: block;
  height: 360px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface);
}

.post-card-1 .post-image-link,
.post-card-4 .post-image-link {
  height: 470px;
}

.post-card-3 .post-image-link {
  height: 300px;
}

.post-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.post-card:hover .post-image-link img {
  transform: scale(1.045);
  filter: saturate(1.12);
}

.post-copy {
  padding-top: 26px;
}

.post-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(1.65rem, 2.7vw, 2.65rem);
  line-height: 1.08;
}

.post-copy h2 a {
  transition: color 0.25s ease;
}

.post-copy h2 a:hover {
  color: #f5a5cb;
}

.post-copy p {
  margin-bottom: 18px;
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #f5a5cb;
  font-size: 14px;
  font-weight: 650;
}

.text-link svg {
  transition: transform 0.25s ease;
}

.text-link:hover svg {
  transform: translateX(5px);
}

.article-page {
  padding: 176px 0 120px;
  background:
    radial-gradient(circle at 90% 0%, rgba(186, 57, 120, 0.16), transparent 32%),
    var(--ink);
}

.article-header h1 {
  max-width: 1160px;
  margin-bottom: 64px;
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 560;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.article-visual {
  height: min(65dvh, 690px);
  min-height: 420px;
  margin-bottom: 72px;
  overflow: hidden;
  border-radius: 16px;
}

.article-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  width: min(100% - 64px, 790px);
  margin-inline: auto;
}

.article-body p {
  margin-bottom: 30px;
  color: #ddcfd9;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.65;
}

.article-body p:first-child::first-letter {
  float: left;
  margin: 9px 12px 0 0;
  color: var(--accent);
  font-family: var(--display);
  font-size: 72px;
  font-weight: 580;
  line-height: 0.72;
}

.article-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1100px) {
  .hero-content h1 {
    font-size: clamp(2.1rem, 3vw, 2.75rem);
  }

  .scene-inner {
    max-width: 900px;
  }

  .lobby-scene .scene-inner,
  .cards-scene .scene-inner,
  .duration-scene .scene-inner,
  .payments-scene .scene-inner {
    margin-inline: auto;
  }

  .session-scene .scene-inner {
    column-gap: 44px;
  }

  .blog-grid {
    gap: 72px 26px;
  }

  .post-image-link,
  .post-card-1 .post-image-link,
  .post-card-4 .post-image-link {
    height: 360px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .page-width {
    width: min(100% - 36px, 1320px);
  }

  h2 {
    margin-bottom: 20px;
    font-size: clamp(2.1rem, 10vw, 3.25rem);
  }

  .site-header {
    height: 68px;
  }

  .header-inner {
    width: calc(100% - 32px);
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-action {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-menu {
    inset: 68px 0 0;
  }

  .brand {
    font-size: 28px;
  }

  .home-hero,
  .hero-content {
    min-height: 100dvh;
  }

  .hero-bg {
    background-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(14, 7, 14, 0.98) 0%, rgba(14, 7, 14, 0.74) 54%, rgba(14, 7, 14, 0.24) 100%);
  }

  .hero-content {
    padding-top: 100px;
    padding-bottom: 32px;
  }

  .hero-content h1 {
    margin-bottom: 24px;
    font-size: clamp(2.25rem, 10.4vw, 3.1rem);
    line-height: 1;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .cta-button {
    flex: 1;
    padding-inline: 17px;
  }

  .content-scene {
    padding: 82px 0;
  }

  .scene-bg {
    background-position: 62% center;
  }

  .scene-overlay,
  .intro-scene .scene-overlay,
  .crash-scene .scene-overlay {
    background: rgba(16, 9, 15, 0.86);
  }

  .lead-copy {
    font-size: 1.25rem;
    line-height: 1.5;
  }

  .table-wrap {
    margin: 28px 0;
    border-radius: 12px;
  }

  table {
    min-width: 570px;
  }

  th,
  td {
    padding: 16px 18px;
  }

  .roulette-scene,
  .errors-scene,
  .app-scene {
    min-height: 0;
  }

  .roulette-scene .scene-overlay,
  .errors-scene .scene-overlay,
  .app-scene .scene-overlay {
    background: rgba(16, 9, 15, 0.68);
  }

  .floating-panel {
    padding: 26px 22px;
    border-radius: 12px;
    background: rgba(20, 9, 18, 0.9);
  }

  .dual-bg {
    grid-template-columns: 1fr;
  }

  .dual-bg > div:first-child {
    display: none;
  }

  .slots-scene .scene-inner,
  .showgames-scene .scene-inner {
    padding: 26px 20px;
  }

  .showgames-scene p {
    font-size: 16px;
  }

  .slideshow-section {
    padding-top: 18px;
  }

  .slideshow-frame {
    width: calc(100% - 24px);
    height: 57dvh;
    min-height: 390px;
    border-radius: 12px;
  }

  .slideshow-image {
    object-position: center;
  }

  .slideshow-controls {
    width: calc(100% - 36px);
  }

  .slide-dots {
    max-width: 200px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .slide-dots button {
    width: 12px;
  }

  .slide-dots button.active {
    width: 26px;
  }

  .session-scene .scene-inner {
    display: block;
  }

  .steps-list {
    margin: 32px 0;
  }

  .steps-list li {
    padding-left: 62px;
  }

  .final-scene {
    text-align: left;
  }

  .final-scene .scene-inner {
    align-items: flex-start;
  }

  .footer-main {
    grid-template-columns: 1fr auto;
    gap: 28px;
    padding-block: 38px;
  }

  .footer-links {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .footer-main .cta-button {
    grid-column: 2;
    grid-row: 1;
    min-height: 44px;
    padding: 12px 16px;
  }

  .blog-hero {
    min-height: 560px;
    padding: 132px 0 62px;
  }

  .blog-hero h1 {
    font-size: clamp(3.25rem, 16vw, 5.5rem);
  }

  .blog-hero p {
    font-size: 16px;
  }

  .blog-grid {
    display: block;
    padding-block: 64px 96px;
  }

  .post-card {
    margin-bottom: 64px;
  }

  .post-card:last-child {
    margin-bottom: 0;
  }

  .post-image-link,
  .post-card-1 .post-image-link,
  .post-card-3 .post-image-link,
  .post-card-4 .post-image-link {
    height: 300px;
    border-radius: 12px;
  }

  .post-copy h2 {
    font-size: 1.9rem;
  }

  .article-page {
    padding: 126px 0 90px;
  }

  .article-header h1 {
    margin-bottom: 38px;
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .article-visual {
    width: calc(100% - 24px);
    height: 45dvh;
    min-height: 320px;
    margin-bottom: 48px;
    border-radius: 12px;
  }

  .article-body {
    width: calc(100% - 36px);
  }

  .article-body p {
    font-size: 1.12rem;
  }

  .article-cta {
    margin-top: 52px;
  }
}

@media (max-width: 390px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .cta-button {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-main .cta-button {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .footer-links {
    grid-row: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .table-wrap,
  .floating-panel,
  .slots-scene .scene-inner,
  .showgames-scene .scene-inner,
  .cta-secondary {
    background: var(--ink-soft);
    backdrop-filter: none;
  }
}

/* WordPress menus and native template behavior. */
.desktop-nav ul,
.footer-links ul,
.mobile-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav ul,
.footer-links ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.mobile-menu nav > ul {
  display: grid;
  gap: 12px;
}

.mobile-menu nav li > a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 32px;
  font-weight: 560;
}

.mobile-menu[hidden] {
  display: none;
}

.menu-toggle span {
  font-size: 25px;
  line-height: 1;
}

.cta-arrow {
  font-size: 19px;
  font-weight: 600;
}

.cta-button {
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
}

.cta-button:active {
  transform: scale(0.98);
}

.slideshow-image {
  opacity: 0;
  transition: opacity 0.65s ease, transform 0.8s ease;
}

.slideshow-image.is-active {
  z-index: 1;
  opacity: 1;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.article-body h2,
.article-body h3 {
  margin-top: 48px;
}

.article-body ul,
.article-body ol {
  margin-bottom: 30px;
  padding-left: 24px;
  color: #ddcfd9;
}

.article-body img {
  height: auto;
  border-radius: 16px;
}

.article-body a {
  color: #f5a5cb;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.navigation.pagination {
  width: min(100% - 64px, 1320px);
  margin: -88px auto 110px;
}

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

.page-numbers {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
}

.page-numbers.current,
.page-numbers:hover {
  background: var(--accent);
  color: var(--ink);
}

body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .navigation.pagination {
    width: calc(100% - 36px);
    margin: -45px auto 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
