@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0a0a0a;
  --primary-hover: #262626;
  --accent: #3b82f6;
  --accent-light: #eff6ff;
  --text: #0a0a0a;
  --text-secondary: #525252;
  --text-muted: #a3a3a3;
  --background: #fafafa;
  --card-bg: #ffffff;
  --border: #e5e5e5;
  --border-light: #f5f5f5;
  --success: #22c55e;
  --warning: #eab308;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

header {
  background: var(--primary);
  color: white;
  padding: 2rem 2rem;
  text-align: center;
}

header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.35rem;
}

header h1 a {
  color: inherit;
  text-decoration: none;
}

header .tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Search Section */
.search-section {
  margin-bottom: 1.5rem;
}

.search-box {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.search-box input[type="text"] {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  outline: none;
}

.search-box input[type="date"] {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  outline: none;
  min-width: 140px;
}

.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-box button {
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

#search-btn {
  background: var(--primary);
  color: white;
}

#search-btn:hover {
  background: var(--primary-hover);
}

.search-box button.secondary {
  background: var(--card-bg);
  color: var(--text);
  border: 1px solid var(--border);
}

.search-box button.secondary:hover {
  background: var(--background);
}

.status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.status.error {
  color: #dc2626;
}

/* Filters */
.filters-section {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.filter-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
}

/* View Toggle */
.view-toggle {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.view-btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card-bg);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.view-btn:hover {
  background: var(--background);
}

.view-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.view-btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Map */
.map-section {
  margin-bottom: 1.5rem;
}

#map {
  height: 400px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* Results */
.results-count {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.courts-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Court Card */
.court-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.25s ease;
}

.court-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Court Image */
.court-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  background: var(--border-light);
}

.court-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.court-name {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.court-distance {
  font-size: 0.85rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.court-address {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Tags */
.court-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 100px;
  background: var(--border-light);
  color: var(--text-secondary);
}

.tag.indoor {
  background: #0a0a0a;
  color: white;
}

.tag.outdoor {
  background: #ecfdf5;
  color: #047857;
}

.tag.changing-rooms {
  background: var(--border-light);
  color: var(--text-secondary);
}

.tag.booking-platform {
  background: var(--accent-light);
  color: var(--accent);
}

/* Operator text */
.court-operator {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.operator-name {
  font-weight: 600;
  color: var(--text);
}

.booking-info {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.status-badge.coming-soon {
  background: #fef3c7;
  color: #92400e;
}

.status-badge.no-availability {
  background: #fee2e2;
  color: #991b1b;
}

/* Status Message (for club page) */
.status-message {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.status-message.coming-soon {
  background: #fef3c7;
}

.status-message.no-availability {
  background: #fee2e2;
}

.status-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.status-message strong {
  display: block;
  margin-bottom: 0.25rem;
}

.status-message p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Brand Header */
.brand-header {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, var(--brand-color, #1a1a2e) 0%, color-mix(in srgb, var(--brand-color, #1a1a2e) 80%, #000) 100%);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
}

.brand-logo {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.brand-header[style*="--brand-color: #fff"],
.brand-header[style*="--brand-color: #FFF"],
.brand-header[style*="--brand-color: #ffffff"] {
  background: #f5f5f5;
}

.brand-header[style*="--brand-color: #fff"] .brand-link,
.brand-header[style*="--brand-color: #FFF"] .brand-link,
.brand-header[style*="--brand-color: #ffffff"] .brand-link {
  color: #1a1a2e;
}

.brand-header[style*="--brand-color: #fff"] .brand-logo,
.brand-header[style*="--brand-color: #FFF"] .brand-logo,
.brand-header[style*="--brand-color: #ffffff"] .brand-logo {
  filter: none;
}

.brand-name {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  opacity: 0.9;
}

.brand-link:hover .brand-name {
  opacity: 1;
}

/* Club Hero Status Badge */
.club-hero {
  position: relative;
}

.club-hero .status-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  margin: 0;
}

/* Availability */
.availability-section {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.availability-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.availability-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.availability-toggle {
  font-size: 0.8rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
}

.availability-slots {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.slot {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.slot.available {
  background: #d1fae5;
  border-color: #a7f3d0;
  color: #065f46;
}

.slot-time {
  font-weight: 500;
}

.slot-price {
  color: var(--text-secondary);
  margin-left: 0.25rem;
}

.no-slots {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
}

.loading-slots {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Court Actions */
.court-actions {
  margin-top: 1.25rem;
}

.court-actions a {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: white;
  text-decoration: none;
  background: var(--primary);
  border: none;
  border-radius: 100px;
  transition: all 0.2s ease;
}

.court-actions a:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* Loading State */
.loading {
  text-align: center;
  padding: 3rem;
  color: var(--text-secondary);
}

.loading::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: 0.5rem;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

footer a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

footer a:hover {
  color: var(--text-secondary);
}

/* Court Card Links */
.court-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.court-card-link:hover .court-card {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--border);
}

.court-card-link:hover .court-name {
  color: var(--text);
}

/* Back Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--text);
}

/* Club Page */
.club-page {
  margin-bottom: 2rem;
}

.club-hero {
  margin-bottom: 1.5rem;
}

.club-image {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 12px;
}

/* Photo Gallery */
.gallery {
  margin-bottom: 1.5rem;
}

.gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.gallery-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery:hover .gallery-nav {
  opacity: 1;
}

.gallery-nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

.gallery-prev {
  left: 1rem;
}

.gallery-next {
  right: 1rem;
}

.gallery-thumbnails {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.gallery-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: none;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.gallery-thumb:hover {
  opacity: 0.9;
}

.gallery-thumb.active {
  border-color: var(--primary);
  opacity: 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .gallery-image {
    height: 280px;
  }

  .gallery-nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    opacity: 1;
  }

  .gallery-thumb {
    width: 64px;
    height: 48px;
  }
}

.club-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.club-info {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
}

.club-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.club-section {
  margin-bottom: 1.5rem;
}

.club-section h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.club-section p {
  font-size: 1rem;
  line-height: 1.6;
}

.directions-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 0.9rem;
  font-weight: 500;
}

.directions-link:hover {
  color: var(--text-secondary);
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.map-link:hover {
  border-color: var(--primary);
  background: #f8f9fa;
}

.map-link svg {
  flex-shrink: 0;
}

.map-link.directions {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.map-link.directions:hover {
  background: #000;
  border-color: #000;
}

.facilities-list {
  list-style: none;
  padding: 0;
}

.facilities-list li {
  padding: 0.4rem 0;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}

.facilities-list li:last-child {
  border-bottom: none;
}

/* Amenities Grid */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.amenity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  border-radius: 6px;
}

.amenity.available {
  background: #d1fae5;
  color: #065f46;
}

.amenity.unavailable {
  background: #f3f4f6;
  color: #9ca3af;
}

.amenity-icon {
  font-weight: 600;
}

/* Transport Info */
.transport-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--border-light);
  border-radius: 10px;
}

.transport-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.transport-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.transport-details strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.transport-line {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.transport-distance {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.club-actions-large {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.btn-primary {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: white;
  background: var(--primary);
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.club-map-container {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.club-map {
  height: 300px;
  width: 100%;
}

/* Club Main Layout */
.club-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Availability Card */
.availability-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
}

.availability-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.date-picker-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.date-picker-row input[type="date"] {
  flex: 1;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  outline: none;
}

.date-picker-row input[type="date"]:focus {
  border-color: var(--primary);
}

.btn-secondary {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--border);
}

.availability-date {
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.availability-hint {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 0.5rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
}

.slot:hover {
  border-color: var(--primary);
  background: #eff6ff;
}

.slot-time {
  font-weight: 600;
  font-size: 0.95rem;
}

.slot-info {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.slot-price {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--success);
  margin-top: 0.25rem;
}

.availability-note {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-style: italic;
}

.availability-cta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.no-slots {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 1rem 0;
}

.loading-slots {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Club Error */
.club-error {
  text-align: center;
  padding: 3rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.club-error h2 {
  margin-bottom: 0.5rem;
}

.club-error p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .club-details {
    grid-template-columns: 1fr;
  }

  .club-map {
    height: 250px;
  }
}

@media (max-width: 600px) {
  header {
    padding: 1rem;
  }

  main {
    padding: 1rem;
  }

  .search-box {
    flex-direction: column;
  }

  .search-box button {
    width: 100%;
  }

  .filter-group {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* Homepage Locations Section */
.locations-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.locations-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.location-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.location-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.location-name {
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.location-count {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.35rem;
}

.location-types {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Location Pages */
.location-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-top: 0.25rem;
}

.location-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 2rem;
}

.location-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.location-map-section {
  margin-bottom: 2rem;
}

.location-map-section h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.location-map {
  height: 350px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.location-courts {
  margin-bottom: 2rem;
}

.location-courts h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.courts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.coming-soon-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #fefce8;
  border-radius: 8px;
}

.coming-soon-section h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #854d0e;
}

.seo-content {
  margin-bottom: 2rem;
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.seo-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

.seo-content h3:first-child {
  margin-top: 0;
}

.seo-content p {
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.nearby-locations {
  margin-bottom: 2rem;
}

.nearby-locations h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.nearby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}

.nearby-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.15rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s ease;
}

.nearby-link:hover {
  border-color: var(--primary);
  background: var(--border-light);
}

.nearby-name {
  font-weight: 500;
}

.nearby-arrow {
  color: var(--primary);
}

.location-error {
  text-align: center;
  padding: 3rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.no-courts {
  text-align: center;
  color: var(--text-secondary);
  padding: 2rem;
}

@media (max-width: 768px) {
  .location-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .location-map {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .location-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .stat-card {
    padding: 1rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .nearby-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Navigation */
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
}

/* Page Hero */
.page-hero {
  text-align: center;
  padding: 3rem 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

/* Guides Section */
.guides-section {
  margin-bottom: 3rem;
}

.guides-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.guide-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.guide-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.guide-card.featured-guide {
  border: 2px solid var(--primary);
  background: linear-gradient(to bottom right, var(--card-bg), var(--accent-light));
}

.guide-card .guide-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.guide-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.guide-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.guide-read-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Guide Content Page */
.guide-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem;
}

.guide-hero {
  text-align: center;
  padding: 2rem 0 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.guide-hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0.75rem 0 0.5rem;
}

.guide-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.guide-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
}

.guide-body .lead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.guide-body h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.02em;
}

.guide-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}

.guide-body p {
  margin-bottom: 1.25rem;
}

.guide-body ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

.guide-body li {
  margin-bottom: 0.5rem;
}

.guide-body strong {
  color: var(--text);
  font-weight: 600;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.comparison-table th,
.comparison-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--background);
  font-weight: 600;
}

/* Guide Sidebar */
.guide-sidebar {
  position: fixed;
  top: 150px;
  right: calc((100vw - 1200px) / 2);
  width: 250px;
}

.sidebar-cta {
  background: var(--primary);
  color: white;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 1.5rem;
}

.sidebar-cta h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.sidebar-cta p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.sidebar-cta .btn-primary {
  background: white;
  color: var(--primary);
}

.related-guides h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.related-guide-link {
  display: block;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.related-guide-link:hover {
  border-color: var(--primary);
}

.related-category {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.related-title {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

/* Blog Section */
.blog-section {
  padding: 0 0 3rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.blog-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.blog-card.featured {
  grid-column: 1 / -1;
  padding: 2rem;
}

.blog-card .blog-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.blog-card h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.blog-card:hover h2 {
  color: var(--accent);
}

.blog-card.featured h2 {
  font-size: 1.75rem;
}

.blog-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 1400px) {
  .guide-sidebar {
    display: none;
  }
}

/* Guide Page Styles */
.guide-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.guide-article {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}

.guide-header {
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.guide-header .guide-category {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.guide-header h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.guide-meta {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.guide-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 2rem;
}

.guide-intro p {
  margin-bottom: 1rem;
}

.guide-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Table of Contents / Area Cards */
.guide-toc {
  margin-bottom: 2.5rem;
}

.guide-toc h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.area-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.area-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--background);
  border: 2px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.area-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.area-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.area-card.west .area-icon { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.area-card.north .area-icon { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.area-card.south .area-icon { background: linear-gradient(135deg, #f59e0b, #d97706); }
.area-card.east .area-icon { background: linear-gradient(135deg, #10b981, #059669); }

.area-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.area-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.area-count {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Guide Sections */
.guide-section {
  margin-bottom: 2.5rem;
}

.guide-section h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.guide-section p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

.guide-section ul {
  margin: 1rem 0 1.5rem 1.5rem;
  line-height: 1.7;
}

.guide-section li {
  margin-bottom: 0.5rem;
}

.guide-section ol {
  margin: 1rem 0 1.5rem 1.5rem;
  line-height: 1.7;
}

/* Category List */
.category-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.category-item {
  padding: 1.25rem;
  background: var(--background);
  border-radius: 10px;
  border-left: 4px solid var(--primary);
}

.category-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.category-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Pricing Table */
.pricing-table {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin: 1.5rem 0;
}

.pricing-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-row.header {
  background: var(--primary);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

.pricing-row span {
  font-size: 0.95rem;
}

.pricing-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-top: 0.5rem;
}

/* Comparison Grid */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.comparison-item {
  padding: 1.5rem;
  background: var(--background);
  border-radius: 12px;
}

.comparison-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.comparison-item ul {
  margin: 0 0 1rem 1.25rem;
}

.comparison-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Venue Cards Grid */
.venues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.venue-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.2s ease;
}

.venue-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.venue-image {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.venue-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-type {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 100px;
}

.venue-type.indoor {
  background: rgba(0, 0, 0, 0.7);
  color: white;
}

.venue-type.outdoor {
  background: rgba(16, 185, 129, 0.9);
  color: white;
}

.venue-info {
  padding: 1rem;
}

.venue-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.venue-location {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.venue-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Guide CTA */
.guide-cta {
  text-align: center;
  padding: 2rem;
  background: var(--background);
  border-radius: 12px;
  margin-top: 2rem;
}

.guide-cta h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.guide-cta p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--text);
}

/* Area Header Colors */
.guide-header.area-west { border-top: 4px solid #8b5cf6; }
.guide-header.area-north { border-top: 4px solid #06b6d4; }
.guide-header.area-south { border-top: 4px solid #f59e0b; }
.guide-header.area-east { border-top: 4px solid #10b981; }

/* Detailed Venue Section */
.venues-detailed {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.venue-detailed {
  background: var(--background);
  border-radius: 12px;
  padding: 1.5rem;
}

.venue-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.venue-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.venue-badge {
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 100px;
  background: var(--primary);
  color: white;
}

.venue-badge.premium {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.venue-badge.popular {
  background: linear-gradient(135deg, #10b981, #059669);
}

.venue-badge.coming-soon {
  background: #fef3c7;
  color: #92400e;
}

.venue-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.venue-details p {
  margin: 0.35rem 0;
  font-size: 0.95rem;
}

.venue-description {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.venue-description h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
}

.venue-description ul {
  margin: 0.5rem 0 0 1.25rem;
}

.venue-description li {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

/* Recommendations */
.recommendations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.recommendation {
  padding: 1.25rem;
  background: var(--background);
  border-radius: 10px;
}

.recommendation h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.recommendation p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Area Navigation */
.guide-nav-other {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--background);
  border-radius: 12px;
}

.guide-nav-other h2 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.area-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.area-link {
  padding: 0.6rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.area-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* FAQ Styles */
.faq-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.faq-item {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-item h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.faq-item p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

.faq-item ul, .faq-item ol {
  margin: 1rem 0 1rem 1.5rem;
  line-height: 1.7;
}

.faq-item li {
  margin-bottom: 0.5rem;
}

.faq-item table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.faq-item th, .faq-item td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.faq-item th {
  background: var(--background);
  font-weight: 600;
}

/* Court Price Display */
.court-price {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.4rem 0.75rem;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .main-nav {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .guides-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .guide-content {
    padding: 0 1rem;
  }

  .guide-hero h1 {
    font-size: 1.75rem;
  }

  .guide-body {
    font-size: 1rem;
  }

  .guide-article {
    padding: 1.5rem;
  }

  .guide-header h1 {
    font-size: 1.5rem;
  }

  .guide-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .area-cards {
    grid-template-columns: 1fr;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .pricing-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .pricing-row.header span:not(:first-child) {
    display: none;
  }
}

/* ===== NEW CLUB PAGE REDESIGN ===== */

.club-hero-new {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
}

.club-hero-new.coming-soon {
  border: 3px solid #eab308;
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.2) 100%);
}

.hero-overlay.no-image {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  width: 100%;
  color: white;
}

.hero-brand {
  margin-bottom: 1rem;
}

.hero-brand-logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.hero-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.875rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hero-status.coming-soon {
  background: #fef08a;
  color: #854d0e;
}

.hero-status.no-booking {
  background: #fecaca;
  color: #991b1b;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 1.25rem;
}

.hero-location svg {
  opacity: 0.8;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-stat .stat-label {
  font-size: 0.8rem;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-stat.highlight .stat-value {
  color: #4ade80;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #000;
  background: #fff;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-hero-primary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.25);
}

/* Gallery Strip */
.gallery-strip {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.gallery-strip-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: none;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.gallery-strip-thumb:hover {
  opacity: 0.9;
}

.gallery-strip-thumb.active {
  border-color: var(--primary);
  opacity: 1;
}

.gallery-strip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Club Content Grid */
.club-content-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 1.5rem;
  align-items: start;
}

.club-main-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.club-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 1.5rem;
}

/* Content Cards */
.content-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.card-title svg {
  color: var(--text-secondary);
}

/* Location Card */
.address-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.address-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.address-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.address-link:hover {
  text-decoration: underline;
}

.transport-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--border-light);
  border-radius: 10px;
}

.transport-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  border-radius: 10px;
  flex-shrink: 0;
}

.transport-icon-wrap svg {
  color: var(--text-secondary);
}

.transport-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.transport-text strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.transport-text span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Facilities Grid */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.facility-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}

.facility-item.available {
  background: #ecfdf5;
  color: #065f46;
}

.facility-item.unavailable {
  background: #f5f5f5;
  color: #a3a3a3;
}

.facility-icon {
  font-weight: 700;
  font-size: 0.85rem;
}

/* Operator Card */
.operator-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.operator-logo {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.operator-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.operator-text strong {
  font-size: 1rem;
  font-weight: 600;
}

.operator-text span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Booking Card */
.booking-card {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  border-color: #333;
  color: white;
}

.booking-card .card-title {
  color: white;
}

.booking-card .card-title svg {
  color: rgba(255,255,255,0.7);
}

.booking-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.price-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: #4ade80;
  color: #052e16;
  border-radius: 6px;
}

.booking-platform-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  font-size: 0.9rem;
}

.booking-platform-info span {
  opacity: 0.7;
}

.date-picker-modern {
  margin-bottom: 1.25rem;
}

.date-picker-modern label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.date-picker-modern input[type="date"] {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  color: white;
  font-family: inherit;
  text-align: center;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Calendar icon styling for webkit browsers */
.date-picker-modern input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.7;
  cursor: pointer;
  padding: 4px;
  margin-left: 8px;
}

.date-picker-modern input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

.date-picker-modern input[type="date"]:focus {
  outline: none;
  border-color: #22c55e;
  background: rgba(255,255,255,0.15);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.availability-results-modern {
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  min-height: 80px;
}

.availability-results-modern .availability-hint,
.availability-results-modern .loading-slots {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  text-align: center;
}

.availability-results-modern .availability-date {
  color: white;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.availability-results-modern .slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.availability-results-modern .slot {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  text-decoration: none;
  text-align: center;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.availability-results-modern .slot:hover {
  background: rgba(255,255,255,0.2);
}

.availability-results-modern .slot-time {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
}

.availability-results-modern .slot-price {
  display: block;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-left: 0;
}

.availability-results-modern .slot-info {
  display: none;
}

.availability-results-modern .no-slots {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  text-align: center;
}

.btn-book-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  background: #4ade80;
  color: #052e16;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-book-full:hover {
  background: #22c55e;
  transform: translateY(-2px);
}

.booking-status {
  text-align: center;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.status-icon-large {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.booking-status strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.booking-status p {
  font-size: 0.9rem;
  opacity: 0.7;
}

.booking-status.coming-soon {
  background: rgba(234, 179, 8, 0.2);
  border-radius: 10px;
}

.booking-status.no-online {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
}

/* Map Card */
.map-card {
  padding: 0;
  overflow: hidden;
}

.club-map-embed {
  height: 250px;
  width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
  .club-content-grid {
    grid-template-columns: 1fr;
  }

  .club-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .club-hero-new {
    min-height: 320px;
    border-radius: 12px;
  }

  .hero-content {
    padding: 1.5rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-stats {
    gap: 1.25rem;
  }

  .hero-stat .stat-value {
    font-size: 1.25rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .availability-results-modern .slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== NEW COURT LISTING CARDS ===== */

.court-card-new {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 4px solid #22c55e;
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.court-card-new:hover {
  border-color: #22c55e;
  border-left-color: #16a34a;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.15);
  transform: translateY(-2px);
}

.court-card-new.coming-soon {
  border-color: #fbbf24;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

/* Alternating card styles - blue gradient for every other card */
.court-card-link:nth-child(even) .court-card-new:not(.coming-soon) {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  border-color: #1e40af;
  border-left-color: #3b82f6;
}

.court-card-link:nth-child(even) .court-card-new:not(.coming-soon) .card-name,
.court-card-link:nth-child(even) .court-card-new:not(.coming-soon) .stat-count {
  color: #fff;
}

.court-card-link:nth-child(even) .court-card-new:not(.coming-soon) .card-location,
.court-card-link:nth-child(even) .court-card-new:not(.coming-soon) .stat-type,
.court-card-link:nth-child(even) .court-card-new:not(.coming-soon) .card-facilities::before {
  color: rgba(255, 255, 255, 0.7);
}

.court-card-link:nth-child(even) .court-card-new:not(.coming-soon) .card-distance {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.court-card-link:nth-child(even) .court-card-new:not(.coming-soon) .card-price {
  color: #4ade80;
}

.court-card-link:nth-child(even) .court-card-new:not(.coming-soon) .card-court-stats {
  border-color: rgba(255, 255, 255, 0.2);
}

.court-card-link:nth-child(even) .court-card-new:not(.coming-soon) .court-stat {
  border-color: rgba(255, 255, 255, 0.2);
}

.court-card-link:nth-child(even) .court-card-new:not(.coming-soon) .facility-icon-small {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
}

.court-card-link:nth-child(even) .court-card-new:not(.coming-soon) .facility-icon-small.active {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
  border-color: #4ade80;
}

.court-card-link:nth-child(even) .court-card-new:not(.coming-soon):hover {
  border-color: #3b82f6;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.card-status {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 4px;
}

.card-status.coming-soon {
  background: #fbbf24;
  color: #78350f;
}

.card-status.no-booking {
  background: #f87171;
  color: white;
}

.card-top-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.card-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.9);
}

.logo-initial {
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.card-title-block {
  flex: 1;
  min-width: 0;
}

.card-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.25rem 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.card-location {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}

.card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  flex-shrink: 0;
}

.card-distance {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--border-light);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.card-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: #059669;
}

.card-court-stats {
  display: flex;
  gap: 0;
  margin-bottom: 1rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.court-stat {
  flex: 1;
  text-align: center;
  padding: 0.75rem 0.5rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.court-stat:last-child {
  border-right: none;
}

.stat-type {
  display: block;
  font-size: 0.65rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
}

.stat-count {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.card-facilities {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.25rem;
}

.card-facilities::before {
  content: 'Facilities:';
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-right: 0.25rem;
}

.facility-icon-small {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border-light);
  color: var(--text-muted);
  transition: all 0.15s ease;
}

.facility-icon-small.active {
  background: #dcfce7;
  color: #16a34a;
  border: 1px solid #22c55e;
}

.facility-icon-small svg {
  width: 16px;
  height: 16px;
}

/* Courts list grid */
.courts-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1rem;
}

@media (max-width: 768px) {
  .courts-list {
    grid-template-columns: 1fr;
  }

  .card-top-row {
    flex-wrap: wrap;
  }

  .card-meta {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 0.5rem;
  }

  .card-court-stats {
    flex-wrap: wrap;
  }

  .court-stat {
    flex: 1 1 30%;
  }
}

/* ===== POST PAGE STYLES ===== */

.post-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.post-loading {
  text-align: center;
  padding: 4rem 0;
  color: var(--text-secondary);
}

.post-error {
  text-align: center;
  padding: 4rem 0;
}

.post-error h1 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.post-error p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.post-back {
  display: inline-block;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.post-back:hover {
  color: var(--accent);
}

.post-header {
  margin-bottom: 2.5rem;
}

.post-category {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.post-header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.post-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.post-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
}

.post-body p {
  margin-bottom: 1.5rem;
}

.post-body .post-lead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.post-body h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.01em;
}

.post-cta {
  margin: 2.5rem 0;
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
}

.post-cta .btn-primary {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s;
}

.post-cta .btn-primary:hover {
  background: #16a34a;
  transform: translateY(-1px);
}

.post-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.post-footer .btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s;
}

.post-footer .btn-secondary:hover {
  border-color: var(--primary);
  background: var(--background);
}

@media (max-width: 640px) {
  .post-header h1 {
    font-size: 1.75rem;
  }

  .post-body {
    font-size: 1rem;
  }

  .post-body .post-lead {
    font-size: 1.1rem;
  }
}
