/* ===== style.css ===== */
:root {
  --bg: #070b09;
  --card: #0f1714;
  --card-2: #111c18;
  --text: #f7f8f7;
  --muted: #9fa5a2;
  --green: #38ff37;
  --line: #1a2721;
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
  --tw-contain-size: ;
  --tw-contain-layout: ;
  --tw-contain-paint: ;
  --tw-contain-style: ;

}


* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  background:
    radial-gradient(circle at 10% 20%, rgba(56, 255, 55, 0.06), transparent 25%),
    radial-gradient(circle at 90% 70%, rgba(56, 255, 55, 0.06), transparent 20%),
    var(--bg);
  color: var(--text);
}

a {
  text-decoration: none;
}

.container {
  width: min(1180px, 100vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(4 8 6 / 50%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

.backdrop-blur-xl {
  --tw-backdrop-blur: blur(24px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.topbar-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  text-decoration: none;
  color: var(--green);
  font-weight: 700;
  font-size: 1.5rem;
}

.logo span {
  color: #ffffff;
}

.actions {
  display: flex;
  gap: 10px;
}

.chip {
  border: 0;
  border-radius: 999px;
  color: #fff;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
}

.chip.dark {
  background: #141a17;
  border: 1px solid #222e27;
}

.chip.green {
  color: #031003;
  background: var(--green);
}

.hero {
  height: clamp(330px, 52vw, 460px);
  position: relative;
  background: url("https://images.unsplash.com/photo-1593341646782-e0b495cff86d?auto=format&fit=crop&w=1400&q=80") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 7, 0.45) 0%, rgba(6, 10, 8, 0.88) 70%, var(--bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.hero p {
  margin: 0;
  color: #d3d7d5;
  font-size: clamp(0.95rem, 2.1vw, 1.2rem);
}

.search-row {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  width: min(700px, 100%);
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 999px;
  padding: 7px 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 24px rgba(0, 0, 0, 0.3);
}

.backdrop-blur-md {
  --tw-backdrop-blur: blur(12px);
}

.search-icon {
  width: 36px;
  min-width: 36px;
  display: grid;
  place-items: center;
  color: rgba(227, 234, 231, 0.72);
  font-size: 1.2rem;
  margin-left: 4px;
}

.search-row input {
  flex: 1;
  border: 0;
  outline: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  padding: 11px 6px 11px 0;
  font-family: inherit;
  font-size: 1.05rem;
}

.search-row input::placeholder {
  color: rgba(214, 223, 218, 0.5);
  font-weight: 500;
}

.search-row button {
  border: 0;
  border-radius: 999px;
  padding: 12px 32px;
  background: var(--green);
  color: #001000;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  box-shadow:
    inset 0 -2px 0 rgba(0, 0, 0, 0.16),
    0 6px 14px rgba(56, 255, 55, 0.22);
}

.page-content {
  padding: 24px 0 50px;
}

.section {
  margin-top: 18px;
}

.section-label {
  text-transform: uppercase;
  color: var(--green);
  letter-spacing: 0.2em;
  font-size: 0.73rem;
  margin-bottom: 8px;
}

.section-title {
  margin: 0 0 18px;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  background: linear-gradient(180deg, #111a16 0%, #0d1512 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 108px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.category-card h3 {
  margin: 0;
}

.category-icon {
  font-size: 1.5rem;
  color: var(--green);
}

.turfs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.turf-card {
  background: linear-gradient(180deg, #121a17 0%, #0f1513 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.turf-card:hover {
  transform: translateY(-7px);
  border-color: rgba(56, 255, 55, 0.35);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(56, 255, 55, 0.08);
}

.turf-image {
  width: 100%;
  height: 165px;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.turf-card:hover .turf-image {
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.03);
}

.turf-content {
  padding: 12px 14px 14px;
}

.turf-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.turf-name {
  margin: 2px 0 4px;
  font-size: 1.15rem;
}

.turf-place {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.price {
  margin: 0;
  color: var(--green);
  font-size: 1.65rem;
  font-weight: 700;
}

.per {
  margin: 0;
  color: #95a199;
  text-align: right;
  font-size: 0.74rem;
}

.rating {
  margin: 8px 0 10px;
  color: #d8fadb;
  font-size: 0.9rem;
}

.details-btn {
  width: 100%;
  border: 1px solid #24312a;
  border-radius: 999px;
  background: transparent;
  color: #f1f7f3;
  padding: 9px 0;
  cursor: pointer;
  font-weight: 600;
  transition: border-color 0.24s ease, background-color 0.24s ease, color 0.24s ease;
}

.details-btn:hover {
  border-color: rgba(56, 255, 55, 0.6);
  background: rgba(56, 255, 55, 0.12);
  color: #ffffff;
}

.cta {
  margin-top: 36px;
  padding: 38px 20px;
  border-radius: 18px;
  border: 1px solid #233029;
  background: linear-gradient(120deg, rgba(14, 21, 17, 0.95), rgba(12, 19, 15, 0.95));
  text-align: center;
}

.cta h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
}

.cta p {
  margin: 0;
  color: #bdc6c1;
}

.cta button {
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #001000;
  padding: 12px 30px;
  font-weight: 700;
  cursor: pointer;
}

@media (min-width: 992px) {

  body.page-detail .container {
    width: min(1240px, 92%);
    padding-inline: clamp(22px, 2.6vw, 34px);
  }
}


@media (max-width: 768px) {
  .topbar-inner {
    min-height: 58px;
  }

  .logo {
    font-size: 1.25rem;
  }

  .chip {
    padding: 6px 12px;
    font-size: 0.82rem;
  }

  .hero {
    height: 360px;
  }

  .search-row {
    flex-direction: row;
    gap: 5px;
    width: 100%;
    padding: 6px 7px;
  }

  .search-icon {
    width: 30px;
    min-width: 30px;
    margin-left: 2px;
    font-size: 1rem;
  }

  .search-row input {
    font-size: 0.95rem;
  }

  .search-row button {
    padding: 11px 18px;
    font-size: 0.95rem;
  }

  .category-grid,
  .turfs-grid {
    grid-template-columns: 1fr;
  }

  .turf-image {
    height: 185px;
  }
}

/* ===== home.css ===== */
/* Home page only — loaded after style.css */
body.page-home {
  margin: 0;
  font-family: "Outfit", sans-serif;
  background: linear-gradient(165deg, #dcecf8 0%, #eef6fb 42%, #f4f8fc 100%);
  color: #1c2735;
  min-height: 100dvh;
  padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
}

body.page-home .container {
  /* width: min(440px, 100%); */
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 22px);
}

.home-app {
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
}

/* —— Header —— */
.home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.home-header-brand {
  min-width: 0;
}

.home-logo {
  display: inline-block;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.15;
}

.home-logo-book {
  color: #2563eb;
}

.home-city {
  margin: 5px 0 0;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #475569;
}

.home-city-pin {
  flex-shrink: 0;
  color: #2563eb;
  opacity: 0.9;
}

.home-login-btn {
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  padding: 10px 22px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  background: #2563eb;
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.32);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.home-login-btn:hover {
  background: #1d4ed8;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.38);
}

.home-login-btn:active {
  transform: scale(0.98);
}

.home-profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: transform 0.15s ease;
}

.home-profile-link:hover {
  transform: translateY(-1px);
}

.home-profile-theme-a { background-image: url("../assets/cardbg/bgc1.jpg"); }
.home-profile-theme-b { background-image: url("../assets/cardbg/bgc2.webp"); }
.home-profile-theme-c { background-image: url("../assets/cardbg/bgc3.jpg"); }
.home-profile-theme-d { background-image: url("../assets/cardbg/bgc4.jpg"); }
.home-profile-theme-e { background-image: url("../assets/cardbg/bgc5.jpg"); }
.home-profile-theme-f { background-image: url("../assets/cardbg/bgc6.jpg"); }
.home-profile-theme-g { background-image: url("../assets/cardbg/bgc7.jpg"); }
.home-profile-theme-h { background-image: url("../assets/cardbg/bgc8.jpg"); }
.home-profile-theme-i { background-image: url("../assets/cardbg/bgc9.jpg"); }
.home-profile-theme-j { background-image: url("../assets/cardbg/bgc10.jpg"); }
.home-profile-theme-k { background-image: url("../assets/cardbg/bgc11.jpg"); }
.home-profile-theme-l { background-image: url("../assets/cardbg/bgc12.jpg"); }
.home-profile-theme-m { background-image: url("../assets/cardbg/bgc13.jpg"); }
.home-profile-theme-n { background-image: url("../assets/cardbg/bgc14.jpg"); }

.home-profile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  mix-blend-mode: darken;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
  border: 1px solid #00000014;
}

.home-header-actions {
  display: flex;
  align-items: center;
  gap: 40px;
}

.home-desktop-nav {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12), 0 2px 0 rgba(255, 255, 255, 0.8) inset;
}

.home-desktop-nav .nav-item {
  flex: unset;
  min-width: 58px;
}

/* —— Headline —— */
.home-headline {
  margin: 0 0 16px;
  font-size: clamp(1.55rem, 5.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  letter-spacing: -0.02em;
}

/* —— Search —— */
.home-search-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 26px;
}

.home-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 4px 4px 4px 16px;
  background: #fff;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.home-search .search-glyph {
  flex-shrink: 0;
  color: #2563eb;
  display: grid;
  place-items: center;
}

.home-search .search-glyph svg {
  width: 22px;
  height: 22px;
}

.home-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: #0f172a;
  padding: 12px 14px 12px 0;
}

.home-search input::placeholder {
  color: #94a3b8;
}

.home-filter {
  width: 52px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: #64748b;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
  transition: background 0.2s ease;
}

.home-filter:hover {
  background: #fff;
}

.home-filter svg {
  width: 22px;
  height: 22px;
}

/* —— Section chrome —— */
.home-section {
  margin-bottom: 16px;
}

.home-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.home-section-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.home-section-head a {
  font-size: 0.88rem;
  font-weight: 600;
  color: #e11d48;
  text-decoration: none;
  white-space: nowrap;
}

.home-section-head a:hover {
  text-decoration: underline;
}

/* —— Welcome stacked carousel —— */
.welcome-stack {
  position: relative;
  overflow: visible;
  padding-bottom: 28px;
}

.welcome-stack-deck {
  position: relative;
  height: 228px;
  margin-bottom: 8px;
  perspective: 1100px;
  perspective-origin: 50% 35%;
  overflow: visible;
}

.welcome-stack-deck:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 6px;
  border-radius: 24px;
}

.welcome-stack-hint {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748b;
}

.stack-card {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: #1e293b;
  transform-origin: 50% 100%;
  will-change: transform, opacity, filter;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease,
    filter 0.45s ease,
    box-shadow 0.45s ease;
  user-select: none;
  -webkit-user-select: none;
}

.stack-card[data-slot="0"] {
  transform: translateY(30px) scale(0.86);
  z-index: 1;
  opacity: 0.72;
  filter: saturate(0.92) brightness(1.06) blur(0.9px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  pointer-events: none;
}

.stack-card[data-slot="1"] {
  transform: translateY(20px) scale(0.91);
  z-index: 2;
  opacity: 0.82;
  filter: saturate(0.95) brightness(1.04) blur(0.45px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.11);
  pointer-events: none;
}

.stack-card[data-slot="2"] {
  transform: translateY(10px) scale(0.96);
  z-index: 3;
  opacity: 0.93;
  filter: saturate(0.98) brightness(1.02);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
  pointer-events: none;
}

.stack-card[data-slot="3"] {
  transform: translateX(0) translateY(0) scale(1);
  z-index: 4;
  opacity: 1;
  filter: none;
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.16);
  cursor: grab;
  touch-action: none;
}

.stack-card[data-slot="3"]:active {
  cursor: grabbing;
}

.stack-card[data-slot="3"].is-dragging {
  transition: none;
  transform: translateX(var(--drag-x, 0px)) translateY(0) scale(1);
}

.stack-card.is-dragging {
  transition: none;
}

.stack-card.is-exiting {
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 6;
}

.stack-card.is-exiting.is-exit-right {
  transform: translateX(118%) rotate(7deg) scale(0.98) !important;
  opacity: 0.98;
}

.stack-card.is-exiting.is-exit-left {
  transform: translateX(-118%) rotate(-7deg) scale(0.98) !important;
  opacity: 0.98;
}

.stack-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.stack-card[data-slot="3"]:hover .stack-card-bg {
  transform: scale(1.03);
}

.stack-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 35%, rgba(15, 23, 42, 0.88) 100%);
  pointer-events: none;
}

.stack-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.stack-card[data-slot="3"] .stack-tag {
  opacity: 1;
}

.stack-card:not([data-slot="3"]) .stack-tag {
  opacity: 0;
}

.stack-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 17px;
  pointer-events: none;
}

.stack-meta {
  min-width: 0;
}

.stack-title {
  margin: 0 0 5px;
  font-size: 1.28rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.stack-loc {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.stack-loc svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.stack-rating {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.stack-rating .star {
  color: #fbbf24;
  font-size: 1.05rem;
  line-height: 1;
}

/* —— Category pills —— */
.category-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 14px;
  margin: 0 -4px;
  /* padding-inline: 4px; */
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  flex: 0 0 auto;
  scroll-snap-align: start;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.7);
  color: #475569;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cat-pill:hover {
  background: #fff;
  border-color: #cbd5e1;
}

.cat-pill.is-active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
  /* box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35); */
  box-shadow: 0 6px 8px rgb(0 0 0 / 25%);
}

/* —— Highlight card (sports ref) —— */
.highlight-card {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.highlight-visual {
  position: relative;
  min-height: 160px;
  background-size: cover;
  background-position: center;
}

.highlight-visual .hl-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 50%, rgba(15, 23, 42, 0.55) 100%);
}

.highlight-meta {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  z-index: 1;
}

.hl-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
}

.hl-pill.muted {
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  backdrop-filter: blur(4px);
}

.highlight-panel {
  padding: 16px 18px 18px;
}

.highlight-panel h3 {
  margin: 0 0 4px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
}

.highlight-panel p.sub {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.45;
}

.hl-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hl-avatars {
  display: flex;
  align-items: center;
}

.hl-avatars img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-left: -10px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.hl-avatars img:first-child {
  margin-left: 0;
}

.hl-more {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin-left: -10px;
  background: #f1f5f9;
  border: 2px solid #fff;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #475569;
}

.hl-play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: #0f172a;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
  transition: transform 0.15s ease, background 0.2s ease;
}

.hl-play:hover {
  transform: scale(1.05);
  background: #1e293b;
}

/* —— Horizontal place cards —— */
.places-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 20px;
  margin: 0 -4px;
  /* padding-inline: 4px; */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pb-sec{
  padding-bottom: 20px;
}

.places-scroll::-webkit-scrollbar {
  display: none;
}

.place-card {
  flex: 0 0 min(260px, 78vw);
  scroll-snap-align: start;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  /* box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1); */
  box-shadow: 0 14px 11px rgb(15 23 42 / 14%);  
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.place-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
}

.place-card .place-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.place-card .place-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 30%, rgba(15, 23, 42, 0.88) 100%);
  pointer-events: none;
}

.place-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #e11d48;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.place-fav:hover {
  transform: scale(1.06);
}

.place-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px 16px;
  z-index: 2;
}

.place-body h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.place-body .place-loc {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
}

.place-body .place-stars {
  margin: 0;
  font-size: 0.85rem;
  color: #fbbf24;
  letter-spacing: 0.06em;
}

.place-body .place-price {
  margin: 8px 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.place-body .place-price span {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.85;
}

.place-cta {
  margin-top: 10px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 0;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease;
}

.place-cta:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* —— Bottom nav —— */
.home-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: min(400px, calc(100% - 28px));
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 4px;
  padding: 5px 5px;
  border-radius: 999px;
  /* background: rgba(255, 255, 255, 0.72); */
  /* border: 1px solid rgba(255, 255, 255, 0.95); */
  /* backdrop-filter: blur(16px); */
  /* -webkit-backdrop-filter: blur(16px); */
  /* box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12), 0 2px 0 rgba(255, 255, 255, 0.8) inset; */
  z-index: 50;

  background: rgb(255 255 255 / 41%);
  backdrop-filter: blur(7px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 4px;
  border-radius: 999px;
  text-decoration: none;
  /* color: #64748b; */
  color: #000000;
  font-size: 0.65rem;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-item svg {
  width: 17px;
  height: 17px;
}

.nav-item.is-active {
  /* color: #2563eb;
  background: rgb(37 99 235 / 28%); */
  color: #ffffff;
  background: rgb(37 99 235);
}

.nav-item:not(.is-active):hover {
  color: #334155;
}

@media (min-width: 992px) {
  .home-bottom-nav {
    display: none;
  }

  .home-desktop-nav {
    display: flex;
    gap: 15px;
    scale: 0.9;
  }

  .home-header-actions {
    z-index: 1000;
    position: fixed;
    right: 12%;
  }

  .nav-item {
    padding: 6px 34px;
  }

  body.page-home {
    padding-bottom: 40px;
    background: #d7e4f6;
  }

  body.page-home .container {
    width: min(1100px, 92%);
    padding-inline: clamp(22px, 2.6vw, 34px);
  }

  .home-app {
    padding-top: 22px;
  }

  .home-header {
    margin-bottom: 28px;
  }

  .home-logo {
    font-size: 1.75rem;
  }

  .home-city {
    font-size: 0.9rem;
  }

  .home-headline {
    max-width: 640px;
    margin: 0 auto 18px;
    text-align: center;
    font-size: clamp(2.15rem, 4.2vw, 3.55rem);
    line-height: 1.08;
    color: #0b1636;
  }

  .home-search-row {
    max-width: 760px;
    margin: 0 auto 34px;
  }

  .home-search {
    border-radius: 999px;
    padding-left: 18px;
  }

  .home-filter {
    width: 56px;
    border-radius: 16px;
  }

  .home-section {
    margin-bottom: 28px;
  }

  .home-section-head h2 {
    font-size: 1.8rem;
    color: #111827;
  }

  .home-section-head a {
    color: #2563eb;
    font-size: 0.95rem;
  }

  .welcome-stack {
    padding-bottom: 0;
  }

  .welcome-stack-hint {
    display: none;
  }

  .welcome-stack-deck {
    height: 300px;
  }

  .stack-card[data-slot="0"],
  .stack-card[data-slot="1"],
  .stack-card[data-slot="2"] {
    opacity: 0;
    pointer-events: none;
    transform: translateY(0) scale(0.98);
  }

  .stack-card[data-slot="3"] {
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
  }

  .stack-footer {
    padding: 18px 20px;
  }

  .stack-title {
    font-size: 1.55rem;
  }

  .category-scroll {
    overflow: visible;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
  }

  .cat-pill {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .highlight-card {
    border-radius: 24px;
    grid-template-columns: 1.2fr 0.8fr;
    border: 0;
    background: linear-gradient(110deg, #1d4ed8 0%, #2563eb 45%, #3b82f6 100%);
    overflow: hidden;
  }

  .highlight-visual {
    min-height: 260px;
    order: 2;
  }

  .highlight-visual .hl-scrim {
    background: radial-gradient(circle at 35% 60%, rgba(59, 130, 246, 0.25), rgba(30, 64, 175, 0.05));
  }

  .highlight-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 28px 28px 30px;
  }

  .highlight-panel h3 {
    color: #fff;
    font-size: 2rem;
    line-height: 1.05;
    margin-bottom: 8px;
  }

  .highlight-panel p.sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin-bottom: 18px;
    max-width: 90%;
  }

  .hl-more {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
  }

  .hl-play {
    background: #fff;
    color: #1d4ed8;
    box-shadow: 0 12px 24px rgba(4, 14, 40, 0.3);
  }

  .hl-play:hover {
    background: #eaf1ff;
  }

  .highlight-meta {
    top: 16px;
    left: auto;
    right: 16px;
    justify-content: flex-end;
  }

  .hl-pill {
    background: rgba(255, 255, 255, 0.92);
  }

  .hl-pill.muted {
    background: rgba(15, 23, 42, 0.36);
    border: 1px solid rgba(255, 255, 255, 0.25);
  }

  .places-scroll {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    margin: 0;
    padding: 0;
    gap: 18px;
  }

  .place-card {
    min-height: 0;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.26);
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  }

  .place-card .place-img {
    position: relative;
    height: 190px;
  }

  .place-card .place-scrim {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 46%, rgba(15, 23, 42, 0.24) 100%);
  }

  .place-body {
    position: relative;
    background: #fff;
    padding: 14px 16px 16px;
  }

  .place-body h3 {
    color: #0f172a;
    font-size: 1.1rem;
  }

  .place-body .place-loc {
    color: #64748b;
    margin-bottom: 9px;
  }

  .place-body .place-stars {
    color: #f59e0b;
  }

  .place-body .place-price {
    color: #111827;
    font-size: 1.2rem;
  }

  .place-body .place-price span {
    color: #475569;
    opacity: 1;
  }

  .place-fav {
    top: 10px;
    right: 10px;
  }

  .place-cta {
    margin-top: 11px;
    border: 0;
    background: #2563eb;
    color: #fff;
    font-size: 0.85rem;
    padding: 9px 0;
  }

  .place-cta:hover {
    background: #1d4ed8;
  }

  body.page-profile .home-bottom-nav {
    display: none;
  }
}

/* ===== booking-list page ===== */
body.page-booking-list {
  margin: 0;
  font-family: "Outfit", sans-serif;
  background: linear-gradient(165deg, #dcecf8 0%, #eef6fb 42%, #f4f8fc 100%);
  color: #1c2735;
  min-height: 100dvh;
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

body.page-booking-list .container {
  width: min(440px, 100%);
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 22px);
}

.booking-list-app {
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
}

.booking-list-page {
  display: grid;
  gap: 14px;
}

.list-heading-block h1 {
  margin: 0;
  font-size: clamp(1.5rem, 5vw, 1.9rem);
  color: #0f172a;
}

.list-heading-block p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 0.92rem;
}

.booking-list-section h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: #0f172a;
}

.booking-cards {
  display: grid;
  gap: 25px;
}

.booking-list-card {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.booking-list-card img {
  width: 100%;
  height: 144px;
  object-fit: cover;
  display: block;
}

.booking-list-card.compact img {
  display: none;
}

.booking-list-body {
  padding: 12px 13px 13px;
}

.booking-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.booking-row h3 {
  margin: 0;
  font-size: 1rem;
  color: #0f172a;
}

.booking-list-body p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 0.86rem;
}

.booking-date,
.booking-time {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  padding: 6px 9px;
}

.booking-date {
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  margin-right: 6px;
}

.booking-time {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
}

.status-chip {
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 9px;
}

.status-chip.upcoming {
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
}

.status-chip.done {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
}

.booking-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
}

.booking-link {
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #334155;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 12px;
}

.booking-link.primary {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

.booking-link.primary:hover {
  background: #1d4ed8;
}

.booking-ticket-card {
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.09);
  padding: 14px;
  overflow: hidden;
  align-content: center;
}

.booking-ticket-card::before,
.booking-ticket-card::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 72%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #e8f4ff;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.booking-ticket-card::before {
  left: -9px;
}

.booking-ticket-card::after {
  right: -9px;
}

.booking-ticket-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.booking-ticket-label {
  margin: 0;
  color: #64748b;
  font-size: 0.78rem;
}

.booking-ticket-card h3 {
  margin: 6px 0 2px;
  color: #0f172a;
  font-size: 1.15rem;
}

.booking-ticket-contact {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 0.84rem;
}

.booking-ticket-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.booking-ticket-time {
  margin: 0;
  font-weight: 700;
  color: #0f172a;
  font-size: 0.95rem;
}

.booking-ticket-point {
  margin: 2px 0 0;
  color: #64748b;
  font-size: 0.75rem;
}

.booking-ticket-line {
  flex: 1;
  border-bottom: 2px dashed rgba(15, 23, 42, 0.35);
}

.booking-ticket-reference {
  margin: 0;
  color: #64748b;
  font-size: 0.76rem;
}

.booking-ticket-code {
  margin: 2px 0 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
}

.booking-ticket-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding-top: 9px;
  margin-bottom: 9px;
}

.booking-ticket-grid p {
  margin: 0 0 2px;
  color: #64748b;
  font-size: 0.75rem;
}

.booking-ticket-grid strong {
  color: #0f172a;
  font-size: 0.86rem;
}

.booking-ticket-slots {
  margin: 0 0 8px;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 600;
}

.booking-ticket-actions {
  margin-bottom: 10px;
}

.booking-ticket-barcode {
  width: 100%;
  height: 44px;
  border-radius: 7px;
  background:
    repeating-linear-gradient(90deg,
      #0f172a 0 2px,
      transparent 2px 5px,
      #0f172a 5px 6px,
      transparent 6px 10px);
}

.booking-ticket-stack {
  position: relative;
}

.booking-ticket-stack-deck {
  position: relative;
  height: 550px;
  border-radius: 20px;
  touch-action: pan-y;
}

.booking-stack-hint {
  margin: 10px 0 0;
  text-align: center;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 500;
}

.booking-ticket-stack-deck:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 4px;
}

.booking-stack-card {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
  will-change: transform, opacity;
  --drag-x: 0px;
  transform: translateX(var(--drag-x));
  transition: transform 0.26s ease, opacity 0.26s ease, box-shadow 0.26s ease;
}

.booking-stack-card[data-slot="0"] {
  opacity: 0;
  transform: translateY(18px) scale(0.9);
  pointer-events: none;
}

.booking-stack-card[data-slot="1"] {
  opacity: 0.42;
  transform: translateY(12px) scale(0.94);
  pointer-events: none;
}

.booking-stack-card[data-slot="2"] {
  opacity: 0.72;
  transform: translateY(6px) scale(0.97);
  pointer-events: none;
}

.booking-stack-card[data-slot="3"] {
  opacity: 1;
  transform: translateX(var(--drag-x)) translateY(0) scale(1);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
  z-index: 3;
  cursor: grab;
}

.booking-stack-card[data-slot="3"]:active {
  cursor: grabbing;
}

.booking-stack-card.is-dragging {
  transition: none;
}

.booking-stack-card.is-exiting {
  transition: transform 0.26s ease, opacity 0.26s ease;
}

.booking-stack-card.is-exiting.is-exit-right {
  transform: translateX(120%) rotate(8deg);
  opacity: 0;
}

.booking-stack-card.is-exiting.is-exit-left {
  transform: translateX(-120%) rotate(-8deg);
  opacity: 0;
}

.booking-ticket-stack-inner {
  height: 100%;
}

@media (min-width: 992px) {
  body.page-booking-list {
    padding-bottom: 28px;
  }

  body.page-booking-list .container {
    width: min(980px, 92%);
    padding-inline: clamp(20px, 2.8vw, 30px);
  }

  .booking-list-app {
    padding-top: 20px;
  }

  .booking-list-page {
    gap: 16px;
  }

  .booking-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .booking-ticket-stack-deck {
    height: 400px;
  }

  .booking-list-card img {
    height: 168px;
  }

  body.page-booking-list .home-bottom-nav {
    display: none;
  }
}

@media (min-width: 1400px) {
  .welcome-stack-deck {
    height: 330px;
  }

  .place-card .place-img {
    height: 210px;
  }
}

/* —— Turf detail shell (matches home page) —— */
body.page-detail {
  margin: 0;
  font-family: "Outfit", sans-serif;
  background: linear-gradient(165deg, #dcecf8 0%, #eef6fb 42%, #f4f8fc 100%);
  color: #1c2735;
  min-height: 100dvh;
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

body.page-detail .container {
  /* width: min(440px, 100%); */
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 22px);
}

.detail-app {
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
}

/* ===== turf-detail.css ===== */
/* Turf detail — light UI aligned with home.css */

.detail-top-nav {
  margin-bottom: 14px;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.detail-back:hover {
  text-decoration: underline;
}

.detail-back svg {
  width: 18px;
  height: 18px;
}

.detail-page {
  padding-top: 0;
}

.gallery-section {
  margin-bottom: 22px;
}

.main-preview {
  width: 100%;
  height: clamp(200px, 52vw, 280px);
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  display: block;
  background: #e2e8f0;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.thumb-row {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.thumb-row::-webkit-scrollbar {
  display: none;
}

.thumb {
  flex: 0 0 auto;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #fff;
  padding: 0;
  border-radius: 14px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.thumb img {
  width: 112px;
  height: 72px;
  object-fit: cover;
  display: block;
}

.thumb.is-active,
.thumb:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
  transform: translateY(-1px);
}

.detail-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
}

.turf-info h1 {
  margin: 8px 0 10px;
  font-size: clamp(1.45rem, 5vw, 1.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.badge {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 999px;
  color: #2563eb;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 12px;
}

.meta {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
}

.meta .star {
  color: #fbbf24;
  margin-left: 6px;
  font-size: 1rem;
}

.description {
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #475569;
  max-width: none;
}

.turf-info h3 {
  margin: 22px 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.amenity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.amenity-list span {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.85);
  padding: 8px 14px;
  color: #334155;
  font-size: 0.86rem;
  font-weight: 600;
}

.reviews-carousel {
  position: relative;
  margin-top: 6px;
}

.reviews-list {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.reviews-viewport {
  padding: 6px;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(241, 245, 249, 0.88));
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 10px 28px rgba(15, 23, 42, 0.08);
}

.reviews-track {
  display: flex;
  gap: 12px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.review-card {
  min-width: 100%;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  position: relative;
}

.reviews-track .review-card {
  min-width: 100%;
}

@media (min-width: 768px) {
  .reviews-track .review-card {
    min-width: calc((100% - 12px) / 2);
  }
}

.reviews-list .review-card {
  min-width: 0;
}

.review-card::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.14), rgba(37, 99, 235, 0));
  pointer-events: none;
}

.review-nav {
  position: absolute;
  top: calc(50% - 16px);
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.36);
  background: rgba(255, 255, 255, 0.95);
  color: #1e293b;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.15);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.review-nav:hover {
  background: #fff;
  color: #2563eb;
  transform: translateY(-50%) scale(1.05);
}

.review-nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.review-nav svg {
  width: 18px;
  height: 18px;
}

.review-nav-prev {
  left: -12px;
}

.review-nav-next {
  right: -12px;
}

.review-dots {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.review-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: #cbd5e1;
  cursor: pointer;
  padding: 0;
  transition: width 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.review-dot:hover {
  transform: scale(1.08);
  background: #94a3b8;
}

.review-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: #2563eb;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #dbeafe;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.2);
  flex-shrink: 0;
}

.review-content {
  flex: 1;
  min-width: 0;
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.review-head h4 {
  margin: 0;
  font-size: 1.03rem;
  font-weight: 700;
  color: #0f172a;
}

.review-stars {
  margin: 0;
  color: #fbbf24;
  letter-spacing: 0.05em;
  font-size: 0.93rem;
  font-weight: 700;
}

.review-stars span {
  color: #cbd5e1;
}

.review-text {
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.55;
}

.review-date {
  margin: 8px 0 0;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 600;
}

.review-submit-box {
  margin-top: 8px;
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: #f8fafc;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.review-form-title {
  margin: 0 0 10px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

.review-star-input {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row-reverse;
  gap: 10px;
  margin-bottom: 12px;
}

.review-star-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.review-star-input label {
  font-size: 2rem;
  line-height: 1;
  color: #f59e0b;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.review-star-input label:hover,
.review-star-input label:hover~label {
  transform: translateY(-1px);
}

.review-star-input input:not(:checked)+label,
.review-star-input input:not(:checked)+label~label {
  color: #d1d5db;
}

.review-star-input input:checked+label,
.review-star-input input:checked+label~label {
  color: #f59e0b;
}

.review-input-row {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.review-textarea-row {
  margin-bottom: 10px;
}

.review-textarea {
  border: 0;
  border-radius: 6px;
  background: #e5e7eb;
  color: #1f2937;
  min-height: 72px;
  resize: vertical;
}

.review-textarea::placeholder {
  color: #9ca3af;
  font-size: 0.8rem;
}

.review-label {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: #334155;
}

.review-select {
  max-width: 220px;
}

.review-note {
  color: #64748b;
  font-size: 0.9rem;
}

.review-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-submit-btn {
  border: 0;
  border-radius: 7px;
  background: #2563eb;
  color: #fff;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.review-submit-btn:hover {
  background: #1d4ed8;
}

.review-submit-btn:active {
  transform: scale(0.98);
}

.review-cancel-btn {
  border: 0;
  background: transparent;
  color: #4f46e5;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
}

.booking-card {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 22px;
  padding: 18px 16px 16px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  position: static;
}

.price-line {
  margin: 0 0 14px;
  color: #64748b;
  font-size: 1rem;
  font-weight: 500;
}

.price-line span {
  color: #2563eb;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.slot-title {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.slot-btn {
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(248, 250, 252, 0.9);
  color: #334155;
  border-radius: 12px;
  padding: 11px 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.slot-btn:hover,
.slot-btn.active {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.12);
}

.book-btn {
  width: 100%;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  padding: 14px 0;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.book-btn:hover {
  background: #1d4ed8;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.4);
}

.book-btn:active {
  transform: scale(0.99);
}

.detail-bottom-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 55;
  pointer-events: auto;
}

.detail-bottom-cta .container {
  pointer-events: auto;
  width: 100%;
}

.detail-bottom-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: rgb(255 255 255 / 41%);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(10px);
}

.detail-bottom-price {
  margin: 0;
  flex: 1 1 48%;
  text-align: center;
  color: #334155;
  /* font-size: 0.62rem; */
  font-weight: 600;
  line-height: 1.1;
}

.detail-bottom-price span {
  color: #2563eb;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.detail-bottom-book-btn {
  min-width: 160px;
  width: auto;
  border: 0;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  padding: 14px 34px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.35);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.detail-bottom-book-btn:hover {
  background: #1d4ed8;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.4);
}

.detail-bottom-book-btn:active {
  transform: scale(0.99);
}

@media (min-width: 768px) {
  .detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
  }


  .booking-card-detail {
    position: sticky;
    top: 13.5%;
    align-self: start;
  }

  .booking-card {
    position: static;
  }

  .main-preview {
    height: clamp(240px, 36vw, 360px);
  }

  .detail-bottom-cta {
    display: none;
  }
}

@media (max-width: 768px) {
  .booking-card {
    display: none;
  }
}

@media (max-width: 380px) {
  .detail-bottom-price span {
    font-size: 1.7rem;
  }

  .detail-bottom-book-btn {
    min-width: 132px;
    padding: 12px 22px;
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .review-nav {
    width: 30px;
    height: 30px;
  }

  .review-nav-prev {
    left: -4px;
  }

  .review-nav-next {
    right: -4px;
  }

  .review-card {
    padding: 14px;
  }

  .review-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* ===== booking.css ===== */
body.page-booking {
  margin: 0;
  font-family: "Outfit", sans-serif;
  background: linear-gradient(165deg, #dcecf8 0%, #eef6fb 42%, #f4f8fc 100%);
  color: #1c2735;
  min-height: 100dvh;
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

body.page-booking .container {
  /* width: min(440px, 100%); */
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 22px);
}

.booking-app {
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
}

.booking-top-nav {
  margin-bottom: 12px;
}

.booking-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.booking-back svg {
  width: 18px;
  height: 18px;
}

.booking-page {
  padding-bottom: 20px;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.booking-form-section {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  padding: 16px;
}

.booking-form-section h1 {
  margin: 12px 0 14px;
  font-size: clamp(1.52rem, 5.2vw, 1.92rem);
  line-height: 1.15;
  color: #0f172a;
}

.progress-row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
}

.step span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
  color: #64748b;
  font-weight: 700;
  font-size: 0.78rem;
}

.step.is-active {
  color: #0f172a;
}

.step.is-active span {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

.step-line {
  width: 54px;
  height: 1px;
  background: #cbd5e1;
  margin: 0 8px;
}

.field-group {
  margin-top: 14px;
}

.field-group h3 {
  margin: 0 0 9px;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.option-grid {
  display: grid;
  gap: 8px;
}

.date-grid,
.time-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.option-btn {
  border: 1px solid rgba(148, 163, 184, 0.38);
  background: #fff;
  color: #334155;
  border-radius: 10px;
  min-height: 40px;
  padding: 8px 9px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.option-btn:hover {
  border-color: #93c5fd;
}

.option-btn.active {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.12);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form input {
  border: 1px solid rgba(148, 163, 184, 0.36);
  background: #fff;
  color: #0f172a;
  border-radius: 11px;
  min-height: 46px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
}

.contact-form input::placeholder {
  color: #94a3b8;
}

.contact-form input:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18);
}

.payment-btn {
  margin-top: 2px;
  border: 0;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  min-height: 48px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.32);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.payment-btn:hover {
  background: #1d4ed8;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.38);
}

.booking-summary {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 20px;
  background: transparent;
  padding: 0;
  box-shadow: none;
  position: static;
}

.ticket-card {
  position: relative;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0px 8px 13px 2px rgb(21 29 49 / 10%);
  padding: 18px 16px 20px;
  overflow: hidden;
}

.ticket-card::before,
.ticket-card::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 32px;
  border-radius: 50%;
  background: #dfe7ed;
  border: 1px solid rgba(148, 163, 184, 0.2);
  top: 70%;
  transform: translateY(-50%);
}

.ticket-card::before {
  left: -10px;
}

.ticket-card::after {
  right: -10px;
}

.ticket-top {
  margin-bottom: 12px;
}

.ticket-label {
  margin: 0;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 500;
}

.ticket-top h2 {
  margin: 4px 0 0;
  color: #0f172a;
  font-size: 1.5rem;
  line-height: 1.15;
}

.booking-ticket-date {
  margin: 8px 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
}

.ticket-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.ticket-time {
  margin: 0 0 4px;
  font-size: 0.86rem;
  color: #64748b;
}

.ticket-city {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
}

.ticket-route-line {
  flex: 1;
  border-bottom: 2px dashed rgba(15, 23, 42, 0.34);
  min-width: 32px;
}

.ticket-reference {
  margin: 0;
  color: #64748b;
  font-size: 0.8rem;
}

.ticket-code {
  margin: 3px 0 12px;
  color: #0f172a;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.ticket-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
}

.ticket-grid p {
  margin: 0 0 4px;
  color: #64748b;
  font-size: 0.8rem;
}

.ticket-grid strong {
  color: #0f172a;
  font-size: 0.95rem;
}

.ticket-slots {
  margin: 0 0 14px;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 600;
  min-height: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding-top: 15px;
}

.ticket-barcode {
  width: 100%;
  height: 56px;
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg,
      #0f172a 0 2px,
      transparent 2px 5px,
      #0f172a 5px 7px,
      transparent 7px 11px);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #64748b;
  font-size: 0.94rem;
}

.summary-row strong {
  color: #0f172a;
}

.summary-row.total {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  font-size: 1rem;
  color: #0f172a;
}

.summary-row.total strong {
  color: #2563eb;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  body.page-booking .container {
    width: min(1240px, 92%);
    padding-inline: clamp(20px, 2.8vw, 30px);
  }

  .booking-app {
    padding-top: 20px;
  }

  .ticket-card::before,
  .ticket-card::after {
    background: #ccd9ea;
  }

  .booking-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
  }

  .booking-form-section {
    padding: 20px;
  }

  .booking-summary {
    position: sticky;
    top: 13.5%;
  }

  .date-grid,
  .time-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  body.page-booking .container {
    width: min(1220px, 92%);
  }

  .booking-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
  }
}

/* ===== payment.css ===== */
body.page-payment {
  margin: 0;
  font-family: "Outfit", sans-serif;
  background: linear-gradient(165deg, #dcecf8 0%, #eef6fb 42%, #f4f8fc 100%);
  color: #1c2735;
  min-height: 100dvh;
}

body.page-payment .container {
  /* width: min(440px, 100%); */
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 22px);
}

.payment-app {
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
  padding-bottom: 24px;
}

.payment-top-nav {
  margin-bottom: 12px;
}

.payment-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.payment-back svg {
  width: 18px;
  height: 18px;
}

.payment-page {
  padding-bottom: 20px;
}

.payment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.payment-left {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  padding: 16px;
}

.progress-row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
}

.step span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
}

.step.is-complete,
.step.is-active {
  color: #0f172a;
}

.step.is-complete span,
.step.is-active span {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.step-line {
  width: 54px;
  height: 1px;
  background: #cbd5e1;
  margin: 0 8px;
}

.step-line.active {
  background: linear-gradient(90deg, #2563eb, #cbd5e1);
}

.payment-left h1 {
  margin: 12px 0 14px;
  font-size: clamp(1.52rem, 5.2vw, 1.92rem);
  line-height: 1.15;
  color: #0f172a;
}

.field-group h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.method-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.method-btn {
  border: 1px solid rgba(148, 163, 184, 0.36);
  background: #fff;
  color: #334155;
  border-radius: 12px;
  min-height: 56px;
  padding: 0 12px;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.method-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #dbe3ee;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
}

.method-btn.active {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
}

.method-btn.active .method-icon {
  background: #2563eb;
  color: #fff;
  border-color: transparent;
}

.payment-detail-box {
  margin-top: 14px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}

.payment-detail-box h4 {
  margin: 0 0 10px;
  font-size: 0.96rem;
  font-weight: 700;
  color: #0f172a;
}

.payment-detail-box input {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.36);
  background: #fff;
  color: #0f172a;
  border-radius: 10px;
  min-height: 44px;
  padding: 0 14px;
  outline: 0;
  font-family: inherit;
  font-size: 0.95rem;
}

.payment-detail-box input::placeholder {
  color: #94a3b8;
}

.payment-detail-box input:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18);
}

.pay-btn {
  width: 100%;
  margin-top: 14px;
  border: 0;
  min-height: 48px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.32);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.pay-btn:hover {
  background: #1d4ed8;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.38);
}

.disclaimer {
  margin-top: 10px;
  text-align: center;
  color: #64748b;
  font-size: 0.84rem;
}

.order-summary {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 20px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  position: static;
}

.order-summary h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: #0f172a;
}

.order-summary h3 {
  margin: 0;
  font-size: 1.28rem;
  color: #0f172a;
}

.booking-id {
  margin: 3px 0 12px;
  color: #64748b;
  font-size: 0.9rem;
}

.order-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #64748b;
  font-size: 0.94rem;
}

.order-row strong {
  color: #0f172a;
}

.order-row.total {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  font-size: 1rem;
  color: #0f172a;
}

.order-row.total strong {
  color: #2563eb;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  body.page-payment .container {
    width: min(1040px, 92%);
    padding-inline: clamp(20px, 2.8vw, 30px);
  }

  .payment-app {
    padding-top: 20px;
  }

  .payment-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
  }

  .payment-left {
    padding: 20px;
  }

  .order-summary {
    position: sticky;
    top: 20px;
  }
}

@media (min-width: 1200px) {
  body.page-payment .container {
    width: min(1220px, 92%);
  }

  .payment-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
  }
}

/* ===== turf-list.css ===== */
body.page-turf-list {
  margin: 0;
  font-family: "Outfit", sans-serif;
  background: linear-gradient(165deg, #dcecf8 0%, #eef6fb 42%, #f4f8fc 100%);
  color: #1c2735;
  min-height: 100dvh;
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

body.page-turf-list .container {
  /* width: min(440px, 100%); */
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 22px);
}

.turf-list-app {
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
  padding-bottom: 24px;
}

.list-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.list-back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #2563eb;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
}

.list-back-link svg {
  width: 17px;
  height: 17px;
}

.list-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 999px;
  padding: 0 14px;
  min-height: 46px;
}

.list-search svg {
  width: 18px;
  height: 18px;
  color: #64748b;
}

.list-search input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: 0.94rem;
  color: #0f172a;
}

.list-search input::placeholder {
  color: #94a3b8;
}

.turf-list-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.list-filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.filter-card {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  padding: 14px;
}

.filter-card h3 {
  margin: 0 0 10px;
  font-size: 0.97rem;
  font-weight: 700;
  color: #0f172a;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  cursor: pointer;
  white-space: nowrap;
}

.filter-chip.is-active {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
}

.week-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.week-strip::-webkit-scrollbar {
  display: none;
}

.week-strip .date-pill {
  flex: 0 0 72px;
}

.date-pill {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 10px;
  background: #fff;
  color: #64748b;
  font-family: inherit;
  cursor: pointer;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 4px;
}

.date-pill .day {
  font-size: 0.72rem;
  font-weight: 600;
}

.date-pill .date {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  color: #0f172a;
}

.date-pill .month {
  font-size: 0.72rem;
  font-weight: 700;
}

.date-pill.is-active {
  border-color: #f43f5e;
  background: #fb7185;
  color: #fff;
  box-shadow: 0 8px 20px rgba(244, 63, 94, 0.35);
}

.date-pill.is-active .date {
  color: #fff;
}

.price-range {
  width: 100%;
  accent-color: #2563eb;
}

.price-row {
  display: flex;
  justify-content: space-between;
  color: #64748b;
  font-size: 0.83rem;
  font-weight: 600;
}

.list-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.list-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.list-heading h1 {
  margin: 0 0 4px;
  font-size: clamp(1.55rem, 5vw, 2rem);
  color: #0f172a;
}

.list-heading p {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
}

.sort-btn {
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  cursor: pointer;
}

.turf-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.list-card {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.list-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.list-card-body {
  padding: 14px 14px 15px;
}

.list-card-body h3 {
  margin: 0 0 5px;
  font-size: 1.15rem;
  color: #0f172a;
}

.place,
.slot {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
}

.slot {
  margin-top: 4px;
}

.slot.warn {
  color: #dc2626;
  font-weight: 600;
}

.card-bottom {
  margin-top: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.price {
  margin: 0;
  color: #0f172a;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.price span {
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 600;
}

.book-link {
  text-decoration: none;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 9px 17px;
}

.book-link:hover {
  background: #1d4ed8;
}

.date-filter-card {
  overflow: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

@media (min-width: 992px) {
  body.page-turf-list .container {
    width: min(1240px, 92%);
    padding-inline: clamp(22px, 2.6vw, 34px);
  }

  .turf-list-app {
    padding-top: 20px;
  }

  .list-search-row {
    margin-bottom: 18px;
  }

  .turf-list-layout {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 22px;
  }

  .list-filters {
    position: sticky;
    top: 18px;
    align-self: start;
  }

  .week-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
  }

  .week-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
  }

  .turf-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .list-card img {
    height: 190px;
  }
}

@media (min-width: 1400px) {
  .turf-list-grid {
    gap: 18px;
  }

  .list-card img {
    height: 210px;
  }

  /* .week-strip {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  } */

  .week-strip .date-pill {
    flex: initial;
  }
}

/* ===== confirmation.css ===== */
.confirm-page {
  padding-top: 28px;
  padding-bottom: 42px;
}

.confirm-center {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}

.check-icon {
  width: 88px;
  height: 88px;
  margin: 10px auto 10px;
  border-radius: 50%;
  border: 4px solid var(--green);
  color: var(--green);
  font-size: 2.6rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.confirm-center h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.03;
}

.subtitle {
  margin: 8px 0 20px;
  color: #bec7c2;
  font-size: 1.35rem;
}

.confirm-card {
  border: 1px solid #1f2d26;
  background: linear-gradient(180deg, #111917 0%, #0e1513 100%);
  border-radius: 16px;
  padding: 16px 18px;
  text-align: left;
}

.line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.line.top {
  align-items: center;
}

.label {
  margin: 0;
  color: #8f9a94;
  font-size: 1rem;
}

.value {
  margin: 4px 0 0;
  color: #eef3f0;
  font-size: 1.85rem;
  font-weight: 600;
}

.booking-id {
  color: var(--green);
  font-size: 2rem;
}

.status {
  display: inline-block;
  margin-top: 4px;
  border-radius: 999px;
  background: rgba(56, 255, 55, 0.12);
  border: 1px solid rgba(56, 255, 55, 0.4);
  color: var(--green);
  padding: 5px 12px;
  font-size: 0.94rem;
  font-weight: 700;
}

.divider {
  height: 1px;
  background: #202f28;
  margin: 14px 0;
}

.line.info {
  display: block;
  margin-bottom: 12px;
}

.line.info .value {
  font-size: 2rem;
}

.line.total {
  align-items: center;
}

.line.total .label {
  font-size: 1.8rem;
}

.amount {
  color: var(--green);
  font-size: 2.85rem;
}

.action-row {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn {
  border: 1px solid #24322b;
  border-radius: 999px;
  min-height: 54px;
  font-family: inherit;
  font-size: 1.55rem;
  font-weight: 600;
  cursor: pointer;
}

.btn.ghost {
  background: transparent;
  color: #f5f7f6;
}

.btn.green {
  border: 0;
  background: var(--green);
  color: #041004;
}

.note {
  margin: 16px 0 0;
  color: #7f8b84;
  font-size: 1.15rem;
}

@media (max-width: 640px) {
  .confirm-page {
    padding-top: 14px;
  }

  .check-icon {
    width: 64px;
    height: 64px;
    border-width: 3px;
    font-size: 2rem;
  }

  .confirm-center h1 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .subtitle {
    font-size: 1rem;
    margin-bottom: 14px;
  }

  .confirm-card {
    border-radius: 14px;
    padding: 14px;
  }

  .value {
    font-size: 1.4rem;
  }

  .booking-id {
    font-size: 1.6rem;
  }

  .line.info .value {
    font-size: 1.8rem;
  }

  .line.total .label {
    font-size: 1.6rem;
  }

  .amount {
    font-size: 2.25rem;
  }

  .action-row {
    grid-template-columns: 1fr;
  }

  .btn {
    min-height: 52px;
    font-size: 1.35rem;
  }

  .note {
    font-size: 0.95rem;
  }
}

/* ===== profile page ===== */
body.page-profile {
  margin: 0;
  font-family: "Outfit", sans-serif;
  background: linear-gradient(165deg, #dcecf8 0%, #eef6fb 42%, #f4f8fc 100%);
  color: #1c2735;
  min-height: 100dvh;
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

body.page-profile .container {
  width: min(440px, 100%);
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 22px);
}

.profile-app {
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
}

.profile-page {
  display: grid;
  gap: 14px;
}

.profile-card,
.profile-section {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  padding: 16px;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.profile-theme-a { background-image: url("../assets/cardbg/bgc1.jpg"); }
.profile-theme-b { background-image: url("../assets/cardbg/bgc2.webp"); }
.profile-theme-c { background-image: url("../assets/cardbg/bgc3.jpg"); }
.profile-theme-d { background-image: url("../assets/cardbg/bgc4.jpg"); }
.profile-theme-e { background-image: url("../assets/cardbg/bgc5.jpg"); }
.profile-theme-f { background-image: url("../assets/cardbg/bgc6.jpg"); }
.profile-theme-g { background-image: url("../assets/cardbg/bgc7.jpg"); }
.profile-theme-h { background-image: url("../assets/cardbg/bgc8.jpg"); }
.profile-theme-i { background-image: url("../assets/cardbg/bgc9.jpg"); }
.profile-theme-j { background-image: url("../assets/cardbg/bgc10.jpg"); }
.profile-theme-k { background-image: url("../assets/cardbg/bgc11.jpg"); }
.profile-theme-l { background-image: url("../assets/cardbg/bgc12.jpg"); }
.profile-theme-m { background-image: url("../assets/cardbg/bgc13.jpg"); }
.profile-theme-n { background-image: url("../assets/cardbg/bgc14.jpg"); }

.profile-avatar {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.22);
}

.profile-meta h1 {
  margin: 0;
  font-size: 1.3rem;
  color: #0f172a;
}

.profile-meta p {
  margin: 3px 0 8px;
  font-size: 0.9rem;
  color: #393939;
  word-break: break-word;
}

.profile-badge {
  display: inline-block;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  font-size: 0.77rem;
  font-weight: 700;
  padding: 6px 10px;
}

.profile-section h2 {
  margin: 0 0 10px;
  font-size: 1.02rem;
  color: #0f172a;
}

.profile-coin {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 42%, rgba(255, 255, 255, 0.95) 100%);
  border-color: rgba(245, 158, 11, 0.32);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(251, 191, 36, 0.12) inset;
}

.profile-coin-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.profile-coin-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #fbbf24 0%, #d97706 100%);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
}

.profile-coin-copy {
  flex: 1;
  min-width: 0;
}

.profile-coin-copy h2 {
  margin: 0 0 4px;
  font-size: 1.02rem;
  color: #92400e;
}

.profile-coin-balance {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #78350f;
}

.profile-coin-amount {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #b45309;
}

.profile-coin-hint {
  margin: 6px 0 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: #a16207;
}

.profile-coin-link {
  flex-shrink: 0;
  margin-left: auto;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  color: #2563eb;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: rgba(255, 255, 255, 0.9);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.profile-coin-link:hover {
  background: #fff;
  border-color: #2563eb;
}

@media (max-width: 420px) {
  .profile-coin-link {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.stats-card {
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 12px;
  background: #fff;
  text-align: center;
  padding: 10px 8px;
}

.stats-card .value {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #1d4ed8;
}

.stats-card .label {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: #64748b;
}

.menu-list {
  display: grid;
  gap: 8px;
}

.menu-item {
  text-decoration: none;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  padding: 12px 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 600;
}

.menu-item:hover {
  border-color: #93c5fd;
}

.profile-logout-wrap {
  padding: 12px;
  background: rgba(255, 255, 255, 0.75);
}

.profile-logout-btn {
  width: 100%;
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 14px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 11px 14px;
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.26);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.profile-logout-btn:hover {
  filter: brightness(1.03);
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.32);
}

.profile-logout-btn:active {
  transform: scale(0.99);
}

.profile-logout-btn:focus-visible {
  outline: 3px solid rgba(239, 68, 68, 0.3);
  outline-offset: 2px;
}

@media (min-width: 992px) {
  body.page-profile {
    padding-bottom: 30px;
  }

  body.page-profile .container {
    width: min(960px, 92%);
    padding-inline: clamp(20px, 2.8vw, 30px);
  }

  .profile-app {
    padding-top: 20px;
  }

  .profile-page {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 16px;
  }

  .profile-card {
    grid-column: 1 / -1;
  }

  .profile-logout-wrap {
    grid-column: 1 / -1;
    justify-self: end;
    width: min(320px, 100%);
  }

  .home-bottom-nav {
    display: none;
  }
}

/* ===== legal pages ===== */
.legal-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 6px 0 20px;
}

.legal-hero {
  margin-bottom: 20px;
}

.legal-kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
}

.legal-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3.6vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.legal-subtitle {
  margin: 0;
  max-width: 720px;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.55;
}

.legal-updated {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 600;
}

.legal-content-wrap {
  position: relative;
}

.legal-content-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  padding: clamp(16px, 2.4vw, 28px);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.1);
  color: #1e293b;
  line-height: 1.72;
  font-size: 0.98rem;
}

.legal-content-card h1,
.legal-content-card h2,
.legal-content-card h3,
.legal-content-card h4,
.legal-content-card h5,
.legal-content-card h6 {
  color: #0f172a;
  margin-top: 1.25em;
  margin-bottom: 0.45em;
  line-height: 1.35;
}

.legal-content-card p,
.legal-content-card ul,
.legal-content-card ol {
  margin-bottom: 0.9em;
}

.legal-content-card a {
  color: #1d4ed8;
  text-decoration: underline;
}

.legal-content-card ul,
.legal-content-card ol {
  padding-left: 1.2rem;
}

@media (min-width: 992px) {
  .legal-page {
    padding-top: 10px;
  }
}

@media (max-width: 992px) {
  .turfs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .container {
    overflow: hidden;
  }

  .filter-card {
    overflow: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .chip-row {
    flex-wrap: initial;
    overflow: scroll;
    scrollbar-width: none;
    gap: 8px;
  }
}