/* ==========================================================================
   JUMP N JOY — MODERN BOOKING SITE
   Design direction: Deep violet base + electric yellow accent.
   Bold, energetic, distinctly different from every competitor in this space.
   ========================================================================== */

/* ---------- TOKENS ---------- */
:root {
  --violet: #1A0B3C;
  --violet-mid: #2D1A5C;
  --violet-light: #3D2578;
  --yellow: #FFD400;
  --yellow-dark: #E6C000;
  --pink: #FF4D6D;
  --white: #FFFFFF;
  --off-white: #F8F6FF;
  --muted: rgba(255,255,255,0.55);
  --card-shadow: 0 4px 24px rgba(26,11,60,0.12);
  --card-shadow-hover: 0 12px 40px rgba(26,11,60,0.22);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --whatsapp: #25D366;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--off-white);
  color: var(--violet);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 80px;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select { font-family: inherit; font-size: 16px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- SHARED BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--yellow);
  color: var(--violet);
  box-shadow: 0 8px 24px rgba(255,212,0,0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255,212,0,0.45);
}
.btn--ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.2); }

/* ---------- NAV ---------- */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(26,11,60,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-nav__logo {
  font-weight: 800;
  font-size: 17px;
  color: var(--white);
  letter-spacing: -0.01em;
}
.top-nav__logo span { color: var(--yellow); }
.top-nav__cta {
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  color: var(--violet);
  background: var(--yellow);
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform 0.15s ease;
}
.top-nav__cta:hover { transform: translateY(-1px); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 60px; /* nav height */
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26,11,60,0.3) 0%,
    rgba(26,11,60,0.5) 40%,
    rgba(26,11,60,0.92) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 40px 24px 48px;
  color: var(--white);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,212,0,0.15);
  border: 1px solid rgba(255,212,0,0.4);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero__headline {
  font-size: clamp(36px, 8vw, 68px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
}
.hero__sub {
  font-size: clamp(16px, 2vw, 18px);
  opacity: 0.85;
  margin: 0 0 28px;
  line-height: 1.55;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  opacity: 0.75;
}

/* ---------- TRUST STRIP ---------- */
.trust-strip {
  background: var(--violet);
  padding: 20px 24px;
}
.trust-strip__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 13.5px;
  font-weight: 600;
}
.trust-item svg { color: var(--yellow); flex: none; }

/* ---------- SECTIONS ---------- */
.how-it-works { padding: 72px 24px; background: var(--white); }
.catalog-section { padding: 72px 24px; }
.section-inner { max-width: 960px; margin: 0 auto; }
.section-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
  margin: 0 0 10px;
}
.section-heading {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--violet);
  margin: 0 0 48px;
  line-height: 1.1;
}

/* ---------- STEPS ---------- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step {
  padding: 32px;
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1.5px solid rgba(26,11,60,0.08);
}
.step-divider {
  height: 24px;
  width: 2px;
  background: var(--yellow);
  margin: 0 32px;
  border-radius: 2px;
}
.step__number {
  font-size: 48px;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.9;
}
.step__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--violet);
  margin: 0 0 8px;
}
.step__desc {
  font-size: 14.5px;
  color: #5A4A7A;
  margin: 0;
  line-height: 1.6;
}

/* ---------- CATEGORY NAV ---------- */
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.category-tab {
  font-family: var(--font);
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  background: rgba(26,11,60,0.07);
  color: var(--violet);
  border: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.category-tab--active {
  background: var(--violet);
  color: var(--white);
}

/* ---------- PAYMENT BANNER ---------- */
.payment-banner-wrap { margin-bottom: 28px; }
.payment-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255,212,0,0.12);
  border: 1.5px solid rgba(255,212,0,0.4);
  border-radius: var(--radius);
  margin: 0;
}
.payment-banner__icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
}
.payment-banner__icon svg { width: 18px; height: 18px; }
.payment-banner__text { display: flex; flex-direction: column; gap: 1px; }
.payment-banner__text strong {
  font-family: var(--font);
  font-weight: 800;
  font-size: 13.5px;
  color: var(--violet);
  line-height: 1.25;
}
.payment-banner__text span {
  font-size: 11.5px;
  color: #5A4A7A;
  line-height: 1.35;
}

/* ---------- MENU / CASTLE CARDS ---------- */
.menu-container { padding: 0; }
.menu-category { margin-bottom: 40px; scroll-margin-top: 80px; }
.menu-category__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--violet);
  margin: 0 0 18px;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.item-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}
.item-card__image-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--violet-mid), var(--violet-light));
  overflow: hidden;
}
.item-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.item-card:hover .item-card__image { transform: scale(1.06); }
.item-card--no-image .item-card__image { display: none; }
.item-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.item-card__name {
  font-size: 17px;
  font-weight: 800;
  color: var(--violet);
  margin: 0;
}
.item-card__desc {
  font-size: 13px;
  color: #5A4A7A;
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.item-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1.5px solid rgba(26,11,60,0.06);
  margin-top: 12px;
}
.item-card__price {
  font-size: 20px;
  font-weight: 800;
  color: var(--violet);
}
.item-card__add-btn {
  font-size: 13px;
  font-weight: 700;
  color: var(--violet);
  background: var(--yellow);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: transform 0.15s ease;
}
.item-card__add-btn:hover { transform: scale(1.04); }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--violet);
  color: rgba(255,255,255,0.7);
  padding: 48px 24px 0;
}
.site-footer__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer__logo {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.site-footer__tagline { font-size: 13.5px; margin: 0; line-height: 1.5; }
.site-footer__links { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.site-footer__links a { color: rgba(255,255,255,0.7); text-decoration: underline; }
.site-footer__links a:hover { color: var(--yellow); }
.site-footer__credit { margin: 0; }
.site-footer__bottom {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 0;
  font-size: 12px;
  opacity: 0.5;
}

/* ---------- FLOATING CART BAR ---------- */
.cart-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: -100px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--violet);
  color: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(26,11,60,0.4);
  transition: bottom 0.25s ease, transform 0.15s ease;
  max-width: 640px;
  margin: 0 auto;
  border: 1.5px solid rgba(255,255,255,0.1);
}
.cart-bar--visible { bottom: 16px; }
.cart-bar--pulse { transform: scale(1.04); }
.cart-bar__icon { font-size: 20px; }
.cart-bar__info { font-weight: 600; font-size: 14px; flex: 1; text-align: left; }
.cart-bar__cta {
  font-weight: 700;
  font-size: 13.5px;
  background: var(--yellow);
  color: var(--violet);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
}

/* ---------- ITEM MODAL ---------- */
.item-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(26,11,60,0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.item-modal-overlay.is-open { display: flex; }
.item-modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 24px 24px 0 0;
  padding: 24px 24px 28px;
  animation: slideUp 0.22s ease;
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.item-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--off-white);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet);
}
.item-modal__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--violet), var(--violet-light));
  margin-bottom: 18px;
}
.item-modal__name {
  font-size: 22px;
  font-weight: 800;
  color: var(--violet);
  margin: 0 0 6px;
}
.item-modal__desc { font-size: 13.5px; color: #5A4A7A; margin: 0 0 12px; }
.item-modal__base-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--violet);
  margin-bottom: 18px;
}
.item-modal__group { margin-bottom: 18px; }
.item-modal__group-title {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8B7AAA;
  margin: 0 0 10px;
}
.item-modal__booking-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--violet);
  background: rgba(26,11,60,0.05);
  border: 1.5px solid rgba(26,11,60,0.1);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 20px;
}
.required-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--pink);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  vertical-align: middle;
}
.choice-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(26,11,60,0.06);
  font-size: 14px;
  font-weight: 500;
  color: var(--violet);
}
.choice-row__price { margin-left: auto; font-weight: 700; font-size: 13px; color: var(--pink); }
.choice-row input[type="radio"],
.choice-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--violet);
  flex: none;
}
.extra-checkbox { width: 20px; height: 20px; accent-color: var(--violet); flex: none; }
.size-radio { width: 20px; height: 20px; accent-color: var(--violet); flex: none; }
.item-modal__add-btn {
  width: 100%;
  font-family: var(--font);
  font-weight: 800;
  font-size: 16px;
  color: var(--violet);
  background: var(--yellow);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(255,212,0,0.35);
  transition: transform 0.15s ease;
}
.item-modal__add-btn:hover { transform: translateY(-1px); }

/* ---------- BOOKING TICKET ---------- */
.ticket-overlay {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(26,11,60,0.65);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ticket-overlay.is-open { display: flex; }
.ticket {
  position: relative;
  width: 100%;
  max-width: 400px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: var(--white);
  font-family: "Courier New", monospace;
  box-shadow: 0 20px 60px rgba(26,11,60,0.4);
  animation: slideUp 0.22s ease;
}
.ticket__notch {
  height: 14px;
  width: 100%;
  background: radial-gradient(circle at 10px 0, transparent 9px, var(--white) 9.5px) repeat-x;
  background-size: 20px 14px;
  flex: none;
}
.ticket__notch--top { transform: rotate(180deg); }
.ticket__scroll { overflow-y: auto; padding: 4px 26px 26px; }
.ticket__close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  font-size: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--off-white);
  font-family: var(--font);
  color: var(--violet);
}
.ticket__heading {
  font-family: var(--font);
  font-weight: 800;
  font-size: 20px;
  text-align: center;
  margin: 8px 0 2px;
  color: var(--violet);
}
.ticket__store-name { text-align: center; font-size: 12px; color: #8B7AAA; margin: 0 0 16px; }
.ticket__empty { text-align: center; font-size: 13px; color: #8B7AAA; padding: 20px 0; }
.ticket__item { padding: 10px 0; border-bottom: 1px dashed rgba(26,11,60,0.15); }
.ticket__item-main { display: flex; align-items: baseline; gap: 8px; font-size: 14px; color: var(--violet); }
.ticket__item-qty { font-weight: 700; color: var(--pink); }
.ticket__item-name { flex: 1; }
.ticket__item-price { font-weight: 700; }
.ticket__item-extras { font-size: 12px; color: #8B7AAA; padding-left: 20px; margin-top: 3px; }
.ticket__item-remove { font-size: 11px; color: var(--pink); font-weight: 700; text-decoration: underline; margin-top: 4px; margin-left: 20px; }
.ticket__divider { border-top: 2px dashed rgba(26,11,60,0.2); margin: 14px 0; }
.ticket__row--total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font);
  font-weight: 800;
  font-size: 18px;
  color: var(--violet);
  margin-bottom: 20px;
}
.ticket__fields { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; font-family: var(--font); }
.ticket__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #8B7AAA;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ticket__field input, .ticket__field select {
  font-family: var(--font);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  color: var(--violet);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(26,11,60,0.15);
  background: var(--off-white);
}
.ticket__payment-note {
  font-size: 11.5px;
  line-height: 1.45;
  color: #8B7AAA;
  background: rgba(26,11,60,0.04);
  border: 1px dashed rgba(26,11,60,0.15);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin: 0 0 16px;
  font-family: var(--font);
}
.ticket__send-btn {
  width: 100%;
  font-family: var(--font);
  font-weight: 800;
  font-size: 15px;
  color: var(--white);
  background: var(--whatsapp);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}

/* ---------- TERMS PAGE ---------- */
.terms-header { background: var(--violet); padding: 18px 24px; }
.terms-header__inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.terms-back { color: var(--yellow); font-weight: 700; font-size: 14px; text-decoration: none; }
.terms-back:hover { color: var(--white); }
.terms-header__store { color: var(--white); font-weight: 700; font-size: 14px; opacity: 0.7; }
.terms-content { max-width: 700px; margin: 0 auto; padding: 40px 24px 40px; }
.terms-content h1 {
  font-size: clamp(26px, 5vw, 34px);
  font-weight: 800;
  color: var(--violet);
  margin: 0 0 6px;
}
.terms-updated { font-size: 12.5px; color: #8B7AAA; margin: 0 0 32px; }
.terms-content section { margin-bottom: 28px; }
.terms-content h2 { font-size: 18px; font-weight: 700; color: var(--violet); margin: 0 0 8px; }
.terms-content p { font-size: 14.5px; line-height: 1.65; color: #3D2578; margin: 0; }

/* ---------- RESPONSIVE ---------- */
@media (min-width: 640px) {
  .steps { flex-direction: row; align-items: flex-start; }
  .step-divider { width: 24px; height: 2px; flex: none; margin: 40px 0 0; }
  .step { flex: 1; }
  .hero__content { padding: 60px 40px 72px; }
}
@media (min-width: 860px) {
  .hero { min-height: 100svh; }
  .hero__headline { font-size: clamp(52px, 6vw, 80px); }
  .trust-strip__inner { justify-content: space-around; }
  .menu-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .top-nav { padding: 16px 40px; }
}
