/* Volt Spin Theme - Electric Casino Aesthetic */

/* Keyframe Animations */
@keyframes electric-pulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.5), 0 0 40px rgba(6, 182, 212, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.8), 0 0 60px rgba(6, 182, 212, 0.5), 0 0 80px rgba(251, 191, 36, 0.3);
  }
}

@keyframes spark-flash {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes voltage-flicker {
  0%,
  100% {
    opacity: 1;
  }
  45%,
  55% {
    opacity: 0.85;
  }
  50% {
    opacity: 0.7;
  }
}

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

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

@keyframes neon-glow {
  0%,
  100% {
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.8), 0 0 20px rgba(6, 182, 212, 0.6), 0 0 30px rgba(6, 182, 212, 0.4);
  }
  50% {
    text-shadow: 0 0 20px rgba(6, 182, 212, 1), 0 0 30px rgba(6, 182, 212, 0.8), 0 0 40px rgba(251, 191, 36, 0.6);
  }
}

@keyframes arc-sweep {
  0% {
    stroke-dashoffset: 1000;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

/* Utility Classes */
.electric-pulse {
  animation: electric-pulse 2s ease-in-out infinite;
}

.spark-flash {
  animation: spark-flash 1.5s ease-in-out infinite;
}

.voltage-flicker {
  animation: voltage-flicker 3s ease-in-out infinite;
}

.neon-glow {
  animation: neon-glow 2s ease-in-out infinite;
}

.parallax-float {
  animation: parallax-float 6s ease-in-out infinite;
}

/* Marquee Container */
.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

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

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

/* Electric Border Effect */
.electric-border {
  position: relative;
  border: 2px solid transparent;
  background: linear-gradient(#0a0a0a, #0a0a0a) padding-box, linear-gradient(135deg, #06b6d4, #fbbf24, #06b6d4)
    border-box;
}

.electric-border::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #06b6d4, #fbbf24, #06b6d4);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  filter: blur(8px);
}

.electric-border:hover::before {
  opacity: 0.6;
}

/* Voltage Lines Background Pattern */
.voltage-pattern {
  background-image: linear-gradient(90deg, rgba(6, 182, 212, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(6, 182, 212, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Arc SVG Pattern */
.arc-pattern {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: arc-sweep 2s ease-out forwards;
}

/* Neon Button Styles */
.neon-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.neon-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.neon-btn:hover::before {
  width: 300px;
  height: 300px;
}

.neon-btn:active {
  transform: scale(0.95);
}

/* Scatter Burst Effect */
.scatter-burst {
  position: relative;
}

.scatter-burst::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.4) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.scatter-burst:hover::after {
  transform: translate(-50%, -50%) scale(1.5);
}

/* Prose Styling for Readability */
.prose {
  color: #e5e7eb;
  line-height: 1.75;
  max-width: 100%;
}

/* Enhanced heading styles with relative units */
.prose h2 {
  color: #06b6d4;
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.3;
  text-shadow: 0 0 0.625rem rgba(6, 182, 212, 0.5);
}

.prose h3 {
  color: #fbbf24;
  font-weight: 600;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-top: 1.5em;
  margin-bottom: 0.75em;
  line-height: 1.4;
}

.prose h4 {
  color: #d1d5db;
  font-weight: 600;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  margin-top: 1.25em;
  margin-bottom: 0.5em;
  line-height: 1.5;
}

/* Improved paragraph and text styling */
.prose p {
  margin-bottom: 1.25em;
  color: #d1d5db;
  font-size: clamp(0.9375rem, 2vw, 1rem);
  max-width: 100%;
}

.prose p:first-of-type {
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.8;
}

/* Enhanced list styling with relative units */
.prose ul,
.prose ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
  max-width: 100%;
}

.prose ul {
  list-style-type: none;
}

.prose ul li::before {
  content: "⚡";
  color: #fbbf24;
  font-weight: bold;
  display: inline-block;
  width: 1.5em;
  margin-left: -1.5em;
}

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

.prose ol li {
  padding-left: 0.5em;
}

.prose li {
  margin-bottom: 0.75em;
  color: #d1d5db;
  line-height: 1.7;
}

.prose li > ul,
.prose li > ol {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

/* Enhanced strong and emphasis */
.prose strong {
  color: #fbbf24;
  font-weight: 600;
}

.prose em {
  color: #06b6d4;
  font-style: italic;
}

/* Improved link styling */
.prose a {
  color: #06b6d4;
  text-decoration: underline;
  text-decoration-color: rgba(6, 182, 212, 0.4);
  text-underline-offset: 0.2em;
  transition: all 0.2s ease;
}

.prose a:hover {
  color: #fbbf24;
  text-decoration-color: rgba(251, 191, 36, 0.6);
  text-shadow: 0 0 0.5rem rgba(251, 191, 36, 0.3);
}

/* Responsive table styling with overflow */
.prose table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  font-size: clamp(0.875rem, 1.8vw, 0.9375rem);
  display: table;
}

.prose thead {
  background: rgba(6, 182, 212, 0.15);
}

.prose th {
  background: rgba(6, 182, 212, 0.1);
  color: #06b6d4;
  padding: 0.75em 1em;
  text-align: left;
  border: 1px solid rgba(6, 182, 212, 0.3);
  font-weight: 600;
  white-space: nowrap;
}

.prose td {
  padding: 0.75em 1em;
  border: 1px solid rgba(107, 114, 128, 0.3);
  color: #d1d5db;
  vertical-align: top;
}

.prose tbody tr {
  transition: background-color 0.2s ease;
}

.prose tbody tr:hover {
  background: rgba(6, 182, 212, 0.05);
}

.prose tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.2);
}

.prose tbody tr:nth-child(even):hover {
  background: rgba(6, 182, 212, 0.08);
}

/* Blockquote styling */
.prose blockquote {
  border-left: 0.25rem solid #06b6d4;
  padding-left: 1.5em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  margin: 1.5em 0;
  font-style: italic;
  color: #9ca3af;
  background: rgba(6, 182, 212, 0.05);
  border-radius: 0 0.5rem 0.5rem 0;
}

.prose blockquote p {
  margin-bottom: 0.5em;
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

/* Image styling with max-width */
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5em 0;
  box-shadow: 0 0 1.25rem rgba(6, 182, 212, 0.3), 0 0 2.5rem rgba(6, 182, 212, 0.15);
  border: 2px solid rgba(6, 182, 212, 0.3);
}

.prose figure {
  margin: 1.5em 0;
  max-width: 100%;
}

.prose figcaption {
  color: #9ca3af;
  font-size: 0.875em;
  text-align: center;
  margin-top: 0.5em;
  font-style: italic;
}

/* Code and pre styling */
.prose code {
  background: rgba(6, 182, 212, 0.1);
  color: #fbbf24;
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.875em;
  font-family: monospace;
}

.prose pre {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 0.5rem;
  padding: 1em;
  overflow-x: auto;
  margin: 1.5em 0;
  max-width: 100%;
}

.prose pre code {
  background: transparent;
  padding: 0;
  color: #e5e7eb;
}

/* Horizontal rule styling */
.prose hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, #06b6d4, #fbbf24, #06b6d4, transparent);
  margin: 2em 0;
  opacity: 0.5;
}

/* Table Responsive Wrapper */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5em;
  max-width: 100%;
  border-radius: 0.5rem;
}

.table-responsive::-webkit-scrollbar {
  height: 0.5rem;
}

.table-responsive::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 0.25rem;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #06b6d4, #fbbf24);
  border-radius: 0.25rem;
}

/* Responsive typography adjustments */
@media (max-width: 768px) {
  .prose {
    font-size: 0.9375rem;
  }

  .prose table {
    font-size: 0.8125rem;
  }

  .prose th,
  .prose td {
    padding: 0.5em 0.75em;
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #06b6d4, #fbbf24);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #0891b2, #f59e0b);
}

/* Mobile Menu Transition */
.mobile-menu {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.mobile-menu.hidden {
  transform: translateX(-100%);
  opacity: 0;
}

/* Reel Spin Effect */
.reel-spin {
  display: inline-block;
  transition: transform 0.3s ease;
}

.reel-spin:hover {
  transform: rotateY(360deg);
}

/* Electric Glow Text */
.electric-text {
  background: linear-gradient(135deg, #06b6d4, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Card Hover Effect */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(6, 182, 212, 0.3), 0 0 20px rgba(251, 191, 36, 0.2);
}

/* Bonus Badge Pulse */
.bonus-badge {
  position: relative;
  animation: electric-pulse 2s ease-in-out infinite;
}

.bonus-badge::before {
  content: "";
  position: absolute;
  inset: -4px;
  background: linear-gradient(135deg, #06b6d4, #fbbf24);
  border-radius: inherit;
  z-index: -1;
  filter: blur(12px);
  opacity: 0.6;
}

/* Step Number Badge */
.step-badge {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.6), inset 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Provider Cloud Tag */
.provider-tag {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  transition: all 0.3s ease;
}

.provider-tag:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: #06b6d4;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

/* FAQ Accordion */
.faq-item {
  border-left: 3px solid transparent;
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-left-color: #06b6d4;
}

/* Payment Icon Glow */
.payment-icon {
  filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.3));
  transition: filter 0.3s ease;
}

.payment-icon:hover {
  filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.6));
}

/* Disclaimer Box */
.disclaimer-box {
  background: rgba(251, 191, 36, 0.05);
  border-left: 4px solid #fbbf24;
  backdrop-filter: blur(10px);
}

/* Responsible Gaming Badge */
.rg-badge {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.rg-badge:hover {
  opacity: 1;
}
