/* =====================================================================
   KISMAT — DESIGN SYSTEM  (Light theme: white · black · coral · gold)
   Motion: smooth scroll-reveals + gentle image zoom.
   Shared across index.html, event.html, backstage.html
   ===================================================================== */

:root {
  /* surfaces */
  --paper:    #ffffff;
  --cream:    #FBF6EF;   /* warm off-white sections */
  --cream-2:  #F5ECDE;
  --scrim:    #16130F;   /* dark scrim behind image text */

  /* brand accents */
  --coral:      #F0573F;  /* primary action */
  --coral-deep: #C8341C;  /* hover / coral text on white */
  --coral-soft: #FFE7E0;  /* light coral fill */
  --gold:       #C99A2E;  /* premium accent (reads on white) */
  --gold-bright:#E4B23E;
  --gold-soft:  #F7ECCF;  /* light gold fill */

  /* text */
  --ink:     #16130F;
  --ink-2:   #2c2720;
  --muted:   #6c6356;
  --muted-2: #968d80;

  /* lines */
  --line:    rgba(22,19,15,.10);
  --line-2:  rgba(22,19,15,.17);

  /* semantic */
  --green: #1f9d63;
  --red:   #d6453f;

  /* shape */
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --r-pill: 999px;

  --shadow:      0 24px 60px -30px rgba(22,19,15,.34);
  --shadow-soft: 0 10px 34px -20px rgba(22,19,15,.20);
  --shadow-coral:0 18px 44px -18px rgba(240,87,63,.42);

  --maxw: 1180px;
  --nav-h: 72px;
  --ease: cubic-bezier(.16,.8,.3,1);

  --font: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ambient warm glow */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(640px 440px at 8% -8%, rgba(240,87,63,.07), transparent 60%),
    radial-gradient(720px 520px at 98% 2%, rgba(201,154,46,.09), transparent 58%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--coral); color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- typography helpers ---------- */
.eyebrow {
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--coral-deep); font-weight: 600;
}
.grad-text {
  background: linear-gradient(100deg, var(--coral) 0%, var(--coral-deep) 38%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: var(--muted); }

/* =====================================================================
   SCROLL REVEAL + IMAGE ZOOM
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.zoom { overflow: hidden; }
.zoom img { transform: scale(1.08); transition: transform 1.3s var(--ease); }
.zoom.in img, .reveal.in .zoomimg { transform: scale(1); }
.kenburns { animation: kenburns 7s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.07); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .reveal, .zoom img, .kenburns { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
}

/* =====================================================================
   NAV
   ===================================================================== */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.32rem; letter-spacing: -.02em; color: var(--ink); }
.brand__star {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(140deg, var(--gold-bright), var(--gold));
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 6px 14px -5px rgba(201,154,46,.7);
}
.brand__star svg { width: 15px; height: 15px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { color: var(--muted); font-size: .95rem; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__links a.nav__auth--user {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px 4px 4px; border-radius: var(--r-pill);
  border: 1px solid var(--line);
}
.nav__links a.nav__auth--user:hover { border-color: var(--line-2); background: var(--cream); color: var(--ink); }
.nav__auth-label { font-weight: 500; }
@media (max-width: 620px) { .nav__auth-label { display: none; } .nav__links a.nav__auth--user { padding: 4px; border: none; } }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border: 1px solid transparent; border-radius: var(--r-pill);
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  transition: transform .18s var(--ease), box-shadow .25s ease, background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--coral); color: #fff; box-shadow: var(--shadow-coral); }
.btn--primary:hover { background: var(--coral-deep); transform: translateY(-2px); box-shadow: 0 24px 54px -18px rgba(200,52,28,.5); }
.btn--ghost { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--coral); color: var(--coral-deep); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #b3851f; transform: translateY(-2px); }
.btn--full { width: 100%; }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn--sm { padding: 9px 16px; font-size: .82rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn svg { width: 18px; height: 18px; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero__logo { width: 150px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.02; font-weight: 700; letter-spacing: -.03em; margin-bottom: 20px; color: var(--ink); }
.hero h1 .line2 { display: block; }
.hero__sub { font-size: 1.12rem; color: var(--muted); max-width: 32ch; margin-bottom: 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 30px; margin-top: 38px; }
.hero__stat .n { font-size: 1.7rem; font-weight: 700; }
.hero__stat .l { font-size: .8rem; color: var(--muted-2); letter-spacing: .03em; }

/* featured / "up next" card */
.feature-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--cream);
  box-shadow: var(--shadow); aspect-ratio: 4/5; transition: transform .3s var(--ease), box-shadow .3s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card img { width: 100%; height: 100%; object-fit: cover; }
.feature-card__veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,12,9,.92) 6%, rgba(15,12,9,.25) 48%, transparent 74%); }
.feature-card__tag {
  position: absolute; top: 18px; left: 18px;
  background: var(--gold); color: #fff;
  padding: 7px 14px; border-radius: var(--r-pill); font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  box-shadow: 0 8px 18px -8px rgba(201,154,46,.8);
}
.feature-card__body { position: absolute; left: 22px; right: 22px; bottom: 22px; color: #fff; }
.feature-card__body h3 { font-size: 1.7rem; line-height: 1.08; font-weight: 700; margin-bottom: 8px; color: #fff; }
.feature-card__meta { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.85); font-size: .9rem; margin-bottom: 16px; flex-wrap: wrap; }
.feature-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.feature-card__meta svg { width: 15px; height: 15px; }

/* "Up Next" carousel (lives inside .feature-card) */
.feature-card__track { display: flex; width: 100%; height: 100%; transition: transform .6s var(--ease); }
.feature-card__slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; display: block; text-decoration: none; color: inherit; overflow: hidden; }
/* Blurred fill behind the poster so the whole image shows (contain) without
   the corners being cropped, and without stark empty bars. */
.feature-card__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  transform: scale(1.2);
  filter: blur(26px) brightness(.72) saturate(1.05);
}
.feature-card__slide img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
.feature-card__slide .feature-card__veil { z-index: 2; }
.feature-card__slide .feature-card__tag,
.feature-card__slide .feature-card__body { z-index: 3; }
.feature-card__dots { position: absolute; top: 18px; right: 18px; display: flex; gap: 7px; z-index: 4; }
.feature-card__dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.5); cursor: pointer;
  transition: width .3s var(--ease), background .3s ease;
}
.feature-card__dot:hover { background: rgba(255,255,255,.8); }
.feature-card__dot.active { width: 20px; border-radius: 5px; background: #fff; }
@media (prefers-reduced-motion: reduce) {
  .feature-card__track { transition: none; }
  .feature-card__slide img { transition: none; transform: none; }
}

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section { padding: 70px 0; }
.section--cream { background: var(--cream); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section__head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.section__head p { color: var(--muted); margin-top: 6px; }

/* =====================================================================
   EVENT GRID + CARDS
   ===================================================================== */
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.ecard {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .28s var(--ease), border-color .25s, box-shadow .28s;
}
.ecard:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--shadow-soft); }
.ecard__media { position: relative; aspect-ratio: 16/11; overflow: hidden; background: var(--cream-2); }
/* Blurred fill so the full poster shows (contain) without cropping the corners. */
.ecard__media-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  transform: scale(1.2);
  filter: blur(20px) brightness(.92) saturate(1.05);
}
.ecard__media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.ecard:hover .ecard__media-bg { transform: scale(1.3); }
.ecard__date, .ecard__price { z-index: 2; }
.ecard__date {
  position: absolute; top: 14px; left: 14px; text-align: center; line-height: 1;
  background: rgba(255,255,255,.95); border: 1px solid var(--line); backdrop-filter: blur(6px);
  border-radius: 14px; padding: 9px 12px; min-width: 56px; box-shadow: var(--shadow-soft);
}
.ecard__date .d { font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.ecard__date .m { font-size: .68rem; letter-spacing: .1em; color: var(--gold); font-weight: 600; }
.ecard__price {
  position: absolute; top: 14px; right: 14px;
  background: var(--gold); color: #fff;
  font-weight: 700; font-size: .82rem; padding: 6px 12px; border-radius: var(--r-pill);
  box-shadow: 0 8px 16px -8px rgba(201,154,46,.7);
}
.ecard__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ecard__title { font-size: 1.22rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.ecard__tagline { color: var(--muted); font-size: .92rem; }
.ecard__meta { display: flex; flex-direction: column; gap: 5px; padding-top: 2px; color: var(--muted); font-size: .86rem; }
.ecard__meta span { display: inline-flex; align-items: center; gap: 8px; }
.ecard__meta svg { width: 15px; height: 15px; color: var(--coral); flex: none; }
.ecard__cta { margin-top: auto; padding-top: 16px; }

.skeleton { background: linear-gradient(100deg, var(--cream) 30%, #efe7da 50%, var(--cream) 70%); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-state svg { width: 46px; height: 46px; color: var(--coral); margin: 0 auto 16px; }

/* =====================================================================
   GALLERY
   ===================================================================== */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.gallery a { border-radius: var(--r); overflow: hidden; aspect-ratio: 1; border: 1px solid var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.08); }

/* =====================================================================
   COMMUNITY BAND
   ===================================================================== */
.band {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background:
    radial-gradient(560px 280px at 16% 18%, rgba(240,87,63,.14), transparent 62%),
    radial-gradient(560px 300px at 86% 92%, rgba(201,154,46,.18), transparent 60%),
    var(--cream);
  border: 1px solid var(--line-2); padding: 54px 40px; text-align: center;
}
.band h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; margin-bottom: 12px; color: var(--ink); }
.band p { color: var(--muted); max-width: 46ch; margin: 0 auto 26px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { border-top: 1px solid var(--line); padding: 46px 0 60px; margin-top: 40px; background: var(--cream); }
.footer__inner { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.footer__brand img { width: 130px; margin-bottom: 14px; }
.footer__brand p { color: var(--muted); font-size: .9rem; max-width: 32ch; }
.footer__links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer__col h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.footer__col a { display: block; color: var(--muted); font-size: .92rem; margin-bottom: 10px; transition: color .2s; cursor: pointer; }
.footer__col a:hover { color: var(--coral-deep); }
.footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: .82rem; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* =====================================================================
   FORMS
   ===================================================================== */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: 8px; color: var(--ink-2); }
.field label .req { color: var(--coral); }
.input, .select, .textarea {
  width: 100%; padding: 14px 16px; font-size: 1rem; font-family: inherit;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s;
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(240,87,63,.15);
}
.input.bad, .select.bad { border-color: var(--red); box-shadow: 0 0 0 3px rgba(214,69,63,.13); }
.textarea { resize: vertical; min-height: 100px; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%236c6356' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix .pfx { display: inline-flex; align-items: center; padding: 0 14px; background: var(--cream); border: 1px solid var(--line-2); border-right: none; border-radius: var(--r-sm) 0 0 var(--r-sm); color: var(--muted); font-size: .95rem; }
.input-prefix .input { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.err { display: block; min-height: 16px; margin-top: 6px; font-size: .8rem; color: var(--red); }
.hint { font-size: .82rem; color: var(--muted-2); margin-top: 6px; }

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-soft); }
.panel--narrow { max-width: 560px; margin: 0 auto; }

/* =====================================================================
   EVENT DETAIL PAGE
   ===================================================================== */
.event-hero { position: relative; }
.event-hero__media { position: relative; height: 44vh; min-height: 300px; overflow: hidden; border-radius: var(--r-lg); margin: 22px 0 0; background: var(--cream-2); }
/* Blurred fill so the whole poster shows (contain) without cropping the corners. */
.event-hero__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; transform: scale(1.2); filter: blur(30px) brightness(.74) saturate(1.05); }
.event-hero__media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
.event-hero__veil { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(15,12,9,.28), transparent 45%); }
.event-hero__content { position: relative; margin-top: 26px; }
.event-hero__chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 7px; background: var(--cream); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 8px 15px; font-size: .85rem; color: var(--ink-2); }
.chip svg { width: 15px; height: 15px; color: var(--coral); }
.event-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.04; margin-bottom: 10px; color: var(--ink); }
.event-hero__tagline { font-size: 1.15rem; color: var(--coral-deep); font-weight: 500; }

.event-layout { display: grid; grid-template-columns: 1.4fr .9fr; gap: 40px; align-items: start; margin-top: 40px; }
.event-about h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--ink); }
.event-about p { color: var(--ink-2); white-space: pre-line; }
/* Compact event info card: a single rounded box with an icon grid (no text
   labels — the icon carries the meaning). Hairline dividers via the gap. */
.event-meta-card {
  margin-top: 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.event-meta-card__item { background: var(--cream); display: flex; align-items: center; gap: 13px; padding: 16px 18px; }
.event-meta-card__item--wide { grid-column: 1 / -1; }
.event-meta-card__icon {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(240,87,63,.15), rgba(201,154,46,.18));
  color: var(--coral-deep);
}
.event-meta-card__icon svg { width: 19px; height: 19px; }
.event-meta-card__val { font-weight: 600; color: var(--ink); line-height: 1.3; min-width: 0; }
.event-meta-card__val .reveal-hint { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); margin-top: 3px; }

.register-box { position: sticky; top: calc(var(--nav-h) + 18px); }
.register-box__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.register-box__price .amt { font-size: 2.1rem; font-weight: 700; }
.register-box__price .per { color: var(--muted-2); font-size: .9rem; }

.step { display: none; }
.step.active { display: block; animation: fadeUp .4s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.stepper { display: flex; gap: 8px; margin-bottom: 22px; }
.stepper .dot { flex: 1; height: 4px; border-radius: 4px; background: var(--line-2); transition: background .3s; }
.stepper .dot.on { background: var(--coral); }

/* =====================================================================
   PAYMENT
   ===================================================================== */
.pay-amount { display: flex; align-items: center; justify-content: space-between; background: var(--cream); border: 1px solid var(--line-2); border-radius: var(--r); padding: 14px 18px; margin-bottom: 18px; }
.pay-amount .amt { font-size: 1.5rem; font-weight: 700; color: var(--coral-deep); }
.qr-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; width: 232px; margin: 0 auto 16px; box-shadow: var(--shadow-soft); }
.qr-wrap img { width: 100%; border-radius: 8px; }
.upi-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 22px; }
.upi-row code { background: var(--cream); border: 1px solid var(--line-2); padding: 8px 14px; border-radius: var(--r-pill); font-size: .9rem; color: var(--ink); }
.pay-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--muted-2); font-size: .76rem; letter-spacing: .12em; }
.pay-divider::before, .pay-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.upload {
  position: relative;
  border: 2px dashed var(--line-2); border-radius: var(--r);
  padding: 28px 18px; min-height: 168px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; cursor: pointer; margin-bottom: 18px;
  background: linear-gradient(180deg, #fffaf3 0%, var(--cream) 100%);
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.upload:hover { border-color: var(--coral); background: linear-gradient(180deg, #fff3ee 0%, var(--coral-soft) 100%); transform: translateY(-2px); }
.upload__icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(240,87,63,.12);
  display: grid; place-items: center; margin: 0 auto 12px;
  transition: background .2s, transform .2s var(--ease);
}
.upload__icon svg { width: 22px; height: 22px; color: var(--coral-deep); }
.upload:hover .upload__icon { background: rgba(240,87,63,.22); transform: scale(1.06); }
.upload__primary { font-weight: 600; color: var(--ink); margin-bottom: 4px; font-size: .95rem; }
.upload .upload-hint { font-size: .78rem; color: var(--muted-2); }
.upload img.preview {
  width: 100%; max-height: 320px; object-fit: contain;
  border-radius: var(--r-sm); display: block;
  background: var(--paper); box-shadow: var(--shadow-soft);
}
.upload.has-preview {
  padding: 8px; min-height: 0;
  border-style: solid; border-color: var(--line);
  background: var(--paper);
}
.upload.has-preview:hover { border-color: var(--coral); background: var(--paper); transform: none; }
.upload__replace {
  position: absolute; top: 14px; right: 14px;
  background: rgba(22,19,15,.78); color: #fff;
  border: none; border-radius: var(--r-pill);
  padding: 6px 14px; font-size: .76rem; font-weight: 600;
  letter-spacing: .04em; cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background .2s;
}
.upload__replace:hover { background: var(--coral-deep); }

.confirm { text-align: center; padding: 12px 0; }
.confirm__check {
  width: 86px; height: 86px; border-radius: 50%; margin: 0 auto 22px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--gold));
  box-shadow: 0 18px 40px -14px rgba(240,87,63,.5); animation: pop .5s cubic-bezier(.18,1.4,.5,1);
}
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.confirm__check svg { width: 44px; height: 44px; }
.confirm h2 { font-size: 1.9rem; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.confirm p { color: var(--muted); max-width: 38ch; margin: 0 auto 22px; }
.recap { text-align: left; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin-bottom: 22px; }
.recap div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.recap div:last-child { border-bottom: none; }
.recap .k { color: var(--muted); }
.recap .v { font-weight: 600; text-align: right; color: var(--ink); }

/* =====================================================================
   ADMIN
   ===================================================================== */
.admin-tabs { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.admin-tabs button { padding: 10px 18px; border-radius: var(--r-pill); background: var(--paper); border: 1px solid var(--line-2); color: var(--muted); font-weight: 500; font-size: .9rem; transition: all .2s; }
.admin-tabs button.active { background: var(--coral); color: #fff; border-color: transparent; box-shadow: var(--shadow-coral); }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.gate { min-height: 80vh; display: grid; place-items: center; }
.gate .panel { width: 100%; max-width: 400px; text-align: center; }
.gate svg { width: 42px; height: 42px; color: var(--coral); margin: 0 auto 14px; }
.gate h2 { color: var(--ink); }

table.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.tbl th, table.tbl td { text-align: left; padding: 12px 12px; border-bottom: 1px solid var(--line); }
table.tbl th { color: var(--muted-2); font-weight: 600; font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; }
table.tbl tr:hover td { background: var(--cream); }
.badge { display: inline-block; padding: 3px 10px; border-radius: var(--r-pill); font-size: .74rem; font-weight: 600; }
.badge--pending { background: var(--gold-soft); color: #8a6611; }
.badge--submitted { background: var(--coral-soft); color: var(--coral-deep); }
.badge--verified { background: #e0f4ea; color: var(--green); }
.badge--rejected { background: #fbe4e3; color: var(--red); }
.badge--draft { background: var(--cream-2); color: var(--muted); }
.badge--published { background: #e0f4ea; color: var(--green); }

.admin-event-row { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; background: var(--paper); }
.admin-event-row img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; background: var(--cream-2); }
.admin-event-row .meta { flex: 1; min-width: 0; }
.admin-event-row .meta h4 { font-size: 1.02rem; color: var(--ink); }
.admin-event-row .meta p { color: var(--muted); font-size: .84rem; }
.admin-event-row .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.linklike { color: var(--coral-deep); text-decoration: underline; cursor: pointer; background: none; border: none; font-size: .84rem; font-family: inherit; }

/* =====================================================================
   TOAST + SPINNER + MISC
   ===================================================================== */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 24px);
  background: var(--ink); border: 1px solid var(--ink-2); color: #fff;
  padding: 13px 22px; border-radius: var(--r-pill); font-size: .92rem; font-weight: 500;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: all .3s; z-index: 9999; max-width: 90vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.success { background: var(--green); border-color: var(--green); }
.toast.error { background: var(--red); border-color: var(--red); }

.spinner { width: 18px; height: 18px; border: 2.4px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.spinner--light { border-color: rgba(22,19,15,.2); border-top-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; margin: 22px 0; transition: color .2s; }
.back-link:hover { color: var(--coral-deep); }
.back-link svg { width: 16px; height: 16px; }

/* =====================================================================
   HERO BACKGROUND  (optional full-bleed video + floating Reel tiles)
   ===================================================================== */
.hero { position: relative; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: -2; pointer-events: none; }
.hero-bg video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.8s ease;
}
.hero-bg video.active { opacity: .55; }
.hero-bg__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 48%, rgba(255,255,255,.45) 100%),
    radial-gradient(900px 500px at 20% 110%, rgba(240,87,63,.10), transparent 55%);
}

/* floating tiles */
.hero-floats { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.float-tile {
  position: absolute; pointer-events: auto; cursor: pointer;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -16px rgba(22,19,15,.22);
  transition: transform .3s var(--ease), box-shadow .3s ease;
  background: var(--cream-2);
  opacity: .92;
}
.float-tile:hover { transform: scale(1.06); opacity: 1; box-shadow: 0 22px 52px -14px rgba(240,87,63,.35); z-index: 4; }
.float-tile img, .float-tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.float-tile::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, transparent 60%, rgba(240,87,63,.18) 100%);
}
.float-tile__badge {
  position: absolute; top: 8px; left: 8px;
  background: rgba(0,0,0,.65); color: #fff; font-size: .58rem; font-weight: 600;
  letter-spacing: .08em; padding: 3px 7px; border-radius: 999px;
}

.float-tile.t1 { width: 130px; height: 170px; top:  8%; right:  6%; animation: drift1 28s ease-in-out infinite alternate; }
.float-tile.t2 { width: 100px; height: 130px; top: 30%; right: 24%; animation: drift2 34s ease-in-out infinite alternate; }
.float-tile.t3 { width: 140px; height: 180px; top: 58%; right:  8%; animation: drift3 30s ease-in-out infinite alternate; }
.float-tile.t4 { width:  90px; height: 120px; top: 12%; right: 32%; animation: drift4 38s ease-in-out infinite alternate; }
.float-tile.t5 { width: 110px; height: 150px; top: 72%; right: 28%; animation: drift5 36s ease-in-out infinite alternate; }
.float-tile.t6 { width: 100px; height: 130px; top: 42%; right: 44%; animation: drift6 32s ease-in-out infinite alternate; }

@keyframes drift1 { from { transform: translate(0,0)   rotate(-2deg); } to { transform: translate(-22px,-14px) rotate(2deg);  } }
@keyframes drift2 { from { transform: translate(0,0)   rotate( 1deg); } to { transform: translate( 16px, 18px) rotate(-2deg); } }
@keyframes drift3 { from { transform: translate(0,0)   rotate(-1deg); } to { transform: translate(-14px, 16px) rotate( 3deg); } }
@keyframes drift4 { from { transform: translate(0,0)   rotate( 2deg); } to { transform: translate( 18px,-12px) rotate(-3deg); } }
@keyframes drift5 { from { transform: translate(0,0)   rotate(-2deg); } to { transform: translate(-18px,-16px) rotate( 2deg); } }
@keyframes drift6 { from { transform: translate(0,0)   rotate( 1deg); } to { transform: translate( 12px, 20px) rotate(-1deg); } }

/* Floating tile density: 6 → 4 → 2 → 1 as screens shrink */
@media (max-width: 1180px) { .float-tile.t6 { display: none; } }                         /* 5 tiles */
@media (max-width: 1024px) { .float-tile.t3, .float-tile.t5 { display: none; } }         /* 3 tiles */
@media (max-width: 860px)  { .float-tile.t4 { display: none; } }                          /* 2 tiles (t1, t2) */
@media (max-width: 620px)  {
  .float-tile.t2 { display: none; }                                                       /* 1 tile (t1) */
  .float-tile.t1 { width: 90px; height: 120px; top: auto; bottom: -10px; right: 10px; opacity: .85; }
}
@media (prefers-reduced-motion: reduce) { .float-tile { animation: none !important; } }

/* =====================================================================
   T&C CHECKBOX, AUTH TABS, ACCOUNT ROWS, CHAT
   ===================================================================== */
.terms-row {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 4px 0 16px; font-size: .9rem; color: var(--ink-2); cursor: pointer; line-height: 1.45;
}
.terms-row input[type=checkbox] { margin-top: 3px; accent-color: var(--coral); transform: scale(1.15); cursor: pointer; }

.auth-tabs {
  display: flex; gap: 0; background: var(--cream); padding: 4px;
  border-radius: var(--r-pill); margin-bottom: 22px;
}
.auth-tabs button {
  flex: 1; padding: 10px 14px; border-radius: var(--r-pill);
  background: transparent; border: none; font-weight: 500; color: var(--muted);
  font-size: .92rem; cursor: pointer; transition: all .2s;
}
.auth-tabs button.active { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-soft); }

.acct-event {
  display: flex; gap: 14px; padding: 14px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--paper); margin-bottom: 12px; align-items: center;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.acct-event:hover { border-color: var(--line-2); box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.acct-event img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; flex: none; background: var(--cream-2); }
.acct-event__meta { flex: 1; min-width: 0; }
.acct-event__meta h4 { font-size: 1.04rem; color: var(--ink); margin-bottom: 2px; }
.acct-event__meta p { color: var(--muted); font-size: .85rem; }
.acct-event__acts { flex: none; }

.chat-shell {
  display: flex; flex-direction: column; height: 70vh; min-height: 480px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-soft);
}
.chat-head { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; background: var(--cream); }
.chat-head img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--cream-2); flex: none; }
.chat-list { flex: 1; overflow-y: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.chat-list::-webkit-scrollbar { width: 8px; }
.chat-list::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; }
.msg { max-width: 82%; display: flex; align-items: flex-end; gap: 8px; }
.msg__col { display: flex; flex-direction: column; min-width: 0; }
.msg__author { font-size: .74rem; color: var(--muted-2); margin-bottom: 4px; padding: 0 4px; }
.msg__bubble { padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--cream); border: 1px solid var(--line); color: var(--ink); word-wrap: break-word; overflow-wrap: anywhere; }
.msg--mine { align-self: flex-end; flex-direction: row-reverse; }
.msg--mine .msg__bubble { background: var(--coral); color: #fff; border-color: transparent; border-radius: 16px 16px 4px 16px; }
.msg--mine .msg__author { text-align: right; color: var(--coral-deep); }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--cream); }
.chat-input .input { flex: 1; }

.chat-divider {
  align-self: center; font-size: .72rem; color: var(--muted-2);
  padding: 4px 12px; border-radius: var(--r-pill);
  background: var(--cream); border: 1px solid var(--line);
  margin: 6px 0;
}
.chat-typing {
  padding: 6px 18px 8px; color: var(--muted); font-size: .82rem;
  font-style: italic; min-height: 22px; background: var(--paper);
  border-top: 1px solid var(--line);
}
.chat-typing__dots::after {
  content: ''; display: inline-block; width: 18px; text-align: left;
  animation: dots 1.4s steps(4, end) infinite;
}
@keyframes dots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } 100% { content: ''; } }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .feature-card { aspect-ratio: 16/12; max-width: 460px; }
  .event-layout { grid-template-columns: 1fr; }
  .register-box { position: static; }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .admin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  .nav__links { gap: 12px; }
  .nav__links a:not(.btn):not(#navAuth) { display: none; }
  .nav__links a, .nav__links #navAuth { font-size: .88rem; }
  .nav__links .btn--sm { padding: 8px 14px; font-size: .8rem; }
  .hero { padding: 22px 0 12px; }
  .hero__logo { width: 92px; margin-bottom: 12px; }
  .hero .eyebrow { font-size: .66rem; letter-spacing: .22em; }
  .hero h1 { font-size: clamp(1.6rem, 8vw, 2.1rem); line-height: 1.06; margin-bottom: 12px; letter-spacing: -.02em; }
  .hero__sub { font-size: .92rem; max-width: 28ch; margin-bottom: 18px; }
  .hero__stats { gap: 14px; margin-top: 20px; }
  .hero__stat .n { font-size: 1.18rem; }
  .hero__stat .l { font-size: .66rem; }
  .hero__inner { gap: 24px; }
  .hero__cta .btn--lg { padding: 14px 22px; font-size: .95rem; flex: 1; min-width: 0; }
  .section { padding: 50px 0; }
  .events-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .row2 { grid-template-columns: 1fr; }
  .event-meta-card { grid-template-columns: 1fr; }
  .event-meta-card__item--wide { grid-column: auto; }
  .panel { padding: 22px; }
  .band { padding: 40px 22px; }
  .footer__inner { flex-direction: column; }
  .event-hero__media { height: 32vh; min-height: 220px; }
  .event-hero__content { margin-top: 18px; }
  .chip { padding: 7px 12px; font-size: .8rem; }
  .feature-card { aspect-ratio: 5/6; max-width: 100%; }
  .feature-card__body h3 { font-size: 1.35rem; }
  .feature-card__meta { font-size: .82rem; }
  /* ensure tap targets stay big */
  .btn { min-height: 44px; }
  .btn--sm { min-height: 36px; }
  .input, .select, .textarea { font-size: 16px; /* prevent iOS zoom */ }
  /* chat */
  .chat-shell { height: calc(100vh - 180px); min-height: 380px; border-radius: var(--r); }
  .chat-head { padding: 12px 14px; }
  .chat-list { padding: 14px; }
  .msg { max-width: 86%; }
  /* admin */
  .admin-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .admin-tabs button { white-space: nowrap; }
  .admin-event-row { flex-wrap: wrap; }
  .admin-event-row .acts { width: 100%; }
}
@media (max-width: 420px) {
  .hero { padding: 16px 0 8px; }
  .hero__logo { width: 76px; margin-bottom: 10px; }
  .hero h1 { font-size: clamp(1.45rem, 8vw, 1.85rem); margin-bottom: 10px; }
  .hero__sub { font-size: .88rem; margin-bottom: 14px; }
  .hero__cta { width: 100%; gap: 10px; }
  .hero__cta .btn { width: 100%; min-height: 44px; }
  .hero__cta .btn--lg { padding: 12px 18px; }
  .hero__stats { gap: 10px; margin-top: 14px; }
  .hero__stat .l { font-size: .62rem; }
  /* hide the third stat to keep the hero compact */
  .hero__stats .hero__stat:nth-child(3) { display: none; }
  .feature-card { aspect-ratio: 4/5; max-width: 100%; }
  .feature-card__body h3 { font-size: 1.15rem; }
  .nav__links { gap: 10px; }
  .nav__links a { font-size: .82rem; }
}

/* =====================================================================
   POLISH: gradients + small utility classes
   ===================================================================== */

/* form heading inside the admin create-event form */
.form-subhead {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--coral-deep); font-weight: 700;
  padding-top: 12px; padding-bottom: 6px; margin-top: 12px;
  border-top: 1px solid var(--line);
}
.form-subhead:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.form-subhead__hint { color: var(--muted-2); font-weight: 500; letter-spacing: .04em; text-transform: none; font-size: .76rem; }

/* small hint shown when the venue is hidden behind payment approval */
.reveal-hint {
  display: inline-block; margin-top: 6px;
  font-size: .76rem; font-weight: 500; letter-spacing: 0; color: var(--muted);
  background: linear-gradient(120deg, var(--coral-soft), var(--gold-soft));
  padding: 4px 10px; border-radius: var(--r-pill);
}

/* =====================================================================
   REELS SECTION  ("Inside Kismat" — phone-frame video tiles)
   ===================================================================== */
.reels-section { position: relative; padding: 100px 0 80px; overflow: hidden; }
.reels-section__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(720px 380px at 50% 14%, rgba(240,87,63,.11), transparent 60%),
    radial-gradient(560px 360px at 95% 92%, rgba(201,154,46,.13), transparent 60%),
    radial-gradient(440px 280px at 5% 80%, rgba(240,87,63,.07), transparent 60%);
}
.reels-section .reels-head {
  flex-direction: column; align-items: center; justify-content: center;
  text-align: center; max-width: 580px; margin: 0 auto 40px; gap: 4px;
}
.reels-section .reels-head .eyebrow { margin-bottom: 6px; padding-bottom: 0; }
.reels-section .reels-head .eyebrow::after { display: none; }
.reels-section .reels-head h2 { font-size: clamp(2rem, 4.8vw, 3.1rem); line-height: 1.05; margin-bottom: 10px; }
.reels-section .reels-head p { color: var(--muted); max-width: 38ch; }

.reels-row {
  display: flex; gap: 24px; justify-content: center; align-items: flex-start;
  padding: 24px 0 28px;
}
.reels-foot { display: flex; justify-content: center; margin-top: 12px; }

/* phone-frame tile */
.reel-tile {
  flex: 0 0 auto; position: relative;
  width: 200px; aspect-ratio: 9/16;
  padding: 6px; border-radius: 28px;
  background: linear-gradient(160deg, #1a1612, #0c0a08);
  box-shadow: 0 26px 50px -18px rgba(22,19,15,.45), inset 0 0 0 1px rgba(255,255,255,.04);
  text-decoration: none; cursor: pointer; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s ease;
  scroll-snap-align: center;
}
/* slight stagger so the row feels alive */
.reel-tile:nth-child(odd)  { transform: translateY(-16px); }
.reel-tile:nth-child(even) { transform: translateY(8px); }
.reel-tile:hover { transform: translateY(-28px) scale(1.04); box-shadow: 0 32px 60px -16px rgba(240,87,63,.5); z-index: 3; }
.reel-tile:nth-child(even):hover { transform: translateY(-12px) scale(1.04); }

.reel-tile__media {
  position: relative; width: 100%; height: 100%;
  border-radius: 22px; overflow: hidden; background: #221d18;
}
.reel-tile__media video,
.reel-tile__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.reel-tile__badge {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font-size: .62rem; padding: 5px 10px; border-radius: 999px;
  letter-spacing: .14em; font-weight: 700; pointer-events: none;
}
.reel-tile__badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral); box-shadow: 0 0 8px var(--coral);
  animation: pulseLive 1.6s ease-in-out infinite;
}
@keyframes pulseLive { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.reel-tile__cta {
  position: absolute; bottom: 14px; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: #fff; font-size: .72rem; padding: 7px 14px; border-radius: 999px;
  font-weight: 600; letter-spacing: .04em; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease);
  box-shadow: 0 10px 22px -8px rgba(200,52,28,.6);
}
.reel-tile:hover .reel-tile__cta { opacity: 1; transform: translateX(-50%) translateY(0); }

/* mobile + tablet: switch to a horizontal snap-scroll carousel */
@media (max-width: 1020px) {
  .reels-row {
    justify-content: flex-start;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0 calc(-1 * 24px);
    padding: 24px 24px 32px;
    gap: 18px;
  }
  .reels-row::-webkit-scrollbar { display: none; }
  .reels-row { scrollbar-width: none; }
  .reel-tile:nth-child(odd),
  .reel-tile:nth-child(even) { transform: none; }
  .reel-tile:hover { transform: scale(1.03); }
}
@media (max-width: 620px) {
  .reels-section { padding: 60px 0 40px; }
  .reels-section .reels-head { margin-bottom: 24px; }
  .reels-row { padding: 16px 18px 26px; margin: 0 -18px; gap: 14px; }
  .reel-tile { width: 180px; }
  .reel-tile__cta { opacity: 1; transform: translateX(-50%); } /* always visible on touch */
}
@media (max-width: 420px) {
  .reel-tile { width: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  .reel-tile, .reel-tile:hover { transform: none !important; }
  .reel-tile__badge::before { animation: none; }
}

/* =====================================================================
   PAYMENT STEP UI  (numbered two-step layout)
   ===================================================================== */
.pay-title {
  font-size: 1.55rem; line-height: 1.15; font-weight: 700;
  letter-spacing: -.02em; margin-bottom: 4px; color: var(--ink);
}
.pay-sub { font-size: .9rem; margin-bottom: 24px; }

.pay-step {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 22px;
}
.pay-step + .pay-step {
  padding-top: 22px; border-top: 1px solid var(--line);
}
.pay-step__num {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: #fff; font-weight: 700; font-size: .88rem;
  display: grid; place-items: center; margin-top: 2px;
  box-shadow: 0 8px 16px -6px rgba(240,87,63,.5);
}
.pay-step__body { flex: 1; min-width: 0; }
.pay-step__h { font-size: 1rem; font-weight: 600; margin-bottom: 14px; color: var(--ink); }

.qr-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 14px;
  width: 218px; margin: 0 auto 16px;
  box-shadow: var(--shadow-soft);
}
.qr-card img { width: 100%; border-radius: 8px; display: block; }
.qr-card__amount {
  position: absolute; top: -10px; right: -10px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #1a1407; font-weight: 700; font-size: .86rem;
  padding: 5px 12px; border-radius: var(--r-pill);
  box-shadow: 0 8px 16px -6px rgba(201,154,46,.55);
  white-space: nowrap;
}

.upi-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--cream); border: 1px solid var(--line-2);
  border-radius: var(--r-pill); padding: 10px 16px;
  font-family: inherit; cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
  width: 100%; justify-content: center;
}
.upi-pill:hover, .upi-pill:focus-visible { border-color: var(--coral); background: var(--coral-soft); outline: none; }
.upi-pill:active { transform: scale(.99); }
.upi-pill svg { width: 14px; height: 14px; color: var(--coral-deep); flex: none; }
.upi-pill__label {
  color: var(--muted-2); letter-spacing: .1em; font-size: .68rem;
  font-weight: 700; text-transform: uppercase;
}
.upi-pill code { color: var(--ink); font-family: inherit; font-weight: 500; font-size: .9rem; word-break: break-all; }

.pay-back {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: 18px auto 0; width: max-content; color: var(--muted);
  text-decoration: none;
}
.pay-back:hover { color: var(--coral-deep); }
.pay-back svg { width: 14px; height: 14px; }

@media (max-width: 620px) {
  .pay-title { font-size: 1.32rem; }
  .qr-card { width: 200px; }
  .pay-step { gap: 12px; margin-bottom: 18px; }
  .pay-step + .pay-step { padding-top: 18px; }
  .pay-step__num { width: 26px; height: 26px; font-size: .82rem; }
  .pay-step__h { font-size: .95rem; margin-bottom: 12px; }
  .upi-pill { padding: 9px 14px; }
}

/* profile panel on account page */
.profile-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.profile-head__title { display: flex; align-items: center; gap: 14px; }
.profile-head__acts { display: flex; gap: 10px; align-items: center; }

/* avatar circle (initials fallback or photo) */
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--gold));
  color: #fff; font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  display: grid; place-items: center; overflow: hidden; flex: none;
  box-shadow: 0 8px 18px -8px rgba(240,87,63,.45);
  text-transform: uppercase;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar--lg { width: 64px; height: 64px; font-size: 1.3rem; }
.avatar--sm { width: 28px; height: 28px; font-size: .7rem; box-shadow: 0 4px 10px -4px rgba(240,87,63,.35); }
.avatar-edit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.avatar-edit__btns { display: flex; gap: 10px; align-items: center; }
@media (max-width: 480px) { .avatar-edit__btns { flex-wrap: wrap; } }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.profile-cell { padding: 12px 14px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-sm); }
.profile-cell .k { display: block; font-size: .68rem; color: var(--muted-2); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; font-weight: 600; }
.profile-cell .v { font-weight: 500; color: var(--ink); word-break: break-all; }
@media (max-width: 620px) { .profile-grid { grid-template-columns: 1fr; } }

/* Full-page focused status card shown when a logged-in user re-opens an event they're already in */
.reg-status-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 56px 30px 38px;
  text-align: center; max-width: 540px; margin: 40px auto 80px;
  box-shadow: var(--shadow);
}
.reg-status-card__icon {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 22px;
  background: linear-gradient(135deg, var(--coral), var(--gold));
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 20px 44px -16px rgba(240,87,63,.5);
  animation: pop .5s cubic-bezier(.18,1.4,.5,1);
}
.reg-status-card__icon--bad {
  background: linear-gradient(135deg, var(--red), #a32d2d);
  box-shadow: 0 20px 44px -16px rgba(214,69,63,.5);
}
.reg-status-card__icon svg { width: 38px; height: 38px; }
.reg-status-card h2 { font-size: 1.8rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; color: var(--ink); }
.reg-status-card__sub { font-size: 1rem; margin-bottom: 26px; }
.reg-status-card__sub strong { color: var(--coral-deep); }
.reg-status-card__acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 620px) {
  .reg-status-card { padding: 40px 22px 30px; margin: 20px auto 50px; }
  .reg-status-card__acts { flex-direction: column; align-items: stretch; }
  .reg-status-card__acts .btn { width: 100%; }
}

/* "already registered" panel shown on event page when user has an existing reg */
.already-reg { text-align: center; padding: 14px 0 4px; }
.already-reg__icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--coral), var(--gold));
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 14px 30px -10px rgba(240,87,63,.45);
  animation: pop .5s cubic-bezier(.18,1.4,.5,1);
}
.already-reg__icon svg { width: 30px; height: 30px; }
.already-reg h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.already-reg .muted { font-size: .92rem; }

/* compact account summary shown on event page when already logged in */
.account-summary {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r); padding: 6px 16px; margin-bottom: 18px;
}
.account-summary__row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem;
}
.account-summary__row:last-child { border-bottom: none; }
.account-summary__row .k { color: var(--muted); }
.account-summary__row .v { font-weight: 600; color: var(--ink); text-align: right; }

/* venue line inside the chat header (full address — revealed) */
.chat-venue { font-size: .85rem; color: var(--coral-deep); margin-top: 4px; line-height: 1.3; }
.chat-venue strong { color: var(--ink); font-weight: 600; }

/* location filter on the landing page */
.filter-bar { display: flex; align-items: center; gap: 10px; }
.filter-bar label {
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 600;
}
.filter-bar .select {
  width: auto; min-width: 220px; padding: 10px 38px 10px 14px; font-size: .92rem;
  background-color: var(--paper);
}
@media (max-width: 620px) {
  .filter-bar { width: 100%; flex-direction: column; align-items: stretch; gap: 6px; }
  .filter-bar .select { width: 100%; }
}

/* stronger gradients on hero, primary CTA, badges, accents */
body::before {
  background:
    radial-gradient(680px 480px at 4% -10%, rgba(240,87,63,.13), transparent 60%),
    radial-gradient(760px 540px at 100% 0%, rgba(201,154,46,.16), transparent 58%),
    radial-gradient(900px 640px at 50% 110%, rgba(240,87,63,.07), transparent 60%);
}
.btn--primary {
  background: linear-gradient(135deg, #FF7A60 0%, var(--coral) 45%, var(--coral-deep) 100%);
  box-shadow: 0 18px 38px -14px rgba(240,87,63,.55);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-deep) 60%, #A8240F 100%);
  box-shadow: 0 22px 48px -14px rgba(200,52,28,.55);
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 60%, #A87E1F);
}

/* hero: warm gradient wash behind the floats/veil */
.hero-bg__veil {
  background:
    linear-gradient(95deg, rgba(255,255,255,.95) 0%, rgba(255,251,243,.86) 38%, rgba(252,236,222,.55) 72%, rgba(247,225,200,.32) 100%),
    radial-gradient(900px 500px at 18% 110%, rgba(240,87,63,.12), transparent 60%);
}

/* alt section: subtle coral→gold cream wash */
.section--cream {
  background: linear-gradient(180deg, #FFFAF1 0%, #FBF1E0 60%, #FCF4E5 100%);
}

/* gradient under the eyebrow as a subtle accent line */
.section__head .eyebrow { position: relative; padding-bottom: 6px; display: inline-block; }
.section__head .eyebrow::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 28px;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  border-radius: 2px;
}

/* event card: gradient price badge + hover tint */
.ecard__price {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, #A87E1F);
}
.ecard:hover { border-color: rgba(240,87,63,.35); box-shadow: 0 24px 50px -22px rgba(240,87,63,.30); }

/* featured card tag: gold gradient pill */
.feature-card__tag {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, #A87E1F);
}

/* community band: punchier gradients */
.band {
  background:
    radial-gradient(620px 320px at 14% 18%, rgba(240,87,63,.22), transparent 64%),
    radial-gradient(620px 320px at 88% 92%, rgba(201,154,46,.28), transparent 60%),
    linear-gradient(140deg, #FFF8EE 0%, #FCEEDB 100%);
}

/* footer: warm cream gradient */
.footer { background: linear-gradient(180deg, var(--cream), #F5E7D2); }

/* register box price uses gradient text */
.register-box__price .amt { background: linear-gradient(100deg, var(--coral), var(--coral-deep) 45%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* my-account row: gradient hover bar */
.acct-event { position: relative; overflow: hidden; }
.acct-event::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--coral), var(--gold));
  opacity: 0; transition: opacity .25s ease;
}
.acct-event:hover::before { opacity: 1; }

/* chat: gradient bar over chat-head */
.chat-head { position: relative; }
.chat-head::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--gold) 60%, var(--coral-deep));
}

/* =====================================================================
   COMMUNITY BAND CTA — keep button labels inside their pills on every
   screen size. The long labels ("Join WhatsApp broadcast" / "Follow on
   Instagram") were overflowing their boxes on phones.
   ===================================================================== */
.band .hero__cta { flex-wrap: wrap; justify-content: center; }
.band .hero__cta .btn {
  white-space: normal;     /* allow long labels to wrap instead of clipping */
  text-align: center;
  line-height: 1.25;
  max-width: 100%;
}

/* Tablets / large phones: give each button room before it has to wrap. */
@media (max-width: 720px) {
  .band .hero__cta .btn { flex: 1 1 220px; }
}

/* Phones: stack the two buttons full-width with even padding all round. */
@media (max-width: 560px) {
  .band .hero__cta { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; }
  .band .hero__cta .btn {
    flex: 0 0 auto;
    width: 100%;
    min-height: 50px;
    padding: 14px 20px;
  }
}
