/* Shreeshta Family Store – Luxury retail coupon UI */
:root {
  --maroon: #7A0026;
  --burgundy: #5B001D;
  --gold: #D6A53A;
  --light-gold: #F4D47A;
  --ivory: #FFF9ED;
  --white: #FFFFFF;
  --dark: #2B1A1E;
  --muted: #6B4E55;
  --success: #1F6B3A;
  --danger: #9B1C1C;
  --border-gold: rgba(214, 165, 58, 0.55);
  --shadow: 0 18px 50px rgba(43, 26, 30, 0.12);
  --radius: 18px;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: Inter, "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--dark);
  background:
    radial-gradient(ellipse at top, rgba(244, 212, 122, 0.22), transparent 55%),
    linear-gradient(180deg, #FFF9ED 0%, #FFF6E4 40%, #F8EED8 100%);
  line-height: 1.55;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cpath d='M0 80h160M80 0v160' stroke='%237A0026' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  z-index: 0;
}

a { color: var(--maroon); text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  padding: 1.1rem 0 0.4rem;
}

.brand-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
}

.brand-ornament {
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0.35rem 0 0.55rem;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 4.5vw, 2.35rem);
  color: var(--maroon);
  letter-spacing: 0.02em;
  margin: 0;
  font-weight: 700;
}

.brand-loc {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-sub {
  margin: 0.15rem 0 0;
  color: var(--gold);
  font-size: 0.85rem;
  font-style: italic;
  font-family: var(--font-serif);
}

/* Hero */
.hero {
  padding: 1.5rem 0 2rem;
}

.hero-panel {
  background:
    linear-gradient(145deg, rgba(122, 0, 38, 0.96), rgba(91, 0, 29, 0.98)),
    var(--burgundy);
  color: var(--ivory);
  border-radius: 28px;
  padding: clamp(1.6rem, 4vw, 2.8rem);
  box-shadow: var(--shadow);
  border: 1px solid rgba(244, 212, 122, 0.35);
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(214, 165, 58, 0.35);
  border-radius: 20px;
  pointer-events: none;
}

.hero-kicker {
  display: inline-block;
  color: var(--light-gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-bottom: 0.85rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 6vw, 3rem);
  line-height: 1.15;
  margin: 0 0 0.85rem;
  font-weight: 700;
}

.hero-lead {
  margin: 0 0 1.4rem;
  max-width: 36rem;
  color: rgba(255, 249, 237, 0.88);
  font-size: 1.02rem;
}

.offer-card {
  background: linear-gradient(180deg, rgba(255, 249, 237, 0.14), rgba(255, 249, 237, 0.06));
  border: 1px solid rgba(244, 212, 122, 0.45);
  border-radius: 18px;
  padding: 1.15rem 1.2rem;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(2px);
}

.offer-card .off {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 7vw, 2.8rem);
  color: var(--light-gold);
  margin: 0;
  line-height: 1;
}

.offer-card .min {
  margin: 0.35rem 0 0.9rem;
  color: var(--ivory);
}

.perk-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.perk-list li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: rgba(255, 249, 237, 0.9);
}

.perk-list li::before {
  content: "◆";
  color: var(--gold);
  font-size: 0.65rem;
  margin-top: 0.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.95rem 1.45rem;
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
}

.btn:active { transform: scale(0.98); }

.btn-gold {
  background: linear-gradient(180deg, var(--light-gold), var(--gold));
  color: var(--burgundy);
  box-shadow: 0 10px 28px rgba(214, 165, 58, 0.35);
}

.btn-gold:hover { box-shadow: 0 14px 34px rgba(214, 165, 58, 0.45); }

.btn-outline {
  background: transparent;
  color: var(--maroon);
  border: 1.5px solid var(--gold);
}

.btn-maroon {
  background: linear-gradient(180deg, var(--maroon), var(--burgundy));
  color: var(--ivory);
}

.btn-block { width: 100%; }

.hero-cta { margin-top: 0.35rem; }

/* Sections */
.section {
  padding: 2.4rem 0;
}

.section-title {
  font-family: var(--font-serif);
  color: var(--maroon);
  font-size: clamp(1.55rem, 4vw, 2.1rem);
  margin: 0 0 0.4rem;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 1.6rem;
  max-width: 34rem;
}

.ornament-line {
  width: 64px;
  height: 2px;
  margin: 0 auto 1.4rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Form */
.form-shell {
  background: var(--white);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .form-grid.two { grid-template-columns: 1fr 1fr; }
}

.label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1.5px solid rgba(122, 0, 38, 0.18);
  background: #FFFCF6;
  border-radius: 14px;
  padding: 0.95rem 1rem;
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 52px;
}

.input:focus,
.select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(214, 165, 58, 0.18);
}

.field-error {
  color: var(--danger);
  font-size: 0.82rem;
  margin-top: 0.3rem;
}

.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.4rem 0 0.8rem;
}

.consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--maroon);
}

.alert {
  border-radius: 14px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.94rem;
}

.alert-error {
  background: #FDECEC;
  color: var(--danger);
  border: 1px solid #F3C1C1;
}

.alert-ok {
  background: #EAF7EF;
  color: var(--success);
  border: 1px solid #BFE3CB;
}

.alert-info {
  background: #FFF7E6;
  color: #7A5A12;
  border: 1px solid #F0D79A;
}

/* Benefit / feature grids */
.feature-grid,
.highlight-grid,
.chip-grid {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .chip-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .highlight-grid { grid-template-columns: repeat(3, 1fr); }
  .chip-grid { grid-template-columns: repeat(4, 1fr); }
}

.feature-card,
.highlight-card,
.chip {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 1.15rem 1rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(43, 26, 30, 0.05);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.7rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(244, 212, 122, 0.45), rgba(214, 165, 58, 0.2));
  color: var(--maroon);
  border: 1px solid rgba(214, 165, 58, 0.4);
}

.feature-card h3,
.highlight-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--maroon);
}

.feature-card p,
.highlight-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.chip {
  font-weight: 600;
  color: var(--burgundy);
  padding: 0.95rem 0.75rem;
}

.chip span {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
}

/* Location */
.location-card {
  background: var(--white);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.location-actions {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

@media (min-width: 640px) {
  .location-actions { grid-template-columns: repeat(3, 1fr); }
}

.footer {
  padding: 2rem 0 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer a { color: var(--maroon); font-weight: 600; }

.legal-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

/* Success / voucher */
.voucher-card {
  background:
    linear-gradient(160deg, var(--maroon), var(--burgundy));
  color: var(--ivory);
  border-radius: 24px;
  padding: 1.5rem;
  border: 1px solid rgba(244, 212, 122, 0.45);
  box-shadow: var(--shadow);
  position: relative;
}

.voucher-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(214, 165, 58, 0.4);
  border-radius: 18px;
  pointer-events: none;
}

.voucher-inner { position: relative; z-index: 1; text-align: center; }

.voucher-code {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 5vw, 2rem);
  letter-spacing: 0.08em;
  color: var(--light-gold);
  margin: 0.6rem 0;
}

.voucher-meta {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.voucher-qr {
  width: 180px;
  height: 180px;
  margin: 1rem auto;
  background: #fff;
  border-radius: 14px;
  padding: 10px;
}

.actions-row {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

@media (min-width: 640px) {
  .actions-row { grid-template-columns: repeat(2, 1fr); }
}

/* Highlighted Take Screenshot CTA */
.screenshot-cta {
  text-align: center;
  margin: 0 0 1.15rem;
  padding: 1rem 0.85rem 1.1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(244, 212, 122, 0.35), rgba(214, 165, 58, 0.12));
  border: 2px solid var(--gold);
  box-shadow: 0 12px 36px rgba(214, 165, 58, 0.28);
}

.screenshot-hint {
  margin: 0 0 0.65rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--burgundy);
  font-weight: 700;
}

.btn-screenshot {
  width: 100%;
  min-height: 56px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #9A1638, var(--maroon) 40%, var(--burgundy));
  box-shadow:
    0 0 0 3px rgba(244, 212, 122, 0.55),
    0 14px 34px rgba(122, 0, 38, 0.4);
  animation: screenshotPulse 1.8s ease-in-out infinite;
}

.btn-screenshot.is-active,
.btn-screenshot:hover {
  background: linear-gradient(180deg, var(--gold), #C4922E);
  color: var(--burgundy);
  animation: none;
}

.screenshot-help {
  margin: 0.7rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.screenshot-help.is-on {
  color: var(--burgundy);
  font-weight: 600;
}

.voucher-card.screenshot-focus {
  outline: 3px solid var(--light-gold);
  outline-offset: 6px;
  box-shadow: 0 0 0 8px rgba(244, 212, 122, 0.35), var(--shadow);
}

.secondary-actions .btn {
  opacity: 0.92;
}

@keyframes screenshotPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 0 3px rgba(244, 212, 122, 0.45),
      0 14px 34px rgba(122, 0, 38, 0.35);
  }
  50% {
    transform: scale(1.02);
    box-shadow:
      0 0 0 6px rgba(244, 212, 122, 0.65),
      0 18px 42px rgba(122, 0, 38, 0.5);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-screenshot { animation: none; }
}

/* Staff */
.staff-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.staff-card {
  width: min(480px, 100%);
  background: var(--white);
  border: 1px solid var(--border-gold);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.staff-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
}

.status-valid { background: #E8F7EE; color: var(--success); }
.status-expired { background: #FDECEC; color: var(--danger); }
.status-redeemed { background: #FFF4DF; color: #8A5A00; }
.status-invalid { background: #F3F3F3; color: #555; }
.status-blocked { background: #FDECEC; color: var(--danger); }

.result-box {
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 1rem;
  margin-top: 1rem;
  background: #FFFCF6;
}

.result-box dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.35rem 0.75rem;
  margin: 0.8rem 0 0;
  font-size: 0.92rem;
}

.result-box dt { color: var(--muted); }
.result-box dd { margin: 0; font-weight: 600; }

.muted { color: var(--muted); }
.center { text-align: center; }

.fade-up {
  animation: fadeUp 0.55s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media print {
  body { background: white; }
  .no-print { display: none !important; }
  .voucher-card { box-shadow: none; }
}
