/* Custom CSS for Taroom Casino */

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, #2a53dd 0%, #1e40af 50%, #2a53dd 100%);
  background-attachment: fixed;
}

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

.floating-emoji {
  position: absolute;
  font-size: 2rem;
  animation: float 6s ease-in-out infinite;
  opacity: 0.7;
}

.floating-emoji:nth-child(odd) {
  animation-delay: -2s;
}

.floating-emoji:nth-child(even) {
  animation-delay: -4s;
}

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

/* Navigation */
.nav-link {
  position: relative;
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #f6bc7b;
  background: rgba(246, 188, 123, 0.1);
  transform: translateY(-2px);
}

/* Text Effects */
.glow-text {
  text-shadow: 0 0 10px rgba(246, 188, 123, 0.5), 0 0 20px rgba(246, 188, 123, 0.3), 0 0 30px rgba(246, 188, 123, 0.2);
}

.hero-title {
  background: linear-gradient(45deg, #ffffff, #f6bc7b, #ffffff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  filter: drop-shadow(0 0 10px rgba(246, 188, 123, 0.3));
}

.section-title {
  background: linear-gradient(45deg, #f6bc7b, #ffffff, #f6bc7b);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Buttons */
.cta-button {
  background: linear-gradient(45deg, #eb1c2a, #ff4757);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(235, 28, 42, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(235, 28, 42, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cta-button:active {
  transform: translateY(-1px);
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button-secondary {
  background: linear-gradient(45deg, rgba(246, 188, 123, 0.2), rgba(246, 188, 123, 0.3));
  color: #f6bc7b;
  padding: 1rem 2rem;
  border: 2px solid #f6bc7b;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.cta-button-secondary:hover {
  background: #f6bc7b;
  color: #2a53dd;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(246, 188, 123, 0.3);
}

.cta-button-small {
  background: linear-gradient(45deg, #eb1c2a, #ff4757);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(235, 28, 42, 0.3);
}

.cta-button-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(235, 28, 42, 0.4);
}

/* Bonus Box */
.bonus-box {
  background: linear-gradient(135deg, rgba(246, 188, 123, 0.1), rgba(246, 188, 123, 0.2));
  border: 2px solid #f6bc7b;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  animation: pulseGlow 2s ease-in-out infinite;
}

.bonus-box::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #f6bc7b, #eb1c2a, #f6bc7b);
  border-radius: 20px;
  z-index: -1;
  animation: borderRotate 3s linear infinite;
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(246, 188, 123, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(246, 188, 123, 0.6);
  }
}

@keyframes borderRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

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

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

/* Step Cards */
.step-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(246, 188, 123, 0.3);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(246, 188, 123, 0.2);
  border-color: #f6bc7b;
}

.step-number {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(45deg, #eb1c2a, #ff4757);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

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

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

/* Game Cards */
.game-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  aspect-ratio: 2 / 3;
}

.game-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(246, 188, 123, 0.3);
}

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

.game-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 83, 221, 0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem;
  opacity: 0;
  transition: all 0.3s ease;
}

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

.play-btn {
  background: linear-gradient(45deg, #eb1c2a, #ff4757);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.play-btn:hover {
  transform: scale(1.1);
}

/* Provider Cards */
.provider-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(246, 188, 123, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  font-weight: bold;
  transition: all 0.3s ease;
}

.provider-card:hover {
  transform: translateY(-5px);
  border-color: #f6bc7b;
  color: #f6bc7b;
}

/* VIP Levels */
.vip-level {
  background: linear-gradient(135deg, rgba(246, 188, 123, 0.1), rgba(246, 188, 123, 0.05));
  border: 1px solid rgba(246, 188, 123, 0.3);
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.3s ease;
}

.vip-level:hover {
  background: linear-gradient(135deg, rgba(246, 188, 123, 0.2), rgba(246, 188, 123, 0.1));
  border-color: #f6bc7b;
  transform: translateX(10px);
}

/* Bonus Detail Cards */
.bonus-detail-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(246, 188, 123, 0.3);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.bonus-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(246, 188, 123, 0.2);
}

/* Support Cards */
.support-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(246, 188, 123, 0.3);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.support-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(246, 188, 123, 0.2);
  border-color: #f6bc7b;
}

/* Promo Cards */
.promo-card {
  background: linear-gradient(135deg, rgba(246, 188, 123, 0.1), rgba(246, 188, 123, 0.05));
  border: 1px solid rgba(246, 188, 123, 0.3);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(246, 188, 123, 0.3);
  border-color: #f6bc7b;
}

.promo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(246, 188, 123, 0.1), transparent);
  transition: left 0.5s;
}

.promo-card:hover::before {
  left: 100%;
}

/* Trust Badges */
.trust-badge {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(246, 188, 123, 0.3);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.trust-badge:hover {
  transform: translateY(-5px);
  border-color: #f6bc7b;
  box-shadow: 0 10px 20px rgba(246, 188, 123, 0.2);
}

/* FAQ */
.faq-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(246, 188, 123, 0.3);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.faq-question:hover {
  background: rgba(246, 188, 123, 0.1);
}

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

.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;
}

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

@keyframes spotlightMove {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(20%, 10%);
  }
  50% {
    transform: translate(-10%, 20%);
  }
  75% {
    transform: translate(15%, -10%);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .floating-emoji {
    font-size: 1.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

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

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

  .bonus-box {
    margin: 1rem 0;
  }
}

/* Loading Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-card,
.game-card,
.support-card,
.promo-card {
  animation: fadeInUp 0.6s ease-out;
}

.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;
}

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

::-webkit-scrollbar-track {
  background: rgba(42, 83, 221, 0.3);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #f6bc7b, #eb1c2a);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #eb1c2a, #f6bc7b);
}
