:root {
  color-scheme: dark;
  --ink: #f8fbff;
  --muted: #b8c5d6;
  --line: rgba(255, 255, 255, 0.16);
  --surface: #111827;
  --soft: #0b1020;
  --maroon: #ff3d8b;
  --teal: #00c2ff;
  --gold: #f7b731;
  --green: #42d392;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 61, 139, 0.22), transparent 26rem),
    radial-gradient(circle at 86% 12%, rgba(0, 194, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 50% 100%, rgba(247, 183, 49, 0.14), transparent 30rem),
    #05070f;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(5, 7, 15, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.site-header nav,
.hero-actions,
.room-title,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
}

.brand strong {
  font-size: 15px;
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  font-weight: 800;
  color: #05070f;
  background: linear-gradient(135deg, var(--gold), var(--teal), var(--maroon));
  border-radius: 8px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}

.brand small span {
  font-size: 9px;
  text-transform: lowercase;
}

.site-header nav {
  gap: 14px;
  font-weight: 700;
}

.site-header nav a {
  text-decoration: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: grid;
  align-items: end;
  padding: clamp(72px, 12vw, 150px) clamp(20px, 6vw, 80px) 56px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.36)),
    url("assets/homepage-rink.jpg")
      center / cover;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
}

.hero p {
  max-width: 620px;
  font-size: 19px;
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--maroon));
  box-shadow: 0 0 22px rgba(0, 194, 255, 0.22);
}

.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.full {
  width: 100%;
}

.section {
  padding: 64px clamp(18px, 5vw, 72px);
}

.section:nth-of-type(even) {
  background:
    radial-gradient(circle at 10% 15%, rgba(0, 194, 255, 0.1), transparent 22rem),
    radial-gradient(circle at 90% 80%, rgba(255, 61, 139, 0.09), transparent 24rem),
    var(--soft);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 24px;
}

.compact {
  margin-bottom: 16px;
}

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

h2,
h3 {
  margin: 0 0 12px;
}

h2 {
  font-size: clamp(28px, 4vw, 46px);
}

.room-grid,
.package-grid,
.info-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.weekly-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  align-items: start;
}

.room-card,
.package-card,
.info-grid article,
.booking-card,
.summary-card,
.room-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.room-card {
  min-height: 190px;
  padding: 18px;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.room-card:hover,
.package-card:hover,
.gallery-grid figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(15, 46, 77, 0.16);
}

.room-card.active {
  outline: 3px solid var(--gold);
}

.room-card h3 {
  font-size: 24px;
}

.room-card p,
.package-card p,
.summary-card p,
.room-panel p,
.site-footer p {
  color: var(--muted);
  line-height: 1.55;
}

.room-swatch {
  width: 100%;
  height: 82px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--maroon), var(--teal));
}

.room-photo {
  width: 100%;
  height: 120px;
  margin-bottom: 16px;
  object-fit: cover;
  border-radius: 8px;
}

.package-photo {
  width: 100%;
  height: 160px;
  margin-bottom: 16px;
  object-fit: cover;
  border-radius: 8px;
}

.room-title {
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.tabs {
  display: inline-flex;
  padding: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tab {
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 800;
  background: transparent;
  cursor: pointer;
}

.tab.active {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--maroon));
}

.room-panel {
  padding: clamp(20px, 4vw, 36px);
}

.detail-photo {
  width: 100%;
  max-height: 420px;
  margin-bottom: 22px;
  object-fit: cover;
  border-radius: 8px;
}

.room-panel ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.room-panel li {
  padding: 14px;
  background: var(--soft);
  border-radius: 8px;
}

.package-card {
  padding: 22px;
}

.packages-board {
  width: 100%;
  display: block;
  margin-bottom: 22px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.package-guests,
.package-rooms,
.package-extra {
  font-weight: 900;
}

.package-rooms {
  color: var(--teal);
}

.package-extra {
  color: var(--gold);
}

.package-features {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}

.package-features li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.package-features li::before {
  position: absolute;
  left: 0;
  color: var(--maroon);
  content: "♥";
}

.info-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 28px;
  align-items: center;
  background:
    radial-gradient(circle at 88% 10%, rgba(247, 183, 49, 0.16), transparent 24rem),
    #070b16;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.info-grid article {
  padding: 22px;
}

.info-accent {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.gallery-section {
  background: #05070f;
}

.gallery-grid figure,
.gallery-placeholder {
  min-height: 230px;
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-grid img {
  width: 100%;
  height: 190px;
  display: block;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 12px 14px;
  font-weight: 900;
}

.gallery-placeholder {
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 61, 139, 0.16), rgba(0, 194, 255, 0.16)),
    #0b1020;
  border: 2px dashed rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.sessions-section {
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 61, 139, 0.18), transparent 22rem),
    radial-gradient(circle at 90% 70%, rgba(0, 194, 255, 0.14), transparent 24rem),
    var(--soft);
}

.sessions-layout {
  display: grid;
  grid-template-columns: minmax(240px, 420px) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.sessions-poster,
.session-actions article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.sessions-poster {
  width: 100%;
  height: 100%;
  max-height: 680px;
  object-fit: cover;
}

.session-actions {
  display: grid;
  gap: 16px;
}

.session-actions article {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: clamp(20px, 4vw, 36px);
}

.disabled-link {
  opacity: 0.72;
  pointer-events: none;
}

.embedded-site {
  margin-top: 28px;
}

.embedded-site iframe {
  width: 100%;
  height: 760px;
  display: block;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lesson-page {
  min-height: 100vh;
}

.lesson-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(5, 7, 15, 0.94);
  border-bottom: 1px solid var(--line);
}

.lesson-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 460px);
  gap: 28px;
  align-items: center;
  padding: clamp(38px, 7vw, 88px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 61, 139, 0.22), transparent 24rem),
    radial-gradient(circle at 92% 72%, rgba(0, 194, 255, 0.16), transparent 26rem),
    #05070f;
}

.lesson-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 0.96;
}

.lesson-copy p {
  max-width: 660px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.lesson-flyer {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lesson-details-grid,
.rate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.lesson-details-grid article,
.rate-grid article {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lesson-price {
  color: var(--gold);
  font-size: 34px;
  font-weight: 900;
}

.lesson-form-section {
  background: var(--soft);
}

.lesson-rates {
  background:
    radial-gradient(circle at 12% 10%, rgba(247, 183, 49, 0.14), transparent 24rem),
    var(--soft);
}

.lesson-video-section {
  background: #05070f;
}

.lesson-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.lesson-video-grid video {
  width: 100%;
  max-height: 620px;
  background: #000;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lesson-form {
  max-width: 920px;
  margin: 0 auto;
}

.weekly-section {
  background:
    radial-gradient(circle at 15% 8%, rgba(255, 61, 139, 0.18), transparent 24rem),
    radial-gradient(circle at 90% 80%, rgba(0, 194, 255, 0.16), transparent 24rem),
    #05070f;
}

.brand-feature {
  background: #05070f;
}

.brand-feature img,
.weekly-flyer img {
  width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.weekly-flyer {
  margin: 0;
}

.weekly-flyer img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #05070f;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  gap: 28px;
  align-items: center;
  background:
    radial-gradient(circle at 12% 10%, rgba(247, 183, 49, 0.16), transparent 24rem),
    radial-gradient(circle at 90% 80%, rgba(255, 61, 139, 0.12), transparent 24rem),
    var(--soft);
}

.story-copy p {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.story-photos {
  display: grid;
  gap: 14px;
}

.story-photos img {
  width: 100%;
  max-height: 330px;
  object-fit: contain;
  background: #05070f;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-links-section {
  background: #05070f;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.quick-links a {
  display: grid;
  min-height: 68px;
  place-items: center;
  padding: 14px;
  color: var(--ink);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(0, 194, 255, 0.18), rgba(255, 61, 139, 0.16)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-links a:hover {
  transform: translateY(-2px);
}

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

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 20px;
  align-items: start;
  background:
    radial-gradient(circle at 4% 8%, rgba(247, 183, 49, 0.13), transparent 22rem),
    radial-gradient(circle at 100% 24%, rgba(0, 194, 255, 0.13), transparent 24rem),
    var(--soft);
}

.booking-card,
.summary-card {
  padding: clamp(18px, 3vw, 30px);
}

.summary-card {
  position: sticky;
  top: 88px;
}

.availability-card {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.weekly-schedule {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.schedule-day {
  display: grid;
  gap: 4px;
  padding: 10px;
  background: var(--soft);
  border-radius: 8px;
}

.schedule-day span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

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

label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  font: inherit;
  background: #080d18;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.line-items {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.line-item {
  display: grid;
  grid-template-columns: 1fr 90px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--soft);
  border-radius: 8px;
}

.policy {
  margin: 18px 0;
  padding: 14px;
  color: #ffe9ad;
  line-height: 1.5;
  background: rgba(247, 183, 49, 0.12);
  border: 1px solid rgba(247, 183, 49, 0.36);
  border-radius: 8px;
}

.agreement {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.agreement input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.summary-total {
  margin-top: 18px;
  padding: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--maroon));
  border-radius: 8px;
}

.payment-box {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 16px;
  background: var(--soft);
  border-radius: 8px;
}

.payment-box p {
  margin: 0;
}

.button:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.success {
  color: var(--green);
  font-weight: 900;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 32px clamp(18px, 5vw, 72px);
  background: #05070f;
  border-top: 1px solid var(--line);
}

.ai-assistant {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  justify-items: end;
  gap: 12px;
  max-width: calc(100vw - 36px);
}

.ai-toggle,
.ai-send,
.ai-close {
  border: 0;
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.ai-toggle {
  min-height: 52px;
  padding: 0 18px;
  background: linear-gradient(135deg, var(--teal), var(--maroon));
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.ai-panel {
  width: min(380px, calc(100vw - 36px));
  overflow: hidden;
  background: #0b1020;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

.ai-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  background: #111827;
  border-bottom: 1px solid var(--line);
}

.ai-header strong,
.ai-header span {
  display: block;
}

.ai-header span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.ai-close {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.ai-messages {
  display: grid;
  gap: 10px;
  max-height: 340px;
  padding: 14px;
  overflow-y: auto;
}

.ai-message {
  max-width: 88%;
  margin: 0;
  padding: 11px 12px;
  color: var(--ink);
  line-height: 1.4;
  overflow-wrap: anywhere;
  border-radius: 8px;
}

.ai-bot {
  justify-self: start;
  background: rgba(255, 255, 255, 0.08);
}

.ai-user {
  justify-self: end;
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.42), rgba(255, 61, 139, 0.38));
}

.ai-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.ai-input {
  margin: 0;
}

.ai-send {
  min-height: 44px;
  padding: 0 14px;
  background: linear-gradient(135deg, var(--teal), var(--maroon));
  border-radius: 8px;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
  }

  .booking-layout,
  .field-grid,
  .info-band,
  .sessions-layout,
  .story-section,
  .lesson-hero {
    grid-template-columns: 1fr;
  }

  .lesson-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .summary-card {
    position: static;
  }

  .line-item {
    grid-template-columns: 1fr 76px;
  }

}
