/* ================================
   DAT SAN NHANH - CSS Styles
   ================================ */

/* CSS Variables */
:root {
  --dsn-green: #47A44B;
  --dsn-blue: #317DBE;
  --dsn-pink: #E91E63;
  --dsn-yellow: #CDDC39;
  --dsn-dark: #0F172A;
  --dsn-accent: #7C4DFF;
  --white: #FFFFFF;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

.date-scroll {
  display: none !important;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  background-color: var(--white);
  color: var(--dsn-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
select {
  font-family: inherit;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Utility Classes */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.hidden-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hidden-mobile {
    display: block;
  }
}

/* Color Classes */
.text-green {
  color: var(--dsn-green);
}

.text-blue {
  color: var(--dsn-blue);
}

.text-pink {
  color: var(--dsn-pink);
}

.text-yellow {
  color: var(--dsn-yellow);
}

.text-dark {
  color: var(--dsn-dark);
}

.gradient-text {
  background: linear-gradient(to right, var(--dsn-green), var(--dsn-blue), var(--dsn-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass Effect */
.glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--slate-100);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--dsn-green), var(--dsn-blue));
  border-radius: 4px;
}

/* ================================
   NAVIGATION
   ================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .nav-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .nav-container {
    padding: 0 2rem;
  }
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 50;
}

.logo-icon {
  transition: transform 0.3s ease;

  border-radius: 0.5rem;
}

.logo-link:hover .logo-icon {
  transform: scale(1.1);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--dsn-dark);
}

.logo-subtitle {
  font-size: 8px;
  font-weight: 900;
  color: var(--dsn-pink);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 4px;
}

/* Desktop Menu */
.desktop-menu {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .desktop-menu {
    display: flex;
  }
}

.nav-link {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--slate-500);
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--dsn-blue);
  border-radius: 9999px;
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--dsn-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link-icon {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-divider {
  width: 1px;
  height: 24px;
  background: var(--slate-200);
  margin: 0 0.5rem;
}

/* Auth Buttons */
.auth-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-login {
  white-space: nowrap;
}

.btn-dark {
  background: var(--dsn-dark);
  color: var(--white);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-dark:hover {
  background: var(--dsn-blue);
}

.btn-settings {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--dsn-dark);
  transition: all 0.3s ease;
}

.btn-settings:hover {
  background: var(--white);
  border-color: var(--dsn-blue);
  color: var(--dsn-blue);
}

.btn-logout {
  padding: 0.625rem;
  border-radius: 0.75rem;
  background: var(--slate-50);
  color: var(--slate-400);
  transition: all 0.3s ease;
}

.btn-logout:hover {
  background: #fef2f2;
  color: #ef4444;
}

/* Language Selector */
.lang-selector {
  display: flex;
  align-items: center;
  background: var(--slate-100);
  padding: 4px;
  border-radius: 0.5rem;
}

.lang-btn {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 900;
  color: var(--slate-400);
  transition: all 0.3s ease;
}

.lang-btn:hover {
  color: var(--dsn-dark);
}

.lang-btn.active {
  background: var(--white);
  color: var(--dsn-blue);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Icon Buttons */
.icon-btn {
  position: relative;
  padding: 0.5rem;
  border-radius: 0.75rem;
  color: var(--slate-400);
  transition: all 0.3s ease;
}

.icon-btn:hover {
  color: var(--dsn-blue);
  background: var(--slate-50);
}

.icon-btn:hover svg {
  transform: rotate(12deg);
}

.notification-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  border: 2px solid var(--white);
}

.notification-dot.pink {
  background: var(--dsn-pink);
}

.notification-dot.green {
  background: var(--dsn-green);
}

/* Mobile Actions */
.mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 50;
}

@media (min-width: 768px) {
  .mobile-actions {
    display: none;
  }
}

.icon-btn-mobile {
  position: relative;
  padding: 0.5rem;
  color: var(--slate-600);
}

.mobile-menu-btn {
  padding: 0.625rem;
  border-radius: 0.75rem;
  background: var(--slate-100);
  color: var(--dsn-dark);
  transition: all 0.3s ease;
}

.mobile-menu-btn.active {
  background: var(--dsn-dark);
  color: var(--white);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background: var(--white);
  border-top: 1px solid var(--slate-100);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  z-index: 40;
  overflow-y: auto;
  animation: slideDown 0.3s ease;
}

.mobile-menu.active {
  display: block;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu-content {
  padding: 1.5rem;
}

.mobile-menu-label {
  font-size: 10px;
  font-weight: 900;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0 0.5rem;
  margin-bottom: 0.5rem;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-radius: 0.75rem;
  font-size: 14px;
  font-weight: 900;
  background: var(--slate-50);
  color: var(--slate-600);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.mobile-menu-link:hover {
  background: var(--slate-100);
}

.mobile-menu-link.active {
  background: var(--dsn-blue);
  color: var(--white);
  box-shadow: 0 10px 15px -3px rgba(49, 125, 190, 0.3);
}

.mobile-menu-link svg {
  margin-right: 0.75rem;
}

.mobile-menu-divider {
  height: 1px;
  background: var(--slate-100);
  margin: 1.5rem 0;
}

.mobile-lang-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.mobile-lang-btn {
  padding: 0.75rem;
  border-radius: 0.75rem;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  background: var(--slate-50);
  color: var(--slate-400);
  transition: all 0.3s ease;
}

.mobile-lang-btn.active {
  background: var(--dsn-dark);
  color: var(--white);
}

.mobile-auth {
  margin-top: 1.5rem;
}

.mobile-login-btn {
  width: 100%;
  padding: 1rem;
  background: var(--dsn-dark);
  color: var(--white);
  border-radius: 1rem;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.2);
  transition: all 0.3s ease;
}

.mobile-login-btn:hover {
  background: var(--dsn-blue);
}

.mobile-logout-btn {
  width: 100%;
  padding: 1rem;
  background: #fef2f2;
  color: #ef4444;
  border-radius: 1rem;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.mobile-logout-btn:hover {
  background: #fee2e2;
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
  position: relative;
  height: 85vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.4) 0%, rgba(124, 77, 255, 0.3) 100%);
  opacity: 0.8;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

@media (min-width: 640px) {
  .hero-content {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 0 2rem;
  }
}

.hero-inner {
  max-width: 48rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 12px;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.hero-badge svg {
  color: var(--dsn-yellow);
}

.hero-badge span {
  color: var(--white);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 36rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

/* Search Box */
.search-box {
  background: rgba(255, 255, 255, 0.95);
  padding: 0.5rem;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 48rem;
}

.search-box-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .search-box-inner {
    flex-direction: row;
    align-items: center;
  }
}

.sport-selector {
  display: flex;
  background: var(--slate-100);
  padding: 4px;
  border-radius: 0.75rem;
}

@media (min-width: 768px) {
  .sport-selector {
    width: 33.333%;
  }
}

.sport-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem;
  border-radius: 0.5rem;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--slate-500);
  transition: all 0.3s ease;
}

.sport-btn.active {
  background: var(--white);
  color: var(--dsn-dark);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.sport-btn[data-sport="PICKLEBALL"].active {
  background: var(--dsn-pink);
  color: var(--white);
}

.pickle-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: var(--dsn-yellow);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.location-input {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--slate-50);
  border-radius: 0.75rem;
  border: 1px solid var(--slate-200);
  transition: border-color 0.3s ease;
}

.location-input:focus-within {
  border-color: rgba(49, 125, 190, 0.4);
}

.location-input svg {
  color: var(--dsn-blue);
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.location-input input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-800);
}

.location-input input::placeholder {
  color: var(--slate-400);
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  background: var(--dsn-green);
  color: var(--dsn-dark);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.search-btn:hover {
  filter: brightness(1.1);
}

.search-btn.pickleball {
  background: var(--dsn-yellow);
}

/* Hero Stats */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.6), transparent);
  padding: 2.5rem 0;
}

.stats-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .stats-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .stats-container {
    padding: 0 2rem;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
}

@media (min-width: 768px) {
  .stat-item {
    text-align: left;
  }
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 2px;
}

.stat-label {
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}

/* ================================
   SECTIONS
   ================================ */
.section {
  padding: 6rem 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .section-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.section-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-tag.pink {
  color: var(--dsn-pink);
}

.section-tag.yellow {
  color: var(--dsn-yellow);
}

.tag-line {
  width: 2rem;
  height: 2px;
  border-radius: 9999px;
}

.section-tag.pink .tag-line {
  background: var(--dsn-pink);
}

.section-tag.yellow .tag-line {
  background: var(--dsn-yellow);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--slate-900);
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-title.white {
  color: var(--white);
}

/* Venues Grid */
.venues-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .venues-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .venues-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Nearby Section */
.nearby-section {
  background: var(--dsn-dark);
  position: relative;
  overflow: hidden;
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  font-size: 12px;
  font-weight: 900;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: var(--dsn-yellow);
  color: var(--dsn-dark);
}

.btn-outline-light:hover svg {
  transform: scale(1.1);
}

/* Promo Section */
.promo-section {
  padding: 6rem 0;
}

.promo-card {
  position: relative;
  border-radius: 1rem;
  padding: 2.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
  .promo-card {
    padding: 5rem;
  }
}

.promo-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, var(--dsn-green), var(--dsn-blue), var(--dsn-pink));
  opacity: 0.9;
}

.promo-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .promo-content {
    flex-direction: row;
  }
}

.promo-text {
  max-width: 32rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .promo-text {
    text-align: left;
  }
}

.promo-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--dsn-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.05em;
  line-height: 1;
}

@media (min-width: 768px) {
  .promo-title {
    font-size: 3.75rem;
  }
}

.promo-title span {
  color: var(--white);
}

.promo-subtitle {
  font-size: 1.125rem;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.7);
  margin-bottom: 2.5rem;
}

.promo-btn {
  padding: 1rem 2rem;
  font-size: 12px;
  letter-spacing: 0.1em;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.promo-btn:hover {
  transform: scale(1.05);
}

.promo-image {
  display: none;
}

@media (min-width: 1024px) {
  .promo-image {
    display: block;
  }
}

.promo-image img {
  width: 16rem;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: rotate(-3deg);
}

/* ================================
   VENUE CARD
   ================================ */
.venue-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--slate-100);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s ease;
}

.venue-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.venue-card-image {
  position: relative;
  height: 12rem;
  overflow: hidden;
  cursor: pointer;
}

.venue-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.venue-card:hover .venue-card-image img {
  transform: scale(1.05);
}

.venue-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 12px;
  border-radius: 0.5rem;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.venue-badge.available {
  background: rgba(71, 164, 75, 0.9);
  color: var(--dsn-dark);
}

.venue-badge.next-slot {
  background: rgba(15, 23, 42, 0.9);
  color: var(--white);
}

.venue-type-badge {
  /* position: absolute;*/
  top: 1rem;
  left: 1rem;
  padding: 6px 12px;
  border-radius: 0.5rem;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(12px);
}

.venue-type-badge.soccer {
  background: rgba(49, 125, 190, 0.8);
}

.venue-type-badge.pickleball {
  background: rgba(233, 30, 99, 0.8);
}

.venue-distance {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  font-size: 10px;
  font-weight: 900;
  color: var(--slate-800);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.venue-distance svg {
  color: var(--dsn-blue);
}

.venue-favorite {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  padding: 0.5rem;
  background: var(--white);
  border-radius: 9999px;
  color: var(--slate-300);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: color 0.3s ease;
}

.venue-favorite:hover,
.venue-favorite.active {
  color: var(--dsn-pink);
}

.venue-favorite:disabled {
  cursor: not-allowed;
  opacity: 1;
  /* Keep full opacity to show the red color clearly */
}

.venue-card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.venue-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.venue-name {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--slate-900);
  line-height: 1.2;
  transition: color 0.3s ease;
}

.venue-card:hover .venue-name {
  color: var(--dsn-blue);
}

.venue-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 0.5rem;
  background: rgba(205, 220, 57, 0.1);
  border: 1px solid rgba(205, 220, 57, 0.2);
  font-size: 10px;
  font-weight: 900;
  color: var(--dsn-dark);
}

.venue-rating svg {
  fill: var(--dsn-yellow);
  color: var(--dsn-yellow);
}

.venue-address {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-500);
  margin-bottom: 1rem;
}

.venue-address svg {
  color: var(--dsn-pink);
  margin-right: 6px;
  flex-shrink: 0;
}

.venue-address span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.venue-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.5rem;
}

.amenity-tag {
  padding: 4px 10px;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: 0.5rem;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-500);
}

.venue-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-50);
}

.venue-price-label {
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-400);
}

.venue-price {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--dsn-blue);
}

.venue-book-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.venue-book-btn.soccer {
  background: var(--dsn-green);
  color: var(--dsn-dark);
}

.venue-book-btn.pickleball {
  background: var(--dsn-pink);
  color: var(--white);
}

/* ================================
   FOOTER
   ================================ */
.footer {
  background: var(--dsn-dark);
  color: var(--white);
  padding: 5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo span {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.footer-desc {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-400);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--dsn-blue);
  color: var(--dsn-dark);
}

.footer-links h4 {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--dsn-green);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-400);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-500);
}

/* ================================
   MODAL
   ================================ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-container {
  position: relative;
  background: var(--white);
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 28rem;
  width: 100%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem;
  color: var(--slate-400);
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--dsn-dark);
}

.auth-tabs {
  display: flex;
  background: var(--slate-100);
  padding: 4px;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}

.auth-tab {
  flex: 1;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--slate-400);
  transition: all 0.3s ease;
}

.auth-tab.active {
  background: var(--white);
  color: var(--dsn-dark);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-600);
}

.form-group input {
  padding: 0.75rem 1rem;
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  border-color: var(--dsn-blue);
}

.btn-primary {
  background: var(--dsn-dark);
  color: var(--white);
  padding: 0.875rem;
  border-radius: 0.75rem;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--dsn-blue);
}

.btn-full {
  width: 100%;
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 0.5rem 0;
  color: var(--slate-400);
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--slate-200);
}

.auth-divider span {
  padding: 0 1rem;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-600);
  transition: all 0.3s ease;
}

.btn-social:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
}

/* ================================
   BREADCRUMB
   ================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.2);
  width: fit-content;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  backdrop-filter: blur(12px);
}

.breadcrumb a {
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  color: var(--white);
}

.breadcrumb svg {
  flex-shrink: 0;
}

/* ================================
   PAGINATION
   ================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 4rem;
}

.pagination-btn {
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-600);
  transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--dsn-blue);
  color: var(--dsn-blue);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.pagination-btn:disabled {
  border-color: var(--slate-100);
  color: var(--slate-300);
  cursor: not-allowed;
  opacity: 0.5;
}

.pagination-numbers {
  display: flex;
  gap: 0.5rem;
}

.pagination-number {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  font-size: 14px;
  font-weight: 900;
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--slate-600);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-number:hover {
  border-color: var(--dsn-blue);
  color: var(--dsn-blue);
}

.pagination-number.active {
  background: var(--dsn-blue);
  color: var(--white);
  border-color: var(--dsn-blue);
  box-shadow: 0 10px 15px -3px rgba(49, 125, 190, 0.3);
  transform: scale(1.1);
}

/* ================================
   OLD PAGINATION HTML COMPATIBILITY
   ================================ */
.pagination-container ul.pagination {
  display: flex !important;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  list-style: none;
  padding: 0;
}

.pagination-container ul.pagination li.page-item {
  margin: 0;
}

.pagination-container ul.pagination li.page-item a.page-link {
  position: relative !important;
  z-index: 99 !important;
  min-width: 48px;
  height: 48px;
  padding: 0 0.5rem;
  border-radius: 0.75rem;
  font-size: 14px;
  font-weight: 900;
  background: var(--white) !important;
  border: 1px solid var(--slate-200);
  color: var(--slate-600) !important;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none !important;
  pointer-events: auto !important;
}

.pagination-container ul.pagination li.page-item a.page-link:hover {
  border-color: var(--dsn-blue) !important;
  color: var(--dsn-blue) !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}

/* Active State override */
.pagination-container ul.pagination li.page-item a.page-link[style*="background"] {
  background: var(--dsn-blue) !important;
  color: var(--white) !important;
  border-color: var(--dsn-blue) !important;
  box-shadow: 0 10px 15px -3px rgba(49, 125, 190, 0.3) !important;
  transform: scale(1.1);
}