/* Lanista Casino Theme - Custom Styles */

/* Keyframe Animations */
@keyframes parallax-float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

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

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.8);
  }
}

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

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

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

.parallax-fast {
  animation: parallax-float 4s ease-in-out infinite;
}

/* Marquee Effects */
.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee-content {
  display: flex;
  animation: marquee 30s linear infinite;
  width: fit-content;
}

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

/* Bonus Badge Glow */
.bonus-badge {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Shimmer Effect for CTAs */
.shimmer-effect {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  background-size: 1000px 100%;
  animation: shimmer 3s infinite;
}

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

/* Roman Empire Theme - Decorative Elements */
.roman-border {
  border: 3px solid #d4af37;
  border-image: repeating-linear-gradient(45deg, #d4af37, #d4af37 10px, #8b7355 10px, #8b7355 20px) 1;
}

.laurel-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 10 Q35 15 30 20 Q25 15 30 10 M30 40 Q35 45 30 50 Q25 45 30 40' fill='%23d4af37' opacity='0.1'/%3E%3C/svg%3E");
}

/* Prose Styling for Readability */
.prose {
  color: #1f2937;
  max-width: 65ch;
  line-height: 1.6;
}

.prose h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #7c2d12;
}

.prose h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #92400e;
}

.prose p {
  margin-bottom: 1.25rem;
}

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

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

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

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

.prose a:hover {
  color: #991b1b;
}

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

.prose th {
  background-color: #7c2d12;
  color: white;
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
}

.prose td {
  padding: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.prose tr:hover {
  background-color: #fef3c7;
}

/* Island Effect for Bottom Menu */
.island {
  background: white;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 0.75rem;
}

/* Fade In Animation */
.fade-in-up {
  animation: fade-in-up 0.8s ease-out forwards;
  opacity: 0;
}

.fade-in-up:nth-child(1) {
  animation-delay: 0.1s;
}
.fade-in-up:nth-child(2) {
  animation-delay: 0.2s;
}
.fade-in-up:nth-child(3) {
  animation-delay: 0.3s;
}
.fade-in-up:nth-child(4) {
  animation-delay: 0.4s;
}
.fade-in-up:nth-child(5) {
  animation-delay: 0.5s;
}
.fade-in-up:nth-child(6) {
  animation-delay: 0.6s;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

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

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #d4af37;
  border-radius: 5px;
}

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

/* Game Card Hover Effect */
.game-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Trustpilot Star Rating */
.star-rating {
  color: #00b67a;
  font-size: 1.25rem;
}

/* Calculator Form Styling */
.calculator-form input[type="number"] {
  border: 2px solid #d4af37;
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 1rem;
  width: 100%;
  transition: border-color 0.3s;
}

.calculator-form input[type="number"]:focus {
  outline: none;
  border-color: #b8941f;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Mobile Menu Transition */
.mobile-menu {
  transition: transform 0.3s ease-in-out;
}

.mobile-menu.hidden {
  transform: translateX(-100%);
}

/* Roman Column Pattern */
.column-pattern {
  background-image: repeating-linear-gradient(90deg, #d4af37 0px, #d4af37 2px, transparent 2px, transparent 20px);
}
