/* ============================================================
   BitGuruzCasino – Custom CSS
   Arctic Nexus Theme
   ============================================================ */

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

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

/* ============================================================
   Typography & Prose Styling
   ============================================================ */

.prose-casino {
  color: #B8D4E8;
  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: #E8F4FA;
  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; }
.prose-casino h3 { font-size: 1.25rem; }
.prose-casino h4 { font-size: 1.1rem; }

.prose-casino p {
  margin-bottom: 1.25em;
  line-height: 1.75;
  color: #B8D4E8;
}

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

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

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

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

.prose-casino ul,
.prose-casino ol {
  margin-left: 1.5em;
  margin-bottom: 1.25em;
}

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

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

.prose-casino li {
  margin-bottom: 0.5em;
  color: #B8D4E8;
  line-height: 1.7;
}

.prose-casino blockquote {
  border-left: 3px solid #00D4FF;
  padding-left: 1.25em;
  margin: 1.5em 0;
  color: #C0D8E8;
  font-style: italic;
}

.prose-casino hr {
  border-color: #1A3A55;
  margin: 2em 0;
}

.prose-casino code {
  background-color: #0A2035;
  color: #00D4FF;
  padding: 0.2em 0.5em;
  border-radius: 4px;
  font-size: 0.875em;
  font-family: 'Courier New', monospace;
}

.prose-casino pre {
  background-color: #0A2035;
  border: 1px solid #1A3A55;
  border-radius: 8px;
  padding: 1.5em;
  overflow-x: auto;
  margin-bottom: 1.5em;
}

.prose-casino pre code {
  background: none;
  padding: 0;
  font-size: 0.85em;
}

/* Prose Table Scroll Container */
.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;
}

/* Tables inside prose */
.prose-casino table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  color: #B8D4E8;
}

.prose-casino thead tr {
  border-bottom: 2px solid #1A3A55;
}

.prose-casino th {
  text-align: left;
  padding: 0.75rem 1rem;
  color: #00D4FF;
  font-weight: 600;
  white-space: nowrap;
}

.prose-casino td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(26, 58, 85, 0.5);
  color: #B8D4E8;
}

.prose-casino tr:hover td {
  background-color: rgba(7, 24, 40, 0.5);
}

/* ============================================================
   Global Table Overflow Wrapper
   ============================================================ */

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

/* ============================================================
   Payments Table – responsive card layout on mobile
   ============================================================ */

@media (max-width: 767px) {
  .payments-table-wrap {
    background: transparent;
    border: none;
    border-radius: 0;
  }

  .payments-table thead {
    display: none;
  }

  .payments-table tbody {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .payments-table tbody tr {
    display: block;
    background-color: #0A2035;
    border: 1px solid #1A3A55;
    border-radius: 1rem;
    padding: 0.25rem 0;
  }

  .payments-table tbody tr:hover {
    background-color: #0A2035;
  }

  .payments-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(26, 58, 85, 0.4);
    text-align: right;
  }

  .payments-table td:last-child {
    border-bottom: none;
  }

  .payments-table td::before {
    content: attr(data-label);
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #00D4FF;
    text-align: left;
  }

  .payments-table td[data-label="Maksutapa"] {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding-top: 1rem;
    border-bottom: 1px solid rgba(26, 58, 85, 0.6);
  }

  .payments-table td[data-label="Maksutapa"]::before {
    display: none;
  }
}

@media (min-width: 768px) {
  .payments-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .payments-table {
    min-width: 44rem;
  }

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

/* ============================================================
   Hero Section
   ============================================================ */

.hero-section {
  position: relative;
  min-height: 100vh;
}

.parallax-bg {
  will-change: transform;
  transform-origin: center;
}

/* Blockchain SVG pattern overlay */
.blockchain-pattern {
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(0, 212, 255, 0.05) 60px,
      rgba(0, 212, 255, 0.05) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(0, 212, 255, 0.05) 60px,
      rgba(0, 212, 255, 0.05) 61px
    );
}

/* Frost particles pseudo-element animation */
.frost-particles::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 80% 40%, rgba(0, 212, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 50% 70%, rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 70% 10%, rgba(192, 216, 232, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 30% 80%, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
  background-size: 200px 200px, 300px 300px, 150px 150px, 250px 250px, 180px 180px;
  animation: frostFloat 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes frostFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.7; }
  33% { transform: translateY(-15px) scale(1.02); opacity: 1; }
  66% { transform: translateY(8px) scale(0.98); opacity: 0.8; }
}

/* Bonus badge animation */
.bonus-badge {
  position: relative;
  overflow: hidden;
}

.bonus-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 212, 255, 0.15) 50%,
    transparent 100%
  );
  animation: shimmerSlide 3s ease-in-out infinite;
  transform: skewX(-15deg);
}

@keyframes shimmerSlide {
  0% { left: -75%; }
  100% { left: 125%; }
}

/* ============================================================
   Marquee / Scrolling Games Strip
   ============================================================ */

.games-marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.games-marquee-track {
  display: flex;
  gap: 1.5rem;
  animation: marqueeScroll 40s linear infinite;
  width: max-content;
  padding: 0.5rem 1rem;
}

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

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

/* ============================================================
   Game Cards
   ============================================================ */

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

.game-card:hover {
  transform: translateY(-6px);
}

/* ============================================================
   Review Section Cards
   ============================================================ */

.review-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

/* ============================================================
   Provider Word Cloud
   ============================================================ */

.provider-cloud {
  line-height: 2;
}

.provider-tag {
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
  cursor: default;
}

.provider-tag:hover {
  transform: scale(1.08);
  color: #00D4FF;
}

/* ============================================================
   Step Cards
   ============================================================ */

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

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.25);
}

/* ============================================================
   Promo Cards
   ============================================================ */

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

.promo-card:hover {
  transform: translateY(-5px);
}

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

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

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

.faq-trigger {
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

.faq-trigger:focus-visible {
  outline: 2px solid #00D4FF;
  outline-offset: 2px;
  border-radius: 8px;
}

.faq-answer {
  transition: all 0.3s ease;
}

/* ============================================================
   Navigation
   ============================================================ */

.nav-link {
  position: relative;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link.active,
.nav-link[aria-current="page"] {
  color: #00D4FF;
}

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

.nav-link:hover::after {
  width: 60%;
}

.cta-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cta-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.cta-btn:active::after {
  width: 200px;
  height: 200px;
}

/* ============================================================
   Trust Badges
   ============================================================ */

.trust-badge {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.trust-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 212, 255, 0.5);
}

/* ============================================================
   Custom Pulse Glow Animation
   ============================================================ */

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.8);
  }
}

.animate-pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

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

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* ============================================================
   Scrollbar Styling (Webkit)
   ============================================================ */

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

::-webkit-scrollbar-track {
  background: #040D1A;
}

::-webkit-scrollbar-thumb {
  background: #1A3A55;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #00D4FF;
}

/* ============================================================
   Responsive Utilities
   ============================================================ */

@media (max-width: 640px) {
  .hero-section h1 {
    font-size: 1.75rem;
  }

  .bonus-badge {
    padding: 1rem 1.25rem;
  }

  .bonus-badge .text-4xl {
    font-size: 1.75rem;
  }

  .games-marquee-track {
    gap: 1rem;
  }

  .game-card {
    width: 10rem;
  }

  .game-card img {
    height: 8rem;
  }
}

@media (max-width: 768px) {
  .step-card {
    margin-top: 1.5rem;
  }
}

/* ============================================================
   CTA Primary Button
   ============================================================ */

.cta-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cta-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* ============================================================
   Section Dividers
   ============================================================ */

section + section {
  position: relative;
}

/* ============================================================
   Footer
   ============================================================ */

footer a:hover {
  color: #00D4FF;
}

/* ============================================================
   Loading / transition
   ============================================================ */

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
