/* Enhanced Lobby Styles - Main Color: #cc0000 (Bold Red) */

:root {
  /* Primary Red Palette */
  --primary-color: #cc0000;        /* bold red */
  --primary-dark:  #990000;        /* deep dark red */
  --primary-light: #e63333;        /* soft light red */
  --primary-glow:  #dd1a1a;        /* red glow */

  /* Secondary & Accent Colors */
  --secondary-color: #00bfa6;      /* teal accent - complementary to red */
  --accent-purple: #9333ea;        /* deep purple for contrast */
  --accent-cyan: #06b6d4;          /* cyan for cool balance */

  /* Dark Background Palette - Cool Red Tones */
  --dark-bg:   #1a0a0a;            /* deep red-tinted charcoal */
  --darker-bg: #0f0505;            /* almost black with red undertone */
  --medium-bg: #2d1010;            /* medium dark red-brown */
  --card-bg:   rgba(204, 0, 0, 0.06);  /* subtle red tint */

  /* Text Colors */
  --text-light: #ffffff;
  --text-muted: #d4a0a0;           /* muted pinkish text */
  --text-red: #ff6666;          /* light red for emphasis */

  /* Status Colors */
  --success-color: #22c55e;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;

  /* Gradients */
  --gradient-1: linear-gradient(135deg, #cc0000 0%, #dd1a1a 50%, #e63333 100%);
  --gradient-2: linear-gradient(135deg, rgba(204, 0, 0, 0.15) 0%, rgba(230, 51, 51, 0.08) 100%);
  --gradient-3: linear-gradient(180deg, rgba(204, 0, 0, 0.2) 0%, rgba(26, 15, 10, 0.9) 100%);
  --gradient-radial: radial-gradient(circle at top right, rgba(204, 0, 0, 0.15), transparent 60%);
  
  /* Shadows with Red Glow */
  --shadow-red-sm: 0 2px 8px rgba(204, 0, 0, 0.15);
  --shadow-red-md: 0 4px 20px rgba(204, 0, 0, 0.2);
  --shadow-red-lg: 0 8px 40px rgba(204, 0, 0, 0.25);
  --shadow-red-xl: 0 12px 60px rgba(204, 0, 0, 0.3);
}

/* Body & General Styles */
body {
  background: var(--dark-bg) !important;
  color: var(--text-light) !important;
  font-family: 'Inter', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Multi-layered Background Effects */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-radial);
  pointer-events: none;
  z-index: 0;
}

/* Animated Red Circuit Pattern */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M60 0v30M60 90v30M0 60h30M90 60h30M30 30l21 21M69 69l21 21M30 90l21-21M69 51l21-21' stroke='%23cc0000' stroke-width='1' opacity='0.1' fill='none'/%3E%3Ccircle cx='60' cy='60' r='8' fill='%23cc0000' opacity='0.15'/%3E%3Ccircle cx='30' cy='30' r='4' fill='%23dd1a1a' opacity='0.2'/%3E%3Ccircle cx='90' cy='90' r='4' fill='%23dd1a1a' opacity='0.2'/%3E%3Ccircle cx='30' cy='90' r='4' fill='%23e63333' opacity='0.15'/%3E%3Ccircle cx='90' cy='30' r='4' fill='%23e63333' opacity='0.15'/%3E%3C/svg%3E");
  background-size: 120px 120px;
  animation: circuitMove 40s linear infinite;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

@keyframes circuitMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 120px 120px;
  }
}

/* Floating Particles - Orange Energy Orbs */
@keyframes orbFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  33% {
    transform: translate(40px, -30px) scale(1.2);
    opacity: 0.5;
  }
  66% {
    transform: translate(-30px, 40px) scale(0.9);
    opacity: 0.4;
  }
}

.floating-icon {
  position: fixed;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, var(--primary-light), var(--primary-color));
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.2;
  animation: orbFloat 25s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.floating-icon:nth-child(1) {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 25s;
}

.floating-icon:nth-child(2) {
  top: 60%;
  left: 15%;
  animation-delay: 5s;
  animation-duration: 30s;
}

.floating-icon:nth-child(3) {
  top: 25%;
  right: 12%;
  animation-delay: 3s;
  animation-duration: 28s;
}

.floating-icon:nth-child(4) {
  top: 70%;
  right: 8%;
  animation-delay: 7s;
  animation-duration: 23s;
}

.floating-icon:nth-child(5) {
  top: 45%;
  left: 5%;
  animation-delay: 10s;
  animation-duration: 26s;
}

.floating-icon:nth-child(6) {
  top: 80%;
  right: 20%;
  animation-delay: 4s;
  animation-duration: 24s;
}

/* Header Enhancement - Orange Theme */
header {
  background: rgba(15, 8, 5, 0.98) !important;
  backdrop-filter: blur(15px);
  border-bottom: 2px solid rgba(204, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(204, 0, 0, 0.2), 0 0 60px rgba(204, 0, 0, 0.1);
}

header .container {
  display: flex;
  justify-content: center;
}

header .row {
  margin: 0 auto;
}

.main-logo {
  filter: drop-shadow(0 3px 12px rgba(204, 0, 0, 0.5));
  transition: transform 0.3s ease, filter 0.3s ease;
  display: block;
  margin: 0 auto;
}

.main-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 20px rgba(204, 0, 0, 0.8));
}

/* Desktop Login Form Enhancement */
.header-login-input {
  background: rgba(204, 0, 0, 0.08) !important;
  border: 1px solid rgba(204, 0, 0, 0.3) !important;
  color: var(--text-light) !important;
  transition: all 0.3s ease;
  height: 45px !important;
  font-size: 14px !important;
}

.header-login-input:focus {
  background: rgba(204, 0, 0, 0.12) !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.15), 0 0 20px rgba(204, 0, 0, 0.2) !important;
}

.header-login-input::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

.btn-login {
  background: var(--gradient-1) !important;
  border: none !important;
  height: 38px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-red-md);
  width: 282px !important;
  font-size: 0.9rem !important;
  border-radius: 8px !important;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-red-lg);
  background: linear-gradient(135deg, #e63333 0%, #cc0000 100%) !important;
}

.btn-login:active {
  transform: translateY(0);
}

#wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Hero Section */
.hero-section {
  padding: 1rem 0;
  min-height: auto;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section .container {
  width: 100%;
}

.hero-section .row {
  align-items: center;
  justify-content: center;
}

.hero-section .row {
  min-height: auto;
  align-items: center;
}

.main-carousel {
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(204, 0, 0, 0.4);
  position: relative;
}

.main-carousel .carousel-inner {
  width: 100%;
  display: block;
  position: relative;
}

.main-carousel .carousel-item {
  display: none;
  padding: 0;
  margin: 0;
}

.main-carousel .carousel-item.active {
  display: block;
}

.main-carousel .carousel-item img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
}

.carousel-control-prev,
.carousel-control-next {
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border: none !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  opacity: 1 !important;
  transition: all 0.3s ease !important;
  position: absolute !important;
  z-index: 10 !important;
  margin: 0 !important;
  padding: 12px !important;
}

.carousel-control-prev {
  left: 15px !important;
}

.carousel-control-next {
  right: 15px !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: transparent !important;
  background-image: none !important;
  width: 30px !important;
  height: 30px !important;
  position: relative;
}

.carousel-control-prev-icon::before,
.carousel-control-next-icon::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-top: 3px solid var(--primary-light);
  border-right: 3px solid var(--primary-light);
  top: 50%;
  left: 50%;
  filter: drop-shadow(0 2px 10px rgba(204, 0, 0, 0.9));
}

.carousel-control-prev-icon::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.carousel-control-next-icon::before {
  transform: translate(-70%, -50%) rotate(45deg);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1 !important;
  transform: translateY(-50%) scale(1.2) !important;
}

.carousel-control-prev:hover .carousel-control-prev-icon::before,
.carousel-control-next:hover .carousel-control-next-icon::before {
  filter: drop-shadow(0 0 20px rgba(204, 0, 0, 1)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
  border-color: white;
}

/* Desktop Login Card - Orange Theme */
.desktop-login-card {
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.12) 0%, rgba(45, 24, 16, 0.8) 100%);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(204, 0, 0, 0.35);
  border-radius: 24px;
  padding: 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: auto;
  max-width: 400px;
  margin-left: auto;
  position: relative;
  overflow: hidden;
}

/* Card glow effect */
.desktop-login-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(204, 0, 0, 0.08) 0%, transparent 70%);
  animation: cardPulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cardPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

.desktop-login-input {
  background: rgba(204, 0, 0, 0.08) !important;
  border: 1.5px solid rgba(204, 0, 0, 0.3) !important;
  color: var(--text-light) !important;
  height: 50px !important;
  font-size: 15px !important;
  border-radius: 12px !important;
  transition: all 0.3s ease;
  padding: 0 1.25rem !important;
  width: 100% !important;
  max-width: 100% !important;
}

.desktop-login-card .form-control {
  background: rgba(204, 0, 0, 0.08) !important;
  border: 1.5px solid rgba(204, 0, 0, 0.3) !important;
  color: var(--text-light) !important;
  height: 50px !important;
  font-size: 15px !important;
  border-radius: 12px !important;
  transition: all 0.3s ease;
  padding: 0 1.25rem !important;
  width: 100% !important;
  max-width: 100% !important;
}

.desktop-login-card .mb-3 {
  margin-bottom: 1.25rem !important;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.desktop-login-card form {
  width: 100%;
  max-width: 320px;
  position: relative;
  z-index: 1;
}

.desktop-login-input:focus,
.desktop-login-card .form-control:focus {
  background: rgba(204, 0, 0, 0.15) !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 4px rgba(204, 0, 0, 0.2) !important;
  transform: translateY(-1px);
}

.desktop-login-input::placeholder,
.desktop-login-card .form-control::placeholder {
  color: rgba(255, 255, 255, 0.35) !important;
}

/* Mobile Login Card - Orange Theme */
.mobile-login-card {
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.12) 0%, rgba(45, 24, 16, 0.8) 100%);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(204, 0, 0, 0.35);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.mobile-login-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(204, 0, 0, 0.08) 0%, transparent 70%);
  animation: cardPulse 4s ease-in-out infinite;
  pointer-events: none;
}

.mobile-login-card > * {
  position: relative;
  z-index: 1;
}

.mobile-login-card .mb-3 {
  margin-bottom: 0.75rem !important;
}

.mobile-login-card .mb-3:has(#myWidget2) {
  margin-bottom: 0.5rem !important;
}

.login-title {
  color: var(--text-light);
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 10px rgba(204, 0, 0, 0.3));
}

.mobile-login-input {
  background: rgba(204, 0, 0, 0.08) !important;
  border: 1.5px solid rgba(204, 0, 0, 0.3) !important;
  color: var(--text-light) !important;
  height: 50px !important;
  font-size: 15px !important;
  border-radius: 12px !important;
  transition: all 0.3s ease;
  margin-bottom: 0 !important;
}

.mobile-login-input:focus {
  background: rgba(204, 0, 0, 0.15) !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 4px rgba(204, 0, 0, 0.2) !important;
  transform: translateY(-1px);
}

.mobile-login-input::placeholder {
  color: rgba(255, 255, 255, 0.35) !important;
}

.invalid-feedback-mobile,
.invalid-feedback-desktop {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 10px;
  padding: 0.6rem;
  margin-top: 0.5rem;
  text-align: center;
  display: none;
  transition: opacity 0.3s ease;
}

.invalid-feedback-mobile.show,
.invalid-feedback-desktop.opacity-1 {
  display: block;
  opacity: 1;
}

/* Login Button - Enhanced Orange Design */
.btn-login-modern {
  background: var(--gradient-1) !important;
  border: none !important;
  height: 50px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px;
  font-size: 15px !important;
  border-radius: 12px !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}

.desktop-login-card .btn-login-modern {
  width: 100% !important;
  max-width: 100% !important;
  height: 50px !important;
  font-size: 15px !important;
}

/* Shimmer effect on button */
.btn-login-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-login-modern:hover::before {
  left: 100%;
}

.btn-login-modern:hover {
  transform: translateY(-3px) scale(1.02);
  background: linear-gradient(135deg, #e63333 0%, #dd1a1a 50%, #cc0000 100%) !important;
}

.btn-login-modern:active {
  transform: translateY(0) scale(0.98);
}

.btn-login-modern:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* CAPTCHA Container */
#myWidget,
#myWidget2,
#myWidget3,
#myWidget4 {
  margin: 0 auto !important;
  max-width: 300px !important;
  width: 300px !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

#myWidget > div,
#myWidget2 > div,
#myWidget3 > div,
#myWidget4 > div {
  margin: 0 auto !important;
}

#myWidget iframe,
#myWidget2 iframe,
#myWidget3 iframe,
#myWidget4 iframe {
  max-width: 100% !important;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

/* Sports Features Section */
.sports-features {
  padding: 4rem 0;
  background: var(--gradient-2);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  color: var(--text-light);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.title-underline {
  width: 80px;
  height: 4px;
  background: var(--gradient-1);
  margin: 0 auto;
  border-radius: 2px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 110, 230, 0.2);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 12px 35px rgba(0, 110, 230, 0.25);
  background: rgba(0, 110, 230, 0.08);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  box-shadow: 0 8px 20px rgba(0, 110, 230, 0.3);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(0, 110, 230, 0.5);
}

.feature-card h3 {
  color: var(--text-light);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Sports Icons Row */
.sports-icons-row {
  margin-top: 3rem;
}

.sport-icon-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 110, 230, 0.15);
  border-radius: 12px;
  padding: 2rem 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.sport-icon-card:hover {
  background: rgba(0, 110, 230, 0.1);
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 110, 230, 0.2);
}

.sport-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.sport-icon-card:hover .sport-icon {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%) hue-rotate(187deg) brightness(119%) contrast(119%);
  transform: scale(1.1);
}

.sport-name {
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

/* Sports Banners Section */
.sports-banners {
  padding: 2rem 0 3rem;
}

/* Mobile Carousel */
@media (max-width: 767px) {
  .sports-banners {
    padding: 1rem 0 2rem;
  }
}

/* Mobile Sports Marquee */
.sports-marquee {
  padding: 1.5rem 0 0 0;
  overflow: hidden;
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.marquee-track {
  display: flex;
  overflow: visible;
  user-select: none;
  width: 100%;
}

.marquee-content {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  white-space: nowrap;
  animation: marquee-scroll 30s linear infinite;
}

.sport-ball {
  font-size: 1.5rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
  animation: bounce 1.2s ease-in-out infinite;
  display: inline-block;
}

.sport-ball:nth-child(1) { animation-delay: 0s; }
.sport-ball:nth-child(2) { animation-delay: 0.1s; }
.sport-ball:nth-child(3) { animation-delay: 0.2s; }
.sport-ball:nth-child(4) { animation-delay: 0.3s; }
.sport-ball:nth-child(5) { animation-delay: 0.4s; }
.sport-ball:nth-child(6) { animation-delay: 0.5s; }
.sport-ball:nth-child(7) { animation-delay: 0.6s; }
.sport-ball:nth-child(8) { animation-delay: 0.7s; }
.sport-ball:nth-child(9) { animation-delay: 0.8s; }
.sport-ball:nth-child(10) { animation-delay: 0.9s; }
.sport-ball:nth-child(11) { animation-delay: 1s; }
.sport-ball:nth-child(12) { animation-delay: 1.1s; }
.sport-ball:nth-child(13) { animation-delay: 0s; }
.sport-ball:nth-child(14) { animation-delay: 0.1s; }
.sport-ball:nth-child(15) { animation-delay: 0.2s; }
.sport-ball:nth-child(16) { animation-delay: 0.3s; }
.sport-ball:nth-child(17) { animation-delay: 0.4s; }
.sport-ball:nth-child(18) { animation-delay: 0.5s; }
.sport-ball:nth-child(19) { animation-delay: 0.6s; }
.sport-ball:nth-child(20) { animation-delay: 0.7s; }
.sport-ball:nth-child(21) { animation-delay: 0.8s; }
.sport-ball:nth-child(22) { animation-delay: 0.9s; }
.sport-ball:nth-child(23) { animation-delay: 1s; }
.sport-ball:nth-child(24) { animation-delay: 1.1s; }

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

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

/* Sport Banner Cards - Orange Theme */
.sport-banner-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(204, 0, 0, 0.4);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 15, 10, 0.6);
}

.sport-banner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(204, 0, 0, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.sport-banner-card:hover::before {
  opacity: 1;
}

.sport-banner-card:hover {
  transform: translateY(-12px) scale(1.03);
  border-color: var(--primary-light);
}

.sport-banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
  position: relative;
  z-index: 0;
}

.sport-banner-card:hover img {
  transform: scale(1.1);
  filter: brightness(1.1) contrast(1.1);
}

.sport-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(26, 15, 10, 0.6) 50%, transparent 100%);
  padding: 2.5rem 2rem 1.75rem;
  transform: translateY(0);
  transition: all 0.5s ease;
  z-index: 2;
}

.sport-banner-card:hover .sport-banner-overlay {
  background: linear-gradient(to top, rgba(204, 0, 0, 0.95) 0%, rgba(204, 0, 0, 0.7) 50%, rgba(204, 0, 0, 0.2) 100%);
  padding-bottom: 2rem;
}

.sport-banner-title {
  color: white;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.9), 0 0 30px rgba(204, 0, 0, 0.5);
  transition: all 0.4s ease;
  position: relative;
}

.sport-banner-card:hover .sport-banner-title {
  transform: translateY(-8px) scale(1.05);
  letter-spacing: 4px;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 1), 0 0 40px rgba(255, 255, 255, 0.8);
}

/* Footer - Orange Theme */
.main-footer {
  background: transparent !important;
  border-top: none;
  padding: 1.5rem 0;
}

.main-footer .container {
  background: transparent !important;
  border-top: 2px solid rgba(204, 0, 0, 0.2);
  padding-top: 1.5rem;
}

.footer-content {
  text-align: center;
  background: transparent !important;
}

.copyright-text {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
  opacity: 0.7;
}

/* Loading Animation - Orange */
.lds-ring {
  background-color: transparent !important;
  margin: 0 auto 1rem !important;
}

.lds-ring div {
  border-color: var(--primary-color) transparent transparent transparent !important;
  box-shadow: 0 0 10px rgba(204, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 991px) {
  .section-title {
    font-size: 2rem;
  }
  
  .feature-card {
    margin-bottom: 1rem;
  }
  
  .hero-section {
    padding: 1rem 0 0rem;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }
  
  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 1.75rem;
  }
  
  .feature-card h3 {
    font-size: 1.25rem;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }
  
  .carousel-control-prev {
    left: 10px;
  }
  
  .carousel-control-next {
    right: 10px;
  }
}

@media (max-width: 576px) {
  .mobile-login-card {
    padding: 2rem 1.5rem;
  }
  
  .login-title {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .sports-features {
    padding: 3rem 0;
  }
  
  .sport-icon {
    width: 50px;
    height: 50px;
  }
  
  .sport-icon-card {
    padding: 1.5rem 0.75rem;
  }
}

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

.feature-card,
.sport-icon-card {
  animation: fadeInUp 0.6s ease-out;
}

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

/* Cloudflare Turnstile Styling */
#myWidget,
#myWidget2 {
  display: flex;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
}

#myWidget {
  justify-content: flex-end;
}

#myWidget2 {
  justify-content: center;
}

/* Hero Section Medium - Tablets/Small Laptops (992px - 1199px) */
.hero-section-medium {
  padding: 1.5rem 0;
  min-height: auto;
  position: relative;
  overflow: hidden;
}

.sports-banners-medium-container {
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-section-medium .sport-banner-card {
  width: 100%;
  height: 100%;
}

/* Ensure login card maintains fixed width on medium screens */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero-section-medium .desktop-login-card {
    min-width: 360px;
    max-width: 360px;
    padding: 2rem 1.75rem;
    height: auto;
  }
  
  .hero-section-medium .desktop-login-card form {
    width: 100%;
    max-width: 100%;
  }
  
  .hero-section-medium .desktop-login-input {
    height: 48px !important;
    font-size: 14px !important;
  }
  
  .hero-section-medium #myWidget3 {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  
  .hero-section-medium #myWidget3 > div {
    margin: 0 auto;
  }
  
  /* Sports banners container matches login card height */
  .sports-banners-medium-container {
    min-height: 400px;
  }
  
  /* Left column banner - larger, centered vertically */
  .hero-section-medium .sport-banner-left {
    height: 300px;
    max-height: 300px;
    flex-shrink: 0;
  }
  
  /* Right column banners - smaller, stacked with gap */
  .hero-section-medium .sport-banner-right {
    height: 142px;
    max-height: 142px;
    flex-shrink: 0;
  }
  
  /* Right column container with proper flex */
  .hero-section-medium .col-6 .d-flex.flex-column {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    height: 100% !important;
  }
  
  .hero-section-medium .sport-banner-title {
    font-size: 1rem;
    letter-spacing: 1.5px;
  }
  
  .hero-section-medium .sport-banner-overlay {
    padding: 1.25rem 1rem 0.75rem;
  }
  
  .hero-section-medium .sport-banner-card img {
    object-fit: cover;
    height: 100%;
  }
}

/* Mobile Section - (< 768px) */
.mobile-section {
  padding: 1.5rem 0 1rem 0;
}

/* Hero Section Tablet Portrait - (768px-991px) */
.hero-section-tablet {
  padding: 1.5rem 0;
}

/* Hide any side banners that shouldn't be in tablet portrait */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-section-tablet .col-3 {
    display: none !important;
  }
}

.hero-section-tablet .tablet-login-card {
  max-width: 450px;
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 768px) and (max-width: 991px) {
  /* Sports banners container */
  .hero-section-tablet .container {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Sports banners row - ensure proper spacing */
  .hero-section-tablet .row.g-3 {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    display: flex;
    flex-wrap: nowrap;
  }
  
  .hero-section-tablet .row.g-3 .col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  .hero-section-tablet .sport-banner-card {
    height: 150px;
    width: 100%;
    overflow: hidden;
  }
  
  .hero-section-tablet .sport-banner-card img {
    object-fit: cover;
    height: 100%;
    width: 100%;
  }
  
  .hero-section-tablet .sport-banner-title {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
  }
  
  .hero-section-tablet .sport-banner-overlay {
    padding: 0.75rem 0.5rem 0.5rem;
  }
  
  #myWidget4 {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  
  #myWidget4 > div {
    margin: 0 auto;
  }
}

/* Desktop CAPTCHA container */
@media (min-width: 992px) {
  #myWidget {
    padding-right: 0;
  }
  
  #myWidget3 {
    padding-right: 0;
  }
}

/* Remove old styles that conflict */
.container-wallpaper {
  background: transparent !important;
}

.dishes {
  display: none;
}

#sub-footer2 {
  display: none;
}
