:root {
  --bg: #1f070c;
  --bg-2: #2c0b13;
  --panel: #3a0f1a;
  --panel-2: #47131f;
  --line: #6a2533;
  --gold: #d9b45a;
  --gold-2: #f0d48a;
  --gold-deep: #b48a2f;
  --text: #f6ead2;
  --muted: #c9b48f;
  --ok: #57c27f;
  --warn: #e7b04a;
  --bad: #ef6b6b;
  --info: #7fb2ef;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 Inter, system-ui, -apple-system, Segoe UI, sans-serif;
}
a { color: var(--gold-2); }
img { max-width: 100%; }
h1, h2, h3 { font-family: Cinzel, Georgia, serif; font-weight: 600; line-height: 1.2; }
small { color: var(--muted); }
.muted { color: var(--muted); }
.gold { color: var(--gold-2); }
.center { text-align: center; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.section { padding: 64px 0; }
.section-title { color: var(--gold-2); font-size: clamp(28px, 4vw, 40px); margin: 0 0 20px; }
.section-title.small { font-size: 22px; }
.lead { font-size: 18px; color: var(--text); }
.fine { font-size: 13px; color: var(--muted); }
.hint { color: var(--muted); margin-top: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  font: 600 15px Inter, sans-serif; text-decoration: none; transition: .15s; white-space: nowrap;
}
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--gold-deep)); color: #2a0a10; box-shadow: 0 4px 14px rgba(217, 180, 90, .25); }
.btn-gold:hover { filter: brightness(1.07); }
.btn-ghost { background: transparent; color: var(--gold-2); border-color: var(--gold); }
.btn-ghost:hover { background: rgba(217, 180, 90, .1); }
.btn-danger { background: transparent; color: var(--bad); border-color: var(--bad); }
.btn-sm { padding: 7px 13px; font-size: 13px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }
.link-btn { background: none; border: 0; color: var(--gold-2); cursor: pointer; text-decoration: underline; padding: 6px 0; font: inherit; font-size: 14px; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
input, select, textarea {
  width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: #24080f; color: var(--text); font: 15px Inter, sans-serif;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--gold); }
textarea { min-height: 90px; resize: vertical; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 16px; }
.span-2 { grid-column: span 2; }
.phone-row { display: grid; grid-template-columns: 150px 1fr; gap: 8px; }
.choice { display: flex; gap: 18px; padding: 10px 0; color: var(--text); }
.choice label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.check { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14px; }
.stack { display: grid; gap: 14px; }
.otp { font-size: 26px; letter-spacing: 10px; text-align: center; }

.panel { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 18px; }
fieldset.panel { margin: 0 0 18px; }
legend { font: 600 18px Cinzel, serif; color: var(--gold-2); padding: 0 8px; display: flex; gap: 10px; align-items: center; }
legend small { font-family: Inter; font-weight: 400; }
.step { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #2a0a10; font: 700 14px Inter; }

.alert { padding: 12px 16px; border-radius: 10px; margin: 0 0 16px; border: 1px solid; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }
.alert-bad { background: rgba(239, 107, 107, .1); border-color: rgba(239, 107, 107, .5); color: #ffd0d0; }
.alert-warn { background: rgba(231, 176, 74, .1); border-color: rgba(231, 176, 74, .5); color: #ffe6b5; }
.alert-ok { background: rgba(87, 194, 127, .1); border-color: rgba(87, 194, 127, .5); color: #cdf5da; }
.alert-info { background: rgba(127, 178, 239, .1); border-color: rgba(127, 178, 239, .5); color: #d5e7ff; }

/* Tables */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-weight: 600; color: var(--gold-2); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.table td { padding: 10px 8px; border-bottom: 1px solid rgba(106, 37, 51, .5); vertical-align: top; }
.table .num, .num { text-align: right; }
.table tfoot td { border: 0; padding: 6px 8px; }
.table tfoot .total td { font-size: 18px; font-weight: 700; color: var(--gold-2); border-top: 1px solid var(--gold); padding-top: 12px; }
.table-wrap { overflow-x: auto; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed rgba(106, 37, 51, .6); font-size: 14px; }
.kv span { color: var(--muted); }

.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid; white-space: nowrap; }
.badge-ok { color: var(--ok); border-color: rgba(87, 194, 127, .5); background: rgba(87, 194, 127, .1); }
.badge-warn { color: var(--warn); border-color: rgba(231, 176, 74, .5); background: rgba(231, 176, 74, .1); }
.badge-bad { color: var(--bad); border-color: rgba(239, 107, 107, .5); background: rgba(239, 107, 107, .1); }
.badge-info { color: var(--info); border-color: rgba(127, 178, 239, .5); background: rgba(127, 178, 239, .1); }
.badge-muted { color: var(--muted); border-color: var(--line); }

/* Public header / hero */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(31, 7, 12, .9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); min-width: 0; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand b { font-family: Cinzel, serif; letter-spacing: .12em; font-size: 14px; color: var(--gold-2); }
.brand small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-head nav { display: flex; gap: 8px; }

/* Hero: maroon bokeh glow + gold particle canvas (no image). */
.hero {
  position: relative; overflow: hidden; text-align: center;
  min-height: min(88vh, 820px); display: grid; align-items: center; padding: 56px 0 64px;
  background:
    radial-gradient(circle at 18% 28%, rgba(176, 22, 44, .55) 0, transparent 22%),
    radial-gradient(circle at 82% 22%, rgba(150, 16, 36, .5) 0, transparent 20%),
    radial-gradient(circle at 70% 78%, rgba(176, 22, 44, .4) 0, transparent 24%),
    radial-gradient(circle at 25% 85%, rgba(120, 12, 30, .45) 0, transparent 20%),
    radial-gradient(ellipse at 50% 40%, #4a0c18 0%, #2a0710 55%, #17040a 100%);
  border-bottom: 1px solid var(--gold-deep);
}
.hero::after { /* gold silk wave at the bottom */
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -60px; height: 160px; pointer-events: none;
  background: radial-gradient(ellipse at 50% 100%, rgba(217, 180, 90, .28), transparent 60%);
  border-top: 1px solid rgba(217, 180, 90, .35); border-radius: 50% 50% 0 0;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 12% 70%, rgba(255, 90, 110, .14) 0 40px, transparent 41px),
    radial-gradient(circle at 88% 60%, rgba(255, 90, 110, .12) 0 60px, transparent 61px),
    radial-gradient(circle at 60% 15%, rgba(255, 120, 130, .10) 0 30px, transparent 31px),
    radial-gradient(circle at 35% 45%, rgba(255, 90, 110, .08) 0 80px, transparent 81px);
  filter: blur(6px); animation: glow-drift 18s ease-in-out infinite alternate;
}
@keyframes glow-drift { to { transform: translate3d(0, -18px, 0) scale(1.04); } }
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: 92px; height: auto; margin-bottom: 14px; filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .5)); }
.eyebrow { letter-spacing: .38em; text-transform: uppercase; font-size: 13px; color: #fff1d6; margin: 0 0 18px; line-height: 1.8; }
.eyebrow span { color: var(--gold-2); font-size: 11px; letter-spacing: .32em; }
.hero-title { margin: 0; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.hero-title span { font-family: Cinzel, serif; font-weight: 600; font-size: clamp(44px, 8vw, 96px); color: #fff3da; letter-spacing: .06em; text-shadow: 0 0 28px rgba(240, 212, 138, .45); }
.hero-title em { font-family: 'Great Vibes', cursive; font-style: normal; font-weight: 400; font-size: clamp(60px, 12vw, 150px); color: var(--gold-2); margin-top: -.12em; text-shadow: 0 0 26px rgba(240, 212, 138, .45); line-height: 1.1; }
.hero-rule { width: min(420px, 70%); height: 2px; margin: 10px 0 6px; background: linear-gradient(90deg, transparent, var(--gold), transparent); box-shadow: 0 0 12px rgba(240, 212, 138, .6); }
.tagline { font-size: 18px; max-width: 620px; color: var(--text); margin: 14px 0 0; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 20px 0 26px; }
.chip { padding: 9px 16px; border-radius: 8px; background: linear-gradient(180deg, #e9cf86, #c79f45); color: #2a0a10; font-weight: 700; font-size: 14px; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.prices { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.price-card { flex: 1 1 180px; border: 1px solid var(--gold); border-radius: var(--radius); padding: 16px 18px; background: rgba(217, 180, 90, .06); }
.price-card span { display: block; font: 700 30px Cinzel, serif; color: var(--gold-2); }
.highlights { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.highlights li { display: flex; align-items: center; gap: 14px; border: 1px solid var(--gold-deep); border-radius: 999px; padding: 14px 22px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; background: linear-gradient(180deg, rgba(74, 18, 30, .7), rgba(42, 9, 17, .7)); transition: .2s; }
.highlights li:hover { border-color: var(--gold-2); box-shadow: 0 0 18px rgba(240, 212, 138, .18); }
.hl-icon { width: 30px; height: 30px; flex: none; color: var(--gold-2); }
.book { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.booking-grid { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
.booking-summary { position: sticky; top: 84px; }
.booking-summary h3 { margin-top: 0; color: var(--gold-2); }
.qline { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.qline small { display: block; }
.qline .rule { color: var(--gold); }
.qline.disc span { color: var(--ok); }
.qline span { white-space: nowrap; font-weight: 600; }
.quote-total { display: flex; justify-content: space-between; font-size: 22px; padding: 14px 0 8px; color: var(--gold-2); font-family: Cinzel, serif; }
.guest { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 14px; background: rgba(36, 8, 15, .5); }
.guest-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; color: var(--gold-2); }
.form-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 8px; }
/* Sponsor tiles: every logo fits the same box, so tall/square logos keep the
   same height as wide ones. The main sponsor's tile is ~15% larger. */
.sponsor-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; }
.sponsor { width: 168px; height: 92px; display: grid; place-items: center; padding: 12px 16px; background: #fff; border-radius: 12px; border: 1px solid var(--gold-deep); box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.sponsor img { max-width: 100%; max-height: 62px; width: auto; height: auto; object-fit: contain; }
.sponsor span { color: #2a0a10; font-weight: 600; font-size: 14px; text-align: center; }
.sponsor.main { width: 194px; height: 106px; border: 2px solid var(--gold); }
.sponsor.main img { max-height: 72px; }
@media (max-width: 640px) {
  .sponsor-list { gap: 10px; }
  .sponsor { width: calc(50% - 5px); height: 76px; padding: 10px; }
  .sponsor img { max-height: 50px; }
  .sponsor.main { width: 100%; height: 92px; }
  .sponsor.main img { max-height: 62px; }
}
.success-hero { text-align: center; margin-bottom: 20px; }
.tick { width: 72px; height: 72px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; font-size: 36px; background: var(--gold); color: #2a0a10; }
.site-foot { border-top: 1px solid var(--line); padding: 36px 0; text-align: center; color: var(--muted); font-size: 14px; }
.foot-title { font: 400 34px 'Great Vibes', cursive; color: var(--gold-2); }

/* Admin */
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.sidebar { background: #1a0509; border-right: 1px solid var(--line); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.side-brand { display: flex; gap: 10px; align-items: center; padding: 18px 16px; border-bottom: 1px solid var(--line); }
.side-brand img { width: 40px; }
.side-brand b { display: block; font-family: Cinzel, serif; color: var(--gold-2); }
.side-brand small { font-size: 11px; }
.sidebar nav { padding: 10px 8px; display: grid; gap: 2px; flex: 1; align-content: start; }
.sidebar nav a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 9px; color: var(--text); text-decoration: none; font-size: 14px; }
.sidebar nav a svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.sidebar nav a:hover { background: rgba(217, 180, 90, .08); }
.sidebar nav a.active { background: linear-gradient(90deg, rgba(217, 180, 90, .22), rgba(217, 180, 90, .04)); color: var(--gold-2); box-shadow: inset 3px 0 0 var(--gold); }
.side-user { padding: 14px 16px; border-top: 1px solid var(--line); font-size: 13px; }
.side-user b { display: block; }
.admin-main { min-width: 0; }
.topbar { display: flex; align-items: center; gap: 12px; padding: 14px 24px; border-bottom: 1px solid var(--line); background: rgba(26, 5, 9, .85); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(6px); }
.topbar h1 { font-size: 22px; margin: 0; flex: 1; color: var(--gold-2); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--gold-2); border-radius: 8px; padding: 6px 10px; font-size: 18px; }
.admin-content { padding: 24px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.kpi { background: linear-gradient(160deg, var(--panel-2), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.kpi small { text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.kpi b { display: block; font: 700 32px Cinzel, serif; color: var(--gold-2); margin-top: 6px; }
.kpi span { font-size: 13px; color: var(--muted); }
.progress { height: 14px; background: #24080f; border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.progress > div { height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold-2)); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.row > .field { flex: 1 1 180px; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.toolbar form { display: flex; gap: 8px; flex-wrap: wrap; }
.toolbar input, .toolbar select { width: auto; min-width: 180px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs a { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: 13px; }
.tabs a.active { background: var(--gold); color: #2a0a10; border-color: var(--gold); font-weight: 700; }
.tabs a small { color: inherit; opacity: .75; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cols-3-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
.pager { display: flex; gap: 6px; margin-top: 12px; }
.pager a { padding: 5px 11px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--text); }
.pager a.active { background: var(--gold); color: #2a0a10; }
.card h2, .panel h2 { font-size: 18px; margin-top: 0; color: var(--gold-2); }
pre.wa { white-space: pre-wrap; background: #24080f; border: 1px solid var(--line); border-radius: 10px; padding: 14px; font: 14px/1.5 ui-monospace, Menlo, monospace; }
.scan-box { max-width: 520px; margin: 0 auto; }
#reader { border-radius: 12px; overflow: hidden; border: 2px solid var(--gold); background: #000; }
.scan-result { margin-top: 14px; padding: 18px; border-radius: 12px; text-align: center; font-size: 18px; display: none; }
.scan-result.show { display: block; }
.scan-result.ok { background: rgba(87, 194, 127, .15); border: 2px solid var(--ok); }
.scan-result.dup { background: rgba(231, 176, 74, .15); border: 2px solid var(--warn); }
.scan-result.bad { background: rgba(239, 107, 107, .15); border: 2px solid var(--bad); }
.scan-result b { display: block; font-size: 24px; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login-card { width: min(420px, 100%); }
.perm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.inline-form { display: inline; }
details.panel summary { cursor: pointer; color: var(--gold-2); font-weight: 600; }

@media (max-width: 960px) {
  .about, .booking-grid, .cols-2, .cols-3-1 { grid-template-columns: 1fr; }
  .booking-summary { position: static; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; z-index: 50; width: 260px; transform: translateX(-100%); transition: .2s; }
  .sidebar.open { transform: none; box-shadow: var(--shadow); }
  .menu-btn { display: block; }
  .admin-content { padding: 16px; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .highlights, .perm-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .phone-row { grid-template-columns: 120px 1fr; }
  .site-head nav .btn-ghost { display: none; }
  .brand small { display: none; }
  .hero { min-height: auto; padding: 40px 0 56px; }
  .hero-logo { width: 72px; }
  .eyebrow { font-size: 11px; letter-spacing: .24em; }
  .tagline { font-size: 16px; }
  .section { padding: 44px 0; }
  .topbar { padding: 12px 16px; }
  .topbar .btn { display: none; }
}
