*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(79,141,253,0.15), transparent 30%),
    radial-gradient(circle at bottom right, rgba(147,51,234,0.16), transparent 30%),
    linear-gradient(135deg, #030712, #0f172a, #020617);
  color: white;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  position: relative;
  padding-bottom: 40px;
}


/* floating blur */
.bg-blur{
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -1;
  opacity: 0.55;
}

.blur1{
  width: 220px;
  height: 220px;
  background: #3b82f6;
  top: 40px;
  left: -40px;
}

.blur2{
  width: 260px;
  height: 260px;
  background: #9333ea;
  top: 260px;
  right: -70px;
}

.blur3{
  width: 240px;
  height: 240px;
  background: #06b6d4;
  bottom: 50px;
  left: 30%;
}

/* header */
.head{
  width: min(1100px, 92%);
  margin: 24px auto 0;
  border: 2px solid rgba(255,255,255,0.16);
  border-radius: 24px;
  padding: 18px 16px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.heading{
  font-family: "Honk", system-ui;
  font-size: 72px;
  text-align: center;
  line-height: 1.05;
  transition: 0.4s ease;
}

.heading:hover{
  transform: scale(1.02);
  text-shadow:
    0 0 10px rgba(255,255,255,0.28),
    0 0 20px rgba(79,141,253,0.35),
    0 0 35px rgba(147,51,234,0.35);
}

.sub-head{
  display: block;
  margin-top: 10px;
  font-size: 20px;
  color: #dbeafe;
  font-family: "Bruno Ace SC", cursive;
}

.histry,
.members-section,
.member-page{
  width: min(1100px, 92%);
  margin: 28px auto 0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.section-title{
  font-family: "Bruno Ace SC", cursive;
  font-size: 26px;
  margin-bottom: 16px;
  color: #ffffff;
}

.text{
  font-family: "Merienda", cursive;
  font-size: 16px;
  line-height: 1.8;
  color: #e5eefc;
}

/* grid */
.cards-container{
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 24px;
  align-items: stretch;
}

/* premium main card */
.member-card{
  position: relative;
  width: 100%;
  min-height: 580px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03)),
    linear-gradient(135deg,#182235,#33245a 75%, #17384f);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 15px 35px rgba(0,0,0,0.32),
    inset 0 1px 0 rgba(255,255,255,0.08);
  transition: 0.45s ease;
  cursor: pointer;
  text-align: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.member-card:hover{
  transform: translateY(-12px) scale(1.02);
  box-shadow:
    0 22px 50px rgba(0,0,0,0.4),
    0 0 22px rgba(79,141,253,0.18);
  border-color: rgba(99,102,241,0.45);
}

.card-top{
  height: 160px;
  background: linear-gradient(135deg,#3b82f6,#6366f1);
}

.card-avatar{
  position: absolute;
  top: 108px;
  left: 50%;
  transform: translateX(-50%);
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: rgba(255,255,255,0.96);
  padding: 5px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  transition: 0.35s ease;
}

.member-card:hover .card-avatar{
  transform: translateX(-50%) scale(1.06);
}

.card-avatar img{
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.card-content{
  padding: 150px 24px 30px;
}

.card-content h2{
  font-family: "Bruno Ace SC", cursive;
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 30px;
}

.member-badge{
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(59,130,246,0.16);
  border: 1px solid rgba(147,197,253,0.35);
  color: #dbeafe;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.card-content p{
  color: #d8def0;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
  min-height: 80px;
}

/* socials */
.card-socials{
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.social-btn{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  transition: 0.3s ease;
}

.social-btn:hover{
  transform: translateY(-5px) scale(1.08);
}

.social-btn.instagram:hover{
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.social-btn.facebook:hover{
  background: #1877f2;
}

.social-btn.youtube:hover{
  background: #ff0000;
}

.social-btn.whatsapp:hover{
  background: #000000;
  
}

/* action buttons */
.card-actions{
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.view-btn,
.music-btn{
  border: none;
  outline: none;
  color: #fff;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.view-btn{
  background: linear-gradient(135deg,#3d82ff,#256cf0);
}

.view-btn:hover{
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(61,130,255,0.55);
}

.music-btn{
  background: linear-gradient(135deg,#7c3aed,#4f46e5);
}

.music-btn:hover{
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(124,58,237,0.45);
}

.music-btn.playing{
  background: linear-gradient(135deg,#ef4444,#dc2626);
  box-shadow: 0 0 18px rgba(239,68,68,0.45);
}

/* member page */
.member-body{
  padding-bottom: 40px;
}

.member-page{
  overflow: hidden;
}

.member-hero{
  height: 220px;
  background: linear-gradient(135deg,#3b82f6,#2563eb,#9333ea);
  background-size: 200% 200%;
  animation: gradientMove 6s ease infinite;
  position: relative;
  border-radius: 18px 18px 0 0;
}

@keyframes gradientMove{
  0%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
  100%{ background-position: 0% 50%; }
}

.member-avatar{
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #fff;
  padding: 5px;
  position: absolute;
  bottom: -75px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.member-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.member-details{
  padding: 95px 28px 28px;
  text-align: center;
}

.member-details h1{
  font-family: "Bruno Ace SC", cursive;
  font-size: 34px;
  margin-bottom: 10px;
  color: #fff;
}

.member-role{
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(59,130,246,0.2);
  border: 1px solid rgba(147,197,253,0.4);
  color: #bfdbfe;
  margin-bottom: 18px;
  font-size: 15px;
}

.member-bio{
  max-width: 700px;
  margin: 0 auto;
  font-family: "Merienda", cursive;
  line-height: 1.8;
  color: #dbeafe;
  font-size: 16px;
}

.social-links{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.social-icon{
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 50%;
  font-size: 20px;
  color: white;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: 0.35s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.social-icon:hover{
  transform: translateY(-6px) scale(1.08);
}

.social-icon.instagram:hover{
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.social-icon.facebook:hover{
  background: #1877f2;
}

.social-icon.youtube:hover{
  background: #ff0000;
}

.social-icon.whatsapp:hover{
  background: #000000;
}

.back-btn{
  display: inline-block;
  margin-top: 26px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg,#3d82ff,#256cf0);
  padding: 12px 24px;
  border-radius: 12px;
  transition: 0.3s ease;
}

.back-btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(61,130,255,0.45);
}

/* reveal */
.reveal{
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

.reveal.active{
  opacity: 1;
  transform: translateY(0);
}

/* tablet */
@media (max-width: 992px){
  .heading{
    font-size: 58px;
  }

  .sub-head{
    font-size: 18px;
  }

  .cards-container{
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

/* mobile */
@media (max-width: 600px){
  .head,
  .histry,
  .members-section,
  .member-page{
    width: 94%;
    padding: 18px 14px;
    border-radius: 18px;
  }

  .heading{
    font-size: 40px;
  }

  .sub-head{
    font-size: 14px;
  }

  .section-title{
    font-size: 20px;
  }

  .text{
    font-size: 14px;
    line-height: 1.7;
  }

  .cards-container{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .member-card{
    min-height: 560px;
    border-radius: 24px;
  }

  .card-top{
    height: 140px;
  }

  .card-avatar{
    width: 150px;
    height: 150px;
    top: 70px;
  }

  .card-content{
    padding: 150px 18px 24px;
  }

  .card-content h2{
    font-size: 1.7rem;
  }

  .card-content p{
    font-size: 0.95rem;
    min-height: auto;
  }

  .view-btn,
  .music-btn{
    font-size: 14px;
    padding: 11px 16px;
  }

  .social-btn{
    width: 42px;
    height: 42px;
    font-size: 17px;
  }

  .member-hero{
    height: 180px;
  }

  .member-avatar{
    width: 120px;
    height: 120px;
    bottom: -60px;
  }

  .member-details{
    padding: 78px 16px 20px;
  }

  .member-details h1{
    font-size: 26px;
  }

  .member-bio{
    font-size: 14px;
  }

  .social-links{
    gap: 10px;
    margin-top: 20px;
  }

  .social-icon{
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
}

/* JVK FAMILY GALLERY SPECIAL CARD */
.jvk-gallery-card{
  width: 100%;
  border-radius: 28px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)),
    linear-gradient(135deg,#111827,#312e81,#0f172a);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 15px 35px rgba(0,0,0,0.32);
  cursor: pointer;
  transition: 0.4s ease;
  text-align: center;
}

.jvk-gallery-card:hover{
  box-shadow: 0 15px 35px rgba(0,0,0,0.32);
}

/* 1:1 Instagram style image */
.jvk-gallery-img{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  background: #020617;
  margin-bottom: 18px;
}

.jvk-gallery-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

.jvk-gallery-card:hover .jvk-gallery-img img{
  transform: none;
}

/* Button */
.jvk-gallery-btn{
  width: 100%;
  border: none;
  outline: none;
  padding: 14px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg,#3b82f6,#6366f1);
  transition: 0.3s ease;
}

.jvk-gallery-btn:hover{
  box-shadow: 0 0 12px rgba(99,102,241,0.25);
}