:root {
  --accent: #95ff00;
  --accent-rgb: 149, 255, 0;
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow-dark: 0 24px 80px rgba(0, 0, 0, 0.28);
  --shadow-light: 0 24px 80px rgba(10, 24, 39, 0.1);
  --font: "Montserrat", sans-serif;
}

html[data-theme="dark"] {
  --bg: #070909;
  --bg-soft: #101414;
  --surface: rgba(18, 22, 22, 0.86);
  --surface-strong: #111515;
  --surface-alt: #171d1d;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f7f2;
  --muted: #9ca59d;
  --shadow: var(--shadow-dark);
}

html[data-theme="light"] {
  --bg: #edf1e8;
  --bg-soft: #f8fbf2;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-alt: #f1f6e9;
  --line: rgba(19, 28, 21, 0.08);
  --text: #111513;
  --muted: #5e695f;
  --shadow: var(--shadow-light);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
  color: var(--text);
  transition: background 0.25s ease, color 0.25s ease;
}

.large-header {
  position: fixed;
  inset: 0;
  width: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.08), transparent 36%),
    radial-gradient(circle at 84% 20%, rgba(255, 255, 255, 0.05), transparent 34%),
    #0b1014;
  background-size: cover;
  background-position: center;
}

html[data-theme="light"] .large-header {
  background:
    radial-gradient(circle at 18% 24%, rgba(16, 24, 40, 0.07), transparent 36%),
    radial-gradient(circle at 84% 20%, rgba(16, 24, 40, 0.05), transparent 34%),
    #f3f6ef;
}

#demo-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

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

a,
button {
  font: inherit;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  z-index: 1;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.35;
  mask-image: radial-gradient(circle at center, black 35%, transparent 100%);
}

.container {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(6px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--line);
}

.header-row {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand img {
  width: 68px;
  height: auto;
}

.main-nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

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

.theme-toggle,
.menu-toggle,
.header-cta,
.btn,
.price-tab {
  border: 1px solid var(--line);
  transition: 0.2s ease;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px 8px 8px;
  cursor: pointer;
}

.theme-toggle-track {
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.18);
  position: relative;
}

.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.38);
  transition: transform 0.22s ease;
}

html[data-theme="light"] .theme-toggle-thumb {
  transform: translateX(20px);
}

.theme-toggle-label {
  font-size: 0.9rem;
  font-weight: 700;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 20px;
}

.header-cta {
  background: var(--accent);
  color: #0a0d08;
  box-shadow: 0 0 32px rgba(var(--accent-rgb), 0.3);
}

.header-cta:hover,
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(var(--accent-rgb), 0.18);
}

.btn-primary {
  background: var(--accent);
  color: #0a0d08;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(var(--accent-rgb), 0.45);
  background: rgba(var(--accent-rgb), 0.08);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--surface);
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 0 auto 5px;
}

.menu-toggle span:last-child {
  margin-bottom: 0;
}

.section {
  padding: 28px 0 0;
}

.hero {
  padding-top: 26px;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 18px;
}

@media (min-width: 1081px) {
  .hero {
    min-height: calc(100svh - 96px);
    padding-top: 12px;
    gap: 12px;
    align-items: stretch;
  }

  .hero-main {
    min-height: 0;
    padding: clamp(18px, 2vw, 30px);
    justify-content: flex-start;
    container-type: inline-size;
  }

  .hero-main h1 {
    font-size: clamp(1.8rem, 8.2cqi, 3.3rem);
    line-height: 0.96;
  }

  .hero-text {
    max-width: 50ch;
    margin-top: 10px;
    line-height: 1.45;
  }

  .hero-panel {
    margin-top: 14px;
  }

  .hero-media {
    gap: 12px;
  }

  .hero-stat {
    padding: 14px;
  }

  .hero-stat strong {
    font-size: 1.5rem;
  }

  .hero-card-large {
    min-height: 250px;
  }

  .hero-card-small {
    min-height: 130px;
  }
}

.hero-card,
.zone-card,
.club-map,
.spec-card,
.price-display,
.price-tabs,
.event-card,
.booking-card {
  background: color-mix(in srgb, var(--surface-alt) 78%, transparent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-main {
  border-radius: var(--radius-xl);
  border: 1px solid color-mix(in srgb, var(--line) 52%, transparent);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(6px);
  padding: clamp(28px, 5vw, 54px);
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01) 42%, transparent 68%),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--surface-strong) 38%, transparent),
      color-mix(in srgb, var(--surface) 44%, transparent)
    );
}

html[data-theme="light"] .hero-main {
  box-shadow: 0 12px 30px rgba(24, 38, 52, 0.1);
  border-color: rgba(19, 28, 21, 0.1);
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-main h1 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(2.5rem, 6vw, 5.3rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.hero-text {
  max-width: 58ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.65;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-panel {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.spec-counts {
  margin-top: 0;
  margin-bottom: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero-stat {
  border-radius: var(--radius-md);
  padding: 18px;
  background: color-mix(in srgb, var(--surface-alt) 78%, transparent);
  border: 1px solid var(--line);
}

.hero-stat strong {
  display: block;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.hero-stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-media {
  display: grid;
  gap: 18px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.hero-card-large {
  min-height: 320px;
}

.hero-card-small {
  min-height: 156px;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card::after,
.zone-card::after,
.event-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 15%, rgba(0, 0, 0, 0.78) 100%);
}

.hero-card-content,
.zone-text,
.event-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
}

.hero-card-content span,
.zone-text h3,
.event-overlay h3 {
  font-weight: 800;
}

.hero-card-content span {
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-card-content p,
.event-overlay p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

.section-head {
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.zone-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.zone-card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  border-radius: var(--radius-xl);
}

.zone-card.featured {
  min-height: 420px;
}

.zone-card img,
.event-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zone-card .zone-text p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
}

.club-map {
  border-radius: var(--radius-xl);
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.5fr;
  gap: 12px;
}

.map-block {
  border-radius: var(--radius-lg);
  padding: 18px;
  background: color-mix(in srgb, var(--surface-alt) 78%, transparent);
  border: 1px solid var(--line);
}

.map-block h3 {
  margin: 0;
  font-size: 1rem;
}

.map-chips {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.map-ps .map-chips {
  justify-content: center;
}

.map-vip {
  align-self: stretch;
  justify-self: stretch;
  display: flex;
  flex-direction: column;
}

.map-vip .map-chips {
  margin-top: auto;
  justify-content: center;
}

.map-chips span {
  min-width: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--text);
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
}

.map-chips.wide span {
  min-width: 0;
  width: 100%;
  padding-inline: 0;
}

.map-standart .map-chips.wide {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  justify-items: center;
}

.map-standart .map-chips.wide span {
  max-width: 56px;
}

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

.spec-card {
  border-radius: var(--radius-xl);
  padding: 24px;
}

.spec-card h3 {
  margin: 0 0 14px;
  font-size: 1.15rem;
}

.spec-card ul,
.event-info ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.prices-section {
  padding-bottom: 6px;
}

.price-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
}

.price-tabs {
  border-radius: var(--radius-xl);
  padding: 14px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.price-tab {
  padding: 14px 16px;
  border-radius: 14px;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}

.price-tab.is-active {
  background: var(--accent);
  color: #0a0d08;
  box-shadow: 0 0 28px rgba(var(--accent-rgb), 0.22);
}

.price-display {
  border-radius: var(--radius-xl);
  padding: 18px;
}

.price-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.price-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-alt) 85%, transparent);
  font-size: 0.88rem;
  font-weight: 700;
}

.price-table-wrap {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.price-table thead th {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-table tbody td:first-child {
  font-weight: 800;
}

.event-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
}

.event-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.event-visual {
  position: relative;
  min-height: 380px;
}

.event-info {
  padding: 24px;
}

.event-info h3 {
  margin: 0 0 16px;
  font-size: 1.45rem;
}

.rent-options {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.rent-options div {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface-alt) 84%, transparent);
  border: 1px solid var(--line);
}

.rent-options strong {
  font-size: 0.95rem;
}

.rent-options span {
  color: var(--muted);
  font-size: 0.9rem;
}

.rent-options em {
  font-style: normal;
  font-weight: 800;
}

.booking-card {
  border-radius: var(--radius-xl);
  padding: clamp(24px, 5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 34%),
    color-mix(in srgb, var(--surface-alt) 78%, transparent);
}

.booking-card h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.04em;
}

.booking-card p {
  margin: 12px 0 0;
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.6;
}

.booking-section {
  padding-bottom: 28px;
}

.gallery-section {
  padding-bottom: 28px;
}

.gallery-head h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.gallery-head p {
  margin: 14px 0 0;
  max-width: 64ch;
  color: var(--muted);
  line-height: 1.6;
}

.gallery-groups {
  display: grid;
  gap: 20px;
}

.gallery-group {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-alt) 78%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  padding: 18px;
}

.gallery-group-head h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
}

.gallery-group-head p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.gallery-preview {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gallery-shot {
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 1 / 1;
}

.gallery-shot-main {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 1 / 1;
}

.gallery-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-shot:hover img {
  transform: scale(1.03);
}

.gallery-open,
.gallery-back {
  display: inline-flex;
  margin-top: 14px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.gallery-open:hover,
.gallery-back:hover {
  color: var(--accent);
}

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

.gallery-detail-grid .gallery-item {
  grid-column: span 1;
  aspect-ratio: 1 / 1;
}

.gallery-detail-grid .gallery-item-wide {
  grid-column: span 1;
  aspect-ratio: 1 / 1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.gallery-item {
  margin: 0;
  grid-column: span 4;
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.gallery-item-wide {
  grid-column: span 6;
  aspect-ratio: 16 / 9;
}

.gallery-item-tall {
  grid-row: span 1;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1080px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 20px;
    right: 20px;
    padding: 18px;
    border-radius: 22px;
    background: var(--surface-strong);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
  }

  .main-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero,
  .price-layout,
  .event-grid,
  .zone-grid {
    grid-template-columns: 1fr;
  }

  .hero-main {
    min-height: auto;
  }

  .hero-card-large {
    min-height: 280px;
  }

  .hero-card-small {
    min-height: 160px;
  }

  .zone-card,
  .zone-card.featured {
    min-height: 300px;
  }

  .event-visual {
    min-height: 320px;
  }

  .club-map,
  .spec-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .booking-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-item,
  .gallery-item-wide {
    grid-column: span 6;
    aspect-ratio: 4 / 3;
  }

  .gallery-detail-grid .gallery-item,
  .gallery-detail-grid .gallery-item-wide {
    grid-column: span 1;
  }

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

  .gallery-shot-main {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 1 / 1;
  }

  .gallery-item-tall {
    grid-row: span 1;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1280px);
  }

  .section {
    padding-top: 20px;
  }

  .header-row {
    min-height: 74px;
  }

  .header-actions {
    margin-left: auto;
    justify-content: flex-end;
    gap: 8px;
  }

  .brand span,
  .theme-toggle-label,
  .header-cta {
    display: none;
  }

  .brand img {
    width: 60px;
  }

  .theme-toggle {
    padding-right: 8px;
  }

  .club-map,
  .spec-grid,
  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-main {
    padding: 22px 16px;
  }

  .hero-main h1 {
    font-size: clamp(1.75rem, 10vw, 2.6rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    max-width: 100%;
  }

  .hero-text {
    font-size: 0.96rem;
    line-height: 1.55;
  }

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

  .hero-actions .btn,
  .booking-card .btn {
    width: 100%;
  }

  .hero-card-large {
    min-height: 260px;
  }

  .hero-card-small {
    min-height: 180px;
  }

  .price-display,
  .price-tabs,
  .event-info,
  .booking-card {
    padding: 16px;
  }

  .price-layout,
  .price-tabs,
  .price-display {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .price-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .price-table {
    min-width: 560px;
  }

  .hero-main h1,
  .section-head h2,
  .booking-card h2 {
    max-width: none;
  }

  .section-head h2,
  .booking-card h2 {
    line-height: 1.08;
  }

  .event-visual {
    min-height: 320px;
  }

  .rent-options div {
    grid-template-columns: 1fr;
  }

  .gallery-head h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .gallery-item,
  .gallery-item-wide {
    grid-column: 1 / -1;
    aspect-ratio: 4 / 3;
  }

  .gallery-detail-grid .gallery-item,
  .gallery-detail-grid .gallery-item-wide {
    grid-column: span 1;
    aspect-ratio: 1 / 1;
  }

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

  .gallery-preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-shot,
  .gallery-shot-main {
    aspect-ratio: 1 / 1;
  }

  .gallery-shot-main {
    grid-column: span 2;
    grid-row: span 2;
  }
}
