/* Neon Mint Theme - Custom Animations & Overrides */

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

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

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5), 0 0 40px rgba(16, 185, 129, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.8), 0 0 60px rgba(16, 185, 129, 0.5);
  }
}

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

@keyframes circuit-flow {
  0% {
    stroke-dashoffset: 1000;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

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

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

/* Neon Glow Effects */
.neon-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

.neon-border {
  border: 2px solid rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3), inset 0 0 10px rgba(16, 185, 129, 0.1);
}

.neon-text {
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.8), 0 0 20px rgba(16, 185, 129, 0.5), 0 0 30px rgba(16, 185, 129, 0.3);
}

/* Metallic Gradient */
.metallic-gradient {
  background: linear-gradient(135deg, #e5e7eb 0%, #9ca3af 25%, #d1d5db 50%, #9ca3af 75%, #e5e7eb 100%);
  background-size: 200% 200%;
  animation: shimmer 3s linear infinite;
}

/* Circuit Pattern Background */
.circuit-bg {
  background-image: linear-gradient(90deg, rgba(16, 185, 129, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(16, 185, 129, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Floating Animation */
.float-animation {
  animation: float 6s ease-in-out infinite;
}

/* Table Responsive Wrapper */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5em 0;
  max-width: 100%;
  border-radius: 0.5rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.table-responsive table {
  min-width: 37.5rem;
  margin: 0;
  display: table;
}

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

.prose h2 {
  color: #10b981;
  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 10px rgba(16, 185, 129, 0.3);
}

.prose h3 {
  color: #34d399;
  font-weight: 600;
  font-size: clamp(1.25rem, 3.5vw, 1.5rem);
  margin-top: 1.5em;
  margin-bottom: 0.75em;
  line-height: 1.4;
  text-shadow: 0 0 8px rgba(52, 211, 153, 0.3);
}

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

.prose p {
  margin-bottom: 1.25em;
  font-size: clamp(1rem, 2.5vw, 1.0625rem);
  color: #d1d5db;
  line-height: 1.75;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 2em auto;
  display: block;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.prose ul,
.prose ol {
  margin-bottom: 1.5em;
  padding-left: 2em;
  color: #d1d5db;
}

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

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

.prose li {
  margin-bottom: 0.5em;
  line-height: 1.75;
  padding-left: 0.25em;
}

.prose li::marker {
  color: #10b981;
}

.prose ul ul,
.prose ol ol,
.prose ul ol,
.prose ol ul {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.prose strong {
  color: #6ee7b7;
  font-weight: 600;
}

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

.prose a {
  color: #10b981;
  text-decoration: underline;
  text-decoration-thickness: 0.125rem;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.prose a:hover {
  color: #34d399;
  text-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
}

.prose blockquote {
  border-left: 0.25rem solid #10b981;
  padding-left: 1.5em;
  margin: 1.5em 0;
  font-style: italic;
  color: #9ca3af;
  background: rgba(16, 185, 129, 0.05);
  padding-top: 1em;
  padding-bottom: 1em;
  padding-right: 1em;
  border-radius: 0 0.5rem 0.5rem 0;
}

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

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

.prose code {
  background: rgba(16, 185, 129, 0.1);
  color: #6ee7b7;
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.875em;
  font-family: "Courier New", monospace;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.prose pre {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 0.5rem;
  padding: 1.5em;
  overflow-x: auto;
  margin: 1.5em 0;
  max-width: 100%;
}

.prose pre code {
  background: transparent;
  padding: 0;
  border: none;
  font-size: 0.875rem;
  line-height: 1.7;
}

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

.prose thead {
  background: rgba(16, 185, 129, 0.15);
}

.prose th {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  padding: 0.75em 1em;
  text-align: left;
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, 0.3);
  white-space: nowrap;
}

.prose td {
  padding: 0.75em 1em;
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #d1d5db;
  background: rgba(31, 41, 55, 0.5);
}

.prose tbody tr:nth-child(even) td {
  background: rgba(16, 185, 129, 0.05);
}

.prose tbody tr:hover td {
  background: rgba(16, 185, 129, 0.1);
  transition: background 0.2s ease;
}

.prose hr {
  border: none;
  border-top: 2px solid rgba(16, 185, 129, 0.3);
  margin: 2em 0;
  box-shadow: 0 1px 10px rgba(16, 185, 129, 0.2);
}

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

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

.prose video,
.prose iframe {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 2em auto;
  display: block;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

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

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

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

::-webkit-scrollbar-thumb {
  background: #10b981;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #34d399;
}

/* 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);
}

/* CTA Button Enhancements */
.cta-primary {
  position: relative;
  overflow: hidden;
}

.cta-primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-primary:hover::before {
  width: 300px;
  height: 300px;
}

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

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

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

/* Game Card Glow */
.game-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.game-card:hover {
  border-color: rgba(16, 185, 129, 0.8);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
  transform: scale(1.05);
}

/* Step Number Badge */
.step-badge {
  background: linear-gradient(135deg, #10b981, #34d399);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

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

.payment-icon:hover {
  filter: drop-shadow(0 4px 8px rgba(16, 185, 129, 0.5));
}

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

.faq-item:hover {
  border-left-color: #10b981;
}

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

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

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

  .prose ul,
  .prose ol {
    padding-left: 1.5em;
  }

  .prose blockquote {
    padding-left: 1em;
    padding-right: 0.75em;
  }

  .prose pre {
    padding: 1em;
  }

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

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

  .prose ul,
  .prose ol {
    padding-left: 1.25em;
  }

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