/* ============================================
   Yoller Casino - Custom CSS
   Stahl Spin Theme: Graphite + Electric Blue
   ============================================ */

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  word-break: break-word;
}

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

body {
  overflow-x: hidden;
  word-break: break-word;
}

/* ============================================
   PROSE STYLING
   ============================================ */

.prose-casino {
  color: #b0b8c8;
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 100%;
  word-break: break-word;
}

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

.prose-casino h1 { font-size: 2rem; }
.prose-casino h2 { font-size: 1.6rem; }
.prose-casino h3 { font-size: 1.3rem; }
.prose-casino h4 { font-size: 1.1rem; }

.prose-casino p {
  margin-bottom: 1.2em;
  color: #b0b8c8;
}

.prose-casino a {
  color: #1e90ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

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

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

.prose-casino em {
  color: #b0b8c8;
  font-style: italic;
}

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

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

.prose-casino li {
  margin-bottom: 0.5em;
  padding-left: 0.25em;
}

.prose-casino blockquote {
  border-left: 4px solid #1e90ff;
  padding: 1em 1.5em;
  margin: 1.5em 0;
  background: rgba(30, 144, 255, 0.08);
  border-radius: 0 0.5rem 0.5rem 0;
  color: #b0b8c8;
}

.prose-casino code {
  background: rgba(30, 144, 255, 0.12);
  color: #00bfff;
  padding: 0.15em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.875em;
  font-family: 'Courier New', monospace;
}

.prose-casino pre {
  background: #1c2030;
  border: 1px solid #2a3045;
  border-radius: 0.75rem;
  padding: 1.5em;
  overflow-x: auto;
  margin: 1.5em 0;
}

.prose-casino pre code {
  background: none;
  padding: 0;
  color: #b0b8c8;
}

.prose-casino hr {
  border: none;
  border-top: 1px solid #2a3045;
  margin: 2.5em 0;
}

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

/* ============================================
   TABLE SCROLLING (PROSE)
   ============================================ */

.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;
}

.prose-casino table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 1.5em 0;
}

.prose-casino th {
  background: rgba(42, 48, 69, 0.8);
  color: #1e90ff;
  font-weight: 700;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid #2a3045;
}

.prose-casino td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(42, 48, 69, 0.5);
  color: #b0b8c8;
}

.prose-casino tr:hover td {
  background: rgba(30, 144, 255, 0.05);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #1e90ff 0%, #00bfff 100%);
  color: #0d0f14;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #00bfff 0%, #4db8ff 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 144, 255, 0.4);
  color: #0d0f14;
}

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

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #1e90ff;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid #1e90ff;
  transition: all 0.25s ease;
  cursor: pointer;
  text-align: center;
}

.btn-secondary:hover {
  background: rgba(30, 144, 255, 0.12);
  border-color: #00bfff;
  color: #00bfff;
  transform: translateY(-2px);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  position: relative;
}

.hero-bg {
  will-change: transform;
  transform: scale(1.05);
  transition: transform 0.5s ease;
}

/* Parallax on scroll via JS-free approach */
@media (min-width: 768px) {
  .hero-bg {
    background-attachment: fixed;
  }
}

/* Light Streaks */
.light-streak {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.15;
}

.light-streak-1 {
  width: 600px;
  height: 300px;
  background: linear-gradient(135deg, #1e90ff, #00bfff);
  top: -80px;
  left: -100px;
  animation: streakFloat1 8s ease-in-out infinite;
}

.light-streak-2 {
  width: 500px;
  height: 250px;
  background: linear-gradient(135deg, #00bfff, #4db8ff);
  bottom: -50px;
  right: -80px;
  animation: streakFloat2 10s ease-in-out infinite;
}

@keyframes streakFloat1 {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.15; }
  50% { transform: translateY(40px) translateX(30px); opacity: 0.25; }
}

@keyframes streakFloat2 {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.1; }
  50% { transform: translateY(-30px) translateX(-20px); opacity: 0.2; }
}

/* ============================================
   BONUS BADGE
   ============================================ */

.bonus-badge {
  background: linear-gradient(135deg, #1e90ff, #ffd700, #1e90ff);
  background-size: 200% 200%;
  animation: badgeShimmer 4s linear infinite;
}

@keyframes badgeShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ============================================
   STEP CARDS
   ============================================ */

.step-card {
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(30, 144, 255, 0.5);
}

.step-badge {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #1e90ff, #00bfff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  color: #0d0f14;
  box-shadow: 0 4px 16px rgba(30, 144, 255, 0.4);
}

/* ============================================
   PROMO CARDS
   ============================================ */

.promo-card {
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.promo-card:hover {
  transform: translateY(-5px);
  border-color: rgba(30, 144, 255, 0.4);
}

/* ============================================
   GAME CARDS
   ============================================ */

.game-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(30, 144, 255, 0.25);
}

/* ============================================
   MARQUEE ANIMATION
   ============================================ */

.marquee-wrapper {
  width: 100%;
}

.marquee-track {
  display: flex;
  animation: marqueeScroll 30s linear infinite;
  will-change: transform;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   PROVIDER WORD CLOUD
   ============================================ */

.provider-tag {
  color: #b0b8c8;
  cursor: default;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  line-height: 1.4;
}

.provider-tag:hover {
  color: #1e90ff;
  text-shadow: 0 0 20px rgba(30, 144, 255, 0.5);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-item {
  transition: border-color 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(30, 144, 255, 0.4);
}

.faq-question {
  cursor: pointer;
  background: none;
  border: none;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: rgba(30, 144, 255, 0.05);
}

.faq-icon {
  transition: transform 0.3s ease;
  font-size: 0.5rem;
}

.faq-answer {
  animation: fadeDown 0.25s ease;
}

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

/* ============================================
   HEADER / NAVBAR
   ============================================ */

header {
  transition: box-shadow 0.3s ease;
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0d0f14;
}

::-webkit-scrollbar-thumb {
  background: #2a3045;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1e90ff;
}

/* ============================================
   SELECTION
   ============================================ */

::selection {
  background: rgba(30, 144, 255, 0.3);
  color: #e8edf5;
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */

@media (max-width: 640px) {
  .hero-bg {
    background-attachment: scroll;
  }

  .marquee-track {
    animation-duration: 20s;
  }
}

/* ============================================
   TABLE WRAPPERS
   ============================================ */

.overflow-x-auto,
.table-scroll-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* Homepage payment table: horizontal scroll on narrow screens */
.homepage-data-table {
  width: max-content;
  min-width: 100%;
  table-layout: auto;
}

.homepage-data-table th,
.homepage-data-table td {
  padding: 0.875rem 1.25rem;
  word-break: normal;
  white-space: nowrap;
  vertical-align: middle;
}

.homepage-data-table th:first-child,
.homepage-data-table td:first-child {
  white-space: normal;
  min-width: 9.5rem;
}

@media (max-width: 639px) {
  .homepage-data-table {
    min-width: 42rem;
    font-size: 0.8125rem;
  }

  .homepage-data-table th,
  .homepage-data-table td {
    padding: 0.75rem 1rem;
  }
}

@media (min-width: 640px) {
  .homepage-data-table {
    width: 100%;
  }

  .homepage-data-table th,
  .homepage-data-table td {
    white-space: normal;
  }
}

/* ============================================
   UTILITY
   ============================================ */

.text-shadow-glow {
  text-shadow: 0 0 20px rgba(30, 144, 255, 0.6);
}

.border-glow {
  box-shadow: 0 0 12px rgba(30, 144, 255, 0.3);
}