/* Custom CSS for RichGringo Casino */

/* Base Styles */
* {
  scroll-behavior: smooth;
}

body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(135deg, #064e3b 0%, #0d4f3c 50%, #065f46 100%);
  overflow-x: hidden;
}

/* Floating Elements */
.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-card,
.floating-chip,
.floating-dice,
.floating-cactus,
.floating-sun,
.floating-card-2,
.floating-confetti,
.floating-chip-2 {
  position: absolute;
  color: #10b981;
  font-size: 1.5rem;
  animation: float 6s ease-in-out infinite;
  opacity: 0.3;
}

.floating-card {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.floating-chip {
  top: 20%;
  right: 10%;
  animation-delay: 1s;
  color: #f59e0b;
}

.floating-dice {
  top: 60%;
  left: 8%;
  animation-delay: 2s;
}

.floating-cactus {
  top: 40%;
  right: 5%;
  animation-delay: 3s;
  color: #10b981;
}

.floating-sun {
  top: 15%;
  left: 50%;
  animation-delay: 4s;
  color: #f59e0b;
}

.floating-card-2 {
  top: 70%;
  right: 15%;
  animation-delay: 5s;
  color: #ef4444;
}

.floating-confetti {
  top: 30%;
  left: 80%;
  animation-delay: 1.5s;
}

.floating-chip-2 {
  top: 80%;
  left: 20%;
  animation-delay: 2.5s;
}

.floating-piñata,
.floating-pepper,
.floating-maracas,
.floating-sombrero,
.floating-guitar,
.floating-taco,
.floating-lime,
.floating-avocado {
  position: absolute;
  font-size: 2rem;
  animation: mexicanFloat 8s ease-in-out infinite;
  opacity: 0.4;
}

.floating-piñata {
  top: 25%;
  left: 15%;
  animation-delay: 0.5s;
}

.floating-pepper {
  top: 45%;
  right: 20%;
  animation-delay: 1.5s;
}

.floating-maracas {
  top: 65%;
  left: 10%;
  animation-delay: 2.5s;
}

.floating-sombrero {
  top: 35%;
  right: 8%;
  animation-delay: 3.5s;
}

.floating-guitar {
  top: 55%;
  left: 75%;
  animation-delay: 4.5s;
}

.floating-taco {
  top: 75%;
  right: 25%;
  animation-delay: 5.5s;
}

.floating-lime {
  top: 20%;
  left: 70%;
  animation-delay: 6s;
}

.floating-avocado {
  top: 85%;
  left: 40%;
  animation-delay: 7s;
}

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

@keyframes mexicanFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-15px) rotate(90deg) scale(1.1);
  }
  50% {
    transform: translateY(-30px) rotate(180deg) scale(1);
  }
  75% {
    transform: translateY(-15px) rotate(270deg) scale(1.1);
  }
}

/* Navigation */
.nav-link {
  color: #ffffff;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #10b981;
  transform: translateY(-2px);
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background-color: #10b981;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

/* Logo Glow */
.logo-glow {
  animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  from {
    text-shadow: 0 0 10px #10b981, 0 0 20px #10b981, 0 0 30px #10b981;
  }
  to {
    text-shadow: 0 0 20px #10b981, 0 0 30px #10b981, 0 0 40px #10b981;
  }
}

/* Hero Section */
.hero-title {
  animation: heroSlideIn 1s ease-out;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.glow-text {
  animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
  from {
    text-shadow: 0 0 10px #10b981, 0 0 20px #10b981, 0 0 30px #10b981;
  }
  to {
    text-shadow: 0 0 20px #10b981, 0 0 30px #10b981, 0 0 40px #10b981;
  }
}

@keyframes heroSlideIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Bonus Box */
.bonus-box {
  animation: bonusGlow 3s ease-in-out infinite;
  backdrop-filter: blur(10px);
}

@keyframes bonusGlow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.6);
  }
}

/* Buttons */
.cta-button {
  background: linear-gradient(45deg, #fcd34d, #f59e0b);
  color: #1e3a8a;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(252, 211, 77, 0.4);
  animation: buttonPulse 2s infinite;
  text-shadow: none;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(252, 211, 77, 0.6);
  background: linear-gradient(45deg, #f59e0b, #d97706);
  color: white;
}

.cta-button-secondary {
  background: transparent;
  color: #fcd34d;
  padding: 12px 24px;
  border: 2px solid #fcd34d;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cta-button-secondary:hover {
  background: #fcd34d;
  color: #1e3a8a;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(252, 211, 77, 0.4);
}

.cta-button-small {
  background: linear-gradient(45deg, #fcd34d, #f59e0b);
  color: #1e3a8a;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

@keyframes buttonPulse {
  0% {
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
  }
  50% {
    box-shadow: 0 4px 25px rgba(16, 185, 129, 0.6);
  }
  100% {
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
  }
}

/* Hero Image */
.hero-image-container {
  position: relative;
  animation: imageFloat 4s ease-in-out infinite;
}

.hero-image {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.05);
}

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

/* Spotlight Effect */
.spotlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  animation: spotlightMove 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes spotlightMove {
  0%,
  100% {
    background: radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  }
  25% {
    background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
  }
  50% {
    background: radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  }
  75% {
    background: radial-gradient(circle at 30% 70%, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
  }
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  background: linear-gradient(45deg, #fcd34d, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGlow 3s ease-in-out infinite alternate;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes titleGlow {
  from {
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.5));
  }
  to {
    filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.5));
  }
}

/* Step Cards */
.step-card {
  background: rgba(255, 255, 255, 0.95);
  color: #1e3a8a;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid #fcd34d;
  backdrop-filter: blur(10px);
  animation: cardSlideUp 0.6s ease-out;
  animation-fill-mode: both;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.step-card:nth-child(1) {
  animation-delay: 0.1s;
}
.step-card:nth-child(2) {
  animation-delay: 0.2s;
}
.step-card:nth-child(3) {
  animation-delay: 0.3s;
}
.step-card:nth-child(4) {
  animation-delay: 0.4s;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(252, 211, 77, 0.3);
  border-color: #f59e0b;
}

.step-icon {
  font-size: 3rem;
  color: #f59e0b;
  margin-bottom: 1rem;
  animation: iconBounce 2s ease-in-out infinite;
}

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

@keyframes cardSlideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Game Cards */
.game-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  animation: gameCardEntrance 0.8s ease-out;
  animation-fill-mode: both;
}

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

.game-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.4);
}

.game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(11, 20, 38, 0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
  opacity: 1;
}

.play-btn {
  background: linear-gradient(45deg, #fcd34d, #f59e0b);
  color: #1e3a8a;
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(252, 211, 77, 0.5);
  background: linear-gradient(45deg, #f59e0b, #d97706);
  color: white;
}

@keyframes gameCardEntrance {
  from {
    opacity: 0;
    transform: translateY(30px) rotateY(45deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateY(0deg);
  }
}

/* Content Cards */
.content-card {
  background: rgba(255, 255, 255, 0.95);
  color: #1e3a8a;
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid #fcd34d;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Provider Cards */
.provider-card {
  background: rgba(255, 255, 255, 0.95);
  color: #1e3a8a;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid #fcd34d;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.provider-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(245, 158, 11, 0.3));
}

/* Payment Tables */
.payment-table {
  background: rgba(255, 255, 255, 0.95);
  color: #1e3a8a;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid #fcd34d;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Security Cards */
.security-card {
  background: rgba(255, 255, 255, 0.95);
  color: #1e3a8a;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid #fcd34d;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.security-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(252, 211, 77, 0.3);
  border-color: #f59e0b;
}

/* VIP Cards */
.vip-card {
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 2px solid;
}

.vip-card.bronze {
  background: linear-gradient(135deg, rgba(205, 127, 50, 0.2), rgba(160, 82, 45, 0.2));
  border-color: #cd7f32;
  color: #cd7f32;
}

.vip-card.silver {
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.2), rgba(169, 169, 169, 0.2));
  border-color: #c0c0c0;
  color: #c0c0c0;
}

.vip-card.gold {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(218, 165, 32, 0.2));
  border-color: #ffd700;
  color: #ffd700;
}

.vip-card.diamond {
  background: linear-gradient(135deg, rgba(185, 242, 255, 0.2), rgba(135, 206, 235, 0.2));
  border-color: #b9f2ff;
  color: #b9f2ff;
}

.vip-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.4);
}

/* Support Cards */
.support-card {
  background: rgba(255, 255, 255, 0.95);
  color: #1e3a8a;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid #fcd34d;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.support-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(252, 211, 77, 0.3);
  border-color: #f59e0b;
}

.support-btn {
  background: linear-gradient(45deg, #fcd34d, #f59e0b);
  color: #1e3a8a;
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.support-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(252, 211, 77, 0.5);
  background: linear-gradient(45deg, #f59e0b, #d97706);
  color: white;
}

/* Promo Cards */
.promo-card {
  background: rgba(255, 255, 255, 0.95);
  color: #1e3a8a;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid #fcd34d;
  backdrop-filter: blur(10px);
  animation: promoSlideIn 0.8s ease-out;
  animation-fill-mode: both;
}

.promo-card:nth-child(1) {
  animation-delay: 0.1s;
}
.promo-card:nth-child(2) {
  animation-delay: 0.2s;
}
.promo-card:nth-child(3) {
  animation-delay: 0.3s;
}

.promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(252, 211, 77, 0.3);
  border-color: #f59e0b;
}

.promo-icon {
  color: #f59e0b;
  margin-bottom: 1rem;
  animation: iconPulse 2s ease-in-out infinite;
}

.promo-btn {
  background: linear-gradient(45deg, #fcd34d, #f59e0b);
  color: #1e3a8a;
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(252, 211, 77, 0.5);
  background: linear-gradient(45deg, #f59e0b, #d97706);
  color: white;
}

@keyframes promoSlideIn {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Trust Badges */
.trust-badge {
  transition: all 0.3s ease;
  padding: 1rem;
}

.trust-badge:hover {
  transform: translateY(-5px);
  color: #10b981;
}

/* FAQ */
.faq-item {
  background: rgba(255, 255, 255, 0.95);
  color: #1e3a8a;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 2px solid #fcd34d;
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: between;
  align-items: center;
  font-weight: bold;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(252, 211, 77, 0.2);
  color: #1e3a8a;
}

.faq-question i {
  transition: transform 0.3s ease;
  margin-left: auto;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .floating-elements > div {
    font-size: 1rem;
  }

  .step-card,
  .security-card,
  .support-card,
  .promo-card {
    padding: 1.5rem;
  }

  .game-image {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .bonus-box {
    padding: 1rem;
  }

  .cta-button,
  .cta-button-secondary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Animation Performance */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.mexican-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.decoration-1,
.decoration-2,
.decoration-3,
.decoration-4,
.decoration-5 {
  position: absolute;
  font-size: 3rem;
  animation: decorationSpin 10s linear infinite;
  opacity: 0.3;
}

.decoration-1 {
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.decoration-2 {
  top: 20%;
  left: 10%;
  animation-delay: 2s;
}

.decoration-3 {
  bottom: 30%;
  right: 15%;
  animation-delay: 4s;
}

.decoration-4 {
  bottom: 20%;
  left: 15%;
  animation-delay: 6s;
}

.decoration-5 {
  top: 50%;
  right: 5%;
  animation-delay: 8s;
}

@keyframes decorationSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.2);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.security-card i,
.support-card i,
.promo-card .promo-icon {
  color: #f59e0b;
}

.play-btn,
.support-btn,
.promo-btn {
  background: linear-gradient(45deg, #fcd34d, #f59e0b);
  color: #1e3a8a;
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.play-btn:hover,
.support-btn:hover,
.promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(252, 211, 77, 0.5);
  background: linear-gradient(45deg, #f59e0b, #d97706);
  color: white;
}
