/* ============================================================
   Mini Shetrunjay 99 Yatra — Rich Poster Theme
   parchment · temple maroon · leaf gold · ornate graphics
   ============================================================ */

:root {
  --parchment: #f7efdb;
  --parchment-deep: #efe1bf;
  --parchment-dark: #e4d0a4;
  --maroon: #7b1113;
  --maroon-deep: #5c0c0e;
  --maroon-soft: #9c2222;
  --red: #c0271f;
  --red-bright: #d8352a;
  --gold: #c9a227;
  --gold-mid: #b8860b;
  --gold-light: #e9c766;
  --gold-pale: #f6e6b4;
  --ink: #3b2412;
  --ink-soft: #5d4630;
  --green: #1f6b3a;
  --white: #fffdf7;
  --shadow: 0 14px 34px rgba(59, 36, 18, 0.20);
  --shadow-soft: 0 6px 16px rgba(59, 36, 18, 0.14);
  --radius: 14px;
  --font-gu: "Noto Serif Gujarati", "Gujarati", serif;
  --font-en: "Cinzel", "Times New Roman", serif;
  --font-ui: "Inter", "Segoe UI", system-ui, sans-serif;
  --gold-grad: linear-gradient(180deg, #fbeeb9 0%, #e9c766 30%, #c9a227 62%, #9a7414 100%);
  --maroon-grad: linear-gradient(180deg, #a02426 0%, #7b1113 55%, #5c0c0e 100%);
  --gold-line: linear-gradient(90deg, transparent, #c9a227 18%, #f0d78c 50%, #c9a227 82%, transparent);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  color: var(--ink);
  background-color: var(--parchment);
  background-image:
    radial-gradient(ellipse at 15% -5%, rgba(201, 162, 39, 0.16), transparent 48%),
    radial-gradient(ellipse at 85% 0%, rgba(123, 17, 19, 0.10), transparent 45%),
    radial-gradient(ellipse at 50% 110%, rgba(123, 17, 19, 0.12), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150' viewBox='0 0 150 150'%3E%3Cg fill='none' stroke='%23cfae6b' stroke-width='0.7' opacity='0.30'%3E%3Cpath d='M75 8 L86 30 L75 52 L64 30 Z'/%3E%3Cpath d='M75 98 L86 120 L75 142 L64 120 Z'/%3E%3Cpath d='M8 75 L30 64 L52 75 L30 86 Z'/%3E%3Cpath d='M98 75 L120 64 L142 75 L120 86 Z'/%3E%3Ccircle cx='75' cy='75' r='7'/%3E%3Ccircle cx='75' cy='75' r='14' stroke-dasharray='3 5'/%3E%3C/g%3E%3C/svg%3E");
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* paper grain overlay */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: 0.35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.86 0 0 0 0 0.78 0 0 0 0 0.62 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: var(--maroon); }

.gu { font-family: var(--font-gu); }
.en { font-family: var(--font-en); }

/* gold gradient text */
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 3px rgba(60, 30, 0, 0.55));
}

/* ---------- Layout ---------- */
.wrap { width: min(1120px, 94%); margin: 0 auto; position: relative; }
.section { padding: 40px 0; }

/* ============================================================
   SHLOKA BAR — maroon band with hanging temple bells
   ============================================================ */
.shloka-bar {
  background:
    linear-gradient(180deg, #641013 0%, #7b1113 60%, #5c0c0e 100%);
  color: var(--gold-light);
  text-align: center;
  padding: 16px 110px 18px;
  border-bottom: 4px solid var(--gold);
  position: relative;
  overflow: visible;
  z-index: 5;
  box-shadow: 0 4px 14px rgba(92, 12, 14, 0.45);
}
.shloka-bar::before, .shloka-bar::after {
  content: "";
  position: absolute; top: -6px;
  width: 58px; height: 132px;
  background: url("../img/bell.svg") no-repeat center top / contain;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.4));
  transform-origin: top center;
  animation: bellSwing 5.5s ease-in-out infinite;
  pointer-events: none;
}
.shloka-bar::before { left: 16px; }
.shloka-bar::after { right: 16px; animation-delay: -2.4s; }
@keyframes bellSwing {
  0%, 100% { transform: rotate(-2.5deg); }
  50% { transform: rotate(2.5deg); }
}
.shloka-1 {
  font-family: var(--font-gu); font-weight: 900;
  font-size: clamp(16px, 2.5vw, 22px);
  letter-spacing: 1px;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.5));
}
.shloka-2 {
  font-family: var(--font-gu); font-weight: 700;
  font-size: clamp(11px, 1.7vw, 14.5px);
  color: #a9d8a3; margin-top: 3px;
  text-shadow: 0 1px 0 rgba(0,0,0,.4);
}
.shloka-bar .orn-line {
  display: block; width: min(560px, 76%); height: 34px;
  margin: 8px auto 0;
  background: url("../img/divider.svg") no-repeat center / 100% 100%;
  opacity: .95;
}

/* ============================================================
   HERO — arch-framed photo, ribbon title, flag, emblem, seal
   ============================================================ */
.hero {
  position: relative;
  padding: 34px 16px 54px;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(240, 215, 140, 0.55), transparent 55%),
    linear-gradient(180deg, #f3e6c6 0%, var(--parchment) 70%);
  border-bottom: 5px solid transparent;
  border-image: linear-gradient(90deg, #7d5a10, #e9c766 20%, #f6e6b4 50%, #e9c766 80%, #7d5a10) 1;
  overflow: hidden;
}
/* sun rays behind frame */
.hero::before {
  content: "";
  position: absolute; top: -140px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 620px; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% 40%,
    rgba(201, 162, 39, 0.14) 0deg 7deg, transparent 7deg 16deg);
  -webkit-mask: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%);
  mask: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%);
}
.hero-frame {
  width: min(940px, 100%);
  margin: 0 auto;
  position: relative;
}
.hero-arch {
  position: relative;
  height: clamp(370px, 56vw, 520px);
  -webkit-mask: url("../img/arch-mask.svg") no-repeat center bottom / 100% 100%;
  mask: url("../img/arch-mask.svg") no-repeat center bottom / 100% 100%;
  filter:
    drop-shadow(0 0 0.5px #7d5a10)
    drop-shadow(0 0 2.5px rgba(201, 162, 39, 0.95))
    drop-shadow(0 10px 22px rgba(59, 36, 18, 0.35));
  background: var(--maroon-deep);
}
.hero-arch img.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
}
.arch-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(92,12,14,0.42) 0%, rgba(92,12,14,0.08) 34%, rgba(59,20,8,0.72) 100%),
    radial-gradient(ellipse at 50% 88%, rgba(240,190,90,0.30), transparent 60%);
}
.hero-content {
  position: absolute; left: 0; right: 0; bottom: 26px;
  text-align: center; color: var(--white);
  padding: 0 18px;
  z-index: 3;
}

/* pointed ribbon — always its own row, centred above the title */
.ribbon-days {
  display: block;
  width: fit-content;
  margin: 0 auto 18px;
  background: linear-gradient(180deg, #e04a3a, #c0271f 60%, #9c1a14);
  color: #fff;
  font-family: var(--font-en); font-weight: 700;
  font-size: clamp(12px, 2vw, 16px);
  letter-spacing: 4px; padding: 7px 30px;
  border: 2px solid var(--gold-light);
  box-shadow: 0 4px 12px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.35);
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%);
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
}

/* title ribbon with folded arrow tails */
.title-ribbon {
  position: relative;
  display: inline-block;
  max-width: 94%;
  background: linear-gradient(180deg, #9c2222 0%, #7b1113 55%, #5c0c0e 100%);
  border: 3px solid var(--gold-light);
  border-radius: 10px;
  padding: clamp(10px, 2vw, 16px) clamp(26px, 5vw, 58px);
  box-shadow:
    0 0 0 3px rgba(92,12,14,.9),
    0 10px 26px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.25);
}
.title-ribbon::before, .title-ribbon::after {
  content: "";
  position: absolute; top: 50%;
  width: 0; height: 0;
  border-style: solid;
  transform: translateY(-50%);
  z-index: -1;
}
.title-ribbon::before {
  left: -26px;
  border-width: clamp(18px, 3vw, 26px) 26px clamp(18px, 3vw, 26px) 0;
  border-color: transparent #5c0c0e transparent transparent;
  filter: drop-shadow(-3px 0 0 var(--gold-light));
}
.title-ribbon::after {
  right: -26px;
  border-width: clamp(18px, 3vw, 26px) 0 clamp(18px, 3vw, 26px) 26px;
  border-color: transparent transparent transparent #5c0c0e;
  filter: drop-shadow(3px 0 0 var(--gold-light));
}
/* gold diamonds on ribbon tips */
.title-ribbon .tip {
  position: absolute; top: 50%; width: 12px; height: 12px;
  background: var(--gold-light); transform: translateY(-50%) rotate(45deg);
  border: 1.5px solid #7d5a10;
}
.title-ribbon .tip.l { left: -32px; }
.title-ribbon .tip.r { right: -32px; }

.hero-title {
  font-family: var(--font-gu); font-weight: 900;
  font-size: clamp(28px, 5.6vw, 56px);
  line-height: 1.22;
  background: linear-gradient(180deg, #fdf3d0 0%, #f2d879 45%, #d9ad3a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.65));
}
.hero-title .mini {
  display: block; font-family: var(--font-en); font-weight: 700;
  font-size: clamp(13px, 2.2vw, 20px); letter-spacing: 10px;
  background: none; -webkit-text-fill-color: #fff;
  color: #fff; text-transform: uppercase; margin-bottom: 2px;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.6));
}
.hero-sub {
  font-family: var(--font-en); font-weight: 700; letter-spacing: 5px;
  font-size: clamp(11px, 1.8vw, 16px);
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-transform: uppercase; margin-top: 16px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.85));
}
.hero-tag {
  display: inline-block; margin-top: 12px; padding: 5px 22px;
  background: rgba(40, 10, 8, 0.55);
  border: 1.5px dashed var(--gold-light);
  color: var(--gold-pale); font-weight: 700; letter-spacing: 3px;
  font-size: clamp(10px, 1.5vw, 13px); text-transform: uppercase;
  border-radius: 999px; backdrop-filter: blur(3px);
}

/* fee seal — scalloped sticker, sits on the photo's right flank */
.fee-seal {
  position: absolute; right: clamp(4px, 2vw, 26px); top: 42%;
  width: clamp(112px, 17vw, 158px); height: clamp(112px, 17vw, 158px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #ef5a4a, #c0271f 62%, #8f1a14);
  border: 4px dashed #fdf0c8;
  box-shadow:
    0 0 0 4px #7b1113,
    0 0 0 7px var(--gold-light),
    0 12px 26px rgba(0,0,0,.5),
    inset 0 -6px 14px rgba(0,0,0,.3),
    inset 0 6px 12px rgba(255,255,255,.28);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; transform: rotate(9deg); text-align: center; z-index: 4;
  animation: sealPulse 3.4s ease-in-out infinite;
}
@keyframes sealPulse {
  0%, 100% { transform: rotate(9deg) scale(1); }
  50% { transform: rotate(9deg) scale(1.035); }
}
.fee-seal .lbl { font-family: var(--font-en); font-size: clamp(8px, 1.2vw, 11px); letter-spacing: 2.5px; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.fee-seal .amt { font-family: var(--font-en); font-weight: 900; font-size: clamp(24px, 3.8vw, 36px); line-height: 1.08; text-shadow: 0 2px 4px rgba(0,0,0,.5); }
.fee-seal .rfnd {
  font-family: var(--font-en); font-size: clamp(7px, 1.1vw, 10px); font-weight: 700; letter-spacing: 1.6px;
  background: #fff; color: var(--red); padding: 1.5px 9px; border-radius: 999px; margin-top: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,.3);
}

/* flag + emblem */
.hero-flag {
  position: absolute; right: clamp(-8px, 0.5vw, 8px); bottom: clamp(60px, 9vw, 120px);
  width: clamp(64px, 9.5vw, 104px);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.45));
  transform-origin: top center;
  animation: flagWave 4.5s ease-in-out infinite;
  z-index: 4;
}
@keyframes flagWave {
  0%, 100% { transform: rotate(1.6deg); }
  50% { transform: rotate(-1.6deg); }
}
.hero-emblem {
  position: absolute; left: clamp(-10px, 0vw, 6px); top: clamp(6px, 3vw, 30px);
  width: clamp(64px, 10vw, 108px);
  filter: drop-shadow(0 5px 10px rgba(0,0,0,.45));
  z-index: 4;
  animation: emblemFloat 6s ease-in-out infinite;
}
@keyframes emblemFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* organizer strip under hero */
.hero-org {
  text-align: center; margin-top: 26px;
}
.hero-org .org-line {
  font-family: var(--font-gu); font-weight: 800;
  color: var(--maroon); font-size: clamp(14px, 2.2vw, 18px);
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}
.hero-org .org-line .en {
  display: block; font-family: var(--font-en); font-weight: 600;
  font-size: clamp(10px, 1.4vw, 12.5px); letter-spacing: 3px;
  color: var(--ink-soft); text-transform: uppercase; margin-top: 2px;
}

/* ============================================================
   ORNAMENTS / DIVIDERS
   ============================================================ */
.divider {
  display: flex; align-items: center; gap: 14px; justify-content: center;
  margin: 10px auto; max-width: 560px; height: 40px;
  background: url("../img/divider.svg") no-repeat center / 100% 100%;
}
.divider .dot { display: none; }

/* section title with flanking hands + lotus */
.section-title { text-align: center; margin-bottom: 30px; position: relative; }
.section-title .hands {
  position: absolute; top: -10px; width: clamp(54px, 7.5vw, 92px);
  opacity: .97;
  filter: drop-shadow(0 3px 5px rgba(59,36,18,.25));
  pointer-events: none;
}
.section-title .hands.l { left: 0; transform: scaleX(-1); }
.section-title .hands.r { right: 0; }
@media (max-width: 980px) { .section-title .hands { display: none; } }
.section-title h2 {
  font-family: var(--font-gu); font-weight: 900; color: var(--maroon);
  font-size: clamp(22px, 4vw, 36px); line-height: 1.4;
  max-width: 660px; margin: 0 auto;
  padding: 0 8px;
  text-shadow: 0 1px 0 rgba(255,255,255,.75), 0 2px 6px rgba(201,162,39,.35);
}
.section-title .en-line {
  display: block; font-family: var(--font-en); font-weight: 700; letter-spacing: 4px;
  color: var(--gold-mid); font-size: clamp(11px, 1.6vw, 14px);
  text-transform: uppercase; margin-top: 6px;
}
.section-title .lotus {
  display: block; width: clamp(90px, 14vw, 150px); height: auto;
  margin: 8px auto 0; opacity: .95;
}

/* ============================================================
   CARDS — filigree corners + pinstripe inner border
   ============================================================ */
.card {
  background:
    linear-gradient(180deg, #fffdf6 0%, var(--parchment-deep) 100%);
  border: 2.5px solid var(--gold);
  border-radius: var(--radius);
  box-shadow:
    var(--shadow),
    inset 0 0 0 1.5px rgba(123, 17, 19, 0.35),
    inset 0 0 24px rgba(201, 162, 39, 0.18);
  position: relative;
  padding: 28px;
}
/* filigree corners via the two pseudos (two corners each) */
.card::before, .card::after {
  content: "";
  position: absolute; left: 6px; right: 6px; top: 6px; bottom: 6px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: clamp(56px, 8vw, 92px) clamp(56px, 8vw, 92px);
}
.card::before {
  background-image: url("../img/corner-tl.svg"), url("../img/corner-tr.svg");
  background-position: left top, right top;
}
.card::after {
  background-image: url("../img/corner-bl.svg"), url("../img/corner-br.svg");
  background-position: left bottom, right bottom;
}
.card.maroon {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,162,39,.22), transparent 55%),
    linear-gradient(180deg, #8c1518 0%, #7b1113 45%, #57090b 100%);
  color: var(--parchment);
  border-color: var(--gold-light);
  box-shadow:
    var(--shadow),
    inset 0 0 0 1.5px rgba(233, 199, 102, 0.5),
    inset 0 0 40px rgba(0,0,0,.35);
}
.card.maroon h3, .card.maroon .en-line { color: var(--gold-light); }

/* ribbon pill heading */
.card-head {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(180deg, #b02a2a 0%, #7b1113 60%, #5c0c0e 100%);
  color: var(--gold-light);
  border: 2.5px solid var(--gold-light);
  border-radius: 999px;
  padding: 9px 30px; margin: -50px auto 22px;
  width: fit-content; max-width: 94%; position: relative; z-index: 3;
  box-shadow:
    0 0 0 3px rgba(92,12,14,.85),
    0 8px 18px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.3);
  text-align: center;
}
.card-head::before, .card-head::after {
  content: "◆"; color: var(--gold-light); font-size: .72em;
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.card-head h3 {
  font-family: var(--font-gu); font-weight: 900;
  font-size: clamp(15px, 2.4vw, 21px);
  color: var(--gold-pale) !important;
  text-shadow: 0 2px 4px rgba(0,0,0,.55);
  letter-spacing: .5px;
}
.card-head .ic { font-size: 1.1em; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }

/* ============================================================
   RESOLVE (lineage) block
   ============================================================ */
.resolve { text-align: center; padding-top: 52px !important; }
.resolve .lead {
  font-family: var(--font-gu); font-weight: 900;
  font-size: clamp(16px, 2.6vw, 22px); margin-bottom: 10px;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.55));
}
.resolve p {
  font-family: var(--font-gu); font-weight: 700; line-height: 2.05;
  font-size: clamp(13.5px, 2.1vw, 17px); color: #f8ecd2;
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.resolve .quote-mark {
  font-family: var(--font-en); font-size: clamp(38px, 6vw, 58px);
  color: rgba(233,199,102,.55); line-height: .4; display: block; margin-bottom: 8px;
}
.resolve .en-note {
  font-size: .9em; color: #dfc79c; font-style: italic; font-weight: 500;
  font-family: var(--font-ui);
}

/* ============================================================
   DATE BOXES — cream cards + postage-stamp date badges
   ============================================================ */
.date-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 20px; margin-top: 30px;
}
.date-box {
  background: linear-gradient(180deg, #fffdf6, #f2e4c2);
  border: 2.5px solid var(--gold);
  border-radius: 12px;
  padding: 18px 14px 20px; text-align: center;
  box-shadow: var(--shadow-soft), inset 0 0 0 1.5px rgba(123,17,19,.3);
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}
.date-box:hover { transform: translateY(-4px); box-shadow: 0 14px 26px rgba(59,36,18,.22); }
.date-box .dh {
  font-family: var(--font-gu); font-weight: 900; color: var(--maroon);
  font-size: clamp(15px, 2.1vw, 18px);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.date-box .dh .ic {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold-grad); color: var(--maroon-deep);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; box-shadow: 0 2px 5px rgba(0,0,0,.25), inset 0 1px 0 #fff7dd;
  border: 1.5px solid #7d5a10;
}
.date-box .dv {
  font-family: var(--font-gu); font-weight: 700; color: var(--ink-soft);
  font-size: clamp(12.5px, 1.8vw, 15px); margin-top: 8px; line-height: 1.7;
}
.date-box .dv .en { font-size: 11px; letter-spacing: 1.5px; color: var(--gold-mid); font-weight: 700; }
.date-box .stamp {
  display: inline-block; margin-top: 12px;
  padding: 6px 24px;
  background: url("../img/stamp.svg") no-repeat center / 100% 100%;
  color: #fff; font-family: var(--font-en); font-weight: 900;
  letter-spacing: 3px; font-size: clamp(14px, 2.1vw, 17px);
  text-shadow: 0 2px 3px rgba(0,0,0,.45);
  min-width: 138px;
}
.date-box .stamp.gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--maroon-deep); border: 2px solid #7d5a10; border-radius: 8px;
  text-shadow: none; box-shadow: 0 4px 10px rgba(201,162,39,.45);
}

/* ============================================================
   NOTES LISTS — jewelled bullets
   ============================================================ */
.notes-list { list-style: none; display: grid; gap: 13px; }
.notes-list li {
  position: relative; padding: 6px 10px 6px 34px;
  font-family: var(--font-gu); font-weight: 700;
  font-size: clamp(13.5px, 2vw, 16px); color: var(--ink); line-height: 1.8;
}
.notes-list li::before {
  content: ""; position: absolute; left: 8px; top: 14px;
  width: 11px; height: 11px;
  background: linear-gradient(135deg, #e04a3a, #c0271f);
  transform: rotate(45deg);
  border: 1.5px solid var(--gold);
  box-shadow: 0 1px 3px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.4);
}
.notes-list li .en {
  display: block; font-family: var(--font-ui); font-weight: 500; font-style: italic;
  font-size: clamp(12px, 1.6vw, 13.5px); color: var(--ink-soft);
  line-height: 1.6; margin-top: 2px;
}
.card.maroon .notes-list li { color: #f8ecd2; text-shadow: 0 1px 1px rgba(0,0,0,.4); }
.card.maroon .notes-list li .en { color: #ddc49a; }

/* ============================================================
   SPLIT + PHOTO FRAMES (arch-topped)
   ============================================================ */
.split {
  display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 24px; align-items: stretch;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.photo-frame {
  border: 3px solid var(--gold);
  border-radius: 18px 18px 14px 14px;
  overflow: hidden;
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(123,17,19,.4);
  position: relative; min-height: 250px;
  background: var(--maroon-deep);
  transition: transform .2s ease;
}
.photo-frame:hover { transform: translateY(-4px); }
.photo-frame::after {
  content: ""; position: absolute; inset: 7px; border-radius: 12px 12px 8px 8px;
  border: 1.5px solid rgba(246, 230, 180, 0.75); pointer-events: none;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; min-height: 250px; }
.photo-frame .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(59,12,10,.94));
  color: var(--gold-pale); font-family: var(--font-gu); font-weight: 800;
  padding: 34px 14px 12px; text-align: center;
  font-size: clamp(14px, 2vw, 17px); text-shadow: 0 2px 4px rgba(0,0,0,.7);
}
.photo-frame .cap .en {
  display: block; font-family: var(--font-en); font-weight: 600;
  font-size: 11px; letter-spacing: 3px; color: #ecd9ac;
  text-transform: uppercase; margin-top: 2px;
}

/* ============================================================
   DATE BANNER + ADDRESS CARDS
   ============================================================ */
.date-banner {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(233,199,102,.28), transparent 60%),
    linear-gradient(90deg, #5c0c0e, #9c2222 50%, #5c0c0e);
  border: 3px solid var(--gold-light);
  border-radius: var(--radius);
  color: var(--gold-pale); text-align: center;
  padding: 22px 18px;
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(92,12,14,.9), inset 0 0 34px rgba(0,0,0,.4);
  position: relative; overflow: hidden;
}
.date-banner::before, .date-banner::after {
  content: "✦"; position: absolute; top: 50%; transform: translateY(-50%);
  color: var(--gold-light); font-size: 26px; opacity: .8;
}
.date-banner::before { left: 18px; }
.date-banner::after { right: 18px; }
.date-banner .big {
  font-family: var(--font-en); font-weight: 900; letter-spacing: 8px;
  font-size: clamp(30px, 6vw, 52px); color: #fff;
  text-shadow: 0 3px 10px rgba(0,0,0,.6), 0 0 26px rgba(233,199,102,.5);
}
.date-banner .lbl {
  font-family: var(--font-gu); font-weight: 900;
  font-size: clamp(14px, 2.4vw, 20px);
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.addr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); gap: 22px; }
.addr-card { text-align: center; padding-top: 52px !important; }
.addr-card .name {
  font-family: var(--font-gu); font-weight: 900; color: var(--maroon);
  font-size: clamp(17px, 2.7vw, 23px); margin-bottom: 10px;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}
.addr-card .body {
  font-family: var(--font-gu); font-weight: 700; color: var(--ink);
  font-size: clamp(13.5px, 1.9vw, 16px); line-height: 2;
}
.addr-card .ph {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px; font-family: var(--font-ui); font-weight: 800;
  color: var(--white); background: var(--maroon-grad);
  padding: 7px 22px; border-radius: 999px;
  font-size: clamp(14px, 1.9vw, 16px); letter-spacing: 1px;
  border: 2px solid var(--gold-light);
  box-shadow: 0 5px 14px rgba(123,17,19,.4), inset 0 1px 0 rgba(255,255,255,.3);
  text-decoration: none; transition: transform .15s ease;
}
.addr-card .ph:hover { transform: translateY(-2px) scale(1.03); }

/* ============================================================
   REFUND CALLOUT
   ============================================================ */
.refund {
  display: flex; gap: 18px; align-items: center; justify-content: center; flex-wrap: wrap;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255,255,255,.7), transparent 55%),
    linear-gradient(180deg, #fff7df, #f3e0a1);
  border: 3px double var(--gold);
  border-radius: var(--radius);
  padding: 24px 26px; text-align: center;
  box-shadow: var(--shadow-soft), inset 0 0 26px rgba(201,162,39,.25);
  position: relative;
}
.refund::before, .refund::after {
  content: "🪙"; position: absolute; font-size: 30px; opacity: .35;
  top: 50%; transform: translateY(-50%);
}
.refund::before { left: 12px; }
.refund::after { right: 12px; }
.refund .ic { font-size: clamp(34px, 5vw, 48px); filter: drop-shadow(0 4px 8px rgba(0,0,0,.25)); }
.refund .t1 {
  font-family: var(--font-gu); font-weight: 900; color: var(--maroon);
  font-size: clamp(16px, 2.8vw, 23px); text-shadow: 0 1px 0 rgba(255,255,255,.7);
}
.refund .t2 { font-family: var(--font-ui); font-weight: 600; color: var(--ink-soft); font-size: clamp(12.5px, 1.8vw, 15px); max-width: 660px; }

/* ============================================================
   BUTTONS — ornate, layered, shine sweep
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-gu); font-weight: 900; cursor: pointer;
  border-radius: 12px; text-decoration: none;
  border: 2.5px solid var(--gold-light);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
  padding: 15px 36px;
  font-size: clamp(15px, 2.4vw, 19px);
  background: linear-gradient(180deg, #e04a3a 0%, #c0271f 48%, #7b1113 100%);
  color: #fff;
  box-shadow:
    0 0 0 2.5px #5c0c0e,
    inset 0 2px 0 rgba(255,255,255,.4),
    inset 0 -4px 0 rgba(0,0,0,.28),
    0 10px 22px rgba(123,17,19,.42);
  text-shadow: 0 2px 3px rgba(0,0,0,.45);
  overflow: hidden;
}
/* gold corner studs */
.btn::before {
  content: ""; position: absolute; inset: 4px; pointer-events: none;
  background-image:
    radial-gradient(circle at 0 0, var(--gold-light) 2.5px, transparent 3px),
    radial-gradient(circle at 100% 0, var(--gold-light) 2.5px, transparent 3px),
    radial-gradient(circle at 0 100%, var(--gold-light) 2.5px, transparent 3px),
    radial-gradient(circle at 100% 100%, var(--gold-light) 2.5px, transparent 3px);
}
/* shine sweep */
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%;
  width: 45%; pointer-events: none;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.5) 50%, transparent 80%);
  transform: skewX(-18deg);
  transition: left .45s ease;
}
.btn:hover::after { left: 120%; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 0 0 2.5px #5c0c0e, inset 0 2px 0 rgba(255,255,255,.4), inset 0 -4px 0 rgba(0,0,0,.28), 0 16px 30px rgba(123,17,19,.5); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; filter: none; }
.btn .en-part { font-family: var(--font-en); font-weight: 700; letter-spacing: 2.5px; font-size: .8em; }

.btn-gold {
  background: linear-gradient(180deg, #fdf0c0 0%, #e9c766 40%, #c9a227 100%);
  color: var(--maroon-deep);
  border-color: #fff6dd;
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
  box-shadow:
    0 0 0 2.5px #7d5a10,
    inset 0 2px 0 rgba(255,255,255,.75),
    inset 0 -4px 0 rgba(125,90,16,.4),
    0 10px 22px rgba(201,162,39,.4);
}
.btn-gold::before {
  background-image:
    radial-gradient(circle at 0 0, var(--maroon) 2.5px, transparent 3px),
    radial-gradient(circle at 100% 0, var(--maroon) 2.5px, transparent 3px),
    radial-gradient(circle at 0 100%, var(--maroon) 2.5px, transparent 3px),
    radial-gradient(circle at 100% 100%, var(--maroon) 2.5px, transparent 3px);
}
.btn-ghost {
  background: linear-gradient(180deg, #fffdf6, #f2e4c2);
  color: var(--maroon); border: 2.5px solid var(--maroon);
  text-shadow: none;
  box-shadow: 0 0 0 2.5px rgba(201,162,39,.55), inset 0 2px 0 #fff, 0 6px 14px rgba(59,36,18,.18);
}
.btn-ghost::before { background-image: none; }
.btn-lg { padding: 19px 50px; font-size: clamp(17px, 3vw, 24px); border-radius: 15px; }
.btn-block { width: 100%; }

/* ============================================================
   CTA + FOOTER
   ============================================================ */
.cta { text-align: center; padding: 46px 0 54px; }
.cta .hint {
  font-family: var(--font-gu); color: var(--ink-soft); font-weight: 700;
  margin-top: 16px; font-size: clamp(13px, 1.9vw, 16px); line-height: 1.9;
}
.cta .hint .en { font-style: italic; font-weight: 500; font-family: var(--font-ui); }

.footer {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,162,39,.25), transparent 55%),
    linear-gradient(180deg, #7b1113, #4d090b);
  color: #e9d9b4;
  border-top: 5px solid var(--gold);
  padding: 34px 16px 36px; text-align: center; font-size: 14.5px;
  position: relative;
}
/* temple rail pattern */
.footer::before {
  content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='22' viewBox='0 0 48 22'%3E%3Cg fill='none' stroke='%23c9a227' stroke-width='2'%3E%3Cpath d='M0 16 Q12 2 24 16 Q36 2 48 16'/%3E%3Ccircle cx='24' cy='17' r='3' fill='%23c9a227' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x; background-position: center; opacity: .8;
}
.footer .fname {
  font-family: var(--font-gu); font-weight: 900;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: clamp(17px, 2.6vw, 22px); margin-top: 10px;
}
.footer a { color: var(--gold-pale); text-decoration: none; font-weight: 700; }
.footer a:hover { text-decoration: underline; }
.footer .credit { font-size: 11.5px; color: #cbb586; margin-top: 12px; opacity: .85; }

/* ============================================================
   FORM PAGE
   ============================================================ */
.form-top {
  background:
    radial-gradient(ellipse at 50% -30%, rgba(233,199,102,.35), transparent 60%),
    linear-gradient(180deg, #641013, #7b1113 65%, #5c0c0e);
  border-bottom: 4px solid var(--gold);
  color: var(--white);
  padding: 22px 96px; text-align: center;
  position: relative;
  box-shadow: 0 4px 14px rgba(92,12,14,.45);
}
.form-top::before, .form-top::after {
  content: ""; position: absolute; top: -4px;
  width: 46px; height: 106px;
  background: url("../img/bell.svg") no-repeat center top / contain;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.4));
  transform-origin: top center;
  animation: bellSwing 5.5s ease-in-out infinite;
  pointer-events: none;
}
.form-top::before { left: 14px; }
.form-top::after { right: 14px; animation-delay: -2.4s; }
.form-top .t {
  font-family: var(--font-gu); font-weight: 900;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: clamp(20px, 3.6vw, 30px);
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.55));
}
.form-top .s {
  font-family: var(--font-en); letter-spacing: 4px;
  font-size: clamp(10px, 1.6vw, 13px); color: #ecd9ac;
  text-transform: uppercase; margin-top: 3px;
}

/* Stepper */
.stepper { display: flex; justify-content: center; gap: 0; margin: 30px 0 10px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 9px; color: var(--ink-soft); font-weight: 700; font-size: clamp(12px, 1.8vw, 15px); }
.step .n {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #fffdf6, #efe1bf);
  color: var(--ink-soft);
  border: 2.5px solid var(--gold);
  box-shadow: inset 0 1px 0 #fff, 0 3px 8px rgba(59,36,18,.15);
  font-family: var(--font-en); font-weight: 700; font-size: 16px;
}
.step.active { color: var(--maroon); font-weight: 900; }
.step.active .n {
  background: linear-gradient(180deg, #e04a3a, #7b1113);
  color: #fff; border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(123,17,19,.25), 0 6px 14px rgba(123,17,19,.4);
}
.step.done .n { background: linear-gradient(180deg, #2e9e57, #1f6b3a); color: #fff; border-color: var(--gold-light); }
.step .line {
  width: clamp(30px, 6vw, 74px); height: 4px; margin: 0 12px;
  background: var(--gold-line);
  border-radius: 2px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
}

/* Form fields */
.form-card { max-width: 800px; margin: 0 auto; padding-top: 54px !important; }
.field { margin-bottom: 20px; }
.field label {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  font-family: var(--font-gu); font-weight: 900; color: var(--maroon);
  font-size: clamp(14px, 2vw, 16.5px); margin-bottom: 7px;
}
.field label::before {
  content: "◆"; color: var(--gold); font-size: .7em;
  text-shadow: 0 1px 1px rgba(0,0,0,.25);
}
.field label .req { color: var(--red); }
.field label .sub {
  font-family: var(--font-ui); font-weight: 600; font-style: italic;
  color: var(--ink-soft); font-size: 12.5px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; font-size: 16px; font-family: var(--font-ui);
  color: var(--ink);
  background: linear-gradient(180deg, #fffef9, #fdf6e6);
  border: 2px solid var(--parchment-dark);
  border-radius: 11px;
  box-shadow: inset 0 2px 5px rgba(59,36,18,.10);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: #a89478; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  box-shadow: inset 0 2px 5px rgba(59,36,18,.08), 0 0 0 4px rgba(201,162,39,.28);
}
.field textarea { min-height: 100px; resize: vertical; }
.field .err {
  color: var(--red); font-size: 13.5px; font-weight: 700; margin-top: 5px; display: none;
  font-family: var(--font-gu);
}
.field.invalid input, .field.invalid select, .field.invalid textarea {
  border-color: var(--red);
  box-shadow: inset 0 2px 5px rgba(192,39,31,.12), 0 0 0 4px rgba(192,39,31,.18);
}
.field.invalid .err { display: block; }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
@media (max-width: 660px) { .row-2, .row-3 { grid-template-columns: 1fr; } }

.form-nav { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.form-nav .btn { flex: 1; min-width: 160px; }

/* Review list */
.review { display: grid; gap: 11px; }
.review .r {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  background: linear-gradient(180deg, #fffef9, #f7edd4);
  border: 1.5px solid var(--parchment-dark);
  border-left: 4px solid var(--gold);
  border-radius: 10px; padding: 12px 16px;
  box-shadow: inset 0 1px 0 #fff;
}
.review .k { font-family: var(--font-gu); font-weight: 900; color: var(--maroon); font-size: 14.5px; flex-shrink: 0; }
.review .v { font-weight: 700; color: var(--ink); text-align: right; font-size: 14.5px; word-break: break-word; }

/* Terms accept */
.accept {
  display: flex; gap: 14px; align-items: flex-start;
  background: linear-gradient(180deg, #fff7df, #f6e9bf);
  border: 2.5px dashed var(--gold);
  border-radius: 12px; padding: 17px 19px; margin-top: 22px;
  box-shadow: inset 0 0 18px rgba(201,162,39,.18);
}
.accept input { width: 23px; height: 23px; margin-top: 2px; accent-color: var(--maroon); flex-shrink: 0; }
.accept label { font-family: var(--font-gu); font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1.75; }

/* Payment summary */
.pay-box { text-align: center; }
.pay-amount {
  font-family: var(--font-en); font-weight: 900;
  font-size: clamp(48px, 9vw, 78px); line-height: 1.1;
  background: linear-gradient(180deg, #b02a2a, #7b1113 60%, #5c0c0e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 10px rgba(123,17,19,.35));
}
.pay-amount .rs { font-size: .5em; vertical-align: super; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: none; }
.pay-lbl { font-family: var(--font-gu); font-weight: 800; color: var(--ink-soft); font-size: 15.5px; }
.pay-lines { text-align: left; margin: 24px auto 0; max-width: 470px; display: grid; gap: 9px; }
.pay-lines .pl {
  display: flex; justify-content: space-between; font-size: 15px; font-weight: 700;
  color: var(--ink); border-bottom: 2px dashed var(--parchment-dark); padding-bottom: 8px;
}
.pay-lines .pl.total {
  border-bottom: none; color: var(--maroon); font-weight: 900; font-size: 17.5px;
  padding-top: 8px; border-top: 3px double var(--gold);
}
#formNoBox .form-no-chip { margin-top: 20px; }

/* ============================================================
   RETURN / CONFIRMATION
   ============================================================ */
.confirm-wrap { max-width: 700px; margin: 0 auto; text-align: center; }
.status-card { padding: 40px 28px !important; padding-top: 56px !important; }
.status-ic {
  width: 100px; height: 100px; margin: 0 auto 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 48px;
  border: 4px solid var(--gold-light);
  box-shadow: 0 0 0 4px rgba(123,17,19,.55), var(--shadow-soft);
  position: relative;
}
.status-ic::after {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 2px dashed rgba(201,162,39,.7);
  animation: spinSlow 22s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.status-ic.ok { background: linear-gradient(180deg, #37b469, #1f6b3a); color: #fff; }
.status-ic.wait { background: linear-gradient(180deg, #f6e6b4, #c9a227); color: var(--maroon-deep); animation: pulse 1.7s infinite; }
.status-ic.bad { background: linear-gradient(180deg, #e04a3a, #a01812); color: #fff; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.055); } }

.status-card h1 {
  font-family: var(--font-gu); font-weight: 900; color: var(--maroon);
  font-size: clamp(22px, 4vw, 33px); text-shadow: 0 1px 0 rgba(255,255,255,.7);
}
.status-card .en-h {
  font-family: var(--font-en); letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold-mid); font-size: clamp(11px, 1.7vw, 14px); margin-top: 5px; font-weight: 700;
}
.status-card p.desc {
  font-family: var(--font-gu); font-weight: 700; color: var(--ink);
  font-size: clamp(14px, 2.1vw, 16.5px); margin-top: 16px; line-height: 1.95;
}

.form-no-chip {
  display: inline-block; margin-top: 20px; padding: 12px 32px;
  background: linear-gradient(180deg, #9c2222, #5c0c0e);
  color: var(--gold-pale);
  border: 3px solid var(--gold-light);
  border-radius: 12px;
  font-family: var(--font-en); font-weight: 900; letter-spacing: 4px;
  font-size: clamp(18px, 3.4vw, 27px);
  box-shadow: 0 0 0 3px rgba(92,12,14,.85), var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,.25);
  position: relative;
}
.form-no-chip .lbl {
  display: block; font-family: var(--font-gu); font-size: 11.5px;
  letter-spacing: 2px; color: #e9d9b4; font-weight: 700; margin-bottom: 2px;
}

.detail-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 13px; margin-top: 24px; text-align: left;
}
.detail-grid .d {
  background: linear-gradient(180deg, #fffef9, #f7edd4);
  border: 1.5px solid var(--parchment-dark);
  border-left: 4px solid var(--gold);
  border-radius: 10px; padding: 11px 15px;
  box-shadow: inset 0 1px 0 #fff;
}
.detail-grid .d .k { font-family: var(--font-gu); font-weight: 900; color: var(--maroon); font-size: 12.5px; }
.detail-grid .d .v { font-weight: 800; color: var(--ink); font-size: 15.5px; word-break: break-word; }
.detail-grid .d .v.paid { color: var(--green); }
.detail-grid .d .v.pending { color: #b07d10; }

.conf-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-bar {
  background:
    radial-gradient(ellipse at 20% -40%, rgba(233,199,102,.3), transparent 55%),
    linear-gradient(180deg, #641013, #7b1113);
  border-bottom: 4px solid var(--gold);
  color: #fff;
  padding: 15px 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  box-shadow: 0 4px 14px rgba(92,12,14,.4);
}
.admin-bar .brand {
  font-family: var(--font-gu); font-weight: 900;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: 19px;
}
.admin-bar .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-bar .btn { padding: 9px 18px; font-size: 13.5px; border-radius: 9px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 18px; margin: 26px 0; }
.stat {
  background: linear-gradient(180deg, #fffdf6, #f2e4c2);
  border: 2.5px solid var(--gold); border-radius: var(--radius);
  padding: 18px 14px; text-align: center;
  box-shadow: var(--shadow-soft), inset 0 0 0 1.5px rgba(123,17,19,.3);
  position: relative; overflow: hidden;
}
.stat::before {
  content: "✦"; position: absolute; top: 6px; right: 10px;
  color: var(--gold); opacity: .6; font-size: 14px;
}
.stat .num {
  font-family: var(--font-en); font-weight: 900;
  font-size: clamp(30px, 5vw, 42px); line-height: 1.1;
  background: linear-gradient(180deg, #b02a2a, #7b1113);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .lbl { font-family: var(--font-gu); font-weight: 800; color: var(--ink-soft); font-size: 13.5px; margin-top: 5px; }
.stat.paid .num { background: linear-gradient(180deg, #37b469, #1f6b3a); -webkit-background-clip: text; background-clip: text; }
.stat.pending .num { background: linear-gradient(180deg, #e8b93c, #a87b12); -webkit-background-clip: text; background-clip: text; }
.stat.failed .num { background: linear-gradient(180deg, #e04a3a, #a01812); -webkit-background-clip: text; background-clip: text; }

.toolbar { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar input, .toolbar select {
  padding: 11px 15px; border: 2px solid var(--parchment-dark); border-radius: 10px;
  font-size: 15px; background: linear-gradient(180deg,#fffef9,#fdf6e6); color: var(--ink);
  outline: none; box-shadow: inset 0 2px 4px rgba(59,36,18,.08);
}
.toolbar input { flex: 1; min-width: 230px; }
.toolbar input:focus, .toolbar select:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,39,.25); }

.table-wrap {
  overflow-x: auto;
  border: 2.5px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft), inset 0 0 0 1.5px rgba(123,17,19,.35);
  background: var(--white);
}
table.forms { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 920px; }
table.forms th {
  background: linear-gradient(180deg, #9c2222, #5c0c0e);
  color: var(--gold-pale);
  font-family: var(--font-gu); font-weight: 900; text-align: left;
  padding: 12px 13px; white-space: nowrap;
  border-bottom: 3px solid var(--gold);
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
}
table.forms td { padding: 11px 13px; border-bottom: 1px solid var(--parchment-dark); vertical-align: top; }
table.forms tr:nth-child(even) td { background: #fdf8ea; }
table.forms tr:hover td { background: #fbf0d4; }
table.forms .fno { font-family: var(--font-en); font-weight: 700; color: var(--maroon); white-space: nowrap; }
table.forms .nm { font-weight: 800; }
table.forms .mut { color: var(--ink-soft); font-size: 12.5px; }

.badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .5px; white-space: nowrap;
  border: 1.5px solid rgba(0,0,0,.16); text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
.badge.paid, .badge.paid_manual { background: linear-gradient(180deg,#d9f2e3,#bfe8cf); color: #14663a; border-color: #7bc99b; }
.badge.pending, .badge.awaiting_payment { background: linear-gradient(180deg,#fdf0d0,#f7e3ac); color: #8a6108; border-color: #e3c56a; }
.badge.utr_submitted { background: linear-gradient(180deg,#dbe9fb,#c6dcf7); color: #1a4f8a; border-color: #8fb7e8; }
.badge.failed, .badge.expired, .badge.cancelled { background: linear-gradient(180deg,#fbe0de,#f6c9c5); color: #9c1f18; border-color: #e8a09a; }

.mini-btn {
  padding: 6px 12px; font-size: 12px; font-weight: 800; border-radius: 8px; cursor: pointer;
  border: 1.5px solid var(--maroon); background: linear-gradient(180deg,#fffdf6,#f2e4c2);
  color: var(--maroon); font-family: var(--font-ui);
  margin: 2px 4px 2px 0; transition: all .14s ease;
  box-shadow: 0 2px 5px rgba(59,36,18,.15);
}
.mini-btn:hover { background: var(--maroon); color: #fff; transform: translateY(-1px); }
.mini-btn.go { border-color: var(--green); color: var(--green); }
.mini-btn.go:hover { background: var(--green); color: #fff; }

/* Login */
.login-wrap { min-height: 72vh; display: flex; align-items: center; justify-content: center; padding: 34px 16px; }
.login-card { width: min(430px, 94%); text-align: center; padding-top: 56px !important; }
.login-card .ic { font-size: 48px; }
.login-card h1 {
  font-family: var(--font-gu); font-weight: 900; color: var(--maroon);
  font-size: 25px; margin: 10px 0 2px; text-shadow: 0 1px 0 rgba(255,255,255,.7);
}
.login-card .sub {
  font-family: var(--font-en); letter-spacing: 4px; font-size: 12px;
  color: var(--gold-mid); text-transform: uppercase; margin-bottom: 20px; font-weight: 700;
}
.form-err {
  background: linear-gradient(180deg,#fbe0de,#f6c9c5); color: #9c1f18;
  border: 1.5px solid #e8a09a; border-radius: 9px; padding: 10px 13px;
  font-size: 13.5px; font-weight: 700; margin-bottom: 15px; display: none;
}

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(90px);
  background: linear-gradient(180deg, #7b1113, #4d090b);
  color: var(--gold-pale); border: 2px solid var(--gold);
  padding: 13px 24px; border-radius: 12px; font-weight: 700; font-size: 14.5px;
  box-shadow: var(--shadow), 0 0 0 3px rgba(92,12,14,.6);
  opacity: 0; transition: all .3s ease; z-index: 1001; max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Spinner */
.spinner {
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 16px;
  border: 5px solid var(--parchment-dark);
  border-top-color: var(--maroon); border-right-color: var(--gold);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  body { background: #fff; }
  body::after { display: none; }
  .shloka-bar, .footer, .conf-actions, .no-print, .stepper { display: none !important; }
  .card { box-shadow: none; break-inside: avoid; }
  .form-no-chip { box-shadow: none; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .shloka-bar::before, .shloka-bar::after, .form-top::before, .form-top::after,
  .hero-flag, .hero-emblem, .fee-seal, .status-ic::after { animation: none; }
}
