/* =============================================================
   Regency Casino – Custom CSS
   Arctic Prestige Theme: Icy Silver + Sapphire
   ============================================================= */

/* ---- Reset & Base ---- */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  word-break: break-word;
}

body {
  overflow-x: hidden;
  word-break: break-word;
  background-color: #050f20;
  color: #e0effe;
  font-family: 'Inter', system-ui, sans-serif;
}

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

/* =============================================================
   COLORS & GRADIENTS
   ============================================================= */
.text-gradient-arctic {
  background: linear-gradient(135deg, #39aaf5 0%, #c9a84c 60%, #b0bec5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================================
   BUTTONS
   ============================================================= */
.cta-btn-primary {
  background: linear-gradient(135deg, #0f8de0 0%, #04569a 100%);
  color: #ffffff;
  border: none;
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-btn-primary:hover {
  background: linear-gradient(135deg, #39aaf5 0%, #036dbe 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(15, 141, 224, 0.45);
  color: #ffffff;
}

.cta-btn-primary:active {
  transform: translateY(0);
}

.cta-btn-secondary {
  background: transparent;
  color: #7ec8fb;
  border: 2px solid #39aaf5;
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-btn-secondary:hover {
  background: rgba(57, 170, 245, 0.12);
  color: #ffffff;
  border-color: #7ec8fb;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(57, 170, 245, 0.25);
}

/* =============================================================
   HERO & PARALLAX
   ============================================================= */
.parallax-hero {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* =============================================================
   BONUS BADGE
   ============================================================= */
.bonus-badge {
  background: linear-gradient(135deg, #c9a84c 0%, #39aaf5 50%, #04569a 100%);
  padding: 2px;
  border-radius: 1.25rem;
  box-shadow: 0 0 40px rgba(201, 168, 76, 0.3), 0 0 80px rgba(57, 170, 245, 0.2);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 30px rgba(201, 168, 76, 0.3), 0 0 60px rgba(57, 170, 245, 0.2); }
  50% { box-shadow: 0 0 50px rgba(201, 168, 76, 0.5), 0 0 100px rgba(57, 170, 245, 0.35); }
}

/* =============================================================
   NAV
   ============================================================= */
.nav-link {
  position: relative;
  transition: color 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: #c9a84c;
  border-radius: 1px;
  transition: transform 0.2s ease;
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Burger animation */
.menu-open .burger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-open .burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-open .burger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* =============================================================
   PROMO CARDS
   ============================================================= */
.promo-card {
  background: linear-gradient(160deg, #0a1f3c 0%, #04569a22 100%);
  border: 1px solid rgba(57, 170, 245, 0.18);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(57, 170, 245, 0.18);
  border-color: rgba(201, 168, 76, 0.4);
}

/* =============================================================
   GAME CARDS & STRIP
   ============================================================= */
.game-card {
  background: #0a1f3c;
  border: 1px solid rgba(57, 170, 245, 0.18);
  transition: transform 0.25s, box-shadow 0.25s;
}

.game-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(57, 170, 245, 0.25);
  border-color: rgba(201, 168, 76, 0.4);
}

.game-strip {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Marquee animation for game strip auto-scroll hint */
@keyframes marqueeHint {
  0% { transform: translateX(0); }
  10% { transform: translateX(-20px); }
  20% { transform: translateX(0); }
  100% { transform: translateX(0); }
}

/* =============================================================
   REVIEW BLOCKS
   ============================================================= */
.review-block {
  background: linear-gradient(160deg, #0a1f3c 0%, #08487f15 100%);
  border: 1px solid rgba(57, 170, 245, 0.15);
  transition: border-color 0.25s;
}

.review-block:hover {
  border-color: rgba(57, 170, 245, 0.35);
}

/* =============================================================
   PAYMENT TABLE
   ============================================================= */
.payment-table-scroll {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.payment-table {
  border-collapse: collapse;
  word-break: normal;
}

.payment-row {
  transition: background 0.2s;
}

.payment-row:hover {
  background: rgba(15, 141, 224, 0.08);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .payment-table {
    min-width: 44rem;
  }

  .payment-table th,
  .payment-table td {
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  .payment-table-scroll {
    overflow-x: visible;
  }

  .payment-table thead {
    display: none;
  }

  .payment-table,
  .payment-table tbody,
  .payment-table tr,
  .payment-table td {
    display: block;
    width: 100%;
  }

  .payment-table tbody {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .payment-table tbody tr.payment-row {
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    background: rgba(10, 31, 60, 0.65);
    border: 1px solid rgba(57, 170, 245, 0.15);
  }

  .payment-table tbody tr.payment-row:hover {
    background: rgba(15, 141, 224, 0.12);
  }

  .payment-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(57, 170, 245, 0.1);
    text-align: right;
    white-space: normal;
  }

  .payment-table td:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .payment-table td::before {
    content: attr(data-label);
    flex-shrink: 0;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #7ec8fb;
    text-align: left;
    max-width: 48%;
  }

  .payment-table td:first-child {
    justify-content: flex-start;
    font-size: 1rem;
    font-weight: 700;
    padding-top: 0;
    padding-bottom: 0.75rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid rgba(57, 170, 245, 0.2);
  }

  .payment-table td:first-child::before {
    content: none;
  }
}

/* =============================================================
   PROVIDER WORD CLOUD
   ============================================================= */
.provider-cloud {
  line-height: 1.6;
}

.provider-tag {
  color: #7ec8fb;
  transition: color 0.2s, text-shadow 0.2s;
  cursor: default;
  display: inline-block;
}

.provider-tag:hover {
  color: #c9a84c;
  text-shadow: 0 0 12px rgba(201, 168, 76, 0.5);
}

/* =============================================================
   STEP CARDS
   ============================================================= */
.step-card {
  background: linear-gradient(160deg, #0a1f3c 0%, #04569a18 100%);
  border: 1px solid rgba(57, 170, 245, 0.15);
  transition: transform 0.25s, box-shadow 0.25s;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(57, 170, 245, 0.18);
}

.step-badge {
  background: linear-gradient(135deg, #0f8de0 0%, #04569a 100%);
  color: #ffffff;
  font-family: Georgia, serif;
  box-shadow: 0 4px 16px rgba(15, 141, 224, 0.4);
}

.step-badge-gold {
  background: linear-gradient(135deg, #c9a84c 0%, #a07a28 100%);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.5);
}

/* =============================================================
   FAQ
   ============================================================= */
.faq-item {
  background: #0a1f3c;
  border: 1px solid rgba(57, 170, 245, 0.15);
  transition: border-color 0.25s;
}

.faq-item:hover {
  border-color: rgba(201, 168, 76, 0.3);
}

.faq-question {
  background: transparent;
  border: none;
  cursor: pointer;
}

.faq-question:hover span {
  color: #7ec8fb;
}

.faq-answer {
  border-top: 1px solid rgba(57, 170, 245, 0.12);
}

/* =============================================================
   FOOTER LINKS
   ============================================================= */
.footer-link {
  text-decoration: none;
  transition: color 0.2s;
}

/* =============================================================
   PROSE – CONTENT STYLING
   ============================================================= */
.prose-casino {
  color: #bae0fd;
  max-width: none;
  line-height: 1.75;
  word-break: break-word;
}

.prose-casino h1,
.prose-casino h2,
.prose-casino h3,
.prose-casino h4,
.prose-casino h5,
.prose-casino h6 {
  color: #ffffff;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 1em;
  margin-bottom: 0.75em;
}

.prose-casino h1 { font-size: 2rem; }
.prose-casino h2 { font-size: 1.5rem; border-bottom: 1px solid rgba(57, 170, 245, 0.2); padding-bottom: 0.4em; }
.prose-casino h3 { font-size: 1.25rem; color: #7ec8fb; }
.prose-casino h4 { font-size: 1.1rem; color: #bae0fd; }

.prose-casino p {
  margin-bottom: 1.25em;
  color: #bae0fd;
}

.prose-casino a {
  color: #39aaf5;
  text-decoration: underline;
  transition: color 0.2s;
}

.prose-casino a:hover {
  color: #c9a84c;
}

.prose-casino ul,
.prose-casino ol {
  margin: 1em 0 1.25em 1.5em;
  color: #bae0fd;
}

.prose-casino ul { list-style-type: disc; }
.prose-casino ol { list-style-type: decimal; }

.prose-casino li {
  margin-bottom: 0.4em;
}

.prose-casino blockquote {
  border-left: 4px solid #39aaf5;
  padding: 0.75em 1.25em;
  margin: 1.5em 0;
  background: rgba(15, 141, 224, 0.08);
  border-radius: 0 0.5rem 0.5rem 0;
  color: #e0effe;
  font-style: italic;
}

.prose-casino code {
  background: rgba(57, 170, 245, 0.15);
  color: #7ec8fb;
  padding: 0.15em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

.prose-casino pre {
  background: #0a1f3c;
  border: 1px solid rgba(57, 170, 245, 0.2);
  border-radius: 0.5rem;
  padding: 1.25em;
  overflow-x: auto;
  margin: 1.5em 0;
}

.prose-casino pre code {
  background: transparent;
  padding: 0;
  color: #bae0fd;
}

.prose-casino hr {
  border: none;
  border-top: 1px solid rgba(57, 170, 245, 0.2);
  margin: 2em 0;
}

.prose-casino img {
  border-radius: 0.75rem;
  max-width: 100%;
  height: auto;
  margin: 1.5em auto;
  display: block;
}

.prose-casino strong {
  color: #ffffff;
  font-weight: 700;
}

.prose-casino em {
  color: #e0effe;
}

/* Tables inside prose */
.prose-casino table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9em;
  margin: 1.5em 0;
  word-break: normal;
}

.prose-casino thead tr {
  background: rgba(15, 141, 224, 0.2);
}

.prose-casino th {
  padding: 0.75em 1em;
  text-align: left;
  color: #7ec8fb;
  font-weight: 600;
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid rgba(57, 170, 245, 0.25);
}

.prose-casino td {
  padding: 0.7em 1em;
  color: #bae0fd;
  border-bottom: 1px solid rgba(57, 170, 245, 0.1);
}

.prose-casino tbody tr:hover {
  background: rgba(15, 141, 224, 0.06);
}

/* Mandatory prose table scroll classes */
.prose-casino .prose-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  margin: 1.5em 0;
  border-radius: 0.5rem;
}

.prose-casino .prose-table-scroll table {
  margin-top: 0;
  margin-bottom: 0;
}

/* =============================================================
   ANIMATIONS
   ============================================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

/* Apply animations to specific elements */
.hero-content-animate {
  animation: fadeInUp 0.8s ease both;
}

.game-card {
  animation: fadeInUp 0.5s ease both;
}

.promo-card {
  animation: fadeInUp 0.6s ease both;
}

/* =============================================================
   PARALLAX HELPER
   ============================================================= */
@media (prefers-reduced-motion: no-preference) {
  .parallax-hero {
    transform: translateY(0);
  }
}

/* =============================================================
   SCROLLBAR STYLING
   ============================================================= */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #050f20;
}

::-webkit-scrollbar-thumb {
  background: #04569a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #39aaf5;
}

/* =============================================================
   UTILITY
   ============================================================= */
.max-w-8xl {
  max-width: 1440px;
}

/* Frost accent line */
.frost-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, #39aaf5, #c9a84c, transparent);
  border: none;
}

/* Responsive typography */
@media (max-width: 640px) {
  .prose-casino h1 { font-size: 1.6rem; }
  .prose-casino h2 { font-size: 1.3rem; }
  .prose-casino h3 { font-size: 1.1rem; }
}
