/********** Template CSS **********/
:root {
  --primary: #e410f2;
  --light: #effff8;
  --dark: #340c74;
}

.fw-medium {
  font-weight: 500 !important;
}

.fw-semi-bold {
  font-weight: 600 !important;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-weight: 500;
  text-transform: uppercase;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #ffffff;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 2px;
}

/*** Header ***/
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(61, 61, 61, 0.6);
  z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
}

@media (max-width: 768px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.page-header {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-header-inner {
  background: rgba(15, 23, 43, 0.7);
}

.breadcrumb-item+.breadcrumb-item::before {
  color: var(--light);
}

.booking {
  position: relative;
  margin-top: -100px !important;
  z-index: 1;
}

.footer {
  background: linear-gradient(180deg, var(--bg-footer) 0%, #0a0f1f 100%);
  color: var(--text-light);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.footer-logo {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(45deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
}

.footer-logo::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-helpline {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 3rem;
  transition: all 0.3s;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  display: inline-block;
}

.footer-helpline:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.partners-section {
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem 0;
  margin-bottom: 3rem;
  position: relative;
  backdrop-filter: blur(10px);
}

.partners-section::before,
.partners-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.partners-section::before {
  top: 0;
}

.partners-section::after {
  bottom: 0;
}

.partners-title, .payment-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding: 0 1rem;
}

.partners-title::before,
.payment-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

.partners-title::after,
.payment-title::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 20px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

.partners-logos, .payment-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.partner-logo, .payment-logo {
  height: 45px;
  filter: grayscale(100%) brightness(200%);
  opacity: 0.6;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.partner-logo:hover, .payment-logo:hover {
  filter: grayscale(0%) brightness(100%);
  opacity: 1;
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
}

.payment-logo {
  height: 35px;
}

.footer-nav {
  text-align: center;
  margin: 3rem 0;
  position: relative;
}

.footer-nav::before {
  content: '';
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.5;
}

.footer-nav a {
  display: inline-block;
  color: var(--text-light);
  text-decoration: none;
  margin: 0 1.5rem;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
  padding: 0.5rem 0;
}

.footer-nav a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.footer-nav a:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.5;
}

.age-warning {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.age-warning::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.age-icon {
  min-width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, var(--accent), #bf7d2c);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.4rem;
  box-shadow: 0 4px 15px rgba(228, 16, 242, 0.2);
  position: relative;
  z-index: 1;
}

.age-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.disclaimer-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.disclaimer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.disclaimer-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  text-align: justify;
}

.copyright {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 3rem;
  padding-top: 2rem;
  position: relative;
}

.copyright::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Gradient border */
.gradient-divider {
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 2rem 0;
  opacity: 0.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer {
    padding: 3rem 0 1.5rem;
  }
  
  .footer-nav a {
    margin: 0 0.75rem;
    font-size: 0.9rem;
  }
  
  .footer-nav a:not(:last-child)::after {
    right: -0.75rem;
  }
  
  .age-warning {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1.5rem;
  }
  
  .partners-logos, .payment-logos {
    gap: 1.5rem;
  }
  
  .partner-logo {
    height: 35px;
  }
  
  .payment-logo {
    height: 30px;
  }
  
  .disclaimer-text {
    font-size: 0.95rem;
    text-align: left;
  }
}

/* Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

@media (max-width: 700px) {
  .cookie-wrapper {
    width: 100%;
  }
}

.cookie-wrapper {
  position: fixed;
  bottom: 0px;
  right: 0;
  width: 40%;
  background: #fff;
  padding: 15px 25px 22px;
  transition: right 0.3s ease;
  box-shadow: 0 5px 10px rgb(0, 0, 0);
  z-index: 999;

  @media (max-width: 600px) {
    width: 100%;
  }
}

.cookie-wrapper .show {
  right: 20px;
}

.hidden {
  display: none;
}

header i {
  color: #e410f2;
  font-size: 32px;
  text-align: center;
}

header h2 {
  color: #e410f2;
  font-weight: 500;
  text-align: center;
}

.data {
  text-align: center;
}

.data p a {
  color: #e410f2;
  text-decoration: none;
  text-align: center !important;
}

.data p a:hover {
  text-decoration: underline;
}

.buttons {
  padding: 20px 0px;
  text-align: center;
}

.buttons .cookie-button {
  border: 2px solid #e410f2;
  color: #fff;
  padding: 8px 0;
  background: #e410f2;
  cursor: pointer;
  width: calc(100% / 2 - 10px);
  transition: all 0.5s ease;
  max-width: 150px;
  border-radius: 0;
}

.buttons #acceptBtn:hover {
  background-color: transparent;
  color: #e410f2;
}

#declineBtn {
  background-color: #fff;
  color: #e410f2;
}

#declineBtn:hover {
  background-color: #e410f2;
  color: #fff;
}

/* Footer Style */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* new styles  */

:root {
  --bg-dark: #121212;
  --accent: #e410f2;
  --text-light: #f0f0f0;
  --bg-card: #1e1e1e;
  --live-yellow: #FFC107;
  --live-green: #4CAF50;
  --live-purple: #9C27B0;
  --border-color: rgba(255, 255, 255, 0.1);
  --text-light: #f0f0f0;
  --text-muted: #b0b0b0;
  --border-color: rgba(255, 255, 255, 0.1);
  --bg-footer: #131836;

}

.navbar {
  background: linear-gradient(to right, rgba(18, 18, 18, 0.95), rgba(28, 28, 28, 0.95));
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.5px;
  font-size: 1.4rem;
}

.nav-link {
  color: var(--text-light) !important;
  margin: 0 0.75rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--accent) !important;
  transform: translateY(-1px);
}

.btn-accent {
  background: linear-gradient(45deg, var(--accent),#bf7d2c);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.6rem 1.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 16, 242, 0.2);
}

.btn-accent:hover {
  background: linear-gradient(45deg,#bf7d2c, var(--accent));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 16, 242, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0.6rem 1.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: 0.5s;
}

.btn-outline:hover::before {
  left: 100%;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: none;
  position: relative;
  width: 24px;
  height: 2px;
  background-color: var(--text-light);
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--text-light);
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
  transform: translateY(-8px);
}

.navbar-toggler-icon::after {
  transform: translateY(8px);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(228, 16, 242, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(191, 125, 44, 0.15) 0%, transparent 50%);
  animation: pulse 8s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 18, 18, 0.6), rgba(18, 18, 18, 0.8)), url('../img/main-hero-section.jpg') no-repeat center center;
  background-size: cover;
  filter: brightness(0.7);
}

@keyframes pulse {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }
  100% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.hero-content:hover {
  transform: translateY(-5px);
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0;
  background: linear-gradient(45deg, #fff, #e410f2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  position: relative;
  display: inline-block;
}

.hero-content h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content {
    padding: 1.5rem;
  }
}

/* Modal styles */

.modal-content {
  background: linear-gradient(145deg, #ffffff, #f5f5f5);
  color: #333;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border: none;
  overflow: hidden;
  position: relative;
}

.modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent),#bf7d2c);
}

.modal-header {
  border-bottom: none;
  padding: 2rem 2rem 1rem;
  position: relative;
}

.modal-title {
  font-weight: 800;
  font-size: 2rem;
  color: #121212;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
}

.modal-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.btn-close {
  color: #121212;
  opacity: 0.7;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
  margin: -0.5rem -0.5rem -0.5rem auto;
  border-radius: 50%;
}

.btn-close:hover {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.05);
  transform: rotate(90deg);
}

.form-control {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 2px solid #e0e0e0;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(102, 16, 242, 0.1);
  background-color: #fff;
}

.form-control::placeholder {
  color: #adb5bd;
  font-weight: 500;
}

.invalid-feedback {
  font-size: 0.875rem;
  color: #dc3545;
  margin-top: -0.75rem;
  margin-bottom: 1rem;
  padding-left: 0.5rem;
}

.modal-body {
  padding: 1.5rem 2rem;
}

.modal-footer {
  border-top: none;
  padding: 0 2rem 2rem;
}

.btn-login {
  background: linear-gradient(45deg, var(--accent),#bf7d2c);
  color: white;
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-login::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: 0.5s;
}

.btn-login:hover::before {
  left: 100%;
}

.btn-login:hover {
  background: linear-gradient(45deg,#bf7d2c, var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 16, 242, 0.3);
}

/* Animation for modal */
.modal.fade .modal-dialog {
  transform: scale(0.8);
  transition: transform 0.3s ease-in-out;
}

.modal.show .modal-dialog {
  transform: scale(1);
}

/* Custom scrollbar for modal */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background:#bf7d2c;
}

/* Media queries */

.section-title p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin: 1.5rem auto 0;
  border-radius: 2px;
}

.page-title {
  position: relative;
  padding: 3rem 0;
  margin-bottom: 4rem;
  background: linear-gradient(135deg, rgba(228, 16, 242, 0.1) 0%, rgba(191, 125, 44, 0.1) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.page-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(228, 16, 242, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(191, 125, 44, 0.1) 0%, transparent 50%);
  animation: titlePulse 8s ease-in-out infinite alternate;
}

.page-title h1 {
  font-size: 3.5rem;
  font-weight: 800;
  text-align: center;
  margin: 0;
  background: linear-gradient(45deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 2rem;
}

.page-title h1::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
}

.page-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent,
    rgba(228, 16, 242, 0.3),
    rgba(191, 125, 44, 0.3),
    transparent
  );
}

@keyframes titlePulse {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }
  100% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

@media (max-width: 768px) {
  .page-title {
    padding: 2rem 0;
    margin-bottom: 3rem;
  }
  
  .page-title h1 {
    font-size: 2.5rem;
    padding: 0 1rem;
  }
}

/* racing-dashboard  */
:root {
  --bg-primary: #1a1a2e;
  --bg-secondary: #16213e;
  --accent-purple: #e94560;
  --accent-gold: #f39c12;
  --text-light: #f0f0f0;
  --border-color: rgba(233, 69, 96, 0.2);
}

.racing-dashboard {
  padding: 80px 0;
  background: url('./img/racing-bg-pattern.webp') center/cover no-repeat;
  position: relative;
}

.racing-dashboard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.8) 100%);
}

.container {
  position: relative;
  z-index: 2;
}

.race-panel {
  background: linear-gradient(145deg, rgba(22, 33, 62, 0.95) 0%, rgba(26, 26, 46, 0.9) 100%);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
  box-shadow: 0 20px 60px rgba(233, 69, 96, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.race-panel:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 80px rgba(233, 69, 96, 0.25);
  border-color: var(--accent-purple);
}

.race-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(233, 69, 96, 0.1);
}

.race-title {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-purple), #ff6b9d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.race-location {
  font-size: 1rem;
  color: rgba(240, 240, 240, 0.8);
  margin-top: 8px;
  font-weight: 600;
}

.live-badge {
  background: linear-gradient(45deg, var(--accent-purple), #ff6b9d);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 8px 20px rgba(233, 69, 96, 0.4);
  position: relative;
  overflow: hidden;
}

.live-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shine 2s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.horses-grid {
  display: grid;
  gap: 16px;
}

.horse-row {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(233, 69, 96, 0.1);
  border-radius: 12px;
  padding: 20px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
  position: relative;
}

.horse-row:hover {
  background: rgba(233, 69, 96, 0.08);
  border-color: var(--accent-purple);
  transform: translateX(8px);
}

.horse-number {
  background: linear-gradient(135deg, var(--accent-purple), #ff6b9d);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 6px 15px rgba(233, 69, 96, 0.3);
  position: relative;
}

.status-indicator {
  width: 10px;
  height: 10px;
  background: #00ff88;
  border-radius: 50%;
  position: absolute;
  top: -2px;
  right: -2px;
  border: 2px solid var(--bg-secondary);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { 
      box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
      transform: scale(1);
  }
  50% { 
      box-shadow: 0 0 0 8px rgba(0, 255, 136, 0);
      transform: scale(1.1);
  }
}

.horse-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-light);
}

.odds-section {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
}

.op-odds {
  color: rgba(240, 240, 240, 0.6);
  font-weight: 500;
}

.win-odds {
  display: flex;
  align-items: center;
  gap: 8px;
}

.win-label {
  color: rgba(240, 240, 240, 0.7);
  font-weight: 600;
}

.win-value {
  background: linear-gradient(135deg, var(--accent-gold), #f1c40f);
  color: #000;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
  min-width: 60px;
  text-align: center;
}

@media (max-width: 768px) {
  .race-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
  }
  
  .horse-row {
      grid-template-columns: auto 1fr;
      gap: 12px;
  }
  
  .odds-section {
      grid-column: span 2;
      justify-content: space-between;
      margin-top: 8px;
  }
  
  .race-title {
      font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .racing-dashboard {
      padding: 40px 0;
  }
  
  .race-panel {
      padding: 24px;
      margin-bottom: 24px;
  }
  
  .odds-section {
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
  }
}