/* ============================================
   International Betting Landing Page Styles
   Gold + Green Dual Theme
   ============================================ */

/* Custom Animations */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(243, 186, 47, 0.4), 0 0 40px rgba(243, 186, 47, 0.1); }
  50% { box-shadow: 0 0 30px rgba(243, 186, 47, 0.6), 0 0 60px rgba(243, 186, 47, 0.2); }
}

@keyframes glow-pulse-green {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 228, 0, 0.4), 0 0 40px rgba(0, 228, 0, 0.1); }
  50% { box-shadow: 0 0 30px rgba(0, 228, 0, 0.6), 0 0 60px rgba(0, 228, 0, 0.2); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

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

@keyframes float-up {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes countdown-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes border-glow {
  0%, 100% { border-color: rgba(243, 186, 47, 0.3); }
  50% { border-color: rgba(243, 186, 47, 0.8); }
}

@keyframes slide-in-right {
  0% { opacity: 0; transform: translateX(30px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes sparkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Hero Scrolling Game Background */
@keyframes scroll-bg {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-scroll-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-scroll-track {
  display: flex;
  width: max-content;
  animation: scroll-bg 40s linear infinite;
}

.hero-scroll-track:hover {
  animation-play-state: paused;
}

.hero-scroll-track img {
  width: 320px;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
  opacity: 0.35;
  filter: blur(1px);
  transition: opacity 0.3s ease;
}

.hero-scroll-track img:hover {
  opacity: 0.6;
}

/* Glow Pulse Button - Gold */
.btn-glow {
  animation: glow-pulse 2s ease-in-out infinite;
}

/* Glow Pulse Button - Green */
.btn-glow-green {
  animation: glow-pulse-green 2s ease-in-out infinite;
}

/* Shimmer Text Gold */
.shimmer-text {
  background: linear-gradient(
    90deg,
    #f3ba2f 0%,
    #ffd700 25%,
    #fff 50%,
    #ffd700 75%,
    #f3ba2f 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* Shimmer Text Green */
.shimmer-text-green {
  background: linear-gradient(
    90deg,
    #00e400 0%,
    #4ade80 25%,
    #fff 50%,
    #4ade80 75%,
    #00e400 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* Ticker Animation */
.ticker-wrap {
  overflow: hidden;
  width: 100%;
}

.ticker-content {
  display: flex;
  animation: ticker-scroll 45s linear infinite;
  white-space: nowrap;
}

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

/* Game Card Hover */
.game-card {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.game-card:hover {
  transform: scale(1.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(243, 186, 47, 0.15);
  z-index: 10;
}

/* Game Card Image */
.game-card-img {
  transition: transform 0.5s ease;
}

.game-card:hover .game-card-img {
  transform: scale(1.1);
}

/* Odds Button Hover */
.odds-btn {
  transition: all 0.2s ease;
}

.odds-btn:hover {
  background: rgba(243, 186, 47, 0.1);
  border-color: #f3ba2f;
  transform: translateY(-2px);
}

/* Winner Item Animation */
.winner-item {
  animation: float-up 0.5s ease-out forwards;
}

/* Countdown Box */
.countdown-box {
  animation: countdown-pulse 1s ease-in-out infinite;
}

/* Nav Link Hover */
.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #f3ba2f;
  transition: width 0.3s ease;
}

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

/* Hero Background - Gold + Green */
.hero-bg {
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(243, 186, 47, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 228, 0, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(243, 186, 47, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, #0a1510 0%, #0d1f14 30%, #112a18 60%, #0d1f14 100%);
}

/* Hero Image Overlay */
.hero-image-overlay {
  background: linear-gradient(
    180deg,
    rgba(10, 21, 16, 0.5) 0%,
    rgba(10, 21, 16, 0.55) 40%,
    rgba(13, 31, 20, 0.75) 80%,
    rgba(13, 31, 20, 0.92) 100%
  );
}

/* Heavier overlay for cleaner wheel area */
.hero-image-overlay-heavy {
  background: linear-gradient(
    180deg,
    rgba(8, 16, 12, 0.75) 0%,
    rgba(8, 16, 12, 0.82) 30%,
    rgba(10, 21, 16, 0.90) 60%,
    rgba(10, 21, 16, 0.96) 100%
  );
}

/* Section Divider */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243, 186, 47, 0.3), transparent);
}

/* Section Divider Green */
.section-divider-green {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 228, 0, 0.3), transparent);
}

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

::-webkit-scrollbar-track {
  background: #0d1f14;
}

::-webkit-scrollbar-thumb {
  background: #2d4a35;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3d6a48;
}

/* Payment Icon Hover */
.payment-icon {
  transition: all 0.2s ease;
  filter: grayscale(0.5);
}

.payment-icon:hover {
  filter: grayscale(0);
  transform: scale(1.1);
}

/* Live Badge */
.live-badge {
  animation: border-glow 1.5s ease-in-out infinite;
}

/* Category Tab */
.category-tab {
  transition: all 0.2s ease;
}

.category-tab:hover {
  background: rgba(243, 186, 47, 0.1);
  border-color: rgba(243, 186, 47, 0.5);
}

.category-tab.active {
  background: rgba(243, 186, 47, 0.15);
  border-color: #f3ba2f;
  color: #f3ba2f;
}

/* Provider Badge */
.provider-badge {
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.6);
}

/* Gradient Border */
.gradient-border {
  position: relative;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, #f3ba2f, transparent, #00e400);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Floating Particles */
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #f3ba2f;
  border-radius: 50%;
  animation: sparkle 3s ease-in-out infinite;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .game-card:hover {
    transform: scale(1.03);
  }
  
  .ticker-content {
    animation-duration: 20s;
  }
}

/* ============================================
   Character & Rich Layout Styles
   ============================================ */

/* Character Cutout */
.character-cutout {
  position: absolute;
  pointer-events: none;
  z-index: 5;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
  transition: transform 0.5s ease;
}

.character-cutout:hover {
  transform: scale(1.05) translateY(-5px);
}

/* Character Glow Effect */
.character-glow::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 40px;
  background: radial-gradient(ellipse, rgba(243, 186, 47, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

/* Featured Character Card */
.featured-char {
  position: relative;
  overflow: visible;
}

.featured-char .char-image {
  transition: transform 0.4s ease;
}

.featured-char:hover .char-image {
  transform: translateY(-8px);
}

/* Decorative Frame */
.deco-frame {
  position: relative;
}

.deco-frame::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border: 2px solid rgba(243, 186, 47, 0.15);
  border-radius: inherit;
  pointer-events: none;
}

/* Floating Badge */
.float-badge {
  animation: float-up 3s ease-in-out infinite;
}

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

.float-bounce {
  animation: float-bounce 3s ease-in-out infinite;
}

/* Character Spotlight */
.char-spotlight {
  position: relative;
}

.char-spotlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(243, 186, 47, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Rich Section Background Pattern */
.rich-bg {
  position: relative;
}

.rich-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(243, 186, 47, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 228, 0, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

/* Character Overlay on Hero */
.hero-char-left {
  position: absolute;
  left: -5%;
  bottom: 0;
  width: 300px;
  z-index: 2;
  opacity: 0.9;
  filter: drop-shadow(0 0 40px rgba(243, 186, 47, 0.2));
}

.hero-char-right {
  position: absolute;
  right: -5%;
  bottom: 0;
  width: 280px;
  z-index: 2;
  opacity: 0.9;
  filter: drop-shadow(0 0 40px rgba(0, 228, 0, 0.2));
}

/* Section Character Float */
.section-char-float {
  position: absolute;
  z-index: 3;
  opacity: 0.85;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.4));
}

/* Game Card Character Badge */
.game-char-badge {
  position: absolute;
  top: -15px;
  right: -10px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #f3ba2f;
  box-shadow: 0 4px 15px rgba(243, 186, 47, 0.3);
  z-index: 15;
}

/* VIP Ribbon */
.vip-ribbon {
  position: absolute;
  top: 15px;
  left: -35px;
  background: linear-gradient(135deg, #f3ba2f, #ffd700);
  color: #0a1510;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 40px;
  transform: rotate(-45deg);
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Animated Border Card */
.animated-border {
  position: relative;
  background: #0d1f14;
  border-radius: 16px;
}

.animated-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(45deg, #f3ba2f, transparent, #00e400, transparent, #f3ba2f);
  background-size: 400% 400%;
  animation: gradient-shift 4s ease infinite;
  z-index: -1;
}

/* Character Showcase Row */
.char-showcase {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
}

.char-showcase img {
  transition: transform 0.3s ease;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
}

.char-showcase img:hover {
  transform: translateY(-10px) scale(1.05);
}

/* Neon Text Effect - Gold */
.neon-text {
  text-shadow: 
    0 0 7px rgba(243, 186, 47, 0.5),
    0 0 10px rgba(243, 186, 47, 0.3),
    0 0 21px rgba(243, 186, 47, 0.2);
}

/* Green Neon */
.neon-text-green {
  text-shadow: 
    0 0 7px rgba(0, 228, 0, 0.5),
    0 0 10px rgba(0, 228, 0, 0.3),
    0 0 21px rgba(0, 228, 0, 0.2);
}

@media (max-width: 768px) {
  .hero-char-left,
  .hero-char-right {
    display: none;
  }
  
  .section-char-float {
    display: none;
  }
}

/* ===== SPIN WHEEL ===== */
.wheel-container {
  will-change: transform;
  transform-origin: center center;
}

.wheel-container.spinning {
  pointer-events: none;
}

.wheel-segment-text {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  fill: #0a1a0f;
  pointer-events: none;
}

.wheel-segment-text-light {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 10px;
  fill: #ffffff;
  pointer-events: none;
}

@keyframes wheel-glow-pulse {
  0%, 100% { filter: drop-shadow(0 0 15px rgba(243, 186, 47, 0.3)); }
  50% { filter: drop-shadow(0 0 30px rgba(243, 186, 47, 0.6)); }
}

.wheel-container:not(.spinning) {
  animation: wheel-glow-pulse 2s ease-in-out infinite;
}

/* Marquee lights around wheel edge */
.wheel-light {
  transition: fill 0.15s ease;
}

@keyframes marquee-chase {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

.wheel-light-on {
  animation: marquee-chase 0.4s ease-in-out infinite;
}

@keyframes spin-result-bounce {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.spin-result-anim {
  animation: spin-result-bounce 0.5s ease-out forwards;
}

/* ===== MODAL STYLES ===== */
.modal-content {
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ===== BET SLIP ODDS HIGHLIGHT ===== */
.odds-btn.ring-2 {
  box-shadow: 0 0 0 2px rgba(243, 186, 47, 0.5);
}

/* ===== TOAST ANIMATION ===== */
@keyframes toastSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes toastSlideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* ===== HERO SLIDESHOW ===== */
.hero-slideshow {
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 6s ease-out;
}

.hero-slide.active img {
  transform: scale(1);
}

/* Slide Indicators */
.slide-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slide-dot:hover {
  background: rgba(243, 186, 47, 0.5);
  border-color: rgba(243, 186, 47, 0.8);
}

.slide-dot.active {
  background: #f3ba2f;
  border-color: #f3ba2f;
  box-shadow: 0 0 8px rgba(243, 186, 47, 0.6);
  transform: scale(1.2);
}
