:root {
  --coffee-1: #1a120f;
  --coffee-2: #2a1b16;
  --coffee-3: #3b241d;
  --coffee-4: #5d4033;
  --latte: #e9ddd3;
  --cream: #f8f2ec;
  --gold: #d2a45e;
  --gold-soft: #f0d6ab;
  --text: #f7f1eb;
  --muted: rgba(255,255,255,0.72);
  --card: rgba(255,255,255,0.07);
  --card-border: rgba(255,255,255,0.10);
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
  --shadow-heavy: 0 28px 70px rgba(0, 0, 0, 0.38);
  --star-dark: rgba(22, 28, 52, 0.85);
  --star-soft: rgba(32, 42, 88, 0.65);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(210,164,94,0.08), transparent 20%),
    radial-gradient(circle at bottom right, rgba(16,22,46,0.12), transparent 18%),
    linear-gradient(180deg, #120c0a 0%, #231712 28%, #3b241d 62%, #2a1b16 100%);
  min-height: 100vh;
  position: relative;
}

img {
  width: 100%;
  display: block;
}

/* ================= BACKGROUND PARTICLES ================= */
/* SALJU / BINTANG PUTIH */
.snow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.snow span {
  position: absolute;
  top: -10%;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  box-shadow:
    0 0 6px rgba(255,255,255,0.95),
    0 0 14px rgba(255,255,255,0.55);
  animation: snowfall linear infinite;
  opacity: 0.95;
}

.snow span:nth-child(1)  { left: 4%;  animation-duration: 10s; animation-delay: 0s;   width: 4px;  height: 4px; }
.snow span:nth-child(2)  { left: 10%; animation-duration: 13s; animation-delay: 1s;   width: 6px;  height: 6px; }
.snow span:nth-child(3)  { left: 16%; animation-duration: 11s; animation-delay: 2s;   width: 5px;  height: 5px; }
.snow span:nth-child(4)  { left: 22%; animation-duration: 14s; animation-delay: 0.5s; width: 7px;  height: 7px; }
.snow span:nth-child(5)  { left: 29%; animation-duration: 12s; animation-delay: 1.5s; width: 5px;  height: 5px; }
.snow span:nth-child(6)  { left: 36%; animation-duration: 15s; animation-delay: 2.5s; width: 6px;  height: 6px; }
.snow span:nth-child(7)  { left: 43%; animation-duration: 11s; animation-delay: 0.7s; width: 4px;  height: 4px; }
.snow span:nth-child(8)  { left: 51%; animation-duration: 14s; animation-delay: 1.7s; width: 6px;  height: 6px; }
.snow span:nth-child(9)  { left: 58%; animation-duration: 10s; animation-delay: 2.4s; width: 5px;  height: 5px; }
.snow span:nth-child(10) { left: 65%; animation-duration: 13s; animation-delay: 1.1s; width: 6px;  height: 6px; }
.snow span:nth-child(11) { left: 72%; animation-duration: 12s; animation-delay: 0.4s; width: 5px;  height: 5px; }
.snow span:nth-child(12) { left: 78%; animation-duration: 16s; animation-delay: 2.2s; width: 7px;  height: 7px; }
.snow span:nth-child(13) { left: 84%; animation-duration: 11s; animation-delay: 0.8s; width: 4px;  height: 4px; }
.snow span:nth-child(14) { left: 89%; animation-duration: 14s; animation-delay: 1.6s; width: 6px;  height: 6px; }
.snow span:nth-child(15) { left: 94%; animation-duration: 15s; animation-delay: 2.8s; width: 5px;  height: 5px; }
.snow span:nth-child(16) { left: 8%;  animation-duration: 17s; animation-delay: 3s;   width: 3px;  height: 3px; }
.snow span:nth-child(17) { left: 33%; animation-duration: 16s; animation-delay: 3.4s; width: 4px;  height: 4px; }
.snow span:nth-child(18) { left: 55%; animation-duration: 18s; animation-delay: 3.8s; width: 3px;  height: 3px; }
.snow span:nth-child(19) { left: 74%; animation-duration: 17s; animation-delay: 4.2s; width: 4px;  height: 4px; }
.snow span:nth-child(20) { left: 92%; animation-duration: 19s; animation-delay: 4.6s; width: 3px;  height: 3px; }

@keyframes snowfall {
  0% {
    transform: translateY(-12vh) translateX(0) scale(0.9);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) translateX(30px) scale(1.05);
    opacity: 0.25;
  }
}

/* background blobs */
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

body::before {
  width: 280px;
  height: 280px;
  left: -60px;
  top: 120px;
  background: rgba(210,164,94,0.12);
}

body::after {
  width: 340px;
  height: 340px;
  right: -90px;
  bottom: 80px;
  background: rgba(22, 32, 72, 0.16);
}

/* ================= NAVBAR ================= */
.topbar {
  width: min(1200px, calc(100% - 32px));
  margin: 18px auto;
  padding: 14px 18px;
  border-radius: 24px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 16px;
  z-index: 50;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--coffee-3), var(--coffee-4));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0,0,0,0.18);
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
}

.brand-tag {
  font-size: 0.78rem;
  opacity: 0.72;
}

#nav-toggle {
  display: none;
}

.hamburger {
  display: none;
}

.navbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.navbar a {
  text-decoration: none;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  transition: 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
  background: rgba(255,255,255,0.14);
  color: #fff;
  transform: translateY(-2px);
}

/* ================= PAGE ================= */
.owner-page {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
}

.group-hero {
  position: relative;
  padding: 62px 24px 46px;
  text-align: center;
  border-radius: 34px;
  color: #fff;
  box-shadow: var(--shadow-heavy);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    linear-gradient(135deg, #1a120f, #2f1f19 55%, #3d281f);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.group-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(210,164,94,0.12), transparent 24%),
    radial-gradient(circle at 80% 30%, rgba(28, 38, 78, 0.12), transparent 22%);
  pointer-events: none;
}

.eyebrow {
  color: var(--gold);
  letter-spacing: 4px;
  font-size: 0.82rem;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.group-hero h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.group-desc {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.9;
  color: var(--muted);
  position: relative;
  z-index: 2;
}

.group-name-box {
  margin-top: 26px;
  padding: 30px;
  border-radius: 30px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.group-name-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(210,164,94,0.08), transparent 35%);
  pointer-events: none;
}

.group-mini {
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 0.8rem;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.group-name-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.group-name-box p {
  max-width: 820px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.9;
  position: relative;
  z-index: 2;
}

/* ================= OWNER GRID ================= */
.owner-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  justify-items: center;
}

.owner-card {
  width: 100%;
  max-width: 340px;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  transition: 0.4s ease;
  backdrop-filter: blur(14px);
  position: relative;
}

.owner-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.14), transparent 38%, transparent 75%, rgba(210,164,94,0.08));
  opacity: 0;
  transition: 0.4s ease;
  pointer-events: none;
}

.owner-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 30px 60px rgba(0,0,0,0.36);
}

.owner-card:hover::before {
  opacity: 1;
}

.owner-photo-btn {
  width: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.owner-photo-btn::after {
  content: "Open Profile";
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%) translateY(12px);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  opacity: 0;
  transition: 0.35s ease;
  white-space: nowrap;
}

.owner-card:hover .owner-photo-btn::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.owner-photo {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: 0.5s ease;
}

.owner-card:hover .owner-photo {
  transform: scale(1.08);
  filter: brightness(1.07) saturate(1.04);
}

.content {
  padding: 24px;
  position: relative;
}

.content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  margin-bottom: 6px;
  color: #fff;
  transition: 0.35s ease;
}

.owner-card:hover .content h3 {
  text-shadow: 0 0 16px rgba(210,164,94,0.22);
}

.content span {
  color: var(--gold);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 12px;
}

.content p {
  line-height: 1.8;
  color: var(--muted);
}

/* ================= MODAL ================= */
.owner-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.owner-modal.active {
  display: block;
}

.owner-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.58);
  backdrop-filter: blur(8px);
}

.owner-modal-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(88vw, 980px);
  min-height: 560px;
  max-height: 86vh;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(135deg, #fffaf6, #f4e6da);
  box-shadow: 0 30px 80px rgba(0,0,0,0.22);
  animation: popupShowModern 0.35s ease;
}

.owner-modal-left {
  background: #e9ddd3;
  height: 100%;
}

.owner-modal-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owner-modal-content {
  padding: 42px 38px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.owner-modal-badge {
  display: inline-block;
  width: fit-content;
  padding: 8px 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(206,161,93,0.16);
  color: #8a6252;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.owner-modal-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.7rem;
  margin-bottom: 18px;
  color: #2a1b16;
  line-height: 1.1;
}

.owner-modal-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.owner-info-item {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(56,35,29,0.08);
}

.owner-info-item span {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 1px;
  color: #8a6252;
  margin-bottom: 6px;
  font-weight: 700;
}

.owner-info-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: #2b1d18;
}

.owner-modal-desc {
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(56,35,29,0.12);
}

.owner-modal-desc h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #2a1b16;
}

.owner-modal-desc p {
  line-height: 1.9;
  color: #2b1d18;
}

.owner-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  font-size: 1.4rem;
  background: rgba(255,255,255,0.2);
  color: white;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: 0.3s ease;
  z-index: 10;
}

.owner-modal-close:hover {
  transform: rotate(90deg) scale(1.08);
  background: rgba(255,255,255,0.32);
}

@keyframes popupShowModern {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* ================= FOOTER ================= */
.footer {
  width: min(1200px, calc(100% - 32px));
  margin: 24px auto;
  padding: 22px;
  text-align: center;
  border-radius: 22px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .owner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .owner-modal-box {
    width: min(92vw, 560px);
    min-height: auto;
    max-height: 88vh;
    grid-template-columns: 1fr;
  }

  .owner-modal-left img {
    height: 280px;
  }

  .owner-modal-content {
    padding: 26px 22px 28px;
  }

  .owner-modal-content h2 {
    font-size: 2rem;
  }

  .owner-modal-info-grid {
    grid-template-columns: 1fr;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-left: auto;
  }

  .hamburger span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 99px;
  }

  .navbar {
    width: 100%;
    display: none;
    flex-direction: column;
  }

  #nav-toggle:checked ~ .navbar {
    display: flex;
  }
}

@media (max-width: 600px) {
  .owner-grid {
    grid-template-columns: 1fr;
  }

  .group-hero,
  .group-name-box {
    padding: 28px 20px;
  }

  .content h3 {
    font-size: 1.5rem;
  }
}