/* ============================================
   TURFBOOK — Premium Mobile App UI
   Version 3.0 — Full App Experience
   ============================================ */

/* ── CSS VARIABLES ── */
:root {
  --app-green: #1e7e34;
  --app-green-light: #28a745;
  --app-green-pale: #e8f5e9;
  --app-bg: #f2f4f7;
  --app-card: #ffffff;
  --app-border: #eef0f3;
  --app-text: #1a1a2e;
  --app-muted: #8892a4;
  --app-shadow: 0 2px 20px rgba(0,0,0,0.07);
  --app-shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --app-radius: 20px;
  --app-radius-sm: 12px;
  --bottom-nav-h: 64px;
}

/* ── BOTTOM NAV ── */
.mob-bottom-nav {
  display: none;
  position: fixed !important;
  bottom: 0 !important; left: 0 !important; right: 0 !important;
  top: auto !important;
  width: 100vw !important;
  z-index: 9999 !important;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 -4px 30px rgba(0,0,0,0.08);
  padding: 0 0 max(6px, env(safe-area-inset-bottom));
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}

.mob-bottom-nav-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: var(--bottom-nav-h);
  padding: 0 8px;
}

.mob-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 14px;
  cursor: pointer;
  text-decoration: none;
  color: #b0bac9;
  transition: color 0.2s, transform 0.15s;
  position: relative;
  flex: 1;
  -webkit-tap-highlight-color: transparent;
}

.mob-nav-item svg { width: 22px; height: 22px; transition: transform 0.2s; }
.mob-nav-item span { font-size: 0.58rem; font-weight: 600; font-family: 'Inter', sans-serif; letter-spacing: 0.3px; transition: color 0.2s; }

.mob-nav-item.active { color: var(--app-green); }
.mob-nav-item.active svg { transform: scale(1.1); }
.mob-nav-item.active::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 3px;
  background: var(--app-green);
  border-radius: 0 0 4px 4px;
}

.mob-nav-item:active { transform: scale(0.92); }

/* Center Book Button */
.mob-nav-book {
  background: linear-gradient(135deg, #1e7e34, #28a745) !important;
  color: #fff !important;
  width: 52px; height: 52px;
  border-radius: 16px !important;
  padding: 0 !important;
  margin-bottom: 8px;
  box-shadow: 0 6px 20px rgba(30,126,52,0.4);
  flex: none;
  align-self: center;
  gap: 2px;
}

.mob-nav-book svg { width: 20px; height: 20px; }
.mob-nav-book span { font-size: 0.52rem; font-weight: 700; }
.mob-nav-book::before { display: none !important; }
.mob-nav-book:active { transform: scale(0.9) !important; }

/* ── TOAST NOTIFICATION ── */
.app-toast {
  position: fixed;
  bottom: calc(var(--bottom-nav-h) + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1a1a2e;
  color: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  z-index: 10000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.app-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.app-toast.success { background: linear-gradient(135deg, #1e7e34, #28a745); }
.app-toast.error { background: linear-gradient(135deg, #c0392b, #e74c3c); }

/* ── SHIMMER SKELETON ── */
.shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── GLOBAL MOBILE ── */
@media (max-width: 768px) {
  * { -webkit-tap-highlight-color: transparent; box-sizing: border-box; }

  html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
  }

  body {
    background: var(--app-bg);
    padding-bottom: calc(var(--bottom-nav-h) + max(6px, env(safe-area-inset-bottom)));
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
  }

  .mob-bottom-nav { display: block; }

  /* ── NAVBAR ── */
  .navbar {
    padding: 0 18px;
    height: 58px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--app-border);
    box-shadow: none;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    will-change: transform;
  }

  .navbar.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.06); }

  /* Home page: transparent navbar over dark hero */
  .page-home .navbar:not(.scrolled) {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
  }
  .page-home .navbar.scrolled {
    background: rgba(255,255,255,0.97) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid var(--app-border) !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06) !important;
  }
  .page-home .navbar.scrolled .nav-logo img { filter: none !important; }

  .nav-links, .nav-cta { display: none !important; }
  .hamburger { display: none !important; }
  .mob-book-btn { display: none !important; }
  .nav-logo img { height: 36px; }

  /* Notification icon in navbar */
  .navbar::after {
    content: none;
  }

  /* ── HERO ── */
  .hero {
    padding: 72px 18px 40px;
    min-height: auto;
    background: url('../images/image for mobile.png') center center / cover no-repeat !important;
    background-color: #0d3d11 !important;
    animation: none !important;
    position: relative;
    overflow: hidden;
  }
  /* disable desktop hero-bg::before/after glows on mobile (they go outside overflow:hidden) */
  .hero-bg::before, .hero-bg::after { display: none !important; }

  /* hide heavy desktop decorative elements on mobile */
  .hero-bg .grass-stripes,
  .hero-bg .grass-stripes-v,
  .hero-bg .field-circle,
  .hero-bg .field-boundary { display: none !important; }

  /* GSAP particle canvas — keep but make it subtler */
  #hero-particles { opacity: 0.6; }

  /* Grass pattern overlay */
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 48px),
      repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 48px);
    pointer-events: none;
  }

  .hero-inner {
    text-align: left;
    max-width: 100%;
    position: relative;
    z-index: 2;
  }

  /* Location pill */
  .hero-badge {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    font-size: 0.62rem;
    padding: 5px 12px;
    margin-bottom: 14px;
    letter-spacing: 0.8px;
  }

  .hero h1 {
    font-size: 1.85rem;
    line-height: 1.15;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-align: left;
  }

  .hero-sub {
    font-size: 0.8rem;
    margin-bottom: 20px;
    text-align: left;
    opacity: 0.8;
    line-height: 1.6;
  }

  /* ── SEARCH BAR ── */
  .hero-search-bar {
    flex-direction: column;
    border-radius: 22px;
    padding: 8px;
    gap: 2px;
    background: rgba(8, 18, 8, 0.85) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.12) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    margin-bottom: 18px;
  }

  .search-sep { display: none; }

  .search-group {
    padding: 10px 14px;
    border-radius: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    gap: 12px;
    cursor: pointer;
    transition: background 0.15s;
  }

  .search-group:last-of-type { border-bottom: none; }
  .search-group:active { background: rgba(255,255,255,0.06); }

  .search-icon-wrap {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, #2e7d32, #43a047);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(46,125,50,0.3);
    flex-shrink: 0;
  }
  .search-icon-wrap svg { stroke: #fff !important; }

  .search-input-wrap label { font-size: 0.55rem; color: rgba(255,255,255,0.5); font-weight: 700; letter-spacing: 0.8px; }
  .search-field-input {
    font-size: 0.88rem; font-weight: 600; color: #fff;
    -webkit-appearance: none !important;
    appearance: none !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    font-family: 'Inter', sans-serif !important;
  }

  .search-btn-wrap { width: 100%; margin-top: 2px; }
  .search-btn {
    width: 100%; padding: 15px;
    border-radius: 16px;
    font-size: 1rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: auto;
    letter-spacing: 0.3px;
  }

  /* ── QUICK LINKS ── */
  .hero-quick-links {
    display: flex; overflow-x: auto; gap: 8px;
    padding: 0 0 4px; scrollbar-width: none;
    justify-content: flex-start; flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
  }
  .hero-quick-links::-webkit-scrollbar { display: none; }
  .quick-label { white-space: nowrap; font-size: 0.72rem; opacity: 0.75; }
  .quick-pill {
    white-space: nowrap; flex-shrink: 0;
    font-size: 0.74rem; padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.15s;
  }
  .quick-pill:active { background: rgba(255,255,255,0.25); }

  /* ── HERO STATS ── */
  .hero-stats {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 18px;
    padding: 16px 0;
    backdrop-filter: blur(16px);
    display: flex;
  }

  .stat-item { padding: 0 10px; flex: 1; display: flex; align-items: center; gap: 8px; justify-content: center; }
  .stat-icon { color: #69f0ae; width: 22px; height: 22px; flex-shrink: 0; }
  .stat-number { font-size: 1.45rem; font-weight: 800; color: #a5d6a7; }
  .stat-label { font-size: 0.6rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.5px; }
  .stat-divider { width: 1px; background: rgba(255,255,255,0.15); margin: 4px 0; }

  /* ── SECTIONS ── */
  .section, .how-section { padding: 28px 0; }
  .section-header { margin-bottom: 18px; padding: 0 18px; text-align: left !important; }
  .section-title { font-size: 1.3rem; font-weight: 800; text-align: left !important; }
  .section-subtitle { font-size: 0.8rem; color: var(--app-muted); text-align: left !important; margin: 0 !important; }
  .section-tag { font-size: 0.62rem; letter-spacing: 1px; display: inline-flex !important; }

  /* ── HOW IT WORKS ── */
  .how-section { background: #fff; padding: 28px 18px; }

  .steps-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .step-card {
    background: #fff !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 15px 13px 14px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04) !important;
    transition: transform 0.15s;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    overflow: hidden !important;
    position: relative !important;
  }
  /* hide colored top stripe inherited from desktop on mobile */
  .step-card::before { display: none !important; }
  .step-card::after { display: none !important; }

  .step-card:active { transform: scale(0.97); }

  .step-number {
    position: static !important;
    display: block !important;
    font-size: 1.35rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin: 0 0 8px 0 !important;
    letter-spacing: 0 !important;
  }
  .step-card:nth-child(1) .step-number { color: #2e7d32 !important; }
  .step-card:nth-child(2) .step-number { color: #1565c0 !important; }
  .step-card:nth-child(3) .step-number { color: #e65100 !important; }
  .step-card:nth-child(4) .step-number { color: #6a1b9a !important; }

  .step-icon {
    width: 44px !important; height: 44px !important;
    border-radius: 14px !important;
    margin: 0 0 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .step-card:nth-child(1) .step-icon { background: #c8e6c9 !important; color: #1b5e20 !important; }
  .step-card:nth-child(2) .step-icon { background: #bbdefb !important; color: #0d47a1 !important; }
  .step-card:nth-child(3) .step-icon { background: #ffe0b2 !important; color: #bf360c !important; }
  .step-card:nth-child(4) .step-icon { background: #e1bee7 !important; color: #4a148c !important; }

  .step-card h3 { font-size: 0.85rem !important; font-weight: 700; color: var(--app-text); margin-bottom: 4px; }
  .step-card p { font-size: 0.7rem !important; color: var(--app-muted); line-height: 1.5; }

  /* ── SPORTS SECTION ── */
  .sports-section { padding: 28px 0; }

  /* horizontal scroll — matches actual class name in HTML */
  .sports-cards-row, .sports-grid {
    display: flex !important;
    grid-template-columns: unset !important;
    overflow-x: auto;
    gap: 10px;
    padding: 4px 0 12px 18px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap !important;
    perspective: none !important;
  }
  .sports-cards-row::-webkit-scrollbar,
  .sports-grid::-webkit-scrollbar { display: none; }
  .sports-cards-row::after, .sports-grid::after {
    content: '';
    flex-shrink: 0;
    min-width: 18px;
  }

  /* sport card compact pill on mobile */
  .sport-card, .sport-pill {
    flex-shrink: 0 !important;
    min-width: 82px;
    max-width: 82px;
    padding: 14px 8px 12px !important;
    border-radius: 18px !important;
    box-shadow: var(--app-shadow);
    text-align: center;
    cursor: pointer;
    transform: none !important;
    transition: transform 0.15s;
    border: 1.5px solid rgba(255,255,255,0.15);
  }
  .sport-card:active { transform: scale(0.93) !important; }
  .sport-card-icon {
    display: flex !important; align-items: center !important; justify-content: center !important;
    width: 44px !important; height: 44px !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,0.18) !important;
    margin: 0 auto 8px !important;
    filter: none;
  }
  .sport-card-icon iconify-icon { width: 28px !important; height: 28px !important; color: #fff !important; }
  .sport-card-name { font-size: 0.7rem !important; font-weight: 700; }
  .sport-card-count { display: none !important; }

  .sport-icon { font-size: 2rem; display: block; margin-bottom: 8px; }

  /* ── FEATURED TURFS ── */
  .turfs-section { padding: 28px 0; }

  .turf-scroll-wrap {
    display: flex;
    overflow-x: auto; gap: 14px;
    padding: 4px 0 16px 18px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }
  .turf-scroll-wrap::-webkit-scrollbar { display: none; }
  .turf-scroll-wrap::after {
    content: '';
    flex-shrink: 0;
    min-width: 18px;
  }

  .turf-card-link {
    flex-shrink: 0;
    width: 230px;
    display: block;
    text-decoration: none;
  }

  /* direct child cards when no .turf-card-link wrapper */
  .turf-scroll-wrap > .turf-card {
    flex-shrink: 0;
    width: 230px;
  }

  .turf-card {
    background: var(--app-card);
    border-radius: 22px;
    box-shadow: var(--app-shadow-lg);
    border: none;
    overflow: hidden;
    transition: transform 0.2s;
  }

  .turf-card:active { transform: scale(0.97); }

  .turf-card-img {
    height: 140px;
    position: relative;
    background: linear-gradient(135deg, #0d3d11, #1e7e34, #28a745);
  }

  /* Shimmer on image placeholder */
  .turf-card-img .field-mini::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
    animation: shimmer-card 2s infinite;
  }

  @keyframes shimmer-card {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }

  .turf-card-body { padding: 12px 14px 14px; }
  .turf-card-body h3 { font-size: 0.92rem; font-weight: 700; color: var(--app-text); margin-bottom: 4px; }
  .turf-location { font-size: 0.72rem; color: var(--app-muted); }

  .turf-tags { display: flex; gap: 4px; flex-wrap: wrap; margin: 8px 0; }
  .tag {
    font-size: 0.62rem;
    background: var(--app-bg);
    color: var(--app-muted);
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
  }

  .turf-card-footer { margin-top: 10px; display: flex; justify-content: space-between; align-items: center; }
  .price-tag span { font-size: 1.05rem; font-weight: 800; color: var(--app-green); }
  .price-tag small { font-size: 0.65rem; color: var(--app-muted); }
  .rating { font-size: 0.78rem; font-weight: 600; color: #f59e0b; }

  /* ── CTA SECTION ── */
  .cta-section {
    margin: 0 14px 8px;
    border-radius: 24px;
    padding: 28px 20px;
    overflow: hidden;
  }

  .cta-content h2 { font-size: 1.35rem; font-weight: 800; margin-bottom: 8px; }
  .cta-content p  { font-size: 0.8rem; margin-bottom: 16px; opacity: 0.85; line-height: 1.6; }

  /* feature chips — 2 per row */
  .cta-features {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: unset;
  }
  .cta-features span {
    font-size: 0.73rem !important;
    padding: 7px 10px !important;
    border-radius: 8px !important;
    justify-content: flex-start;
    gap: 6px;
  }

  .cta-actions { flex-direction: column; gap: 10px; }
  .cta-btn-primary, .cta-btn-outline {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px !important;
    font-size: 0.9rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    gap: 8px;
  }

  /* CTA stats bar — stay horizontal, smaller */
  .cta-stats {
    margin-top: 20px;
    padding: 14px 0 0;
    gap: 0;
    flex-wrap: nowrap;
  }
  .cta-stat { flex: 1; padding: 0; }
  .cta-stat-num  { font-size: 1.25rem !important; }
  .cta-stat-label{ font-size: 0.56rem !important; letter-spacing: 0.4px; }
  .cta-stat-sep  { height: 28px; }

  /* ── FOOTER ── */
  footer {
    padding: 0 0 16px;
    background: #0f1f10;
  }

  /* contact strip — one column on mobile */
  .footer-contact-strip { padding: 10px 18px; }
  .footer-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .footer-strip-right { flex-wrap: wrap; gap: 10px 16px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    padding: 28px 18px 20px;
  }
  .footer-brand { grid-column: 1 / -1; text-align: left; }
  .footer-brand p { font-size: 0.78rem; opacity: 0.6; line-height: 1.7; }

  /* social icons — circular buttons */
  .footer-social { gap: 8px; margin-top: 1rem; }
  .social-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    font-size: 0.9rem;
  }

  .footer-col h4 { font-size: 0.72rem; margin-bottom: 10px; letter-spacing: 1px; }
  .footer-col ul { gap: 8px; }
  .footer-col ul li a { font-size: 0.78rem; opacity: 0.65; }

  .footer-divider { margin: 0 18px; }

  .footer-bottom {
    flex-direction: column; text-align: center;
    gap: 6px; font-size: 0.7rem;
    padding: 16px 18px 8px;
  }
  .footer-bottom-links { gap: 14px; }

  /* ── BROWSE TURFS PAGE ── */
  .page-header {
    padding: 68px 18px 20px;
    background: linear-gradient(155deg, #0a2e0e 0%, #1e7e34 100%);
  }

  .page-header h1 { font-size: 1.5rem; font-weight: 800; text-align: left; margin-bottom: 4px; }
  .page-header p { font-size: 0.8rem; text-align: left; opacity: 0.8; }
  .page-header .section-tag { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.3); color: #fff; }

  .browse-layout { display: block; padding: 0; }
  .filters-sidebar { display: none; }

  .turfs-main { padding: 14px 18px; }

  /* Search bar - app style */
  .search-sort-bar { gap: 8px; margin-bottom: 12px; }

  .search-box {
    background: #fff;
    border: none;
    border-radius: 14px;
    box-shadow: var(--app-shadow);
    padding: 11px 14px;
    gap: 10px;
  }

  .search-box:focus-within { box-shadow: 0 0 0 2px var(--app-green), var(--app-shadow); }
  .search-box input { font-size: 0.86rem; }

  .mob-filter-btn {
    display: flex;
    background: #fff;
    border: none;
    border-radius: 14px;
    box-shadow: var(--app-shadow);
    padding: 11px 14px;
    font-size: 0.82rem;
    color: var(--app-text);
    gap: 6px;
    white-space: nowrap;
  }

  .mob-quick-chips { display: flex; margin-bottom: 14px; gap: 8px; }

  .mob-chip {
    background: #fff;
    border: none;
    box-shadow: var(--app-shadow);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--app-text);
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.15s;
  }

  .mob-chip.active, .mob-chip:active {
    background: var(--app-green);
    color: #fff;
    box-shadow: 0 4px 12px rgba(30,126,52,0.3);
  }

  .sort-box { display: none; }
  .results-info { font-size: 0.78rem; color: var(--app-muted); margin-bottom: 12px; font-weight: 500; }

  .turfs-list-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* Turf list card — Premium vertical card */
  .turf-list-card {
    background: #fff;
    border-radius: 18px;
    border: none;
    box-shadow: 0 2px 14px rgba(0,0,0,0.09), 0 1px 4px rgba(0,0,0,0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s, box-shadow 0.15s;
    text-decoration: none;
    color: inherit;
  }

  .turf-list-card:active {
    transform: scale(0.985);
  }

  /* Image area — keep sport-specific classes, just adjust height */
  .tlc-img {
    width: 100%;
    height: 175px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    display: block;
  }

  /* Don't override sport-specific gradient backgrounds */
  .tlc-img.sport-cricket   { background: linear-gradient(145deg, #0d5c2e 0%, #1e7e34 45%, #2fa84f 80%, #166a2f 100%); }
  .tlc-img.sport-football  { background: linear-gradient(145deg, #0a3d22 0%, #145a33 45%, #1e7e34 80%, #0d4f2e 100%); }
  .tlc-img.sport-badminton { background: linear-gradient(145deg, #005b8e 0%, #0077b6 50%, #0096c7 100%); }
  .tlc-img.sport-basketball{ background: linear-gradient(145deg, #a33a18 0%, #c94d26 50%, #e07a50 100%); }

  .tlc-body {
    padding: 13px 15px 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .tlc-name-price h3 { font-size: 1.05rem; }
  .tlc-price { font-size: 1.05rem; }
  .turf-location { font-size: 0.74rem; color: var(--app-muted); }
  .tlc-tags span { font-size: 0.68rem; padding: 3px 8px; }
  .tlc-book-btn { padding: 11px; font-size: 0.86rem; border-radius: 10px; margin-top: auto; }

  /* Availability badge */
  .availability-badge {
    font-size: 0.68rem !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
  }

  /* ── AUTH PAGES ── */
  .auth-page {
    padding: 0;
    align-items: flex-end;
    min-height: 100dvh;
  }

  .auth-container { max-width: 100%; }

  .auth-card {
    border-radius: 32px 32px 0 0;
    padding: 8px 22px max(28px, env(safe-area-inset-bottom));
    min-height: 78dvh;
    box-shadow: 0 -20px 60px rgba(0,0,0,0.18);
    border: none;
  }

  /* Drag handle */
  .auth-card::before {
    content: '';
    display: block;
    width: 40px; height: 4px;
    background: #e0e0e0;
    border-radius: 4px;
    margin: 12px auto 20px;
  }

  .auth-header { margin-bottom: 22px; }
  .auth-header h1 { font-size: 1.55rem; font-weight: 800; }
  .auth-header p { font-size: 0.82rem; color: var(--app-muted); }

  .auth-form { gap: 12px; }
  .form-row-2 { grid-template-columns: 1fr; gap: 12px; }

  .input-icon-wrap input {
    padding: 14px 14px 14px 42px;
    font-size: 0.9rem;
    border-radius: 14px;
    background: var(--app-bg);
    border: 1.5px solid transparent;
  }

  .input-icon-wrap input:focus {
    background: #fff;
    border-color: var(--app-green);
  }

  .btn-auth-submit {
    padding: 16px;
    font-size: 1rem;
    border-radius: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
  }

  .social-auth { gap: 10px; }
  .social-login-btn {
    padding: 12px;
    border-radius: 14px;
    font-size: 0.82rem;
    background: var(--app-bg);
    border: none;
  }

  /* ── BOOKING PAGE ── */
  .booking-page { padding-top: 58px; background: var(--app-bg); }

  .booking-steps-bar {
    padding: 14px 18px;
    background: #fff;
    border-bottom: 1px solid var(--app-border);
  }

  .booking-step span { font-size: 0.65rem; font-weight: 600; }
  .step-dot { width: 28px; height: 28px; font-size: 0.76rem; font-weight: 700; }
  .step-line { height: 2px; }

  .booking-layout {
    flex-direction: column;
    padding: 14px 18px;
    gap: 14px;
  }

  .booking-summary-card {
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--app-shadow);
    border: none;
    background: #fff;
  }

  .booking-form-section {
    background: #fff;
    border-radius: 22px;
    padding: 20px 18px;
    box-shadow: var(--app-shadow);
  }

  .booking-form-section h2 { font-size: 1.25rem; font-weight: 800; }

  .bform-group label { font-size: 0.8rem; font-weight: 600; }

  .bform-group input,
  .bform-group select,
  .bform-group textarea {
    border-radius: 14px;
    font-size: 0.88rem;
    background: var(--app-bg);
    border: 1.5px solid transparent;
    padding: 13px 14px;
  }

  .bform-group input:focus,
  .bform-group select:focus,
  .bform-group textarea:focus {
    background: #fff;
    border-color: var(--app-green);
  }

  .form-row-2 { grid-template-columns: 1fr; gap: 10px; }

  /* Payment options */
  .payment-option { border-radius: 14px; }
  .payment-option.active { border-color: var(--app-green); background: var(--app-green-pale); }

  /* ── OWNER DASHBOARD ── */
  .owner-body { background: var(--app-bg); }

  .owner-sidebar {
    position: fixed;
    left: -280px; top: 0; bottom: 0;
    width: 265px;
    z-index: 9998;
    transition: left 0.3s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
    box-shadow: 4px 0 30px rgba(0,0,0,0.15);
  }

  .owner-sidebar.open { left: 0; }

  .sidebar-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9997;
    backdrop-filter: blur(3px);
  }

  .sidebar-overlay.active { display: block; }

  .owner-main { width: 100%; }

  .owner-header {
    padding: 12px 16px;
    height: 58px;
    background: #fff;
    border-bottom: 1px solid var(--app-border);
    position: sticky; top: 0; z-index: 100;
  }

  .header-title { font-size: 0.92rem; font-weight: 700; }
  .header-subtitle { font-size: 0.7rem; color: var(--app-muted); }
  .header-date-badge { display: none; }

  .owner-content { padding: 14px 16px; }

  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px; margin-bottom: 14px;
  }

  .stat-card {
    padding: 14px;
    border-radius: 20px;
    box-shadow: var(--app-shadow);
    border: none;
    background: #fff;
    transition: transform 0.15s;
  }

  .stat-card:active { transform: scale(0.97); }
  .stat-icon-box { width: 36px; height: 36px; border-radius: 10px; }
  .stat-value { font-size: 1.4rem; font-weight: 800; }
  .stat-label { font-size: 0.68rem; color: var(--app-muted); }
  .stat-change { font-size: 0.64rem; }

  .content-grid-2 { display: flex; flex-direction: column; gap: 12px; }

  .owner-card {
    border-radius: 20px;
    box-shadow: var(--app-shadow);
    border: none;
    background: #fff;
    overflow: hidden;
  }

  .owner-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .owner-table { min-width: 520px; font-size: 0.78rem; }

  .quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

  .quick-action-btn {
    padding: 14px 8px;
    font-size: 0.76rem;
    border-radius: 16px;
    background: var(--app-bg);
    border: none;
    box-shadow: none;
    text-align: center;
    gap: 8px;
    transition: all 0.15s;
  }

  .quick-action-btn:active {
    transform: scale(0.96);
    background: var(--app-green-pale);
    color: var(--app-green);
  }

  /* ── DETAIL PAGE ── */
  .breadcrumb-bar { padding: 10px 18px; font-size: 0.72rem; }
  .detail-hero { height: 220px; }
  .detail-layout { display: flex; flex-direction: column; padding: 14px 18px; gap: 14px; }
  .detail-sidebar { position: static !important; }
  .detail-content { order: 1; }
  .detail-sidebar { order: 2; }
  .slots-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 8px !important; }

  /* ── CONTACT PAGE ── */
  .contact-layout { grid-template-columns: 1fr !important; padding: 14px 18px !important; }

  /* ── GLOBAL BUTTONS ── */
  .btn, .btn-primary, .btn-outline {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.15s;
  }

  .btn:active, .btn-primary:active { transform: scale(0.97); }

  /* Remove desktop hover effects on mobile */
  .turf-card:hover,
  .turf-list-card:hover { transform: none !important; box-shadow: var(--app-shadow) !important; }
}

/* ── MOBILE MENU PANEL ── */
.mobile-menu { display: none; }
.mobile-menu.open { display: block; }

.mob-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}

.mob-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(300px, 82vw);
  background: #fff;
  z-index: 10001;
  display: flex; flex-direction: column;
  box-shadow: -12px 0 48px rgba(0,0,0,0.2);
  overflow-y: auto;
  animation: slideInRight 0.28s cubic-bezier(0.4,0,0.2,1);
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.mob-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.mob-close {
  background: #f5f5f5; border: none;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.mob-close svg { width: 16px; height: 16px; color: #374151; }

.mob-nav-list { list-style: none; padding: 8px 0; flex: 1; }

.mob-nav-list a {
  display: flex; align-items: center;
  padding: 14px 22px;
  font-size: 0.95rem; font-weight: 600;
  color: var(--app-text);
  border-left: 3px solid transparent;
  transition: all 0.15s;
}

.mob-nav-list a:active {
  background: var(--app-green-pale);
  border-left-color: var(--app-green);
  color: var(--app-green);
}

.mob-nav-cta {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid #f0f0f0;
}

.mob-nav-footer { padding: 14px 20px; font-size: 0.72rem; color: var(--app-muted); text-align: center; }

/* ── SMALL PHONES ── */
@media (max-width: 380px) {
  .hero h1 { font-size: 1.5rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .steps-container { grid-template-columns: 1fr; }
  .quick-actions { grid-template-columns: 1fr; }
  .mob-nav-book { width: 46px; height: 46px; border-radius: 14px; }
}

/* ── SAFE AREA (iPhone) ── */
@supports (padding: max(0px)) {
  @media (max-width: 768px) {
    .mob-bottom-nav { padding-bottom: max(8px, env(safe-area-inset-bottom)); }
    .auth-card { padding-bottom: max(28px, env(safe-area-inset-bottom)); }
  }
}
