/* ============================================================
   CS STUDY HUB — Modern Redesign
   ============================================================ */

:root {
  --bg: #0a0f1e;
  --bg-2: #0e1526;
  --surface: #131c31;
  --surface-2: #18233c;
  --border: rgba(255, 255, 255, 0.08);
  --text: #eef2f9;
  --muted: #97a3bb;
  --accent: #e9b949;
  --accent-2: #f5d17a;
  --accent-dark: #c9932b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.65);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

::selection { background: var(--accent); color: #14100a; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.eyebrow.center::after {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(270deg, var(--accent), transparent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--muted);
  max-width: 640px;
  font-size: 1.02rem;
}
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #191204;
  box-shadow: 0 12px 30px -10px rgba(233, 185, 73, 0.55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px rgba(233, 185, 73, 0.7); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-3px); }
.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn-outline-light:hover { background: #fff; color: var(--bg); transform: translateY(-3px); }

/* ---------- Header ---------- */
.topbar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 9px;
  padding-bottom: 9px;
  flex-wrap: wrap;
}
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar-item svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.topbar-item a:hover { color: var(--accent); }

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 30, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 10px 40px -18px rgba(0, 0, 0, 0.8); }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: 0.04em;
}
.brand-text span { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 110;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(6, 10, 22, 0.97);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.9rem;
  padding: 10px 20px;
  color: var(--text);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s;
}
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .mm-cta { margin-top: 18px; }

/* ---------- Hero slider ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 12, 26, 0.94) 8%, rgba(8, 12, 26, 0.72) 45%, rgba(8, 12, 26, 0.35) 100%),
    var(--slide-img) center/cover no-repeat;
}
.hero-slide:nth-child(1) { --slide-img: url("../img/slide-1.jpg"); }
.hero-slide:nth-child(2) { --slide-img: url("../img/slide-2.jpg"); }
.hero-slide:nth-child(3) { --slide-img: url("../img/slide-3.jpg"); }

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 90px 0 110px;
  width: 100%;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid rgba(233, 185, 73, 0.4);
  border-radius: 999px;
  background: rgba(233, 185, 73, 0.08);
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 800px;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  color: #c3ccdf;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-card {
  position: absolute;
  right: 4%;
  bottom: -46px;
  width: min(320px, 34vw);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: rotate(2.5deg);
  z-index: 3;
}
.hero-card img { width: 100%; height: 220px; object-fit: cover; }
.hero-card figcaption {
  background: var(--surface);
  padding: 14px 18px;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.hero-card figcaption strong { color: var(--accent); }

.hero-dots {
  position: absolute;
  bottom: 46px;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  gap: 10px;
  justify-content: center;
}
.hero-dots button {
  width: 34px;
  height: 4px;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 0.3s;
}
.hero-dots button.active { background: var(--accent); }
.hero-dots button span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.hero-dots button.active span { animation: dot-progress 6s linear forwards; }
@keyframes dot-progress { to { transform: scaleX(1); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(8, 12, 26, 0.96), rgba(8, 12, 26, 0.82)),
    url("../img/slide-2.jpg") center/cover no-repeat;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 185, 73, 0.14), transparent 65%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 16px;
}
.page-hero p { color: var(--muted); max-width: 600px; font-size: 1.05rem; }
.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section.alt { background: var(--bg-2); }
.section.tight { padding: 70px 0; }

/* ---------- Welcome / about ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }

.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.split .media-frame { aspect-ratio: 4 / 4.4; }
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  pointer-events: none;
}
.badge-float {
  position: absolute;
  left: -22px;
  bottom: 34px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
}
.badge-float svg { width: 26px; height: 26px; color: var(--accent); }
.badge-float strong { display: block; font-size: 1.05rem; font-family: var(--font-display); }
.badge-float span { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

.copy p { color: var(--muted); margin-bottom: 16px; font-size: 1.02rem; }
.check-list { margin-top: 26px; display: grid; gap: 12px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---------- Cards (why choose) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 30px;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(233, 185, 73, 0.35);
  box-shadow: var(--shadow);
}
.card:hover::before { opacity: 1; }
.card .card-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 18px;
  display: block;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.25;
}
.card p, .card .text { color: var(--muted); font-size: 0.95rem; }
.card ul { margin-top: 10px; }
.card ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.92rem;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.7;
}

/* ---------- Amenities / checklist panel ---------- */
.panel {
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
}
.panel-group { margin-bottom: 34px; }
.panel-group:last-child { margin-bottom: 0; }
.panel-group h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--accent-2);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.panel-group h4::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.tick-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 0.97rem;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(233, 185, 73, 0.14);
  border: 1px solid rgba(233, 185, 73, 0.45);
}
.tick-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Packages ---------- */
.package-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.package {
  position: relative;
  background: linear-gradient(170deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}
.package:hover {
  transform: translateY(-8px);
  border-color: rgba(233, 185, 73, 0.4);
  box-shadow: var(--shadow);
}
.package .pkg-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(233, 185, 73, 0.1);
  border: 1px solid rgba(233, 185, 73, 0.3);
}
.package .pkg-icon svg { width: 26px; height: 26px; color: var(--accent); }
.package h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; }
.package p { color: var(--muted); font-size: 0.92rem; flex: 1; }
.package .pkg-tag {
  margin-top: 20px;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.enquiry-note {
  margin-top: 40px;
  text-align: center;
  padding: 22px 30px;
  border: 1px dashed rgba(233, 185, 73, 0.4);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(233, 185, 73, 0.05);
  font-size: 0.98rem;
}
.enquiry-note strong { color: var(--accent-2); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(10, 15, 30, 0.92), rgba(20, 16, 8, 0.85)),
    url("../img/slide-3.jpg") center/cover no-repeat;
}
.cta-band .container {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 14px;
}
.cta-band p { color: #cfd6e6; max-width: 560px; }
.cta-band .cta-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-start; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: stretch;
}
.contact-card {
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .ci-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(233, 185, 73, 0.1);
  border: 1px solid rgba(233, 185, 73, 0.3);
}
.contact-item .ci-icon svg { width: 21px; height: 21px; color: var(--accent); }
.contact-item h5 {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-item p, .contact-item a { color: var(--text); font-weight: 600; font-size: 0.95rem; }
.contact-item a:hover { color: var(--accent); }
.contact-item .ci-sub { display: block; font-weight: 400; color: var(--muted); font-size: 0.85rem; margin-top: 3px; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 420px;
  box-shadow: var(--shadow);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: saturate(0.85); }

.hours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 56px;
}
.hours-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
}
.hours-item svg { width: 26px; height: 26px; color: var(--accent); margin: 0 auto 12px; }
.hours-item h5 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 6px; }
.hours-item p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Footer ---------- */
.footer {
  background: #070b16;
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.4fr;
  gap: 56px;
  padding-bottom: 60px;
}
.footer .brand img { height: 64px; }
.footer-about { color: var(--muted); font-size: 0.92rem; margin-top: 18px; max-width: 320px; }
.footer h5 {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--muted); font-size: 0.93rem; transition: color 0.25s, padding-left 0.25s; }
.footer-links a:hover { color: var(--text); padding-left: 6px; }
.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.footer-contact svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; margin-top: 4px; }
.footer-contact a:hover { color: var(--accent); }
.social-row { display: flex; gap: 12px; margin-top: 22px; }
.social-row a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all 0.3s ease;
}
.social-row a svg { width: 18px; height: 18px; }
.social-row a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #191204;
  transform: translateY(-4px);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--accent); }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- Floating buttons ---------- */
.float-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s ease;
}
.float-btn:hover { transform: scale(1.1); }
.float-btn svg { width: 24px; height: 24px; }
.float-btn.wa { background: #25d366; color: #fff; }
.float-btn.call { background: var(--accent); color: #191204; }
.float-btn.top {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}
.float-btn.top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .package-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .hero-card { display: none; }
  .cta-band .container { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .topbar .topbar-right { display: none; }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .hero { min-height: auto; }
  .hero-inner { padding: 70px 0 120px; }
  .hero-dots { bottom: 34px; }

  .section { padding: 72px 0; }
  .card-grid, .card-grid.cols-2, .package-grid, .hours-grid { grid-template-columns: 1fr; }
  .panel { padding: 30px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Seat booking ---------- */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 44px;
  align-items: start;
}
@media (max-width: 1100px) {
  .booking-grid { grid-template-columns: 1fr; }
  .booking-summary { position: static !important; }
}

.seatmap {
  background: #ffffff;
  border: 1px solid #e8ebf2;
  border-radius: var(--radius);
  padding: 24px 22px 20px;
  box-shadow: 0 16px 38px -26px rgba(15, 23, 42, 0.25);
}
.package-panel {
  background: linear-gradient(170deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  box-shadow: var(--shadow);
}
.seatmap .section-title { color: #16203a; }
.seatmap .section-sub { color: #6b7386; }
.seat-wall-top {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #d3d9e6, #b7bfd2);
  box-shadow: inset 0 -2px 3px rgba(15, 23, 42, 0.12);
  margin-bottom: 18px;
}

.seatmap-body {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.seat-main { flex: 1; min-width: 0; }
.top-row {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}
.seat-cols {
  display: flex;
  align-items: stretch;
  gap: 9px;
}
.seat-cols > .seat-col { flex: 1; }
.seat-col { display: grid; gap: 8px; }
.seat-wall {
  width: 8px;
  border-radius: 4px;
  background: linear-gradient(180deg, #d3d9e6, #b7bfd2);
  box-shadow: inset -2px 0 3px rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
}
.seat-line {
  width: 2px;
  border-radius: 1px;
  background: #c6cddb;
  flex-shrink: 0;
}
.seat-aisle {
  width: 34px;
  flex-shrink: 0;
  background: repeating-linear-gradient(180deg, #eef1f7 0 8px, transparent 8px 16px);
  border-left: 1px dashed #d5dbe7;
  border-right: 1px dashed #d5dbe7;
}

.seat {
  aspect-ratio: 1;
  min-width: 0;
  border-radius: 8px;
  border: 1px solid;
  display: grid;
  place-items: center;
  font-size: 0.58rem;
  font-weight: 800;
  font-family: var(--font-body);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  padding: 0;
}
.seat.available {
  background: #eefaf3;
  border-color: #a9dcc0;
  color: #1c9e57;
}
.seat.available:hover {
  background: #d9f3e4;
  border-color: #4fbf82;
  transform: translateY(-2px);
}
.seat.reserved {
  background: #fdeeee;
  border-color: #f2c4c0;
  color: #d4564a;
  cursor: not-allowed;
}
.seat.selected {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-color: var(--accent);
  color: #191204;
  box-shadow: 0 0 0 3px rgba(233, 185, 73, 0.25), 0 10px 22px -8px rgba(233, 185, 73, 0.65);
  transform: translateY(-2px);
}

.legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed #e3e8f2;
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.7rem;
  color: #6b7386;
  font-weight: 600;
}
.legend i {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  display: inline-block;
  flex-shrink: 0;
}
.legend .lg-avail { background: #d9f3e4; border: 1px solid #4fbf82; }
.legend .lg-res { background: #fdeeee; border: 1px solid #e88f86; }
.legend .lg-sel { background: var(--accent); border: 1px solid var(--accent); }

/* Package options */
.package-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pkg-option { position: relative; }
.pkg-option input { position: absolute; opacity: 0; pointer-events: none; }
.pkg-option .opt {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  background: var(--surface);
  transition: all 0.25s ease;
}
.pkg-option .opt:hover { border-color: rgba(233, 185, 73, 0.45); transform: translateY(-2px); }
.pkg-option input:checked + .opt {
  border-color: var(--accent);
  background: rgba(233, 185, 73, 0.1);
  box-shadow: 0 0 0 1px var(--accent), 0 10px 22px -12px rgba(233, 185, 73, 0.5);
}
.pkg-option .opt strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 3px;
}
.pkg-option .opt small { color: var(--muted); font-size: 0.72rem; }

/* Booking summary sidebar */
.booking-summary {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.booking-summary h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.booking-summary > p { color: var(--muted); font-size: 0.88rem; margin-bottom: 22px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--border);
}
.summary-row:last-of-type { border-bottom: none; }
.summary-row span { color: var(--muted); font-size: 0.85rem; }
.summary-row strong { color: var(--text); font-size: 0.95rem; text-align: right; }
.summary-row strong.empty { color: var(--muted); font-weight: 600; }
.booking-summary .btn { width: 100%; margin-top: 22px; }
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ---------- Details form ---------- */
.details-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 44px;
  align-items: start;
}
@media (max-width: 1100px) {
  .details-grid { grid-template-columns: 1fr; }
  .details-summary { position: static !important; }
}
.form-card {
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(233, 185, 73, 0.15);
}
.field select { appearance: none; cursor: pointer; }
.field textarea { resize: vertical; min-height: 90px; }
.field .error { display: none; color: #ff8a80; font-size: 0.78rem; margin-top: 6px; }
.field.invalid input, .field.invalid select { border-color: #e74c3c; }
.field.invalid .error { display: block; }
.form-card .btn { width: 100%; margin-top: 26px; }

.details-summary {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.pay-note {
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}
.pay-note svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 5px; color: var(--accent); }

/* Toast */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--surface-2);
  border: 1px solid rgba(233, 185, 73, 0.5);
  color: var(--text);
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: var(--shadow);
  z-index: 200;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 90vw;
  text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

@media (max-width: 640px) {
  .seatmap { padding: 18px 12px 16px; }
  .package-panel { padding: 24px 18px 20px; }
  .seatmap-body { gap: 6px; }
  .seat-col { gap: 6px; }
  .top-row { gap: 5px; margin-bottom: 16px; }
  .seat-cols { gap: 6px; }
  .seat-wall { width: 5px; }
  .seat-line { width: 1px; }
  .seat-aisle { width: 16px; }
  .package-options, .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
}

/* ---------- Admin panel ---------- */
.admin-stats {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 22px;
}
.admin-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 110px;
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
}
.admin-stat-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}
.admin-stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.admin-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.admin-actions .btn { padding: 13px 28px; font-size: 0.9rem; }

/* ---------- Admin gate ---------- */
.admin-gate {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: radial-gradient(1200px 700px at 50% 20%, #141d36, var(--bg) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.gate-card {
  width: min(380px, 100%);
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 32px;
  text-align: center;
  box-shadow: var(--shadow);
}
.gate-logo { height: 56px; width: auto; margin-bottom: 16px; }
.gate-card h2 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 6px; }
.gate-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; }
.gate-card input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: 0.08em;
}
.gate-card input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(233,185,73,0.15); }
.gate-error {
  display: none;
  color: #ff8a80;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 12px;
}

/* ---------- Bookings table ---------- */
.table-wrap { overflow-x: auto; }
.bookings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.bookings-table th {
  text-align: left;
  padding: 12px 14px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.bookings-table td {
  padding: 13px 14px;
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  white-space: nowrap;
}
.bookings-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.bookings-table td:first-child strong { color: var(--accent-2); }
.bookings-empty {
  padding: 34px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}
