/* Custom animations and overrides */
@keyframes parallaxFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

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

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

@keyframes coinGlow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
  }
}

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

.parallax-slow {
  animation: parallaxFloat 8s ease-in-out infinite reverse;
}

/* Marquee animation */
.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marqueeScroll 30s linear infinite;
}

/* Platinum Vault theme colors and effects */
.vault-gradient {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.gold-accent {
  background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
  background-size: 200% 200%;
  animation: shimmer 3s ease-in-out infinite;
}

.silver-shimmer {
  background: linear-gradient(45deg, #c0c0c0, #e8e8e8, #c0c0c0);
  background-size: 200% 200%;
  animation: shimmer 2s ease-in-out infinite;
}

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

.diamond-border {
  border: 2px solid transparent;
  background: linear-gradient(45deg, #1a1a2e, #16213e) padding-box, linear-gradient(45deg, #ffd700, #c0c0c0, #ffd700)
    border-box;
}

/* Enhanced prose styling for markdown content readability */
.prose {
  max-width: 100%;
  line-height: 1.7;
  color: #e2e8f0;
  font-size: 1.1rem;
}

.prose h1,
.prose h2 {
  color: #ffd700;
  font-weight: 700;
}

.prose h2 {
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 0.5rem;
}

.prose h3 {
  color: #ffed4e;
  font-weight: 600;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose p {
  margin-bottom: 1.5rem;
  color: #cbd5e1;
  text-align: justify;
}

.prose ul,
.prose ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  color: #cbd5e1;
}

.prose li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.prose ul li::marker {
  color: #ffd700;
}

.prose ol li::marker {
  color: #ffd700;
  font-weight: 600;
}

.prose table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  overflow-x: auto;
  display: block;
  white-space: nowrap;
}

.prose table tbody {
  display: table;
  width: 100%;
}

.prose th,
.prose td {
  border: 1px solid #374151;
  padding: 1rem 0.75rem;
  text-align: left;
  white-space: normal;
}

.prose th {
  background: linear-gradient(135deg, #1f2937, #374151);
  color: #ffd700;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.prose td {
  background-color: rgba(17, 24, 39, 0.8);
  color: #cbd5e1;
}

.prose tr:nth-child(even) td {
  background-color: rgba(31, 41, 55, 0.5);
}

.prose blockquote {
  border-left: 4px solid #ffd700;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #e2e8f0;
  background: rgba(255, 215, 0, 0.05);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 215, 0, 0.2);
}

.prose strong {
  color: #ffd700;
  font-weight: 700;
}

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

.prose a {
  color: #ffd700;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.prose a:hover {
  color: #ffed4e;
}

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

body {
  overflow: auto;
}

/* Mobile burger menu */
.burger-menu {
  background-color: rgba(26, 26, 46, 0.95) !important;
  backdrop-filter: blur(10px);
}

/* Responsive utilities */
@media (max-width: 1024px) {
  .desktop-only {
    display: none;
  }
}

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

/* Custom button styles */
.cta-primary {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  color: #1a1a2e;
  font-weight: 700;
  transition: all 0.3s ease;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.cta-secondary {
  border: 2px solid #ffd700;
  color: #ffd700;
  background: transparent;
  transition: all 0.3s ease;
}

.cta-secondary:hover {
  background: #ffd700;
  color: #1a1a2e;
}

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

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

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

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

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