
/* Adventure Casino — jungle treasure theme (ad-) */
.ad-body {
  --ad-bg: #0b1a12;
  --ad-gold: #f0c35a;
  --ad-gold-lt: #fbe3a1;
  --ad-orange: #c9782a;
  --ad-text: #e9e2cf;
  --ad-muted: #b9b39d;
  --ad-ink: #1d1307;
  --ad-ease: cubic-bezier(.16,1,.3,1);
  margin: 0;
  padding: 0;
  color: var(--ad-text);
  font-family: Karla, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: var(--ad-bg);
  background-image:
    radial-gradient(ellipse 60% 40% at 15% 0%, rgba(201,120,42,.18), transparent 70%),
    radial-gradient(ellipse 50% 50% at 100% 60%, rgba(79,154,94,.14), transparent 70%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(240,195,90,.08), transparent 70%);
  background-attachment: fixed;
}
.ad-body *,
.ad-body *::before,
.ad-body *::after { box-sizing: border-box; }
.ad-body a { color: var(--ad-gold); text-decoration: none; }
.ad-body a:hover { color: var(--ad-gold-lt); }
.ad-body img { max-width: 100%; }
/* Absolute cover images must not inherit height:auto */
.ad-body .ad-hero-img,
.ad-body .ad-win-thumb img {
  max-width: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Avoid global button font:inherit overriding Cinzel CTAs */
.ad-burger,
.ad-drawer-close,
.ad-pay-nav { font: inherit; }

@keyframes ad-toastIn {
  from { opacity: 0; transform: translateY(-18px) scale(.97); }
  to { opacity: 1; transform: none; }
}
@keyframes ad-swing {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}
@keyframes ad-ctaGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(224,72,58,0)); }
  50% { filter: drop-shadow(0 0 18px rgba(224,72,58,.75)); }
}
@keyframes ad-livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(95,208,120,.6); }
  50% { box-shadow: 0 0 0 5px rgba(95,208,120,0); }
}

.ad-diamond {
  width: 7px; height: 7px; flex: none;
  transform: rotate(45deg);
  background: var(--ad-gold);
}
.ad-diamond--sm {
  width: 6px; height: 6px; background: var(--ad-orange);
}
.ad-diamond--ring {
  width: 12px; height: 12px; background: transparent;
  border: 2px solid var(--ad-gold);
}

/* Desktop floating sidebar */
.ad-sidebar {
  display: none;
  position: fixed;
  top: 16px; left: 16px; bottom: 16px;
  width: 252px; z-index: 40;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(26,48,34,.96), rgba(14,28,20,.96));
  border: 1px solid rgba(240,195,90,.28);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,.45), inset 0 1px 0 rgba(251,227,161,.08);
  overflow: hidden;
}
.ad-logo-link--side {
  display: flex; align-items: center; justify-content: center;
  padding: 22px 20px 16px;
}
.ad-logo--side {
  width: 200px; height: 100px; object-fit: contain; display: block;
}
.ad-diamond-rule {
  display: flex; align-items: center; gap: 8px; padding: 0 22px;
}
.ad-diamond-rule-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,195,90,.5));
}
.ad-diamond-rule-line--rev {
  background: linear-gradient(90deg, rgba(240,195,90,.5), transparent);
}
.ad-nav-slot--desktop {
  flex: 1; overflow-y: auto;
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 16px;
}
.ad-nav-slot--desktop .ad-main-nav {
  display: flex; flex-direction: column; gap: 6px;
}
.ad-body .ad-nav-slot--desktop .ad-nav-link {
  display: block; padding: 11px 18px; border-radius: 999px;
  font-family: Karla, system-ui, sans-serif;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  color: var(--ad-text); background: transparent;
  transition: background .2s, color .2s, box-shadow .2s;
}
.ad-body .ad-nav-slot--desktop .ad-nav-link:hover {
  background: rgba(240,195,90,.12);
  color: #fbe3a1;
}
.ad-body .ad-nav-slot--desktop .ad-nav-link.is-active,
.ad-body .ad-nav-slot--desktop .ad-nav-link[aria-current="page"] {
  font-weight: 700;
  background: linear-gradient(90deg, var(--ad-gold), var(--ad-orange));
  color: var(--ad-ink);
  box-shadow: 0 4px 14px rgba(240,195,90,.3);
}
.ad-sidebar-foot {
  position: relative;
  padding: 14px 16px 18px;
  display: flex; flex-direction: column; gap: 10px;
  border-top: 1px solid rgba(240,195,90,.14);
}
.ad-sidebar-compass {
  position: absolute; right: -26px; top: -78px;
  width: 96px; height: auto; opacity: .9;
  pointer-events: none; transform: rotate(-14deg);
}

/* Buttons — Cinzel must win */
.ad-btn {
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; text-align: center; text-decoration: none;
  font-family: Cinzel, serif !important;
  font-weight: 700;
  letter-spacing: .05em;
  border-radius: 12px;
  transition: transform .2s var(--ad-ease), filter .2s, box-shadow .2s, background .2s, color .2s;
}
.ad-btn--gold {
  background: linear-gradient(180deg, #fbe3a1, #f0c35a 45%, #c9782a);
  border: 2px solid #6b3a12;
  box-shadow: 0 0 0 2px rgba(240,195,90,.5), inset 0 2px 0 rgba(255,255,255,.45), inset 0 -3px 0 rgba(107,58,18,.35);
  color: var(--ad-ink) !important;
}
.ad-btn--gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 0 0 2px rgba(240,195,90,.8), 0 8px 20px rgba(240,195,90,.35), inset 0 2px 0 rgba(255,255,255,.45), inset 0 -3px 0 rgba(107,58,18,.35);
  color: var(--ad-ink) !important;
}
.ad-btn--ghost {
  border: 2px solid var(--ad-gold);
  background: rgba(240,195,90,.06);
  color: var(--ad-gold) !important;
}
.ad-btn--ghost:hover {
  transform: translateY(-2px);
  background: rgba(240,195,90,.16);
  box-shadow: 0 0 16px rgba(240,195,90,.35);
  color: var(--ad-gold-lt) !important;
}
.ad-btn--block {
  width: 100%; height: 46px; font-size: 15px;
}
.ad-btn--sm {
  height: 38px; padding: 0 12px; font-size: 13px; white-space: nowrap;
}
.ad-btn--claim {
  background: linear-gradient(180deg, #e0483a, #b3261c 55%, #7e150f);
  border: 2px solid #fbe3a1;
  box-shadow: 0 0 0 4px rgba(107,58,18,.85), 0 0 0 6px #f0c35a, 0 14px 34px rgba(0,0,0,.6), inset 0 2px 0 rgba(255,255,255,.3);
  color: #fff6e0 !important;
  font-weight: 900;
  letter-spacing: .06em;
  text-shadow: 0 2px 0 rgba(60,8,4,.7);
  animation: ad-ctaGlow 2.4s ease-in-out infinite;
}
.ad-btn--claim:hover {
  transform: translateY(-3px) scale(1.03);
  filter: brightness(1.12);
  color: #fff6e0 !important;
}
.ad-btn--hero {
  height: 64px; padding: 0 40px; border-radius: 14px; font-size: 20px;
}

/* Mobile floating header */
.ad-mobile-header {
  position: fixed;
  top: 10px; left: 10px; right: 10px;
  z-index: 50; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 0 8px 0 12px;
  background: rgba(18,36,25,.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(240,195,90,.28);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,.4);
}
.ad-logo--mobile {
  width: clamp(78px, 22vw, 120px); height: 50px; object-fit: contain; display: block;
}
.ad-mobile-actions { display: flex; align-items: center; gap: 6px; min-width: 0; }
.ad-burger {
  width: 44px; height: 44px; flex: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: rgba(240,195,90,.1);
  border: 1px solid rgba(240,195,90,.35);
  border-radius: 50%;
  cursor: pointer; padding: 0;
}
.ad-burger span {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ad-gold);
}
.ad-burger span:last-child { width: 12px; }

/* Drawer */
.ad-drawer { position: fixed; inset: 0; z-index: 70; }
.ad-drawer[hidden] { display: none !important; }
.ad-drawer-scrim {
  position: absolute; inset: 0;
  background: rgba(5,10,7,.6);
}
.ad-drawer-panel {
  position: absolute; top: 10px; bottom: 10px; left: 10px;
  width: 280px; max-width: calc(100% - 20px);
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #1a3022, #0e1c14);
  border: 1px solid rgba(240,195,90,.3);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  transform: translateX(calc(-100% - 20px));
  transition: transform .35s var(--ad-ease);
}
.ad-drawer.is-open .ad-drawer-panel { transform: translateX(0); }
.ad-drawer-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 14px 8px 18px;
}
.ad-logo--drawer { width: 130px; height: 64px; object-fit: contain; display: block; }
.ad-drawer-close {
  width: 44px; height: 44px; border-radius: 50%;
  background: transparent; border: 1px solid rgba(240,195,90,.35);
  color: var(--ad-gold); font-size: 22px; line-height: 1; cursor: pointer;
}
.ad-nav-slot--mobile {
  flex: 1; overflow-y: auto;
  display: flex; flex-direction: column; gap: 6px;
  padding: 12px 14px;
}
.ad-nav-slot--mobile .ad-main-nav {
  display: flex; flex-direction: column; gap: 6px;
}
.ad-nav-slot--mobile .ad-nav-link {
  display: block; padding: 11px 18px; border-radius: 999px;
  font-weight: 600; font-size: 15px; color: var(--ad-text);
  background: transparent;
  transition: background .2s, color .2s;
}
.ad-body .ad-nav-slot--mobile .ad-nav-link:hover {
  background: rgba(240,195,90,.12);
  color: #fbe3a1;
}
.ad-drawer-auth {
  padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  border-top: 1px solid rgba(240,195,90,.14);
}

/* Main */
.ad-main {
  padding: 84px 10px 0;
  min-height: 100vh;
}
.ad-page {
  max-width: 1320px; margin: 0 auto;
  display: flex; flex-direction: column;
  gap: clamp(20px, 3vw, 36px);
}

/* Hero */
.ad-hero { width: 100%; }
.ad-hero-frame {
  position: relative;
  aspect-ratio: 4/5;
  max-height: 640px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(240,195,90,.3);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.ad-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 80% center;
  display: block;
}
.ad-hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,14,4,.55), transparent 50%);
  pointer-events: none;
}
.ad-hero-copy {
  position: absolute; top: 16%; left: 6%; right: 6%;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  text-align: center;
}
.ad-hero-title {
  margin: 0;
  font-family: Cinzel, serif;
  font-weight: 900;
  font-size: clamp(26px, 7.4vw, 42px);
  line-height: 1.1;
  color: #fff6e0;
  text-shadow: 0 3px 0 #6b3a12, 0 8px 24px rgba(0,0,0,.7);
  text-wrap: balance;
}
.ad-btn--hero {
  height: 54px; padding: 0 26px; font-size: 16px;
}

/* Dividers */
.ad-divider {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: clamp(28px, 4vw, 48px) 4%;
}
.ad-divider--diamond,
.ad-divider--dots { gap: 12px; }
.ad-divider--dots { padding-bottom: clamp(20px, 3vw, 32px); }
.ad-divider-line {
  flex: 1; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(240,195,90,.7));
}
.ad-divider-line--rev {
  background: linear-gradient(90deg, rgba(240,195,90,.7), transparent);
}
.ad-divider-line--short {
  flex: 1; max-width: 420px; height: 1px;
}
.ad-divider-art {
  width: 64px; height: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.5));
}
.ad-divider-art--hat { width: 78px; }
.ad-dot {
  width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, #fbe3a1, #c9782a);
}
.ad-dot--lg {
  width: 14px; height: 14px;
  background: radial-gradient(circle at 35% 30%, #fbe3a1, #f0c35a 50%, #a8601f);
}

/* Panels */
.ad-panel {
  padding: clamp(22px, 4vw, 48px) clamp(16px, 4vw, 56px);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(38,66,46,.55), rgba(16,30,22,.35) 60%, rgba(60,38,16,.25));
  border: 1px solid rgba(240,195,90,.16);
}
.ad-wins-panel { position: relative; overflow: hidden; }
.ad-section-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.ad-section-head--compass {
  gap: 16px;
  margin-bottom: clamp(20px, 2.8vw, 32px);
}
.ad-section-compass {
  width: 64px; height: auto; flex: none;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.5));
}
.ad-section-line {
  flex: 1; height: 2px;
  background: linear-gradient(90deg, transparent, var(--ad-gold));
}
.ad-section-line--rev {
  background: linear-gradient(90deg, var(--ad-gold), transparent);
}
.ad-h2 {
  margin: 0;
  font-family: Cinzel, serif;
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: .04em;
  color: var(--ad-gold-lt);
  text-align: center;
  white-space: nowrap;
}

/* Content / {TEXT} */
.ad-content {
  max-width: 880px; margin: 0 auto;
  font-size: 17px; line-height: 1.7; color: #e1dac5;
}
.ad-content > * + * { margin-top: 18px; }
.ad-content h2 {
  margin: 0 0 16px;
  font-family: Cinzel, serif; font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.25; color: var(--ad-gold);
  text-wrap: balance;
}
.ad-content h3 {
  margin: 34px 0 14px;
  position: relative;
  padding-left: 38px;
  font-family: Cinzel, serif; font-weight: 700;
  font-size: 21px; color: var(--ad-gold-lt);
}
.ad-content h3::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 26px; height: 2px;
  background: var(--ad-orange);
  transform: translateY(-50%);
}
.ad-content p { margin: 0; text-wrap: pretty; }
.ad-content a { color: var(--ad-gold); }
.ad-content a:hover { color: var(--ad-gold-lt); }
.ad-content strong,
.ad-content b {
  display: inline;
  color: var(--ad-gold-lt);
  font-weight: 700;
}
.ad-content ul {
  margin: 0 0 18px; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
/* Absolute diamond markers — flex on li breaks bold+text onto separate lines */
.ad-content ul > li {
  position: relative;
  display: block;
  padding-left: 24px;
}
.ad-content ul > li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 9px; height: 9px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #fbe3a1, #c9782a);
}
.ad-content ol {
  margin: 0 0 18px; padding: 0; list-style: none;
  counter-reset: ad-step;
  display: flex; flex-direction: column; gap: 12px;
}
.ad-content ol > li {
  position: relative;
  display: block;
  padding-left: 46px;
  counter-increment: ad-step;
}
.ad-content ol > li::before {
  content: counter(ad-step);
  position: absolute; left: 0; top: 0;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fbe3a1, #f0c35a 50%, #a8601f);
  color: #2a1a08;
  font-family: Cinzel, serif;
  font-weight: 900; font-size: 15px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.25);
}
.ad-content blockquote {
  position: relative;
  margin: 34px 0;
  padding: 24px 28px 24px clamp(28px, 12vw, 130px);
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(107,58,18,.35), rgba(107,58,18,.1));
  border: 1px solid rgba(240,195,90,.25);
  font-family: Cinzel, serif;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.5;
  color: var(--ad-gold-lt);
  background-image: url("/wp-content/uploads/adventure/explorer-hat.webp"), linear-gradient(90deg, rgba(107,58,18,.35), rgba(107,58,18,.1));
  background-repeat: no-repeat, no-repeat;
  background-position: 14px center, 0 0;
  background-size: clamp(0px, 10vw, 100px) auto, auto;
}
/* Tables: gold frame on wrapper, no min-width, no vertical cell borders */
.ad-content .table-wrapper {
  max-width: 100%; box-sizing: border-box;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 0 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(240,195,90,.28);
}
.ad-content .table-wrapper table {
  border: 0; outline: none; margin: 0;
}
.ad-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.ad-content thead {
  background: linear-gradient(90deg, rgba(240,195,90,.22), rgba(201,120,42,.18));
}
.ad-content th,
.ad-content td {
  text-align: left;
  padding: 12px 16px;
  border: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
}
.ad-content th {
  font-family: Cinzel, serif; font-weight: 700;
  color: var(--ad-gold-lt);
}
.ad-content td {
  border-top: 1px solid rgba(240,195,90,.14) !important;
}
.ad-content tbody tr:nth-child(even) {
  background: rgba(255,255,255,.025);
}
.ad-content details {
  border-radius: 14px;
  border: 1px solid rgba(240,195,90,.25);
  background: rgba(10,22,15,.55);
  overflow: hidden;
}
.ad-content details + details { margin-top: 10px; }
.ad-content summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 18px;
  color: var(--ad-gold-lt);
  font-family: Karla, sans-serif;
  font-weight: 700; font-size: 16px;
}
.ad-content summary::-webkit-details-marker { display: none; }
.ad-content summary::after {
  content: "+";
  flex: none;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(240,195,90,.45);
  color: var(--ad-gold);
  font-size: 18px;
  transition: transform .25s var(--ad-ease);
}
.ad-content details[open] summary::after { transform: rotate(45deg); }
.ad-content details > *:not(summary) {
  padding: 0 18px 18px;
  color: #d6cfb9;
  font-size: 16px; line-height: 1.65;
}

@media (max-width: 768px) {
  table { display: block !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; }
}

/* Recent Wins */
.ad-wins-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.ad-wins-feed {
  display: flex; flex-direction: column; gap: 12px;
}
.ad-win {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 16px 10px 10px;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(30,54,38,.92), rgba(16,30,22,.92));
  border: 1px solid rgba(240,195,90,.18);
  color: inherit;
  text-decoration: none;
  transition: opacity .4s, background .4s, border-color .4s;
}
.ad-win:hover { color: inherit; }
.ad-win--fresh {
  background: linear-gradient(90deg, rgba(74,56,20,.95), rgba(24,42,30,.95));
  border-color: rgba(240,195,90,.55);
  box-shadow: 0 10px 28px rgba(0,0,0,.4);
  animation: ad-toastIn .6s var(--ad-ease);
}
.ad-win-thumb {
  flex: none; width: 54px; height: 72px; padding: 2px; border-radius: 12px;
  background: linear-gradient(135deg, #fbe3a1, #c9782a 40%, #3f8f5a 75%, #f0c35a);
  overflow: hidden;
}
.ad-win-thumb img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block;
}
.ad-win-info {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.ad-win-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: #d6cfb9;
}
.ad-live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #5fd078;
}
.ad-win--fresh .ad-live-dot {
  animation: ad-livePulse 1.6s infinite;
}
.ad-win-nick { font-weight: 700; color: #efe2c0; }
.ad-win-amt {
  font-family: Cinzel, serif; font-weight: 900;
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--ad-gold);
  letter-spacing: .01em;
  text-shadow: 0 2px 0 rgba(0,0,0,.35);
}
.ad-win-ago {
  flex: none; font-size: 13px; color: var(--ad-muted);
}
.ad-wins-monkey { display: none; justify-content: center; padding-top: 4px; }
.ad-monkey {
  width: 240px; height: auto;
  transform-origin: 85% 0%;
  animation: ad-swing 4s ease-in-out infinite;
  filter: drop-shadow(0 16px 24px rgba(0,0,0,.45));
}

/* Payments */
.ad-pay-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "track track" "prev next";
  align-items: center;
  gap: clamp(8px, 1.5vw, 18px);
}
.ad-pay-nav {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a4a33, #12241a);
  border: 2px solid var(--ad-gold);
  color: var(--ad-gold);
  cursor: pointer;
  transition: transform .2s var(--ad-ease), box-shadow .2s;
  padding: 0;
}
.ad-pay-nav:hover {
  transform: scale(1.08);
  box-shadow: 0 0 18px rgba(240,195,90,.45);
}
#ad-pay-prev { grid-area: prev; justify-self: end; }
#ad-pay-next { grid-area: next; justify-self: start; }
.ad-pay-track-wrap {
  grid-area: track; min-width: 0; overflow: hidden;
  padding: 8px 2px 12px; touch-action: pan-y;
}
.ad-pay-track {
  display: flex; gap: 16px;
  transition: transform .5s var(--ad-ease);
}
.ad-pay-card {
  flex: none; width: 170px; height: 96px; padding: 2px; border-radius: 16px;
  background: linear-gradient(135deg, #fbe3a1, #c9782a 40%, #3f8f5a 75%, #f0c35a);
  transition: transform .25s var(--ad-ease), box-shadow .25s;
}
.ad-pay-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 26px rgba(0,0,0,.45);
}
.ad-pay-inner {
  width: 100%; height: 100%; border-radius: 14px;
  background: linear-gradient(180deg, #1b3325, #0f1f16);
  display: flex; align-items: center; justify-content: center;
  padding: 18px 20px;
}
.ad-pay-mask {
  width: 100%; height: 100%;
  background: linear-gradient(100deg, #fbe3a1, #f0c35a 35%, #e08a3a 65%, #8fd08f);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}

/* Footer */
.ad-footer {
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  padding: 28px clamp(16px, 4vw, 40px) 36px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(180deg, rgba(20,38,27,.9), rgba(10,20,14,.95));
  border: 1px solid rgba(240,195,90,.16);
  border-bottom: 0;
}
.ad-footer-nav-slot { width: 100%; }
.ad-footer-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px;
}
.ad-footer-link {
  color: #d6cfb9; font-size: 15px; font-weight: 600;
  padding: 6px 0; border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.ad-footer-link:hover {
  color: var(--ad-gold-lt); border-bottom-color: var(--ad-gold);
}
.ad-footer-rule {
  width: 100%; max-width: 760px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,195,90,.35), transparent);
}
.ad-footer-rg {
  display: flex; align-items: center; gap: 14px; max-width: 760px;
}
.ad-age {
  width: 44px; height: 44px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 2px solid var(--ad-gold);
  color: var(--ad-gold);
  font-family: Cinzel, serif; font-weight: 900; font-size: 15px;
}
.ad-rg-text {
  margin: 0; font-size: 14px; line-height: 1.6; color: var(--ad-muted); text-wrap: pretty;
}
.ad-copy {
  margin: 0; font-size: 13px; color: #8f8a76;
}

@media (min-width: 640px) {
  .ad-pay-wrap {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    grid-template-areas: "prev track next";
  }
  #ad-pay-prev, #ad-pay-next { justify-self: center; }
}
@media (min-width: 700px) {
  .ad-hero-frame {
    aspect-ratio: 2/1;
    border-radius: 22px;
  }
  .ad-hero-img { object-position: center; }
  .ad-hero-shade {
    background: radial-gradient(ellipse 38% 50% at 73% 30%, rgba(28,14,4,.42), transparent 75%);
  }
  .ad-hero-copy {
    top: 22%; right: 5%; left: auto; width: 40%;
    gap: 26px;
  }
  .ad-hero-title {
    font-size: clamp(30px, 3.4vw, 56px); line-height: 1.08;
  }
  .ad-btn--hero {
    height: 64px; padding: 0 40px; font-size: 20px;
  }
}
@media (min-width: 900px) {
  .ad-wins-grid {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .ad-wins-monkey { display: flex; }
}
@media (min-width: 1024px) {
  .ad-mobile-header { display: none; }
  .ad-drawer { display: none !important; }
  .ad-sidebar { display: flex; }
  .ad-main { padding: 16px 24px 0 292px; }
}
@media (max-width: 479px) {
  .ad-win { gap: 10px; padding: 8px 12px 8px 8px; }
  .ad-win-thumb { width: 44px; height: 60px; }
  .ad-win-ago { align-self: flex-start; padding-top: 4px; font-size: 12px; }
  .ad-pay-card { width: 130px; height: 76px; }
  .ad-pay-inner { padding: 12px 14px; }
  .ad-pay-track { gap: 12px; }
  .ad-btn--sm { padding: 0 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .ad-btn--claim, .ad-monkey, .ad-win--fresh, .ad-live-dot { animation: none !important; }
}
