:root {
  --bg: #fff9fd;
  --panel: #ffffff;
  --primary: #ff5fa2;
  --primary-strong: #ff2c8a;
  --accent: #ffd166;
  --text: #1b1525;
  --muted: #6f6178;
  --border: #f1e5f5;
  --shadow: 0 12px 50px rgba(41, 14, 53, 0.08);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
}

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

body {
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  background: radial-gradient(circle at 20% 20%, #fff2fb 0, #fff9fd 35%, #f7fbff 70%);
  margin: 0;
  padding: 0;
  color: var(--text);
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page {
  padding: 32px 24px 80px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 22px;
  margin: 12px auto 22px;
  max-width: calc(var(--max-width) + 120px);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

.brand {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: 22px;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, #ffc3e5 100%);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 10px 25px rgba(255, 95, 162, 0.35);
}


.nav {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  transition: all 0.15s ease;
}

.nav a:hover {
  background: #fff;
  color: var(--text);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  border: none;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #fff;
  box-shadow: 0 18px 30px rgba(255, 95, 162, 0.3);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn.secondary {
  background: #141124;
  color: #fff;
  box-shadow: 0 18px 30px rgba(20, 17, 36, 0.25);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn.ghost.danger {
  color: #a11d2f;
  border-color: #f2c0c8;
  background: #fff0f2;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 36px rgba(255, 95, 162, 0.35);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  align-items: center;
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff5fc;
  color: var(--primary-strong);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: clamp(32px, 6vw, 50px);
  line-height: 1.05;
  margin: 10px 0 14px;
}

.lede {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 20px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f6f0ff;
  color: var(--text);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.image-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, #fff0f8 0%, #f1f6ff 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 220px;
}

.image-card.is-empty::after {
  content: 'Awaiting upload';
  position: absolute;
  inset: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 95, 162, 0.08),
    rgba(255, 95, 162, 0.08) 12px,
    rgba(241, 246, 255, 0.8) 12px,
    rgba(241, 246, 255, 0.8) 24px
  );
  border-radius: calc(var(--radius-md) - 12px);
}

.image-card.not-available::after {
  content: 'Not Available';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.82);
  color: #111;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  font-weight: 700;
  font-size: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.section {
  margin-top: 42px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.section-header .actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-title {
  font-size: 28px;
  margin: 0;
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.story-card {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.story-card h3 {
  margin-top: 4px;
  margin-bottom: 8px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.cta-band {
  margin-top: 48px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(120deg, #141124 0%, #2d213f 100%);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  box-shadow: 0 24px 48px rgba(20, 17, 36, 0.3);
}

.cta-band .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

footer {
  margin-top: 36px;
  padding: 28px 22px 48px;
  background: #0f0c1a;
  color: #d4cce6;
}

footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

footer a {
  color: #ffe4f3;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
}

.lightbox img {
  max-width: min(95vw, 900px);
  max-height: 85vh;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  background: #000;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #1b1525;
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

/* Admin */
.admin-hero {
  text-align: center;
  margin-bottom: 20px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 22px;
}

.login-form {
  display: grid;
  gap: 14px;
  max-width: 460px;
  margin: 0 auto;
}

.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.field input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 15px;
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
}

.contact-form {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 520px;
}

.contact-form textarea {
  resize: vertical;
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.upload-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  background: linear-gradient(160deg, #fff8ff 0%, #f4f8ff 100%);
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

.upload-card .preview {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px dashed #e4d9ef;
  background: #fff;
}

.preview-wrap {
  position: relative;
}

.na-flag {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.8);
  color: #111;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid #ccc;
  font-size: 14px;
}

.upload-card .meta {
  font-size: 13px;
  color: var(--muted);
}

.upload-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.status {
  font-size: 13px;
  color: var(--muted);
}

.hidden {
  display: none !important;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3edff;
  font-weight: 700;
  color: var(--text);
}

.tab-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.tab-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(255, 95, 162, 0.3);
  border-color: transparent;
}

.text-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.text-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

.text-card label {
  font-weight: 700;
}

.text-card textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 10px 12px;
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
}

/* Pricing */
.pricing-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.price-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: linear-gradient(140deg, #fff7fe 0%, #f7fbff 100%);
  box-shadow: var(--shadow);
}

.price-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.price {
  font-size: 24px;
  font-weight: 800;
  margin: 6px 0;
}

.price-note {
  color: var(--muted);
  font-size: 13px;
}

.list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.list li {
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.list li::before {
  content: '*';
  color: var(--primary);
  font-size: 12px;
}

/* Payments */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.payment-card {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: linear-gradient(150deg, #f9f4ff 0%, #f8fbff 100%);
  box-shadow: var(--shadow);
}

.qr-box {
  margin-top: 10px;
  height: 180px;
  border: 1px dashed #d8cfee;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
  background: #fff;
}

/* Admin lock overlay */
#admin-section {
  position: relative;
}

.ui-lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 26, 42, 0.45);
  backdrop-filter: blur(2px);
  z-index: 20;
}

.ui-lock.hidden {
  display: none;
}

.lock-box {
  background: #ffffff;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0d1a2a;
  font-weight: 700;
}

.lock-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid #dce4f2;
  border-top-color: #ff5fa2;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 720px) {
  .page {
    padding: 26px 18px 64px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 20px;
  }

  .hero {
    padding: 24px;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 24px;
  }

  .pricing-hero {
    padding: 24px;
  }
}

@media (max-width: 540px) {
  .page {
    padding: 22px 14px 56px;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 42px);
  }

  .hero {
    padding: 18px;
    gap: 18px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .cta-band {
    padding: 20px;
  }

  .topbar {
    gap: 10px;
  }
}
