:root {
  --rvv-brown: #2b211f;
  --rvv-brown-soft: #433532;
  --rvv-gold: #f3c96b;
  --rvv-gold-deep: #e0b24a;
  --rvv-cream: #f7f1e8;
  --rvv-paper: rgba(255,252,247,.86);
  --rvv-text: #1f1816;
  --rvv-muted: #6f645e;
  --rvv-line: rgba(43,33,31,.08);
  --rvv-radius: 24px;
  --rvv-shadow: 0 18px 50px rgba(43,33,31,.08);
  --rvv-shadow-lg: 0 30px 80px rgba(43,33,31,.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--rvv-text);
  background:
    radial-gradient(1200px 500px at -10% -20%, rgba(243,201,107,.28), transparent 50%),
    radial-gradient(900px 400px at 110% 0%, rgba(43,33,31,.08), transparent 46%),
    var(--rvv-cream);
  letter-spacing: -.01em;
}

h1, h2, h3, h4, .font-display {
  font-family: Fraunces, Georgia, serif;
  letter-spacing: -.03em;
  font-optical-sizing: auto;
}
p, .lead { color: var(--rvv-muted); }
a { color: var(--rvv-brown); }

.navbar-rvv {
  background: rgba(255,252,247,.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--rvv-line);
}
.navbar-rvv .nav-link {
  color: var(--rvv-brown);
  font-weight: 600;
  padding: .55rem .9rem !important;
  border-radius: 999px;
}
.navbar-rvv .nav-link.active,
.navbar-rvv .nav-link:hover { background: rgba(243,201,107,.22); color: #000; }
.navbar-toggler { border: 0; }
.brand-logo { height: 48px; width: auto; }

.btn {
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-rvv, .btn-gold, .btn-outline-rvv {
  border-radius: 999px;
  padding: .8rem 1.45rem;
  font-weight: 700;
  min-height: 48px;
  letter-spacing: -.01em;
}
.btn-rvv {
  background: var(--rvv-brown);
  color: #fff;
  border: 0;
  box-shadow: 0 10px 24px rgba(43,33,31,.22);
}
.btn-rvv:hover { background: var(--rvv-brown-soft); color: #fff; transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(180deg, #ffe7a8, var(--rvv-gold));
  color: var(--rvv-brown);
  border: 0;
  box-shadow: 0 10px 24px rgba(224,178,74,.28);
}
.btn-gold:hover { background: var(--rvv-gold-deep); color: var(--rvv-brown); transform: translateY(-1px); }
.btn-outline-rvv {
  border: 1.5px solid rgba(43,33,31,.18);
  color: var(--rvv-brown);
  background: rgba(255,255,255,.45);
}
.btn-outline-rvv:hover { background: var(--rvv-brown); color: #fff; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(22,16,15,.78) 8%, rgba(22,16,15,.28) 58%),
    url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
}
.hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(transparent, var(--rvv-cream));
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); line-height: .95; color: #fff; }
.hero .love {
  background: linear-gradient(90deg, #ffe7a8, #f3c96b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { color: rgba(255,255,255,.86); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-stats {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}
.hero-stat {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: .85rem 1.1rem;
  min-width: 120px;
}
.hero-stat b { display: block; font-size: 1.3rem; color: #fff; }
.hero-stat span { font-size: .78rem; color: rgba(255,255,255,.75); }

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--rvv-brown);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .72rem;
  background: rgba(243,201,107,.28);
  border-radius: 999px;
  padding: .35rem .75rem;
}
.page-header { padding: 2.2rem 0 1rem; }

.feature-card, .plan-card, .profile-card, .form-card, .dash-card {
  background: var(--rvv-paper);
  border: 1px solid var(--rvv-line);
  border-radius: var(--rvv-radius);
  box-shadow: var(--rvv-shadow);
  backdrop-filter: blur(16px);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover, .plan-card:hover, .profile-card:hover, .dash-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rvv-shadow-lg);
}
.icon-pill {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #fff4d4, #f3c96b);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.step-num {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--rvv-brown); color: var(--rvv-gold);
  display: grid; place-items: center; font-weight: 800;
}

.form-control, .form-select {
  min-height: 50px;
  border-radius: 16px;
  border-color: rgba(43,33,31,.12);
  background: rgba(255,255,255,.8);
  padding: .7rem 1rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--rvv-gold);
  box-shadow: 0 0 0 .2rem rgba(243,201,107,.28);
  background: #fff;
}
.form-label { font-weight: 600; font-size: .9rem; }
.form-check-input { width: 1.15rem; height: 1.15rem; }
.invalid-feedback, .text-error { color: #b42318; }

.auth-wrap {
  min-height: 100vh;
  background:
    radial-gradient(700px 280px at 20% 0%, rgba(243,201,107,.35), transparent 60%),
    var(--rvv-cream);
}
.auth-card { max-width: 460px; }
.auth-tabs { background: rgba(43,33,31,.05); border-radius: 999px; padding: .25rem; }
.auth-tabs .nav-link {
  color: var(--rvv-muted);
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  padding: .55rem 1.1rem;
}
.auth-tabs .nav-link.active {
  color: var(--rvv-brown);
  background: #fff;
  box-shadow: 0 6px 16px rgba(43,33,31,.08);
}

.stepper { display: flex; gap: .2rem; overflow-x: auto; padding: .2rem 0 .6rem; }
.stepper .step {
  min-width: 88px;
  text-align: center;
  font-size: .75rem;
  font-weight: 700;
  color: var(--rvv-muted);
  position: relative;
}
.stepper .dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: #e6d8c6; margin: 0 auto .4rem;
  box-shadow: 0 0 0 4px rgba(243,201,107,.12);
}
.stepper .step.active { color: var(--rvv-brown); }
.stepper .step.active .dot,
.stepper .step.done .dot { background: var(--rvv-gold); }

.sticky-actions {
  position: sticky;
  bottom: 0;
  background: rgba(247,241,232,.92);
  backdrop-filter: blur(12px);
  padding: .9rem 0;
  border-top: 1px solid var(--rvv-line);
}

.profile-card { overflow: hidden; }
.profile-card img, .avatar-lg {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: #efe6d8;
}
.profile-card .meta { color: var(--rvv-muted); font-size: .86rem; }
.fav-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: #fff;
  box-shadow: 0 8px 18px rgba(43,33,31,.12);
  font-size: 1.15rem;
}
.fav-btn.active { color: #c81e1e; background: #fff1f1; }

.progress-rvv { height: 10px; background: rgba(43,33,31,.08); border-radius: 999px; overflow: hidden; }
.progress-rvv > div {
  height: 100%;
  background: linear-gradient(90deg, #ffe7a8, var(--rvv-gold-deep));
  border-radius: 999px;
}

.cta-band {
  background: linear-gradient(135deg, var(--rvv-brown), #5a433d);
  color: #fff;
  border-radius: 32px;
  padding: 3rem 2rem;
  box-shadow: var(--rvv-shadow-lg);
}
.cta-band p { color: rgba(255,255,255,.78); }

.safety-panel {
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--rvv-shadow);
}
.safety-panel img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding: .55rem 0 .55rem 2rem;
  position: relative;
}
.check-list li:before {
  content: "✓";
  position: absolute; left: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff4d4; color: var(--rvv-brown);
  display: grid; place-items: center; font-size: .75rem; font-weight: 800;
}

.footer-rvv {
  background: #171210;
  color: #f7efe3;
  padding: 3rem 0 1.4rem;
  margin-top: 4rem;
}
.footer-rvv a { color: var(--rvv-gold); text-decoration: none; }
.footer-rvv a:hover { color: #fff; }

.app-side {
  position: sticky;
  top: 92px;
}
.app-side .nav-link {
  color: var(--rvv-brown);
  font-weight: 600;
  border-radius: 14px;
  padding: .75rem .95rem;
}
.app-side .nav-link.active, .app-side .nav-link:hover {
  background: linear-gradient(180deg, #fff4d4, #f8e3a8);
}

.photo-frame {
  width: 220px; height: 220px; margin: 0 auto;
  border: 1px dashed rgba(43,33,31,.2);
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--rvv-shadow);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

.filter-drawer { max-width: 100%; }
.rvv-alert { border: 0; border-radius: 16px; }
.rvv-toast { border-radius: 999px !important; box-shadow: var(--rvv-shadow-lg); }

.admin-shell { min-height: 100vh; background: #f4eee6; }
.admin-sidebar {
  background: linear-gradient(180deg, #1d1614, #352b2a);
  color: #f7efe3;
  min-height: 100vh;
}
.admin-sidebar .brand { color: var(--rvv-gold); text-decoration: none; font-weight: 800; }
.admin-sidebar .nav-link {
  color: #f3e7d4;
  border-radius: 14px;
  padding: .7rem .9rem;
  font-weight: 600;
}
.admin-sidebar .nav-link.active,
.admin-sidebar .nav-link:hover { background: rgba(243,201,107,.16); color: #fff; }
.stat-card h2 { margin: 0; font-family: Fraunces, serif; }
.badge-pending { background: #fde68a; color: #7c4a03; }
.badge-active { background: #bbf7d0; color: #14532d; }
.badge-reject { background: #fecaca; color: #7f1d1d; }
.table-rvv thead th { background: rgba(243,201,107,.18); border-bottom: 0; }
.table-rvv { --bs-table-bg: transparent; }
.admin-photo { width: 160px; height: 160px; object-fit: cover; border-radius: 24px; background: #efe6d8; }

.gallery-grid img {
  border-radius: 24px;
  height: 220px;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--rvv-shadow);
}

@media (max-width: 767px) {
  .brand-logo { height: 40px; }
  .hero { min-height: 78vh; padding: 5.5rem 0 3.5rem; }
  .sticky-actions .btn { width: 100%; }
  .admin-sidebar { min-height: auto; }
  .hero-actions .btn { width: 100%; }
}
