:root {
  --landing-ink: #10251f;
  --landing-deep: #0b1d18;
  --landing-mint: #b8d9cf;
  --landing-lime: #d9f56f;
  --landing-orange: #ff6d4a;
  --landing-paper: #f5f4ed;
  --landing-white: #fffefa;
  --landing-line: rgba(16, 37, 31, 0.13);
  --landing-shadow: 0 24px 70px rgba(12, 35, 28, 0.1);
}

body {
  background: var(--landing-paper);
  color: var(--landing-ink);
  overflow-x: hidden;
}

.site-header {
  height: 82px;
  padding: 0 max(4vw, calc((100vw - 1480px) / 2));
  border-bottom: 1px solid rgba(16, 37, 31, 0.08);
  background: rgba(245, 244, 237, 0.9);
  box-shadow: 0 6px 24px rgba(16, 37, 31, 0.03);
  backdrop-filter: blur(18px);
  z-index: 10;
}

.site-header .brand {
  gap: 11px;
  font-size: 17px;
  letter-spacing: -0.03em;
}

.site-header .brand-logo {
  width: 38px !important;
  height: 38px !important;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 11px !important;
  box-shadow: 0 5px 14px rgba(9, 46, 57, 0.17);
}

.site-header nav {
  gap: 30px;
  font-size: 13px;
  font-weight: 600;
}

.site-header nav a {
  position: relative;
  padding: 31px 0;
}

.site-header nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 2px;
  background: var(--landing-orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.site-header nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  gap: 12px;
}

.login-btn {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.login-btn:hover {
  background: rgba(16, 37, 31, 0.06);
  color: var(--landing-ink);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 17px;
  border-radius: 999px;
  background: var(--landing-ink);
  color: #fff;
  font-size: 13px;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.header-cta:hover {
  background: var(--landing-orange);
  color: #fff;
  transform: translateY(-1px);
}

.header-cta span {
  color: var(--landing-lime);
}

.hero {
  min-height: 690px;
  grid-template-columns: minmax(430px, 0.92fr) minmax(540px, 1.08fr);
  padding-left: max(7vw, calc((100vw - 1480px) / 2));
  background: var(--landing-paper);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px clamp(30px, 5vw, 80px) 80px 0;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 4px;
  margin-bottom: 28px;
  padding: 9px 13px;
  border: 1px solid var(--landing-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: #61716b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(58px, 6.2vw, 96px);
  line-height: 0.91;
}

.hero h1 em {
  color: var(--landing-orange);
}

.hero-text {
  max-width: 490px;
  margin: 30px 0 34px;
  color: #60716b;
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-primary {
  min-width: 205px;
  padding: 17px 18px 17px 21px;
  border-radius: 9px;
  box-shadow: 0 13px 30px rgba(16, 37, 31, 0.18);
}

.hero-primary:hover {
  box-shadow: 0 16px 34px rgba(255, 109, 74, 0.24);
}

.hero-secondary {
  padding: 10px 0;
  border-bottom: 1px solid var(--landing-ink);
  font-size: 13px;
  font-weight: 700;
}

.hero-secondary:hover {
  border-color: var(--landing-orange);
  color: var(--landing-orange);
}

.hero-proof {
  margin-top: 48px;
}

.hero-proof > div:last-child {
  display: grid;
  gap: 2px;
}

.hero-proof > div:last-child span {
  font-size: 11px;
}

.avatars span {
  width: 31px;
  height: 31px;
  border-color: var(--landing-paper);
  box-shadow: 0 3px 9px rgba(16, 37, 31, 0.1);
}

.hero-art {
  min-height: 690px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), transparent 46%),
    var(--landing-mint);
  border-bottom-left-radius: 34px;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(16, 37, 31, 0.13) 0.8px, transparent 0.8px);
  background-size: 20px 20px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 70%);
}

.sun {
  width: 480px;
  height: 480px;
  top: -160px;
  right: -90px;
  background: var(--landing-lime);
  box-shadow: 0 0 80px rgba(217, 245, 111, 0.44);
}

.court-lines {
  inset: 115px 7% 74px 8%;
  border: 2px solid rgba(16, 37, 31, 0.68);
  border-radius: 2px;
  box-shadow: 0 30px 60px rgba(16, 37, 31, 0.12);
}

.hero-floating-card {
  position: absolute;
  z-index: 1;
  display: grid;
  padding: 17px 19px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  background: rgba(255, 254, 250, 0.86);
  box-shadow: 0 18px 45px rgba(16, 37, 31, 0.15);
  backdrop-filter: blur(14px);
}

.hero-next-slot {
  top: 72px;
  left: 7%;
  gap: 4px;
}

.hero-next-slot span,
.hero-next-slot small,
.hero-court-count span {
  color: #6d7c76;
  font-size: 10px;
}

.hero-next-slot strong {
  font: 700 18px "Space Grotesk";
}

.hero-court-count {
  right: 7%;
  bottom: 76px;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 10px;
}

.hero-court-count strong {
  color: var(--landing-orange);
  font: 700 30px "Space Grotesk";
}

.art-label {
  bottom: 30px;
}

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 max(7vw, calc((100vw - 1480px) / 2));
  background: var(--landing-deep);
  color: #fff;
}

.benefit-strip article {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 118px;
  padding: 24px clamp(20px, 3vw, 44px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-strip article:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-strip article > span {
  color: var(--landing-lime);
  font: 700 12px "Space Grotesk";
}

.benefit-strip article div {
  display: grid;
  gap: 4px;
}

.benefit-strip strong {
  font: 600 16px "Space Grotesk";
}

.benefit-strip small {
  color: #91a39c;
  font-size: 11px;
}

.booking-section {
  padding: 120px max(7vw, calc((100vw - 1480px) / 2)) 135px;
  background:
    radial-gradient(circle at 92% 12%, rgba(217, 245, 111, 0.18), transparent 23%),
    var(--landing-white);
}

.booking-section .section-heading {
  margin-bottom: 48px;
}

.booking-section .section-heading h2 {
  font-size: clamp(48px, 5vw, 70px);
  line-height: 0.96;
}

.booking-section .section-heading h2 em {
  color: var(--landing-orange);
}

.section-note {
  max-width: 330px;
  padding-left: 22px;
  border-left: 2px solid var(--landing-lime);
  font-size: 14px;
}

.date-picker {
  width: fit-content;
  margin-bottom: 30px;
  padding: 16px 18px;
  border: 1px solid var(--landing-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(16, 37, 31, 0.06);
}

.calendar-label {
  color: #65756f;
}

.calendar-picker {
  border-color: var(--landing-line);
  border-radius: 7px;
  background: var(--landing-paper);
}

.calendar-picker:focus {
  border-color: var(--landing-ink);
  outline: 3px solid rgba(217, 245, 111, 0.5);
}

.booking-layout {
  grid-template-columns: minmax(0, 1.48fr) minmax(330px, 0.72fr);
  gap: 24px;
  align-items: start;
}

.court-list {
  gap: 15px;
}

.court {
  padding: 25px;
  border-color: var(--landing-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 9px 30px rgba(16, 37, 31, 0.045);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.court:hover {
  border-color: rgba(16, 37, 31, 0.3);
  box-shadow: 0 16px 40px rgba(16, 37, 31, 0.08);
  transform: translateY(-2px);
}

.court h3 {
  font-size: 23px;
}

.price {
  display: inline-flex;
  align-self: center;
  align-items: center;
  justify-self: end;
  justify-content: center;
  box-sizing: border-box;
  min-width: 88px;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--landing-paper);
  font-size: 13px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.price small {
  margin-left: 2px;
  font-size: 0.76em;
  line-height: 1;
}

.court-times {
  gap: 9px;
}

.time-btn {
  min-width: 58px;
  padding: 9px 12px;
  border-color: var(--landing-line);
  border-radius: 6px;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.time-btn:hover:not(:disabled),
.time-btn.selected {
  border-color: var(--landing-lime);
  background: var(--landing-lime);
  transform: translateY(-1px);
}

.booking-card {
  top: 106px;
  min-height: 330px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 17px;
  background:
    radial-gradient(circle at 90% 5%, rgba(217, 245, 111, 0.15), transparent 28%),
    var(--landing-deep);
  box-shadow: 0 24px 55px rgba(11, 29, 24, 0.2);
}

.booking-card::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 20px;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(217, 245, 111, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.empty-booking {
  padding: 58px 10px 30px;
}

.racket-icon {
  width: 54px;
  height: 54px;
  border-color: rgba(217, 245, 111, 0.3);
  background: rgba(217, 245, 111, 0.06);
}

.selected-booking h3 {
  font-size: 33px;
}

.booking-card .primary-btn {
  position: relative;
  z-index: 1;
  border-radius: 8px;
}

.my-bookings {
  margin-top: 44px;
  padding: 30px;
  border-color: var(--landing-line);
  border-radius: 13px;
  background: var(--landing-paper);
}

.club-section {
  display: block;
  padding: 120px max(7vw, calc((100vw - 1480px) / 2));
  background:
    radial-gradient(circle at 85% 10%, rgba(217, 245, 111, 0.18), transparent 26%),
    var(--landing-deep);
  color: #fff;
}

.club-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(50px, 9vw, 150px);
  align-items: end;
}

.club-section .eyebrow {
  color: #8fa29b;
}

.club-section h2 {
  font-size: clamp(52px, 5.5vw, 78px);
}

.club-section h2 em {
  color: var(--landing-lime);
}

.club-story p {
  max-width: 480px;
  margin: 0 0 28px;
  color: #aebdb7;
  font-size: 16px;
  line-height: 1.7;
}

.club-story .text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}

.club-story .text-link span {
  color: var(--landing-lime);
}

.club-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 75px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.club-features article {
  min-height: 220px;
  padding: 30px clamp(20px, 3vw, 38px) 20px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.club-features article:not(:first-child) {
  padding-left: clamp(20px, 3vw, 38px);
}

.club-features article:last-child {
  border-right: 0;
}

.feature-number {
  color: var(--landing-orange);
  font: 700 11px "Space Grotesk";
  letter-spacing: 0.12em;
}

.club-features h3 {
  margin: 42px 0 12px;
  font: 600 23px "Space Grotesk";
}

.club-features p {
  max-width: 300px;
  margin: 0;
  color: #93a69f;
  font-size: 13px;
  line-height: 1.6;
}

.faq {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(55px, 10vw, 160px);
  max-width: none;
  padding: 120px max(7vw, calc((100vw - 1480px) / 2)) 130px;
  background: var(--landing-paper);
}

.faq-heading {
  position: sticky;
  top: 120px;
  align-self: start;
}

.faq-heading h2 {
  font-size: clamp(48px, 5vw, 68px);
}

.faq-heading h2 em {
  color: var(--landing-orange);
}

.faq-heading > p:last-child {
  max-width: 270px;
  margin-top: 24px;
  color: #6e7e78;
  line-height: 1.6;
}

.faq-list {
  border-top: 1px solid var(--landing-line);
}

.faq details {
  padding: 27px 0;
  border-top: 0;
  border-bottom: 1px solid var(--landing-line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 20px;
}

.faq summary::after {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  float: none;
  border: 1px solid var(--landing-line);
  border-radius: 50%;
  color: var(--landing-orange);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.faq details[open] summary::after {
  content: "−";
  background: var(--landing-ink);
  color: var(--landing-lime);
  transform: rotate(180deg);
}

.faq details p {
  max-width: 620px;
  margin: 17px 50px 0 0;
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 45px;
  padding: 55px max(7vw, calc((100vw - 1480px) / 2));
  border-top: 0;
  background: #081713;
  color: #8fa19a;
}

.site-footer .brand {
  color: #fff;
  font-size: 17px;
}

.site-footer .brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.footer-brand p {
  margin: 13px 0 0;
  font-size: 12px;
}

.footer-links,
.footer-meta {
  display: grid;
  align-content: center;
  justify-content: start;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--landing-lime);
}

.footer-meta {
  justify-content: end;
  text-align: right;
}

@media (max-width: 1050px) {
  .site-header nav {
    gap: 18px;
  }

  .hero {
    grid-template-columns: 47% 53%;
    padding-left: 5vw;
  }

  .hero h1 {
    font-size: clamp(54px, 7vw, 76px);
  }

  .booking-section,
  .club-section,
  .faq {
    padding-right: 5vw;
    padding-left: 5vw;
  }
}

@media (max-width: 800px) {
  .site-header {
    position: sticky;
    height: 70px;
    padding: 0 22px;
  }

  .site-header .brand-logo {
    width: 34px !important;
    height: 34px !important;
  }

  .menu-toggle {
    order: 3;
    display: block;
    margin: 0 0 0 8px;
  }

  .site-header nav {
    top: 70px;
    padding: 10px 22px 18px;
    background: rgba(245, 244, 237, 0.98);
  }

  .site-header nav.is-open {
    gap: 0;
  }

  .site-header nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--landing-line);
  }

  .site-header nav a::after {
    display: none;
  }

  .header-actions {
    display: flex;
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .login-btn {
    padding-inline: 10px;
  }

  .hero {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0;
  }

  .hero-copy {
    padding: 76px 7vw 68px;
  }

  .hero h1 {
    font-size: clamp(54px, 12vw, 78px);
  }

  .hero-art {
    min-height: 500px;
    margin: 0;
    border-radius: 0;
  }

  .benefit-strip {
    padding: 0 5vw;
  }

  .benefit-strip article {
    padding-inline: 18px;
  }

  .booking-layout,
  .club-intro,
  .faq {
    grid-template-columns: 1fr;
  }

  .booking-card {
    position: static;
  }

  .club-intro {
    gap: 35px;
  }

  .club-features {
    grid-template-columns: 1fr;
  }

  .club-features article,
  .club-features article:not(:first-child) {
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .club-features h3 {
    margin-top: 18px;
  }

  .faq {
    gap: 45px;
  }

  .faq-heading {
    position: static;
  }
}

@media (max-width: 620px) {
  .hero-copy {
    padding: 60px 20px 55px;
  }

  .hero-kicker {
    margin-bottom: 23px;
    font-size: 9px;
  }

  .hero h1 {
    font-size: clamp(47px, 14vw, 64px);
  }

  .hero-text {
    margin: 24px 0 28px;
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .hero-primary {
    width: 100%;
  }

  .hero-secondary {
    align-self: center;
    margin-top: 4px;
  }

  .hero-proof {
    margin-top: 38px;
  }

  .hero-art {
    min-height: 390px;
  }

  .court-lines {
    inset: 80px 8% 65px;
  }

  .sun {
    width: 300px;
    height: 300px;
    top: -100px;
  }

  .hero-next-slot {
    top: 28px;
    left: 20px;
  }

  .hero-court-count {
    right: 20px;
    bottom: 55px;
  }

  .benefit-strip {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .benefit-strip article,
  .benefit-strip article:last-child {
    min-height: 94px;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }

  .booking-section,
  .club-section,
  .faq {
    padding-right: 20px;
    padding-left: 20px;
  }

  .booking-section {
    padding-top: 80px;
    padding-bottom: 90px;
  }

  .booking-section .section-heading {
    margin-bottom: 32px;
  }

  .booking-section .section-heading h2,
  .club-section h2,
  .faq-heading h2 {
    font-size: 45px;
  }

  .section-note {
    margin-top: 22px;
  }

  .date-picker {
    width: 100%;
    padding: 15px;
  }

  .court {
    padding: 20px;
  }

  .court h3 {
    font-size: 20px;
  }

  .booking-card {
    min-height: 280px;
    padding: 23px;
  }

  .my-bookings {
    padding: 20px;
  }

  .club-section,
  .faq {
    padding-top: 85px;
    padding-bottom: 90px;
  }

  .club-features {
    margin-top: 50px;
  }

  .faq details {
    padding: 22px 0;
  }

  .faq summary {
    font-size: 17px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 45px 20px;
  }

  .footer-meta {
    justify-content: start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .court,
  .hero-primary,
  .header-cta,
  .time-btn,
  .faq summary::after {
    transition: none;
  }
}

/* Quick court selection and confirmation */
.modal-backdrop {
  z-index: 50;
}

.booking-layout {
  display: block;
}

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

.court {
  align-content: start;
  min-height: 220px;
}

.court.selected-court {
  border-color: var(--landing-ink);
  box-shadow:
    0 0 0 2px var(--landing-lime),
    0 18px 42px rgba(16, 37, 31, 0.12);
}

.time-btn.selection-limit-reached {
  cursor: not-allowed;
  opacity: 0.42;
}

.court-times {
  align-content: start;
}

.booking-card {
  position: fixed;
  z-index: 15;
  right: auto;
  bottom: 22px;
  left: 50%;
  top: auto;
  width: min(920px, calc(100% - 40px));
  min-height: 0;
  padding: 16px 18px 18px;
  border-radius: 16px;
  opacity: 0;
  transform: translate(-50%, 24px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.booking-card[hidden] {
  display: none;
}

.booking-card.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.booking-card::after {
  display: none;
}

.booking-card .card-top {
  align-items: center;
  margin-bottom: 10px;
}

.quick-booking-close {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.quick-booking-close:hover,
.quick-booking-close:focus-visible {
  border-color: var(--landing-lime);
  color: var(--landing-lime);
}

.booking-card .selected-booking {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 0.58fr);
  align-items: center;
  gap: 26px;
  padding-top: 0;
}

.booking-card .selected-booking h3 {
  margin: 0 0 5px;
  font-size: 24px;
}

.booking-card .selected-booking p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  font-size: 13px;
}

.quick-booking-total {
  display: grid;
  gap: 2px;
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.quick-booking-total span {
  color: #96a59e;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quick-booking-total strong {
  color: #fff;
  font: 600 22px "Space Grotesk";
}

.booking-card .primary-btn {
  justify-content: space-between;
  width: 100%;
  margin-top: 0;
  padding: 16px 18px;
}

#bookingForm .primary-btn {
  border-radius: 999px;
  padding-inline: 22px;
}

.modal-booking-date,
.modal-booking-user {
  margin: 0;
}

.payment-window {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(16, 37, 31, 0.12);
  border-radius: 10px;
  background: rgba(217, 245, 111, 0.22);
}

.payment-window div {
  display: grid;
  gap: 3px;
}

.payment-window strong {
  color: var(--landing-ink);
  font-size: 13px;
}

.payment-window span {
  color: var(--muted);
  font-size: 11px;
}

.payment-window time {
  min-width: 72px;
  color: var(--landing-ink);
  font: 700 24px "Space Grotesk";
  letter-spacing: -0.04em;
  text-align: right;
}

.payment-window.is-expired {
  border-color: rgba(179, 58, 45, 0.28);
  background: rgba(179, 58, 45, 0.08);
}

.payment-window.is-expired time {
  color: #b33a2d;
}

.modal-booking-row,
.modal-booking-total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid var(--landing-line);
}

.modal-booking-total {
  margin-top: 4px;
  border-bottom: 0;
  color: var(--landing-ink);
  font-size: 16px;
}

.modal-booking-user {
  padding-top: 4px;
}

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

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

  .court {
    min-height: 0;
  }

  .booking-card {
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 14px;
    border-radius: 14px;
  }

  .booking-card .selected-booking {
    grid-template-columns: 1fr auto;
    gap: 12px 18px;
  }

  .booking-card .selected-booking h3 {
    font-size: 20px;
  }

  .quick-booking-total {
    padding-left: 18px;
  }

  .quick-booking-total strong {
    font-size: 18px;
  }

  .booking-card .primary-btn {
    grid-column: 1 / -1;
  }

  .payment-window {
    align-items: flex-start;
    padding: 12px 14px;
  }

  .payment-window time {
    min-width: 62px;
    font-size: 21px;
  }
}

/* Regulation 44 ft × 20 ft pickleball-court illustration */
.court-lines {
  --court-kitchen-line: 34.09%;
  top: 27%;
  right: auto;
  bottom: auto;
  left: 8%;
  width: 84%;
  aspect-ratio: 44 / 20;
  border: 3px solid rgba(255, 254, 250, 0.92);
  background: linear-gradient(
    90deg,
    transparent var(--court-kitchen-line),
    rgba(255, 109, 74, 0.08) var(--court-kitchen-line),
    rgba(255, 109, 74, 0.08) calc(100% - var(--court-kitchen-line)),
    transparent calc(100% - var(--court-kitchen-line))
  );
  box-shadow:
    0 0 0 1px rgba(16, 37, 31, 0.2),
    0 30px 60px rgba(16, 37, 31, 0.12);
  transform: rotate(-9deg);
}

.court-lines::before,
.court-lines::after {
  display: none;
}

.court-line {
  position: absolute;
  z-index: 1;
  display: block;
  background: rgba(255, 254, 250, 0.92);
  box-shadow: 0 0 0 0.5px rgba(16, 37, 31, 0.15);
}

.kitchen-line {
  top: 0;
  bottom: 0;
  width: 3px;
}

.kitchen-left {
  left: var(--court-kitchen-line);
}

.kitchen-right {
  right: var(--court-kitchen-line);
}

.service-line {
  top: calc(50% - 1.5px);
  width: var(--court-kitchen-line);
  height: 3px;
}

.service-left {
  left: 0;
}

.service-right {
  right: 0;
}

.court-lines .net {
  z-index: 2;
  top: -9px;
  bottom: -9px;
  left: calc(50% - 2px);
  width: 4px;
  background: var(--landing-orange);
  box-shadow:
    0 0 0 4px rgba(255, 109, 74, 0.14),
    0 7px 14px rgba(16, 37, 31, 0.16);
}

@media (max-width: 800px) {
  .court-lines {
    top: 24%;
    left: 6%;
    width: 88%;
  }
}

@media (max-width: 620px) {
  .court-lines {
    top: 29%;
    left: 4%;
    width: 92%;
    border-width: 2px;
    transform: rotate(-7deg);
  }

  .kitchen-line {
    width: 2px;
  }

  .service-line {
    top: calc(50% - 1px);
    height: 2px;
  }
}
