/* MegaFishWins Casino – Custom CSS */

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

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

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

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

::-webkit-scrollbar-track {
  background: #021b2e;
}

::-webkit-scrollbar-thumb {
  background: #0e3d6b;
  border-radius: 3px;
}

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

@keyframes auroraShift {
  0%   { background-position: 0% 50%; opacity: 0.12; }
  50%  { background-position: 100% 50%; opacity: 0.22; }
  100% { background-position: 0% 50%; opacity: 0.12; }
}

.aurora-bg {
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(0, 200, 160, 0.08) 25%,
    rgba(61, 224, 245, 0.12) 50%,
    rgba(0, 255, 136, 0.06) 75%,
    transparent 100%
  );
  background-size: 400% 400%;
  animation: auroraShift 10s ease infinite;
}

@media (min-width: 768px) {
  .hero-section {
    background-attachment: fixed;
  }
}

.bonus-badge {
  backdrop-filter: blur(10px);
}

.cta-primary,
.cta-secondary {
  text-decoration: none;
}

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

.step-card:hover,
.promo-card:hover {
  transform: translateY(-4px);
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 200, 160, 0.25);
}

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

.faq-item:hover {
  box-shadow: 0 8px 24px rgba(0, 200, 160, 0.12);
}

.faq-trigger {
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.faq-trigger:focus-visible {
  outline: 2px solid #3de0f5;
  outline-offset: -2px;
}

.word-cloud .wc-item {
  cursor: default;
  user-select: none;
  transition: transform 0.2s ease;
}

.word-cloud .wc-item:hover {
  transform: scale(1.05);
}

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

table {
  border-collapse: collapse;
}

.overflow-x-auto:not(.prose-table-scroll) table {
  min-width: 520px;
  width: 100%;
}

.prose-casino {
  color: #e8f8ff;
  max-width: 100%;
  min-width: 0;
  font-size: 1rem;
  line-height: 1.75;
  word-break: break-word;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.prose-casino .prose-table-scroll {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  margin: 1.5em 0;
  border-radius: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: #0e3d6b #021b2e;
}

.prose-casino .prose-table-scroll table {
  width: max-content;
  min-width: 480px;
  margin: 0;
}

.prose-casino .prose-table-scroll th,
.prose-casino .prose-table-scroll td {
  white-space: nowrap;
}

.prose-casino h1 {
  color: #3de0f5;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.prose-casino h2 {
  color: #3de0f5;
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(14, 61, 107, 0.6);
}

.prose-casino h3 {
  color: #00c8a0;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose-casino p {
  margin-bottom: 1rem;
  color: rgba(232, 248, 255, 0.85);
}

.prose-casino a {
  color: #00c8a0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

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

.prose-casino ul,
.prose-casino ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

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

.prose-casino th {
  background: rgba(14, 61, 107, 0.7);
  color: #3de0f5;
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid rgba(61, 224, 245, 0.2);
}

.prose-casino td {
  padding: 0.65rem 1rem;
  border: 1px solid rgba(14, 61, 107, 0.4);
  color: rgba(232, 248, 255, 0.85);
}

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

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

.burger-line {
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #3de0f5;
  outline-offset: 3px;
  border-radius: 4px;
}

@media (max-width: 640px) {
  th, td {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
}
