/* Additional editorial sections on the homepage. */
.page-home .hero-list-cta {
  max-width: 100%;
  min-height: 48px;
  margin-top: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.45;
  text-align: center;
  justify-content: center;
  animation: casino-list-pulse 1.8s ease-in-out infinite;
}

.page-home .hero-list-cta:hover,
.page-home .hero-list-cta:focus-visible {
  animation: none;
  opacity: 1;
  filter: brightness(1.12);
}

.page-home .hero-list-cta:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 5px;
  clip-path: none;
}

.page-home #casino-list-start {
  scroll-margin-top: 10rem;
}

@keyframes casino-list-pulse {
  0%, 100% { opacity: 1; filter: brightness(1); }
  50% { opacity: 0.75; filter: brightness(1.25); }
}

@media (max-width: 1100px) {
  .page-home #casino-list-start {
    scroll-margin-top: 6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-list-cta {
    animation: none;
  }
}

.page-home .article-body a {
  color: var(--neon-cyan);
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

.page-home .article-body a:hover {
  color: var(--neon-volt);
}

.page-home .hud-table caption {
  color: var(--text-secondary);
  text-align: left;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
}

.page-home .casino-list .hud-table {
  min-width: 960px;
}

.page-home .casino-list tbody th {
  background: transparent;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-body);
  text-transform: none;
  min-width: 170px;
}

.page-home .casino-list td:nth-child(3) {
  min-width: 250px;
}

.page-home .casino-list-rank,
.page-home .casino-list-rating {
  color: var(--neon-volt);
  font-weight: 700;
  white-space: nowrap;
}

.page-home .casino-list-review {
  display: inline-block;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--border-cyan-glow);
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
}

.page-home .casino-list-review:hover {
  border-color: var(--neon-volt);
  background: rgba(226, 255, 59, 0.06);
}

.page-home .content-note {
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-cyan-glow);
  border-left: 3px solid var(--neon-cyan);
  border-radius: 4px;
}

.page-home .content-note p:last-child,
.page-home .cyber-disclaimer-box p:last-child {
  margin-bottom: 0;
}

.page-home .deposit-steps li,
.page-home .withdrawal-steps li {
  padding-left: 0.35rem;
  margin-bottom: 1.1rem;
}

.page-home .article-body code {
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.08);
  padding: 0.1rem 0.35rem;
  overflow-wrap: anywhere;
}

.page-home .wagering-example {
  font-family: var(--font-mono);
  color: var(--neon-volt);
}

.page-home.best-offer-visible {
  padding-bottom: var(--best-offer-space, 180px);
}

html {
  scroll-padding-bottom: var(--best-offer-space, 0px);
}

.page-home .best-offer {
  position: fixed;
  inset-inline: 1rem;
  bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  z-index: 150;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1.25rem;
  max-width: 1100px;
  margin-inline: auto;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border-glow);
  border-top: 3px solid var(--neon-volt);
  border-radius: 8px;
  background: var(--bg-surface);
  box-shadow: 0 -8px 35px rgba(0, 0, 0, 0.5), var(--glow-volt-sm);
  animation: best-offer-enter 0.4s ease-out both;
}

.page-home .best-offer[hidden] {
  display: none;
}

.page-home .best-offer-copy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.35rem 0.75rem;
  min-width: 0;
}

.page-home .best-offer-badge {
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--border-glow);
  border-radius: 3px;
  background: rgba(226, 255, 59, 0.09);
  color: var(--neon-volt);
  font: 700 0.7rem var(--font-mono);
  text-transform: uppercase;
  white-space: nowrap;
}

.page-home .best-offer-casino {
  min-width: 0;
  color: var(--neon-cyan);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.page-home .best-offer-casino:hover {
  color: var(--neon-volt);
}

.page-home .best-offer-bonus {
  grid-column: 1 / -1;
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.page-home .best-offer-action {
  justify-content: center;
  min-height: 44px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.page-home .best-offer-close {
  align-self: start;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: var(--bg-core);
  color: var(--text-secondary);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.page-home .best-offer-close:hover {
  color: var(--neon-volt);
  border-color: var(--border-glow);
}

.page-home .best-offer :focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 3px;
  clip-path: none;
}

@keyframes best-offer-enter {
  from { transform: translateY(calc(100% + 2rem)); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 600px) {
  .page-home .best-offer {
    inset-inline: 0.5rem;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 0.75rem;
    padding: 0.85rem;
  }

  .page-home .best-offer-casino {
    font-size: 1rem;
  }

  .page-home .best-offer-bonus {
    font-size: 0.88rem;
  }

  .page-home .best-offer-action {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .page-home .best-offer-close {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .best-offer {
    animation: none;
  }
}
