@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
  --bg-dark: #070b1e;
  --bg-card: #0e1b38;
  --bg-card-hover: #142248;
  --gold: #f5a623;
  --gold-hover: #d98e0f;
  --text-white: #ffffff;
  --text-muted: #8a8aa8;
  --border-gold: rgba(245, 166, 35, 0.28);
  --border-gold-focus: rgba(245, 166, 35, 0.55);
  --success: #28a745;
  --danger: #dc3545;
  --radius: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Base Styles */
body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-white);
}

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

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-hover);
}

/* Layout Utilities */
.section-padding {
  padding: 60px 0;
}

/* Gold Text Gradient */
.gold-text {
  background: linear-gradient(135deg, #f5a623 0%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-muted-custom {
  color: var(--text-muted) !important;
}

/* Navbar */
.navbar-custom {
  background-color: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-gold);
  padding: 15px 0;
  transition: var(--transition);
}

.navbar-custom.scrolled {
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar-custom .navbar-brand {
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--text-white);
  letter-spacing: 1px;
}

.navbar-custom .nav-link {
  font-family: var(--font-body);
  color: var(--text-white);
  font-weight: 500;
  margin: 0 15px;
  transition: var(--transition);
  position: relative;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--gold) !important;
}

.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: var(--transition);
}

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

/* Premium Buttons */
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
  color: #000000 !important;
  font-family: var(--font-body);
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  padding: 12px 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.2);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 166, 35, 0.4);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold) !important;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 12px 30px;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: #000000 !important;
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: url('../images/home_banner.png') no-repeat center right;
  background-size: cover;
  background-position: 70% center;
  min-height: 62vh;
  display: flex;
  align-items: center;
  padding-top: 65px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg,
      rgba(3, 5, 18, 0.97) 0%,
      rgba(5, 10, 30, 0.92) 30%,
      rgba(5, 10, 30, 0.55) 60%,
      rgba(5, 10, 30, 0.08) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
}

/* Cards Design */
.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(245, 166, 35, 0.15);
  border-color: var(--gold);
  background-color: var(--bg-card-hover);
}

.event-card-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.event-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.event-card:hover .event-card-img {
  transform: scale(1.08);
}

.event-card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
  color: #000;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.event-card-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.event-card-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.event-card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.event-card-meta {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Feature Icon Cards */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(245, 166, 35, 0.1);
}

.feature-icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 25px auto;
  background: rgba(245, 166, 35, 0.05);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--gold);
  color: #000;
}

.feature-icon-wrapper i {
  font-size: 1.8rem;
  color: var(--gold);
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper i {
  color: #000;
}

/* Forms Styling */
.form-control-custom {
  background-color: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid var(--border-gold) !important;
  border-radius: 8px !important;
  color: var(--text-white) !important;
  padding: 12px 18px !important;
  transition: var(--transition) !important;
}

.form-control-custom:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 10px rgba(245, 166, 35, 0.15) !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
}

select.form-control-custom option {
  background-color: var(--bg-card) !important;
  color: var(--text-white) !important;
}

.form-label-custom {
  font-size: 1.2rem;
  font-weight: 500;
  color: white;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

/* Input group integrations */
.input-group {
  border: 1px solid var(--border-gold) !important;
  border-radius: 8px !important;
  background-color: rgba(255, 255, 255, 0.02) !important;
  transition: var(--transition) !important;
  overflow: hidden;
}

.input-group:focus-within {
  border-color: var(--gold) !important;
  box-shadow: 0 0 10px rgba(245, 166, 35, 0.2) !important;
}

.input-group .form-control-custom {
  border: none !important;
  background-color: transparent !important;
}

.input-group .input-group-text {
  border: none !important;
  background-color: transparent !important;
  color: var(--gold) !important;
  padding-left: 18px !important;
  padding-right: 5px !important;
}

.input-group .input-group-text i {
  color: #ffff !important;
  font-size: 1rem;
}

/* Checkbox Cards */
.checkbox-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkbox-card.checked {
  border-color: var(--gold);
  background-color: var(--bg-card-hover);
}

/* Summary Panel */
.summary-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 25px;
}

.sticky-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  height: max-content;
  z-index: 10;
}

/* Rules Section Grid */
.rule-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.rule-icon {
  color: var(--gold);
  font-size: 1.4rem;
  margin-right: 15px;
  margin-top: 3px;
}

/* Admin Sidebar */
.admin-sidebar {
  background-color: var(--bg-card);
  border-right: 1px solid var(--border-gold);
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  padding-top: 80px;
  z-index: 100;
}

.admin-sidebar-link {
  display: flex;
  align-items: center;
  padding: 15px 25px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.admin-sidebar-link:hover,
.admin-sidebar-link.active {
  color: var(--gold);
  background-color: rgba(245, 166, 35, 0.03);
  border-left-color: var(--gold);
}

.admin-sidebar-link i {
  margin-right: 12px;
  font-size: 1.1rem;
}

.admin-main-content {
  margin-left: 250px;
  padding: 100px 40px 40px 40px;
}

/* Custom Table for Admin */
.table-custom {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  overflow: hidden;
}

.table-custom th {
  background-color: rgba(245, 166, 35, 0.05);
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-gold);
  padding: 15px 20px;
}

.table-custom td {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  vertical-align: middle;
}

.table-custom tr:last-child td {
  border-bottom: none;
}

/* Footer Section */
.footer-custom {
  background-color: #050508;
  border-top: 1px solid var(--border-gold);
  padding: 80px 0 30px 0;
  font-size: 0.95rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  display: block;
  margin-bottom: 12px;
}

.footer-link:hover {
  color: var(--gold);
  padding-left: 5px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: var(--transition);
  margin-right: 10px;
  text-decoration: none;
}

.social-icon-btn:hover {
  background: var(--gold);
  color: #000;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  margin-top: 60px;
}

/* Utility Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated-fade-in {
  animation: fadeInUp 0.8s ease forwards;
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animate-active {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Overrides for Task 1 Reference Images */
.floating-badge-icon {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.15);
  z-index: 5;
  transition: var(--transition);
}

.floating-badge-icon i {
  color: var(--gold);
  font-size: 1.2rem;
}

.event-card:hover .floating-badge-icon {
  background: var(--gold);
  box-shadow: 0 8px 25px rgba(245, 166, 35, 0.35);
  border-color: var(--gold);
}

.event-card:hover .floating-badge-icon i {
  color: #000000;
}

.sports-date-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 6px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  z-index: 5;
}

.sports-date-badge .day {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold);
}

.sports-date-badge .month {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.5px;
}

.sports-date-badge .year {
  font-size: 0.55rem;
  color: var(--text-muted);
}

/* ==================== WHITE THEME SECTION (SPORTS) ==================== */
.bg-white-section {
  background-color: #ffffff !important;
  color: #0a1128 !important;
}

.bg-white-section .form-label-custom {
  color: #0a1128 !important;
}

/* Specific text overrides to ensure readability */
.bg-white-section .text-white {
  color: #0a1128 !important;
}

.bg-white-section .text-muted-custom {
  color: #55627a !important;
}

/* Custom inputs on white background */
.bg-white-section .form-control-custom {
  background-color: #ffffff !important;
  color: #0a1128 !important;
  border: 1px solid rgba(10, 17, 40, 0.15) !important;
}

.bg-white-section .form-control-custom::placeholder {
  color: #7b8a9e !important;
}

.bg-white-section .form-control-custom:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 10px rgba(245, 166, 35, 0.15) !important;
  background-color: #ffffff !important;
}

/* Input group styling for white background */
.bg-white-section .input-group {
  background-color: #ffffff !important;
  border: 1px solid rgba(10, 17, 40, 0.15) !important;
}

.bg-white-section .input-group:focus-within {
  border-color: var(--gold) !important;
}

.bg-white-section .input-group .input-group-text i {
  color: var(--gold) !important;
}

.bg-white-section select.form-control-custom option {
  background-color: #ffffff !important;
  color: #0a1128 !important;
}

/* Checkbox Cards */
.bg-white-section .checkbox-card {
  background: #f8f9fa !important;
  border-color: rgba(10, 17, 40, 0.1) !important;
}

.bg-white-section .checkbox-card.checked {
  background: rgba(245, 166, 35, 0.05) !important;
  border-color: var(--gold) !important;
}

.bg-white-section .checkbox-card .text-white,
.bg-white-section .checkbox-card .form-check-label {
  color: #0a1128 !important;
}

/* Sidebar / Summary Panels */
.bg-white-section .summary-panel {
  background: #ffffff !important;
  border-color: rgba(10, 17, 40, 0.1) !important;
  color: #0a1128 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.bg-white-section .summary-panel h4,
.bg-white-section .summary-panel h5,
.bg-white-section .summary-panel p,
.bg-white-section .summary-panel span,
.bg-white-section .summary-panel div {
  color: #0a1128 !important;
}

/* Restore colors for the illustration banner inside sidebar */
.bg-white-section .summary-panel [style*="background: linear-gradient"] {
  background: linear-gradient(135deg, #12121a 0%, #050508 100%) !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
}

.bg-white-section .summary-panel [style*="background: linear-gradient"] .text-white {
  color: #ffffff !important;
}

.bg-white-section .summary-panel [style*="background: linear-gradient"] .text-success {
  color: #28a745 !important;
}

.bg-white-section .summary-panel [style*="background: linear-gradient"] .text-danger {
  color: #dc3545 !important;
}

/* Dynamic T-shirt mockup background */
.bg-white-section #tshirt-size-wrapper .bg-dark {
  background-color: #f8f9fa !important;
  border-color: rgba(10, 17, 40, 0.1) !important;
}

/* Rules Section specific text overrides */
.bg-white-section .rule-item h5 {
  color: #0a1128 !important;
}

.bg-white-section .rule-item p {
  color: #55627a !important;
}

/* Form alert styling on white background */
.bg-white-section .alert-danger {
  color: #c92432 !important;
  background-color: #fff5f5 !important;
  border-color: rgba(220, 53, 69, 0.15) !important;
}

.bg-white-section .alert-success {
  color: #155724 !important;
  background-color: #d4edda !important;
  border-color: #c3e6cb !important;
}

/* ==================== NAVY BLUE GLASSMORPHISM THEME ==================== */
.navy-glass {
  background: linear-gradient(135deg, #0a1128 0%, #121e3d 50%, #1a2a56 100%) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(245, 166, 35, 0.28) !important;
  /* Gold border glass highlight */
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08) inset !important;
  color: var(--text-white) !important;
}

/* Checkbox Cards inside Glassmorphism container */
.navy-glass .checkbox-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(245, 166, 35, 0.18) !important;
  transition: var(--transition) !important;
}

.navy-glass .checkbox-card:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--gold) !important;
}

.navy-glass .checkbox-card.checked {
  background: rgba(245, 166, 35, 0.12) !important;
  border-color: var(--gold) !important;
}

.navy-glass .checkbox-card .text-white,
.navy-glass .checkbox-card .form-check-label {
  color: var(--text-white) !important;
}

.navy-glass #tshirt-size-wrapper .bg-dark {
  background-color: rgba(0, 0, 0, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

.navy-glass .form-label-custom {
  color: var(--text-white) !important;
}

.navy-glass .text-muted-custom {
  color: var(--text-muted) !important;
}

.navy-glass .input-group {
  background-color: rgba(0, 0, 0, 0.2) !important;
  border-color: rgba(245, 166, 35, 0.25) !important;
}

.navy-glass .input-group:focus-within {
  border-color: var(--gold) !important;
  box-shadow: 0 0 10px rgba(245, 166, 35, 0.25) !important;
}

.navy-glass .form-control-custom {
  color: #ffffff !important;
}

.navy-glass .form-control-custom::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

.navy-glass .form-select.form-control-custom option {
  background-color: #0d1527 !important;
  color: #ffffff !important;
}

/* Event Detail Container Width for Desktop View */
@media (min-width: 1200px) {
  .event-detail-container {
    max-width: 1440px !important;
  }
}

/* ==================== RESPONSIVE ADMIN PANEL ==================== */
@media (max-width: 991.98px) {
  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    padding-top: 80px;
    width: 240px;
    z-index: 1045;
  }

  .admin-main-content {
    margin-left: 0 !important;
    padding: 90px 15px 30px 15px !important;
  }

  body.sidebar-open .admin-sidebar {
    transform: translateX(0);
  }

  body.sidebar-open::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1040;
    pointer-events: auto;
  }
}

/* ==================== HERO REDESIGN – home_banner.png ==================== */

/* Floating gold sparkle particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle linear infinite;
}

.particle.p1 {
  left: 4%;
  top: 22%;
  animation-duration: 6.5s;
  animation-delay: 0.0s;
  width: 2px;
  height: 2px;
}

.particle.p2 {
  left: 9%;
  top: 65%;
  animation-duration: 8.0s;
  animation-delay: 1.2s;
}

.particle.p3 {
  left: 16%;
  top: 38%;
  animation-duration: 5.0s;
  animation-delay: 2.0s;
  width: 4px;
  height: 4px;
  background: #ffd700;
}

.particle.p4 {
  left: 22%;
  top: 72%;
  animation-duration: 7.0s;
  animation-delay: 0.5s;
  width: 2px;
  height: 2px;
}

.particle.p5 {
  left: 33%;
  top: 12%;
  animation-duration: 9.0s;
  animation-delay: 1.8s;
}

.particle.p6 {
  left: 7%;
  top: 48%;
  animation-duration: 6.0s;
  animation-delay: 3.0s;
}

.particle.p7 {
  left: 40%;
  top: 55%;
  animation-duration: 7.5s;
  animation-delay: 0.8s;
  width: 2px;
  height: 2px;
}

.particle.p8 {
  left: 28%;
  top: 42%;
  animation-duration: 5.5s;
  animation-delay: 2.5s;
  width: 4px;
  height: 4px;
}

.particle.p9 {
  left: 12%;
  top: 85%;
  animation-duration: 8.5s;
  animation-delay: 1.5s;
  width: 2px;
  height: 2px;
}

.particle.p10 {
  left: 37%;
  top: 28%;
  animation-duration: 6.2s;
  animation-delay: 4.0s;
}

@keyframes floatParticle {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0);
  }

  12% {
    opacity: 0.9;
  }

  80% {
    opacity: 0.3;
  }

  100% {
    opacity: 0;
    transform: translateY(-110px) scale(1.8);
  }
}

/* Hero text slide-in animation */
.hero-text-block {
  animation: heroSlideIn 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroSlideIn {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hero eyebrow tag */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.6rem;
  letter-spacing: 3px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-eyebrow-pulse {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  animation: eyebrowPulse 2s ease infinite;
}

@keyframes eyebrowPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.5);
  }

  60% {
    box-shadow: 0 0 0 9px rgba(245, 166, 35, 0);
  }
}

/* Hero main heading */
.hero-heading {
  font-size: clamp(1.75rem, 4vw, 3.1rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 18px;
  color: #ffffff;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.7);
}

.hero-heading-accent {
  font-size: clamp(1.6rem, 3.8vw, 2.8rem);
}

/* Sparkle icon animation */
.hero-sparkle-icon {
  font-size: 0.55em;
  display: inline-block;
  animation: sparkleWiggle 3s ease-in-out infinite;
  vertical-align: middle;
}

@keyframes sparkleWiggle {

  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }

  25% {
    transform: rotate(18deg) scale(1.15);
  }

  75% {
    transform: rotate(-18deg) scale(1.15);
  }
}

/* Hero description */
.hero-subtext {
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  max-width: 500px;
  margin-bottom: 28px;
}

/* CTA button row */
.hero-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 28px;
}

.btn-hero {
  padding: 10px 28px !important;
  font-size: 0.75rem !important;
  letter-spacing: 1.2px !important;
  box-shadow: 0 8px 32px rgba(245, 166, 35, 0.4) !important;
}

.btn-outline-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  padding: 10px 28px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  text-decoration: none;
  cursor: pointer;
}

.btn-outline-hero:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Trust badges row */
.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
}

.trust-item i {
  color: var(--gold);
  font-size: 0.8rem;
}

.trust-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.7rem;
}

/* Scroll down indicator */
.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: hintBounce 2.2s ease-in-out infinite;
}

.scroll-mouse-wrap {
  width: 20px;
  height: 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-ball {
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  animation: scrollBallDrop 2s ease-in-out infinite;
}

@keyframes scrollBallDrop {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(13px);
    opacity: 0.3;
  }
}

@keyframes hintBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(5px);
  }
}

/* ==================== STATS STRIP ==================== */
.stats-strip-section {
  background: linear-gradient(135deg, #050a1a 0%, #0d1530 50%, #050a1a 100%);
  border-top: 1px solid rgba(245, 166, 35, 0.22);
  border-bottom: 1px solid rgba(245, 166, 35, 0.22);
}

.stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 26px 20px;
}

.stat-item {
  flex: 1;
  min-width: 130px;
  text-align: center;
  padding: 18px 24px;
}

.stat-number {
  display: inline;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  background: linear-gradient(135deg, #f5a623 0%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-heading);
  line-height: 1;
}

.stat-sym {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, #f5a623 0%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  display: block;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 6px;
}

.stat-divider {
  width: 1px;
  height: 55px;
  background: rgba(245, 166, 35, 0.22);
  flex-shrink: 0;
}

/* ==================== RESPONSIVE – HERO & STATS ==================== */
@media (max-width: 991.98px) {
  .hero-section {
    background-position: 75% center;
    min-height: 52vh;
    padding-top: 60px;
  }

  .hero-overlay {
    background: linear-gradient(175deg,
        rgba(3, 5, 18, 0.95) 0%,
        rgba(3, 5, 18, 0.88) 55%,
        rgba(3, 5, 18, 0.96) 100%) !important;
  }

  .hero-subtext {
    max-width: 100%;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    min-width: 50%;
    flex: 0 0 50%;
    padding: 14px 10px;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    background-position: 82% center;
    min-height: 58svh;
    padding-top: 60px;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
  }

  .btn-hero,
  .btn-outline-hero {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-trust-row {
    display: none;
  }

  .hero-scroll-hint {
    display: none;
  }

  .stat-item {
    min-width: 50%;
    flex: 0 0 50%;
  }

  .stats-strip {
    padding: 24px 10px;
  }
}

/* ==================== ALTERNATING LIGHT / CREAM SECTIONS ==================== */
.bg-light-section {
  background: #faf8f3 !important;
}

/* ---- Section-level headings → dark navy on cream background ---- */
.bg-light-section h2,
.bg-light-section h3 {
  color: #08091e !important;
}

/* "We Make Every" plain text in h2 on white → dark, but gold span inside stays gold */
.bg-light-section .col-lg-4.text-start h2 {
  color: #08091e !important;
}

/* ---- Event category cards have WHITE bg → DARK text ---- */
.bg-light-section .event-card h2,
.bg-light-section .event-card h3,
.bg-light-section .event-card h4,
.bg-light-section .event-card h5,
.bg-light-section .event-card h6,
.bg-light-section .event-card-title {
  color: #09111f !important;
}

/* ---- Restore WHITE text for headings INSIDE dark feature cards ---- */
.bg-light-section .feature-card h2,
.bg-light-section .feature-card h3,
.bg-light-section .feature-card h4,
.bg-light-section .feature-card h5,
.bg-light-section .feature-card h6 {
  color: #ffffff !important;
}

/* ---- Muted text in light sections ---- */
.bg-light-section .text-muted-custom {
  color: #444466 !important;
}

/* Event card text on white card bg */
.bg-light-section .event-card .text-muted-custom,
.bg-light-section .event-card-text {
  color: #555570 !important;
}

/* Feature card muted text */
.bg-light-section .feature-card .text-muted-custom {
  color: var(--text-muted) !important;
}

/* ---- Event category cards → WHITE on cream section ---- */
.bg-light-section .event-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.09) !important;
  border-radius: 14px !important;
}

.bg-light-section .event-card:hover {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16) !important;
  transform: translateY(-6px);
}

/* Proper 4:3 ratio for category card images */
.bg-light-section .event-card-img-wrapper {
  aspect-ratio: 4/3 !important;
}

/* ---- Feature cards on cream bg ---- */
.bg-light-section .feature-card {
  background: var(--bg-card);
  border-color: var(--border-gold);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
}

.bg-light-section .feature-card:hover {
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.22);
}

/* ---- Floating badge: gold on white card ---- */
.bg-light-section .floating-badge-icon {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  box-shadow: 0 4px 18px rgba(245, 166, 35, 0.4) !important;
}

.bg-light-section .floating-badge-icon i {
  color: #ffffff !important;
}

/* ---- Outline gold buttons on cream bg ---- */
.bg-light-section .btn-outline-gold {
  color: var(--gold) !important;
  border-color: var(--gold) !important;
}

.bg-light-section .btn-outline-gold:hover {
  background: var(--gold) !important;
  color: #000000 !important;
}

/* ---- "VIEW ALL" button row on cream section ---- */
.bg-light-section .text-center .btn-outline-gold {
  background: transparent;
}

/* ---- Gold divider lines remain vivid on cream bg ---- */
.bg-light-section .mx-auto[style*="background-color"] {
  opacity: 1;
}

/* ---- Section eyebrow letters on cream bg – darken the separator context ---- */
.bg-light-section .container>.text-center>span.gold-text {
  /* gold gradient already handles visibility on both dark and light */
}

/* ---- Stats section contrast border between dark stats and light section ---- */
.stats-strip-section {
  position: relative;
  z-index: 1;
}

/* ==================== EVENT CATEGORY CARDS (Events We Create) ==================== */

/* Link wrapper – no underline, no color change */
.event-cat-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* Card container */
.event-cat-card {
  background: #ffffff;
  border: 1px solid rgba(12, 25, 48, 0.07);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(12, 25, 48, 0.04);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(12, 25, 48, 0.1);
}

/* Image wrapper – 1:1 square on desktop to match reference proportions */
.event-cat-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  width: 100%;
}

.event-cat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: block;
}

.event-cat-card:hover .event-cat-img {
  transform: scale(1.05);
}

/* Floating circle badge centered on the boundary between image & body */
.cat-badge-icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: #070b1e; /* matches main website background */
  border: 2px solid #d89c38; /* bronze gold */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 5;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.cat-badge-icon i {
  color: #d89c38;
  font-size: 1.15rem;
  transition: color 0.3s ease;
}

.event-cat-card:hover .cat-badge-icon {
  background: #d89c38;
  border-color: #d89c38;
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 6px 15px rgba(216, 156, 56, 0.4);
}

.event-cat-card:hover .cat-badge-icon i {
  color: #070b1e;
}

/* Card body */
.event-cat-body {
  padding: 38px 16px 20px 16px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Card title */
.cat-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0c1930 !important; /* deep navy matching reference heading */
  margin-bottom: 6px;
  line-height: 1.3;
}

/* Card description */
.cat-desc {
  font-size: 0.75rem;
  color: #555570;
  line-height: 1.6;
  margin: 0;
}

/* VIEW ALL EVENTS – pill outlined gold button */
.btn-view-all-events {
  display: inline-block;
  padding: 11px 38px;
  border: 1.5px solid #d89c38;
  border-radius: 50px;
  color: #d89c38;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.btn-view-all-events:hover {
  background: #d89c38;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(216, 156, 56, 0.3);
}

/* Responsive tweaks for event category cards */
@media (max-width: 991.98px) {
  .event-cat-img-wrap { aspect-ratio: 1/1; }
  .cat-title { font-size: 0.95rem; }
  .cat-desc { font-size: 0.72rem; }
}

@media (max-width: 767.98px) {
  .event-cat-img-wrap { aspect-ratio: 1/1; }
  .col-lg-2-5.col-6 { width: 50%; }
  .cat-title { font-size: 0.88rem; }
  .cat-desc { font-size: 0.72rem; }
  .event-cat-body { padding: 32px 12px 16px 12px; }
}

@media (max-width: 479px) {
  .col-lg-2-5.col-6 { width: 100%; }
  .event-cat-card { margin-bottom: 10px; }
}



/* ==================== SPORTS EVENTS ORGANIZE SECTION ==================== */
.sports-org-section {
  position: relative;
  overflow: hidden;
  background-color: #070b1e;
  padding: 0 0 80px 0;
}

.sports-org-header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 0px;
  background-image:
    linear-gradient(180deg, rgba(7, 11, 30, 0.15) 0%, rgba(7, 11, 30, 0.40) 60%, #070b1e 100%),
    url('../images/homeevent_bg.png');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  min-height: 500px;
  padding: 100px 20px 66px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Center header content above the background overlay */
.sports-header-content {
  position: relative;
  z-index: 2;
}

.sports-header-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3rem) !important;
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 6px 28px rgba(0, 0, 0, 0.85);
}

/* ---- Collaboration logos ---- */
.collab-logos-wrapper {
  margin-top: 15px;
}

.collab-logo-spark {
  height: 85px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  display: block;
}

.collab-logo-sbpms {
  height: 98px;
  object-fit: contain;
  display: block;
}

.collab-divider {
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 300;
  line-height: 1;
}

/* ---- Sports Event Card ---- */
.sports-event-card {
  background: rgba(14, 27, 56, 0.58) !important;
  border: 1px solid rgba(245, 166, 35, 0.22) !important;
  border-radius: 12px !important;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.sports-event-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold) !important;
  box-shadow: 0 15px 30px rgba(245, 166, 35, 0.25);
  background: rgba(20, 38, 77, 0.72) !important;
}

.sports-card-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  flex-shrink: 0;
}

.sports-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.sports-event-card:hover .sports-card-img {
  transform: scale(1.08);
}

/* ---- Prominent Date Badge V3 (Inset Floating) ---- */
.sports-date-badge-v3 {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(7, 11, 30, 0.85);
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 6px 10px;
  text-align: center;
  min-width: 52px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.sports-date-badge-v3 .sdb-day {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  font-family: var(--font-body);
}

.sports-date-badge-v3 .sdb-month {
  display: block;
  font-size: 0.55rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.sports-date-badge-v3 .sdb-year {
  display: block;
  font-size: 0.45rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 1px;
}

/* ---- Sports card body ---- */
.sports-card-body {
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sports-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.sports-card-desc {
  font-size: 0.76rem;
  color: #8a8aa8;
  line-height: 1.6;
  margin-bottom: 18px;
  white-space: normal;
  /* Avoid double newlines when combined with nl2br */
}

.sports-book-btn {
  font-size: 0.72rem !important;
  padding: 8px 12px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  width: 100% !important;
  border-radius: 6px !important;
  text-align: center;
  display: block;
  margin-top: auto;
  transition: all 0.3s ease;
}

/* ==================== SPORTS SECTION RESPONSIVE ==================== */
@media (max-width: 1199.98px) {
  .sports-org-section {
    padding: 60px 0;
  }

  .sports-org-header {
    margin-bottom: 30px;
  }

  .collab-logo-spark {
    height: 55px;
  }

  .collab-logo-sbpms {
    height: 75px;
  }

  .collab-divider {
    font-size: 1.5rem;
  }
}

@media (max-width: 991.98px) {
  .sports-org-section {
    padding: 50px 0;
  }

  .collab-logo-spark {
    height: 50px;
  }

  .collab-logo-sbpms {
    height: 68px;
  }

  .collab-divider {
    font-size: 1.3rem;
  }
}

@media (max-width: 767.98px) {
  .sports-org-section {
    padding: 40px 0;
  }

  .collab-logo-spark {
    height: 42px;
  }

  .collab-logo-sbpms {
    height: 60px;
  }

  .collab-divider {
    font-size: 1.2rem;
  }

  .sports-date-badge-v3 {
    padding: 5px 8px;
    min-width: 44px;
  }

  .sports-date-badge-v3 .sdb-day {
    font-size: 1rem;
  }

  .sports-org-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 0px;
    background-image: linear-gradient(180deg, rgba(7, 11, 30, 0.15) 0%, rgba(7, 11, 30, 0.40) 60%, #070b1e 100%), url('../images/homeevent_bg.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    min-height: 0px;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Sports event detail page full-width banner with controlled height */
.sports-detail-banner {
  width: 100%;
  height: 450px;
  object-fit: fill; /* stretches the image to fill the width and height completely with zero cropping */
}

@media (max-width: 1199.98px) {
  .sports-detail-banner {
    height: 380px;
  }
}

@media (max-width: 991.98px) {
  .sports-detail-banner {
    height: 320px;
  }
}

@media (max-width: 767.98px) {
  .sports-detail-banner {
    height: auto; /* natural 3:2 scaling on mobile/tablet so no crop/distortion occurs */
  }
}