/* Custom CSS for Millioner Casino Theme */

/* Parallax Effect */
.parallax-bg {
  transform: translateZ(0);
  will-change: transform;
}

/* Marquee Animation */
.marquee-container {
  position: relative;
}

.marquee-content {
  animation: marquee 30s linear infinite;
}

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

/* Floating Diamonds Animation */
.floating-diamonds {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.floating-diamonds::before,
.floating-diamonds::after {
  content: "♦";
  position: absolute;
  color: #fbbf24;
  font-size: 2rem;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

.floating-diamonds::before {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-diamonds::after {
  top: 60%;
  right: 15%;
  animation-delay: 3s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.6;
  }
}

/* Text Shadow for Hero */
.text-shadow-lg {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Prose Styling for Readability */
.prose-gold {
  color: #fbbf24;
}

.prose-gold p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.prose-gold ul,
.prose-gold ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.prose-gold li {
  margin-bottom: 0.5rem;
}

.prose-gold h3 {
  color: #fcd34d;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose-gold table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.prose-gold th,
.prose-gold td {
  padding: 0.5rem;
  border: 1px solid rgba(251, 191, 36, 0.3);
  text-align: left;
}

.prose-gold th {
  background-color: rgba(251, 191, 36, 0.2);
  font-weight: 600;
}

/* Enhanced prose styling for markdown content */
.prose {
  max-width: 100%;
  color: #fbbf24;
  line-height: 1.7;
}

.prose h2 {
  color: #fcd34d;
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.prose h3 {
  color: #fde68a;
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.prose p {
  margin-bottom: 1.25rem;
  color: #f3f4f6;
  font-size: 1.1rem;
}

.prose ul,
.prose ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
  color: #f3f4f6;
}

.prose li {
  margin-bottom: 0.75rem;
  position: relative;
}

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

.prose ol li::marker {
  color: #fbbf24;
  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 thead {
  display: table-header-group;
}

.prose table tbody {
  display: table-row-group;
}

.prose table tr {
  display: table-row;
  border-bottom: 1px solid rgba(251, 191, 36, 0.2);
}

.prose table th,
.prose table td {
  display: table-cell;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(251, 191, 36, 0.3);
  text-align: left;
  white-space: normal;
  vertical-align: top;
}

.prose table th {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(252, 211, 77, 0.1));
  font-weight: 700;
  color: #fcd34d;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.prose table td {
  color: #f3f4f6;
  background: rgba(0, 0, 0, 0.3);
}

.prose blockquote {
  border-left: 4px solid #fbbf24;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #fde68a;
  background: rgba(251, 191, 36, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 0 0.5rem 0.5rem 0;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 2rem 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

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

/* Responsive Adjustments */
@media (max-width: 768px) {
  .marquee-content {
    animation-duration: 20s;
  }

  .floating-diamonds::before,
  .floating-diamonds::after {
    font-size: 1.5rem;
  }

  .prose {
    font-size: 1rem;
  }

  .prose h2 {
    font-size: 1.5rem;
  }

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

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

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

/* Smooth Transitions */
* {
  transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

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

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

::-webkit-scrollbar-thumb {
  background: #fbbf24;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #f59e0b;
}

/* Focus States for Accessibility */
a:focus,
button:focus {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

/* Loading Animation for Images */
img {
  transition: opacity 0.3s ease;
}

img:not([src]) {
  opacity: 0;
}

/* Mobile Menu Enhancements */
@media (max-width: 1023px) {
  #mobile-menu {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

/* Hover Effects */
.hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Golden Glow Effect */
.golden-glow {
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.golden-glow:hover {
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
}
