:root {
  --ink: #111827;
  --muted: #5b6472;
  --line: #dce3ef;
  --panel: #ffffff;
  --soft: #f5f8fc;
  --blue: #155dfc;
  --blue-dark: #0635a8;
  --green: #02a676;
  --yellow: #ffd166;
  --shadow: 0 24px 70px rgba(30, 54, 90, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
  -webkit-text-size-adjust: 100%;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(245, 248, 252, 0.88);
  border-bottom: 1px solid rgba(220, 227, 239, 0.8);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.hero-stats,
.trust-band,
.addon,
.estimate {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #1d9bf0);
  font-size: 14px;
  letter-spacing: 0;
}

.nav-links {
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--blue-dark);
}

.header-cta,
.button,
.booking-form button {
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.18);
}

.header-cta {
  padding: 11px 16px;
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: clamp(34px, 7vw, 92px) clamp(18px, 5vw, 64px) clamp(26px, 5vw, 56px);
  background:
    radial-gradient(circle at 85% 22%, rgba(255, 209, 102, 0.45), transparent 30%),
    linear-gradient(120deg, #ffffff 0%, #eef5ff 52%, #e8f8f3 100%);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(40px, 6vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.hero-text,
.split-section p,
.booking-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero-stats {
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
}

.hero-stats div {
  min-width: 136px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
}

.hero-stats dt {
  font-size: 28px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 570px;
  overflow: hidden;
  background: linear-gradient(155deg, #0d1730 0%, #174fb4 58%, #27c093 100%);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual::after {
  position: absolute;
  inset: auto 8% 7% 8%;
  height: 22%;
  content: "";
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.28), transparent 66%);
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(66%, 390px);
  max-height: 515px;
  object-fit: contain;
  filter: drop-shadow(0 30px 34px rgba(0, 0, 0, 0.32));
}

.availability-card {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  gap: 10px;
  padding: 12px 14px;
  color: #fff;
  background: rgba(8, 13, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(2, 166, 118, 0.18);
}

.trust-band {
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(18px, 5vw, 64px);
  background: var(--ink);
  color: #fff;
}

.trust-band div {
  display: grid;
  gap: 4px;
}

.trust-band span {
  color: #cfd8e7;
  font-size: 14px;
}

.section,
.split-section,
.booking-section {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 64px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

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

.package-card,
.booking-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(44, 68, 105, 0.08);
}

.package-card {
  display: grid;
  gap: 10px;
  min-height: 310px;
  padding: 28px;
}

.package-card.featured {
  border-color: rgba(21, 93, 252, 0.5);
  box-shadow: var(--shadow);
}

.package-tag {
  width: fit-content;
  padding: 5px 10px;
  color: var(--blue-dark);
  background: #eaf1ff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.package-card p {
  color: var(--muted);
}

.price {
  margin-top: auto;
  font-size: 34px;
  font-weight: 900;
}

.price span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.text-link {
  width: fit-content;
  color: var(--blue);
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(24px, 5vw, 76px);
  align-items: center;
  background: #fff;
}

.catalog-copy {
  align-self: start;
}

.catalog-link {
  width: fit-content;
  margin-top: 18px;
}

.catalog-panel {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.catalog-search {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 900;
}

.catalog-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.game-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-height: 520px;
  overflow: auto;
  padding-right: 6px;
}

.game-list span {
  min-height: 54px;
  padding: 14px;
  background: linear-gradient(135deg, #f7fbff, #eff7f3);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.68fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  content: "✓";
  font-size: 12px;
}

.booking-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 30px);
}

.booking-form label,
fieldset {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

input,
select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

input:focus,
select:focus {
  outline: 3px solid rgba(21, 93, 252, 0.18);
  border-color: var(--blue);
}

fieldset {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

legend {
  padding: 0 8px;
}

.addon {
  grid-template-columns: 18px 1fr auto;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
}

.addon input {
  min-height: auto;
}

.estimate {
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-radius: 8px;
}

.estimate span {
  color: #dce7ff;
  font-weight: 800;
}

.estimate strong {
  font-size: 28px;
}

.booking-form button {
  min-height: 52px;
  font: inherit;
}

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

.booking-form .payment-button {
  background: var(--green);
  box-shadow: 0 12px 32px rgba(2, 166, 118, 0.2);
}

.checkout-note {
  display: grid;
  gap: 4px;
  padding: 14px;
  color: #5c4200;
  background: #fff7d6;
  border: 1px solid #f6d46b;
  border-radius: 8px;
}

.checkout-note strong {
  font-size: 14px;
}

.checkout-note span {
  font-size: 13px;
  font-weight: 700;
}

.slot-picker {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.slot-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  font-size: 14px;
}

.slot-picker-header span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.slot-picker-header i {
  width: 12px;
  height: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.slot-picker-header i:last-child {
  margin-left: 8px;
  background: #d8dde7;
  border-color: #c7cedb;
}

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

.booking-form .slot-button {
  min-height: 46px;
  padding: 8px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
  font-size: 13px;
  font-weight: 900;
}

.booking-form .slot-button.is-selected {
  border-color: var(--blue);
  outline: 3px solid rgba(21, 93, 252, 0.16);
}

.booking-form .slot-button.is-booked {
  color: #5f6775;
  background: #d3d8e2;
  border-color: #b8c1d0;
  box-shadow: none;
  opacity: 1;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: #7b8494;
  cursor: not-allowed;
}

.booking-form .slot-button:disabled {
  color: #5f6775;
  background: #d3d8e2;
  border-color: #b8c1d0;
  box-shadow: none;
  opacity: 1;
  filter: grayscale(0.15);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: #7b8494;
  cursor: not-allowed;
}

.slot-empty {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 64px);
  color: #dce3ef;
  background: #0d1424;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 10px 0 14px;
}

.footer-contact a {
  color: #9ec5ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-notify {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 920px) {
  .hero,
  .split-section,
  .booking-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 460px;
  }

  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 650px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .header-cta {
    padding: 10px 12px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-stats div {
    flex: 1 1 132px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-visual img {
    width: min(70%, 260px);
  }

  .availability-card {
    left: 16px;
    right: 16px;
    justify-content: center;
  }

  .game-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .package-grid,
  .game-list,
  .form-actions,
  .time-slots {
    grid-template-columns: 1fr;
  }
}

@media (hover: none) and (pointer: coarse) {
  .button,
  .header-cta,
  .slot-button,
  .booking-form input,
  .booking-form select,
  .booking-form button,
  .text-link {
    min-height: 44px;
  }

  .booking-form input,
  .booking-form select,
  .booking-form textarea {
    font-size: 16px;
  }

  .slot-button {
    padding: 12px 14px;
  }

  .nav-links a {
    padding: 8px 4px;
  }
}
