.welcome {
  display: grid;
  gap: clamp(1.25rem, 4vw, 3rem);
  max-width: 67rem;
  margin-block: 1.5rem clamp(2.5rem, 7vw, 4.5rem);
  padding-block: clamp(1.35rem, 3.5vw, 2.65rem);
  border-block: 1px solid var(--line);
}

.welcome h2 { margin: 0 0 0.7rem; }
.welcome p { max-width: 48ch; margin: 0; }
.welcome a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 0.65rem;
  font-weight: 700;
}

.campaign, .promo-art { margin: 0; }
.campaign img, .promo-banner { display: block; width: 100%; height: auto; }
.campaign figcaption, .promo-art figcaption { margin-top: 0.55rem; color: var(--muted); font-size: 0.875rem; }
.promo-art {
  max-width: 35rem;
  margin-block: clamp(2rem, 6vw, 4rem);
}

.promo-logo { max-width: 12rem; margin-bottom: 0.7rem; }
.promo-logo img {
  display: block;
  width: 100%;
  height: 5.2rem;
  object-fit: cover;
  object-position: 50% 58%;
}

.table-scroll > table.data-table { min-width: 25rem; }
.article-content .table-scroll-hint { display: none; }
.article-content .table-scroll[tabindex="0"] + .table-scroll-hint {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted);
}

.article-content .table-scroll ~ p:not(.table-scroll-hint) { margin-top: 0.75rem; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: .55rem .72rem; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
th { background: var(--surface); font-weight: 700; }
caption { padding-block: 0.4rem 0.8rem; text-align: start; font-weight: 700; }
.updated { margin-block: 2rem 0; font-size: 0.875rem; color: var(--muted); }
.site-footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer-layout { padding-block: 0.7rem; }
.footer-links a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; font-size: 1rem; }
@media (min-width: 48rem) {
  .welcome { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); align-items: center; }
}

.account-links a:active,
.carousel-controls button:active {
  background: #a42738;
  box-shadow: inset 0 0 0 2px var(--masthead-light);
}

.promo-strip a:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 2px;
}

.promo-strip a:active img {
  outline: 2px solid var(--hover-outline);
  outline-offset: -2px;
}

@media (hover: hover) and (pointer: fine) {
  :is(.account-links a, .carousel-controls button, .game-grid li, .game-categories li, .promo-strip img) {
    transition: background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
  }

  :is(.account-links a, .carousel-controls button):hover {
    background: #a42738;
    box-shadow: 0 0 0 1px var(--masthead-light), var(--hover-shadow);
    transform: var(--hover-lift);
  }

  :is(.game-grid li:hover, .game-categories li:hover, .promo-strip a:hover img) {
    box-shadow: 0 0 0 1px var(--hover-outline), var(--hover-shadow);
    transform: var(--hover-lift);
  }
  .game-categories li:hover { background: var(--surface); }

  .carousel-slide:hover {
    outline: 2px solid var(--masthead-light);
    outline-offset: -2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root { --hover-lift: none; }
  :is(.account-links a, .carousel-controls button, .game-grid li, .game-categories li, .promo-strip img) {
    transition: none;
  }
}

.lobby-credit { color: var(--muted); font-size: 0.875rem; margin-block: 0.55rem 0; }

.daily-spins-popup {
  box-sizing: border-box;
  width: min(28rem, calc(100% - 1.5rem));
  max-height: calc(100% - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #b67443;
  border-radius: 1.3rem;
  background: #390b15;
  box-shadow: 0 1rem 3rem #13030b66;
  color: #fff4d9;
}

.daily-spins-popup:not([open]) { display: none; }

.daily-spins-popup::backdrop {
  background: #190c15c9;
}

.daily-spins-close {
  position: absolute;
  z-index: 1;
  inset: 0.25rem auto auto 0.25rem;
  display: grid;
  isolation: isolate;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff4d9;
  cursor: pointer;
  font: 600 1.125rem/1 system-ui, sans-serif;
}

.daily-spins-close::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8px;
  border: 1px solid #ffe7ab;
  border-radius: 50%;
  background: #380b18ed;
}

.daily-spins-close:hover::before { background: #611326; }
.daily-spins-close:focus-visible { outline: none; }
.daily-spins-close:focus-visible::before { outline: 2px solid #fff2c6; outline-offset: 2px; }

.daily-spins-art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
}

.daily-spins-offer {
  padding: 1.2rem clamp(1rem, 3vw, 1.6rem) 1.35rem;
  border-top: 2px solid #c98853;
  background: radial-gradient(ellipse at top, #611326, transparent 69%);
  text-align: center;
}

.daily-spins-offer h2 {
  margin: 0;
  color: #fff4d9;
  font-family: var(--headings);
  font-size: clamp(2rem, 5vw, 2.6rem);
  line-height: 1;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.daily-spins-prize {
  display: grid;
  gap: 0.2rem;
  margin: 0.6rem 0 1.1rem;
}

.daily-spins-limit {
  font-size: 0.92rem;
  font-weight: 800;
}

.daily-spins-amount {
  color: #ffda7d;
  font-family: var(--headings);
  font-size: clamp(2.75rem, 12vw, 4.25rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.daily-spins-cta {
  position: relative;
  display: grid;
  isolation: isolate;
  place-items: center;
  width: 100%;
  min-height: 56px;
  overflow: hidden;
  padding: 0.45rem 0.85rem;
  border: 1px solid #ffffff5c;
  border-radius: 999px;
  background: linear-gradient(125deg, #f3b94f, #ffe7a3 51%, #edad45);
  box-shadow: inset 0 1px 1px #ffffff59, 0 5px 12px #0003;
  color: #351507;
  opacity: 1;
  font: 900 clamp(1.12rem, 5vw, 1.35rem)/1.15 "DM Sans", system-ui, sans-serif;
}

.daily-spins-cta:disabled { cursor: not-allowed; }

.daily-spins-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, #ffffff3a, transparent 53%);
}

.daily-spins-cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: 42%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #ffffff6b, transparent);
  transform: translateX(-135%) skewX(-19deg);
}

@media (prefers-reduced-motion: no-preference) {
  .daily-spins-popup[open] .daily-spins-cta::after {
    animation: daily-spins-shine 3.7s ease-in-out 0.4s infinite;
  }
}

@keyframes daily-spins-shine {
  40%, 100% { transform: translateX(290%) skewX(-19deg); }
}
