/* Volt Stream Theme - Custom Animations & Overrides */

/* Keyframe Animations */
@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4), 0 0 40px rgba(0, 212, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6), 0 0 60px rgba(0, 212, 255, 0.3);
  }
}

@keyframes electric-border {
  0% {
    border-color: rgba(0, 212, 255, 0.5);
  }
  50% {
    border-color: rgba(0, 153, 255, 0.8);
  }
  100% {
    border-color: rgba(0, 212, 255, 0.5);
  }
}

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

@keyframes float-up {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100px) scale(0.5);
    opacity: 0;
  }
}

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

@keyframes spark {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

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

.electric-border {
  animation: electric-border 1.5s ease-in-out infinite;
}

.marquee-container {
  overflow: hidden;
  position: relative;
}

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

.marquee-content:hover {
  animation-play_state: paused;
}

/* Parallax Layers */
.parallax-layer {
  transition: transform 0.3s ease-out;
  will-change: transform;
}

/* Gradient Overlays */
.volt-gradient {
  background: linear-gradient(135deg, #00d4ff 0%, #0099ff 50%, #0066cc 100%);
}

.volt-gradient-radial {
  background: radial-gradient(circle at center, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
}

.silver-gradient {
  background: linear-gradient(135deg, #e8e8e8 0%, #c0c0c0 50%, #a8a8a8 100%);
}

/* Plasma Effect Background */
.plasma-bg {
  position: relative;
  overflow: hidden;
}

.plasma-bg::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(0, 153, 255, 0.1) 0%, transparent 50%);
  animation: float-up 20s ease-in-out infinite;
  pointer-events: none;
}

/* Electric Sparks */
.spark-container {
  position: relative;
}

.spark {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #00d4ff;
  border-radius: 50%;
  animation: spark 2s ease-in-out infinite;
  pointer-events: none;
}

/* Shimmer Effect for CTAs */
.shimmer-effect {
  position: relative;
  overflow: hidden;
}

.shimmer-effect::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 3s infinite;
}

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

.prose h2 {
  color: #00d4ff;
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

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

.prose h4 {
  color: #a8a8a8;
  font-weight: 600;
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  margin-top: 1.4em;
  margin-bottom: 0.6em;
}

.prose p {
  margin-bottom: 1.25em;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: #d0d0d0;
}

.prose ul,
.prose ol {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-left: 1.5em;
  color: #d0d0d0;
}

.prose li {
  margin-bottom: 0.5em;
  line-height: 1.7;
}

.prose li::marker {
  color: #00d4ff;
}

.prose strong {
  color: #00d4ff;
  font-weight: 600;
}

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

.prose a {
  color: #00d4ff;
  text-decoration: underline;
  text-decoration-color: rgba(0, 212, 255, 0.3);
  text-underline-offset: 0.2em;
  transition: all 0.2s ease;
}

.prose a:hover {
  color: #0099ff;
  text-decoration-color: rgba(0, 153, 255, 0.6);
}

.prose blockquote {
  border-left: 0.25rem solid #00d4ff;
  padding-left: 1.5em;
  margin: 1.5em 0;
  font-style: italic;
  color: #c0c0c0;
  background: rgba(0, 212, 255, 0.05);
  padding: 1em 1.5em;
  border-radius: 0.25rem;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 2em 0;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}

.prose table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  overflow-x: auto;
  display: block;
}

.prose thead {
  background: rgba(0, 212, 255, 0.1);
}

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

.prose td {
  padding: 0.75em 1em;
  border: 1px solid rgba(192, 192, 192, 0.2);
  color: #d0d0d0;
}

.prose tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.prose tr:hover {
  background: rgba(0, 212, 255, 0.05);
}

.prose code {
  background: rgba(0, 212, 255, 0.1);
  color: #00d4ff;
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.9em;
  font-family: "Courier New", monospace;
}

.prose pre {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 0.5rem;
  padding: 1.5em;
  overflow-x: auto;
  margin: 1.5em 0;
}

.prose pre code {
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-size: 0.9rem;
}

.prose hr {
  border: none;
  border-top: 2px solid rgba(0, 212, 255, 0.2);
  margin: 2em 0;
}

.prose p:first-of-type {
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  color: #e8e8e8;
}

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

.table-responsive table {
  display: table;
  min-width: 100%;
}

/* 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, #00d4ff, #0099ff);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #0099ff, #0066cc);
}

/* Burger Menu Animation */
.burger-line {
  transition: all 0.3s ease;
}

.burger-open .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-open .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-open .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Game Card Hover Effects */
.game-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

/* Bonus Badge Glow */
.bonus-badge {
  position: relative;
  animation: pulse-glow 3s ease-in-out infinite;
}

/* Step Number Badge */
.step-badge {
  background: linear-gradient(135deg, #00d4ff, #0099ff);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

/* Payment Icon Styling */
.payment-icon {
  filter: drop-shadow(0 2px 4px rgba(0, 212, 255, 0.2));
  transition: filter 0.3s ease;
}

.payment-icon:hover {
  filter: drop-shadow(0 4px 8px rgba(0, 212, 255, 0.4));
}

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

.faq-item:hover {
  border-left-color: #00d4ff;
}

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

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

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

@media (max-width: 480px) {
  .prose {
    font-size: 0.9rem;
  }

  .prose h2 {
    margin-top: 1.5em;
  }

  .prose h3 {
    margin-top: 1.2em;
  }
}
