/* ===== THE VINE FAMILY — SHARED STYLES ===== */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #0d0515 0%, #150825 30%, #1a0a2e 50%, #120620 70%, #0d0515 100%);
  color: #fff;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===== SHINY DARK PURPLE BG ===== */
.bg-shiny {
  background: linear-gradient(135deg, #0d0515 0%, #1a0a2e 25%, #2d1b4e 50%, #1a0a2e 75%, #0d0515 100%);
  position: relative;
}
.bg-shiny::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(124,58,237,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(168,85,247,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(5,150,105,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.bg-shiny::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.03) 50%, transparent 100%);
  animation: shine-sweep 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine-sweep {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
.bg-shiny-alt {
  background: linear-gradient(135deg, #120620 0%, #1a0a2e 30%, #2d1b4e 60%, #150825 100%);
  position: relative;
}
.bg-shiny-alt::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(168,85,247,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 80%, rgba(5,150,105,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.bg-shiny-alt::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.03) 50%, transparent 100%);
  animation: shine-sweep 7s ease-in-out infinite 3.5s;
  pointer-events: none;
}

/* ===== GLOW ORBS ===== */
.glow-orb {
  position: fixed; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
  animation: orb-float 12s ease-in-out infinite;
}
@keyframes orb-float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px,-40px) scale(1.2); }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 10000;
  padding: 14px 24px;
  background: rgba(13,5,21,0.7);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border-bottom: 1px solid rgba(124,58,237,0.15);
  transition: all 0.3s;
}
.navbar.scrolled {
  background: rgba(10,3,18,0.9);
  backdrop-filter: blur(24px) saturate(220%);
}
.navbar-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: #C084FC;
  font-family: Georgia, serif; font-weight: 700; font-size: 1.2rem;
}
.navbar-brand img {
  height: 38px; width: 38px; border-radius: 50%; object-fit: cover;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  color: rgba(255,255,255,0.65);
  text-decoration: none; font-weight: 500; font-size: 0.88rem;
  padding: 6px 14px; border-radius: 8px;
  transition: all 0.3s;
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(124,58,237,0.2); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; z-index: 10001; }
.hamburger span { width: 28px; height: 2.5px; background: #C084FC; border-radius: 4px; transition: all 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== SCROLL PROGRESS ===== */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, #7C3AED, #C084FC, #A855F7);
  z-index: 10001; width: 0%;
  transition: width 0.1s;
  box-shadow: 0 0 16px rgba(124,58,237,0.4);
}

/* ===== GLASS CARD ===== */
.glass-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: all 0.4s;
}
.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124,58,237,0.3);
  box-shadow: 0 12px 48px rgba(124,58,237,0.15);
}

/* ===== PAGE TITLE ===== */
.page-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, #C084FC, #A855F7, #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-subtitle {
  text-align: center; color: rgba(255,255,255,0.5);
  max-width: 600px; margin: 0 auto 32px; font-size: 1.05rem;
}
.section-divider {
  width: 80px; height: 3px;
  background: linear-gradient(90deg, #7C3AED, #C084FC, #7C3AED);
  margin: 0 auto 24px; border-radius: 4px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #7C3AED, #6D28D9);
  color: #fff; border: none; border-radius: 50px;
  font-weight: 600; font-size: 1rem;
  cursor: pointer; text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(124,58,237,0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(124,58,237,0.5);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: #C084FC;
  border: 2px solid rgba(124,58,237,0.4);
  border-radius: 50px;
  font-weight: 600; font-size: 1rem;
  cursor: pointer; text-decoration: none;
  transition: all 0.3s;
}
.btn-outline:hover {
  background: rgba(124,58,237,0.15);
  border-color: #C084FC;
  transform: translateY(-3px);
  box-shadow: 0 0 24px rgba(124,58,237,0.2);
}
.btn-green {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #059669, #047857);
  color: #fff; border: none; border-radius: 50px;
  font-weight: 600; font-size: 1rem;
  cursor: pointer; text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(5,150,105,0.3);
}
.btn-green:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(5,150,105,0.5);
}

/* ===== PROFILE IMAGE ===== */
.profile-img {
  width: 180px; height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  border: 3px solid rgba(124,58,237,0.4);
  box-shadow: 0 0 40px rgba(124,58,237,0.2), 0 0 80px rgba(124,58,237,0.08);
  transition: all 0.4s;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  filter: contrast(1.06) brightness(1.06);
}
.profile-img:hover { transform: scale(1.08); border-color: #C084FC; box-shadow: 0 0 60px rgba(124,58,237,0.3), 0 0 100px rgba(124,58,237,0.12); }
.member-card-img {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  margin: 0 auto 14px;
  border: 3px solid rgba(124,58,237,0.35);
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  box-shadow: 0 0 24px rgba(124,58,237,0.15);
  transition: transform 0.4s, box-shadow 0.4s;
  filter: contrast(1.04) brightness(1.04);
}
.member-card-img:hover { transform: scale(1.1); box-shadow: 0 0 40px rgba(124,58,237,0.3); }

/* ===== MEMBER CARD ===== */
.member-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 28px 20px 24px;
  text-align: center;
  transition: all 0.4s;
  cursor: pointer;
  text-decoration: none; color: inherit; display: block;
}
.member-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124,58,237,0.3);
  box-shadow: 0 16px 48px rgba(124,58,237,0.12);
}
.member-role {
  display: inline-block;
  background: rgba(124,58,237,0.15);
  padding: 3px 14px; border-radius: 20px;
  font-size: 0.8rem; color: #C084FC; margin: 6px 0;
}
.member-verse {
  font-size: 0.85rem; color: rgba(255,255,255,0.45);
  font-style: italic;
}
.member-view {
  margin-top: 10px; color: #C084FC; font-size: 0.8rem;
}

/* ===== VALUE CARD ===== */
.value-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
}
.value-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(124,58,237,0.3);
  box-shadow: 0 0 30px rgba(124,58,237,0.12);
}
.value-icon { font-size: 2.8rem; margin-bottom: 14px; display: block; }

/* ===== ACTIVITY CARD ===== */
.activity-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex; align-items: center; gap: 18px;
  transition: all 0.3s;
}
.activity-card:hover {
  transform: translateX(6px);
  border-color: rgba(124,58,237,0.25);
  box-shadow: 0 8px 32px rgba(124,58,237,0.08);
}
.activity-icon {
  width: 52px; height: 52px; min-width: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,58,237,0.18), rgba(5,150,105,0.12));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}

/* ===== GALLERY ITEM ===== */
.gallery-item {
  position: relative; border-radius: 14px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s;
}
.gallery-item:hover img { transform: scale(1.12); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(124,58,237,0.5), transparent 50%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 16px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-weight: 600; font-size: 0.9rem; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }

/* ===== TESTIMONIAL ===== */
.testimonial-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  transition: all 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(124,58,237,0.08);
}
.testimonial-quote {
  font-size: 3rem; color: #C084FC; opacity: 0.2;
  position: absolute; top: 16px; left: 24px;
  font-family: Georgia, serif; line-height: 1;
}

/* ===== FORM INPUT ===== */
.form-input {
  width: 100%; padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; color: #fff; font-size: 1rem;
  transition: all 0.3s; outline: none;
}
.form-input:focus { border-color: #C084FC; box-shadow: 0 0 0 3px rgba(124,58,237,0.12); }
.form-input::placeholder { color: rgba(255,255,255,0.35); }

/* ===== SOCIAL ICON ===== */
.social-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: all 0.3s; text-decoration: none;
}
.social-icon:hover { transform: translateY(-3px); }

/* ===== LIGHTBOX ===== */
#lightbox {
  position: fixed; inset: 0; z-index: 1000000;
  background: rgba(0,0,0,0.92); backdrop-filter: blur(16px);
  display: none; align-items: center; justify-content: center; padding: 40px;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 16px; box-shadow: 0 20px 80px rgba(0,0,0,0.6); animation: li-in 0.3s; }
@keyframes li-in { 0%{transform:scale(0.9);opacity:0} 100%{transform:scale(1);opacity:1} }
#lightbox-close { position: absolute; top: 24px; right: 30px; color: #fff; font-size: 2.5rem; cursor: pointer; transition: transform 0.3s; }
#lightbox-close:hover { transform: rotate(90deg); }

/* ===== PARTICLE ===== */
.particle {
  position: fixed; pointer-events: none; z-index: 0;
  border-radius: 50%;
  animation: float-particle linear infinite;
}
@keyframes float-particle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}
.leaf-float {
  position: fixed; pointer-events: none; z-index: 0;
  font-size: 1.2rem;
  animation: float-leaf linear infinite;
  opacity: 0.15;
}
@keyframes float-leaf {
  0% { transform: translateY(110vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.2; }
  90% { opacity: 0.2; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

/* ===== BACK TO TOP ===== */
#back-to-top {
  position: fixed; bottom: 30px; right: 30px;
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(124,58,237,0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(124,58,237,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #C084FC;
  cursor: pointer; z-index: 9990;
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
}
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { background: #7C3AED; color: #fff; transform: translateY(-4px); }

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, #0a0312, #0d0515, #0a0312);
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 60px 24px 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute; top: -1px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #7C3AED, #C084FC, #7C3AED, transparent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: rgba(13,5,21,0.92);
    backdrop-filter: blur(30px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: right 0.4s;
    padding: 80px 32px;
    border-left: 1px solid rgba(255,255,255,0.04);
  }
  .nav-links.open { right: 0; }
  .hamburger { display: flex; }
  .nav-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9999; display: none;
  }
  .nav-overlay.open { display: block; }
  .activity-card { flex-direction: column; text-align: center; }
  .activity-icon { margin: 0 auto; }
  .profile-img { width: 140px; height: 140px; }
  .member-card-img { width: 100px; height: 100px; }
}
@media (max-width: 480px) {
  .btn-primary, .btn-outline, .btn-green { padding: 12px 24px; font-size: 0.9rem; }
}

/* ===== UTILITY ===== */
.container { max-width: 1200px; width: 100%; margin: 0 auto; position: relative; z-index: 2; }
section { padding: 100px 24px; position: relative; }
@media (max-width: 768px) { section { padding: 70px 16px; } }
.text-gradient { background: linear-gradient(135deg, #C084FC, #A855F7, #7C3AED); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
