/* Custom animations and overrides for TurboWins Hugo theme */

/* Orchid Eclipse theme colors and gradients */
:root {
  --orchid-primary: #8b5cf6;
  --orchid-secondary: #a855f7;
  --orchid-dark: #4c1d95;
  --orchid-light: #c4b5fd;
  --noir-amethyst: linear-gradient(135deg, #1f2937 0%, #4c1d95 50%, #7c3aed 100%);
  --ultraviolet-glow: 0 0 20px rgba(139, 92, 246, 0.5);
  --threatening-petals: radial-gradient(circle at 30% 70%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(168, 85, 247, 0.2) 0%, transparent 50%);
}

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

/* Base typography and visibility */
body {
  background: var(--noir-amethyst);
  color: #f3f4f6;
  font-family: system-ui, -apple-system, sans-serif;
}

/* Ensure all text is visible */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div,
a,
li,
td,
th {
  color: #f3f4f6;
}

/* Prose styling for content pages */
.prose h1 {
  color: var(--orchid-light);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.prose h2 {
  color: var(--orchid-secondary);
  font-size: 2rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
}
.prose h3 {
  color: var(--orchid-light);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
}
.prose p {
  color: #e5e7eb;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.prose a {
  color: var(--orchid-secondary);
  text-decoration: underline;
}
.prose a:hover {
  color: var(--orchid-light);
}
.prose ul,
.prose ol {
  color: #e5e7eb;
  margin: 1rem 0;
  padding-left: 1.5rem;
}
.prose li {
  margin-bottom: 0.5rem;
}
.prose strong {
  color: var(--orchid-light);
  font-weight: 600;
}
.prose em {
  color: var(--orchid-secondary);
  font-style: italic;
}
.prose blockquote {
  border-left: 4px solid var(--orchid-secondary);
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: #d1d5db;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.prose th,
.prose td {
  border: 1px solid var(--orchid-dark);
  padding: 0.75rem;
  text-align: left;
}
.prose th {
  background: var(--orchid-dark);
  color: var(--orchid-light);
  font-weight: 600;
}

/* Animation 1: Parallax effect */
@keyframes parallax-float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

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

.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Animation 2: Marquee effect */
@keyframes marquee-scroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

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

.marquee-content {
  display: inline-block;
  animation: marquee-scroll 20s linear infinite;
}

/* Threatening petals background pattern */
.threatening-petals {
  background: var(--threatening-petals);
  position: relative;
}

.threatening-petals::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--noir-amethyst);
  opacity: 0.8;
  z-index: -1;
}

/* Ultraviolet glow effects */
.uv-glow {
  box-shadow: var(--ultraviolet-glow);
}

.uv-glow-text {
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.7);
}

/* Bonus badge styling */
.bonus-badge {
  background: linear-gradient(45deg, var(--orchid-primary), var(--orchid-secondary));
  border: 2px solid var(--orchid-light);
  box-shadow: var(--ultraviolet-glow);
  animation: parallax-float 4s ease-in-out infinite;
}

/* CTA button enhancements */
.cta-primary {
  background: linear-gradient(45deg, var(--orchid-primary), var(--orchid-secondary));
  box-shadow: var(--ultraviolet-glow);
  transition: all 0.3s ease;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.8);
}

/* Game card hover effects */
.game-card {
  transition: all 0.3s ease;
  background: rgba(75, 29, 149, 0.3);
  border: 1px solid var(--orchid-dark);
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ultraviolet-glow);
  background: rgba(75, 29, 149, 0.5);
}

/* Payment method table styling */
.payment-table {
  background: rgba(31, 41, 55, 0.8);
  border: 1px solid var(--orchid-dark);
}

.payment-table th {
  background: var(--orchid-dark);
  color: var(--orchid-light);
}

.payment-table td {
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

/* FAQ accordion styling */
.faq-item {
  border: 1px solid var(--orchid-dark);
  background: rgba(75, 29, 149, 0.2);
  margin-bottom: 1rem;
}

.faq-question {
  background: var(--orchid-dark);
  color: var(--orchid-light);
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--orchid-primary);
}

/* Mobile navigation */
.mobile-menu {
  background: var(--noir-amethyst);
  border: 1px solid var(--orchid-dark);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: block;
  }
  .mobile-nav {
    display: none;
  }
}

/* Wagering disclaimer styling */
.wagering-disclaimer {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #fca5a5;
  font-size: 0.875rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
}

/* Responsible gaming elements */
.responsible-gaming {
  background: rgba(75, 29, 149, 0.3);
  border: 1px solid var(--orchid-dark);
  padding: 1rem;
  border-radius: 0.5rem;
}

.age-badge {
  background: #ef4444;
  color: white;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  display: inline-block;
}
