/* Golden Impact Custom Animations & Overrides */

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

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

@keyframes goldenPulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 184, 0, 0.4), 0 0 40px rgba(255, 184, 0, 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 184, 0, 0.6), 0 0 60px rgba(255, 184, 0, 0.3);
    transform: scale(1.02);
  }
}

@keyframes shockwave {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes glowRotate {
  0% {
    filter: hue-rotate(0deg) brightness(1);
  }
  50% {
    filter: hue-rotate(20deg) brightness(1.2);
  }
  100% {
    filter: hue-rotate(0deg) brightness(1);
  }
}

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

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

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

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

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

.golden-pulse {
  animation: goldenPulse 3s ease-in-out infinite;
}

.shockwave-ring {
  animation: shockwave 2s ease-out infinite;
}

.glow-rotate {
  animation: glowRotate 4s ease-in-out infinite;
}

/* Glass morphism effect */
.glass-effect {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 184, 0, 0.2);
}

/* Golden gradient text */
.golden-text {
  background: linear-gradient(135deg, #ffd700 0%, #ffb800 50%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Molten gold effect */
.molten-gold {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  position: relative;
  overflow: hidden;
}

.molten-gold::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.15) 0%, transparent 70%);
  animation: parallaxFloat 8s ease-in-out infinite;
}

/* Black glass floor effect */
.glass-floor {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
  position: relative;
}

.glass-floor::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #ffb800 50%, transparent 100%);
  opacity: 0.3;
}

/* Prose styling for readability */
.prose {
  max-width: 100%;
  line-height: 1.75;
  color: #e5e5e5;
  font-size: 1.0625rem;
}

.prose h2 {
  color: #ffd700;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.prose h3 {
  color: #ffb800;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.prose p {
  margin-bottom: 1.5rem;
  color: #e5e5e5;
}

.prose p:first-of-type {
  font-size: 1.125rem;
  color: #f5f5f5;
}

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

.prose a:hover {
  color: #ffd700;
  text-decoration-color: rgba(255, 215, 0, 0.8);
}

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

.prose ul,
.prose ol {
  margin-left: 1.75rem;
  margin-bottom: 1.75rem;
  padding-left: 0.5rem;
}

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

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

.prose li {
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
  color: #e5e5e5;
}

.prose li::marker {
  color: #ffb800;
}

.prose ul ul,
.prose ol ol,
.prose ul ol,
.prose ol ul {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.prose table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-size: 0.9375rem;
}

.prose thead {
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.15) 0%, rgba(255, 140, 0, 0.15) 100%);
  border-bottom: 2px solid #ffb800;
}

.prose th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #ffd700;
  border-bottom: 2px solid rgba(255, 184, 0, 0.3);
}

.prose td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 184, 0, 0.1);
  color: #e5e5e5;
}

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

.prose tbody tr:hover {
  background-color: rgba(255, 184, 0, 0.05);
}

.prose blockquote {
  border-left: 0.25rem solid #ffb800;
  padding-left: 1.5rem;
  margin-left: 0;
  margin-right: 0;
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-style: italic;
  color: #d5d5d5;
  background: rgba(255, 184, 0, 0.05);
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-right: 1rem;
}

.prose blockquote p {
  margin-bottom: 0.75rem;
}

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

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 184, 0, 0.2);
}

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

.prose pre {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 184, 0, 0.2);
  border-radius: 0.5rem;
  padding: 1.5rem;
  overflow-x: auto;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

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

.prose hr {
  border: none;
  border-top: 2px solid rgba(255, 184, 0, 0.2);
  margin-top: 3rem;
  margin-bottom: 3rem;
}

/* Table responsive wrapper for prose tables */
.prose .table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

  .prose h2 {
    margin-top: 2rem;
  }

  .prose h3 {
    margin-top: 1.5rem;
  }

  .prose ul,
  .prose ol {
    margin-left: 1.25rem;
  }

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

  .prose th,
  .prose td {
    padding: 0.75rem;
  }
}

/* Table responsive wrapper */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
}

.table-responsive table {
  min-width: 600px;
}

/* 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, #ffb800 0%, #ff8c00 100%);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffd700 0%, #ffb800 100%);
}

/* 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 effects */
.cta-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

/* Numbered badge styling */
.step-badge {
  background: linear-gradient(135deg, #ffb800 0%, #ff8c00 100%);
  box-shadow: 0 4px 15px rgba(255, 184, 0, 0.4);
}

/* Payment icon styling */
.payment-icon {
  filter: grayscale(0.3) brightness(1.1);
  transition: all 0.3s ease;
}

.payment-icon:hover {
  filter: grayscale(0) brightness(1.3);
  transform: scale(1.05);
}
