/* --- Modern Mobile Menu Overlay --- */
.mobile-menu-overlay {
  background: rgba(34, 16, 64, 0.97); /* fallback for bg-casino-purple/95 */
  transition: opacity 0.3s;
}
.mobile-menu-link {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 1.5rem;
  color: #fff;
  padding: 1.25rem 0;
  border-radius: 0.5rem;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.mobile-menu-link:hover, .mobile-menu-link:focus {
  background: #ffd70022;
  color: #ffd700;
}
#mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #ffd700;
  transition: color 0.2s, background 0.2s;
}
#mobile-menu-close:hover, #mobile-menu-close:focus {
  color: #fff;
  background: #ffd70022;
}
/* Animation Keyframes */
@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.4);
  }
}

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

@keyframes pulse-slow {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

/* Utility Classes */
.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.animate-pulse-slow {
  animation: pulse-slow 3s ease-in-out infinite;
}

.floating-section {
  animation: float 6s ease-in-out infinite;
}

/* Parallax Effect */
.parallax-element {
  transition: transform 0.3s ease-out;
}

@media (min-width: 768px) {
  .parallax-element {
    transform: translateY(calc(var(--scroll-y, 0) * 0.1px));
  }
}

/* Game Card Hover Effects */
.game-card {
  transition: all 0.3s ease;
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
}

/* CTA Banner Animation */
.cta-banner-animate {
  animation: float 4s ease-in-out infinite;
}

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

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

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

::-webkit-scrollbar-thumb {
  background: #ffd700;
  border-radius: 6px;
}

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

/* Prose Styling for Readability */
.prose-casino {
  color: #e5e7eb;
}

.prose-casino h1,
.prose-casino h2,
.prose-casino h3,
.prose-casino h4 {
  color: #ffd700;
  font-weight: bold;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose-casino h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

.prose-casino h2 {
  font-size: 2rem;
  line-height: 1.3;
}

.prose-casino h3 {
  font-size: 1.5rem;
  line-height: 1.4;
}

.prose-casino p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

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

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

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

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

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

.prose-casino code {
  background: rgba(255, 215, 0, 0.1);
  color: #ffd700;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

.prose-casino blockquote {
  border-left: 4px solid #ffd700;
  padding-left: 1rem;
  margin-left: 0;
  margin-right: 0;
  font-style: italic;
  color: #d1d5db;
}

.prose-casino table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.prose-casino th,
.prose-casino td {
  padding: 0.75rem;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.prose-casino th {
  background: rgba(255, 215, 0, 0.1);
  color: #ffd700;
  font-weight: bold;
}

.prose-casino img {
  border-radius: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Details/Summary Styling */
details summary {
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}

details[open] summary {
  margin-bottom: 1rem;
}

details summary:hover {
  color: #ffed4e;
}

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

  .prose-casino h2 {
    font-size: 1.75rem;
  }

  .prose-casino h3 {
    font-size: 1.5rem;
  }
}

/* Additional smooth transitions */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
a {
  transition: all 0.2s ease;
}

/* Focus states for accessibility */
button:focus,
a:focus,
details:focus {
  outline: 2px solid #ffd700;
  outline-offset: 2px;
}
