/* ===== MANZAR 5.0 — shared visual polish ===== */
:root {
  --surface: rgba(20, 14, 34, .72);
  --surface-strong: rgba(20, 14, 34, .9);
  --border-soft: rgba(255, 255, 255, .12);
  --shadow-card: 0 16px 42px rgba(0, 0, 0, .26);
  --focus-ring: 0 0 0 3px rgba(0, 240, 255, .24), 0 0 0 1px var(--cyan);
}

html { text-rendering: optimizeLegibility; }

body {
  background-image:
    radial-gradient(circle at 12% 18%, rgba(0, 240, 255, .035), transparent 24rem),
    radial-gradient(circle at 88% 72%, rgba(168, 85, 247, .045), transparent 28rem);
}

::selection { background: rgba(0, 240, 255, .28); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: rgba(7, 4, 9, .7); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--purple), var(--cyan)); border: 3px solid rgba(7, 4, 9, .7); border-radius: 999px; }

a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible,
[role="button"]:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.page-head, .hero { isolation: isolate; }
.page-head::after, .hero::after {
  content: "";
  position: absolute;
  inset: auto 8% 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, .5), rgba(168, 85, 247, .5), transparent);
  opacity: .65;
}

.eyebrow, .section-tag {
  font-weight: 750;
  line-height: 1.3;
  text-wrap: balance;
}

.page-sub, .hero-sub, .about-text, .sponsor-intro, .inkind-intro { text-wrap: pretty; }

.section { padding-block: clamp(4rem, 7vw, 6.5rem); }
.section-title { letter-spacing: .2px; text-wrap: balance; }

.glass, .form-card, .overview-card, .sponsor-form, .event-block, .tl-card, .legal-note {
  border-color: var(--border-soft);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, .035);
}

.btn {
  min-height: 44px;
  border-radius: 11px;
  line-height: 1.1;
  letter-spacing: .45px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #6efff7 0%, var(--cyan) 60%, #3bc5ff 100%);
  box-shadow: 0 8px 22px rgba(0, 240, 255, .2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 240, 255, .28), 0 0 20px rgba(0, 240, 255, .16);
}

.btn-ghost {
  border-color: rgba(232, 236, 255, .3);
  background: rgba(255, 255, 255, .025);
}

.btn-ghost:hover { border-color: rgba(0, 240, 255, .7); color: var(--cyan); background: rgba(0, 240, 255, .07); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { cursor: not-allowed; filter: saturate(.7); }

.field label { font-weight: 700; }
.field input, .field select, .field textarea, .search-box {
  border-color: var(--border-soft);
  background-color: rgba(7, 4, 9, .7);
}

.field input, .field select, .field textarea {
  min-height: 46px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .2); }
.field input:focus, .field select:focus, .field textarea:focus, .search-box:focus-within {
  border-color: var(--cyan);
  box-shadow: var(--focus-ring);
}

.checks { gap: .65rem .85rem; }
.check { padding: .15rem 0; }
.check input { inline-size: 1rem; block-size: 1rem; flex: 0 0 auto; }

.filter, .inkind-chip, .pkg {
  border-color: var(--border-soft);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.filter:hover, .inkind-chip:hover, .pkg:hover { transform: translateY(-1px); }
.filter:focus-visible, .pkg:has(input:focus-visible) { outline: none; box-shadow: var(--focus-ring); }

.card-face, .pillar, .tier-card, .benefit, .podium-item, .photo, .preview, .acc-item {
  border-color: var(--border-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.card:hover .card-face, .card:focus-visible .card-face { box-shadow: 0 16px 38px rgba(0, 0, 0, .32), 0 0 22px color-mix(in srgb, var(--c) 38%, transparent); }
.pillar:hover, .tier-card:hover, .benefit:hover, .podium-item:hover { transform: translateY(-4px); }

.acc-head:focus-visible { outline: none; box-shadow: inset var(--focus-ring); }
.acc-item.open { box-shadow: 0 12px 32px rgba(0, 0, 0, .2), 0 0 20px rgba(0, 240, 255, .1); }

.event-modal-card, .lightbox {
  border-color: rgba(185, 245, 255, .18);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .66), 0 0 34px rgba(0, 240, 255, .12);
}

.event-modal-x, .lb-close, .lb-prev, .lb-next, .announce-nav {
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.event-modal-x:hover, .lb-close:hover, .lb-prev:hover, .lb-next:hover, .announce-nav:hover { transform: translateY(-1px); }
.lightbox { background: rgba(4, 3, 8, .975); }
.lb-stage img { border: 1px solid rgba(255, 255, 255, .1); }

.empty, .empty-state {
  background: linear-gradient(135deg, rgba(0, 240, 255, .035), rgba(168, 85, 247, .055));
  border-color: rgba(0, 240, 255, .24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.form-msg { font-weight: 600; }
.form-msg.ok, .form-msg.err { padding: .1rem .15rem; }

.footer { border-top-color: var(--border-soft); }
.foot-contact, .foot-links a { text-underline-offset: .24em; }

@media (max-width: 768px) {
  .page-head { min-height: min(78vh, 660px); padding: 6.5rem 1.1rem 2.8rem; }
  .hero { min-height: min(80vh, 680px); padding-inline: 1.1rem; }
  .section { padding-inline: 1rem; }
  .form-card, .sponsor-form, .upload-card, .overview-card { padding: 1.35rem; border-radius: 16px; }
  .event-modal { padding: .8rem; }
  .event-modal-card { padding: 2rem 1.2rem 1.3rem; border-radius: 18px; }
  .lightbox { padding: .7rem; }
  .lb-stage { gap: .7rem; }
  .lb-stage img { max-width: calc(100vw - 1.4rem); max-height: 62vh; }
  .lb-prev, .lb-next { width: 40px; height: 40px; top: auto; bottom: 1rem; }
  .lb-prev { left: 1rem; }
  .lb-next { right: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .btn, .filter, .inkind-chip, .pkg, .event-modal-x, .lb-close, .lb-prev, .lb-next, .announce-nav { transition-duration: .01ms !important; }
}
body::after {
  content: "shriyans2026";
  position: fixed;
  z-index: 9999;
  right: .75rem;
  bottom: .45rem;
  color: rgba(255, 255, 255, .58);
  font: 500 .58rem/1 system-ui, sans-serif;
  letter-spacing: .08em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .65);
  pointer-events: none;
}
