/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap" );

/*=============== VARIABLES CSS ===============*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  /* bayangan gelap tipis di atas supaya teks tetap terbaca di atas foto */
  background: linear-gradient(180deg, rgba(10, 0, 20, 0.45), rgba(10, 0, 20, 0));
  transition: box-shadow 0.5s ease;
}

/* LAPISAN BACKGROUND SAAT SCROLL
   gradient tidak bisa dianimasikan langsung, jadi dibuat sebagai lapisan
   terpisah yang muncul pelan-pelan lewat opacity */
.navbar::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 45, 117, 0.92), rgba(255, 106, 162, 0.9));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar.scrolled::after {
  opacity: 1;
  transform: translateY(0);
}

.navbar.scrolled {
  box-shadow: 0 8px 30px rgba(60, 0, 40, 0.25);
}

/* CONTAINER */
.nav-container {
  position: relative;
  z-index: 1; /* selalu di atas latar gelap menu */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  transition: padding 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* navbar sedikit lebih ramping setelah scroll */
.navbar.scrolled .nav-container {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* LEFT */
.nav-left {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;        /* boleh menyusut, jadi tidak menabrak hamburger */
  flex: 0 1 auto;
}

.nav-logo {
  flex-shrink: 0;
}

.nav-left img {
border-radius: 50%; 
}

.nav-logo {
  width: 40px;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s ease;
}

.nav-left:hover .nav-logo {
  transform: rotate(-8deg) scale(1.05);
}

.navbar.scrolled .nav-logo {
  width: 36px;
}

/* nama + subnama ditumpuk di samping logo */
.nav-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
  min-width: 0;
}

.nav-name {
  color: white;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.3px;
}

.nav-subname {
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.6px;
  margin-top: 2px;
  padding-top: 3px;
  position: relative;
}

/* garis tipis pemisah: hanya muncul (tergambar dari kiri) saat di-scroll */
.nav-subname::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.navbar.scrolled .nav-subname::before {
  transform: scaleX(1);
}

/* MENU */
.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: white;
  position: relative;
  font-weight: 500;
  transition: 0.3s;
}

/* HOVER LINE */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: white;
  transition: 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

/* ACTIVE */
.nav-link.active {
  font-weight: bold;
}

.nav-link.active::after {
  width: 100%;
}

/* =========================
   HAMBURGER
========================= */
.hamburger {
  display: none;
  flex-shrink: 0;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  z-index: 1001;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* 3 garis, diposisikan absolut supaya X-nya pas di tengah */
.hamburger span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  border-radius: 2px;
  background: white;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1),
              opacity 0.2s ease, top 0.35s ease;
}

.hamburger span:nth-child(1) { top: 13px; }
.hamburger span:nth-child(2) { top: 19px; }
.hamburger span:nth-child(3) { top: 25px; }

/* ANIMASI JADI X */
.hamburger.active {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}
.hamburger.active span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

/* =========================
   TABLET: rapatkan sedikit, jangan sampai berdempetan
========================= */
@media (max-width: 1100px) {
  .nav-container {
    padding: 15px 28px;
  }

  .nav-menu {
    gap: 22px;
  }

  .nav-link {
    font-size: 15px;
  }
}

/* =========================
   MOBILE MENU (kartu dropdown)
========================= */
@media (max-width: 900px) {

  .nav-container {
    padding: 12px 20px;
  }

  .nav-container {
    gap: 12px;
  }

  .nav-name {
    font-size: 13px;
  }

  .nav-subname {
    font-size: 9px;
    letter-spacing: 0.3px;
  }

  .nav-name,
  .nav-subname {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hamburger {
    display: block;
  }

  /* latar gelap di belakang menu */
  .navbar::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(15, 0, 30, 0.45);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }

  .navbar.menu-open::before {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    right: 20px;
    width: 230px;
    height: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(255, 45, 117, 0.95), rgba(106, 0, 120, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
      0 25px 50px -10px rgba(15, 0, 30, 0.6),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;

    /* tersembunyi */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.96);
    transform-origin: top right;
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0.3s;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .nav-link {
    display: block;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: background 0.25s ease, padding-left 0.25s ease;
  }

  /* di mobile garis bawah diganti highlight kotak */
  .nav-link::after {
    display: none;
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.12);
    padding-left: 20px;
  }

  .nav-link.active {
    background: rgba(255, 255, 255, 0.22);
  }

  /* link muncul berurutan */
  .nav-menu .nav-link {
    opacity: 0;
    transform: translateX(10px);
  }

  .nav-menu.active .nav-link {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.35s ease, transform 0.35s ease,
                background 0.25s ease, padding-left 0.25s ease;
  }

  .nav-menu.active .nav-link:nth-child(1) { transition-delay: 0.05s, 0.05s, 0s, 0s; }
  .nav-menu.active .nav-link:nth-child(2) { transition-delay: 0.1s, 0.1s, 0s, 0s; }
  .nav-menu.active .nav-link:nth-child(3) { transition-delay: 0.15s, 0.15s, 0s, 0s; }
  .nav-menu.active .nav-link:nth-child(4) { transition-delay: 0.2s, 0.2s, 0s, 0s; }
  .nav-menu.active .nav-link:nth-child(5) { transition-delay: 0.25s, 0.25s, 0s, 0s; }
}


/* =========================
   SECTION  ABOUT AMSA
========================= */
/* =========================
   SECTION
========================= */
.leader-section {
  padding: 100px 20px;
  background: #f7f7f7;
}

/* CONTAINER */
.leader-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 60px;
  align-items: center;
}

/* =========================
   LEFT
========================= */
.leader-left {
  flex: 1;
  text-align: center;
  position: relative;
}

/* judul disusun rapi: nama organisasi -> Representative -> tahun */
.leader-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.1;
}

.leader-title h4 {
  font-size: clamp(13px, 1.7vw, 18px);
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;           /* selalu 1 baris */
  color: #1b2a4e;
}

.leader-title h2 {
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1.15;
  margin: 2px 0 4px;
}

/* tahun dengan garis tipis di kiri-kanan */
.leader-title h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #ff2d75;
}

.leader-title h3::before,
.leader-title h3::after {
  content: "";
  width: 32px;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #ff2d75);
}

.leader-title h3::after {
  background: linear-gradient(90deg, #ff2d75, transparent);
}

/* SCRIPT FONT */
.script {

  color: #1b2a4e;
   font-family: 'Great Vibes', cursive;
}

/* IMAGE */
.leader-image {
  position: relative;
  margin-top: 20px;
  z-index: 1;
}

.leader-image img {
  width: 100%;
  max-width: 350px;
  z-index: 1;
}

/* FADE BAWAH */
.fade-bottom {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, #f7f7f7, transparent);
  z-index: 2;
}

/* NAME */
.leader-name {
  margin-top: -20px;
  font-size: 26px;
  color: #1b2a4e;
  font-weight: bold;
  z-index: 3;
  position: relative;

}

/* =========================
   RIGHT
========================= */
.leader-right {
  flex: 1.5;
}

.leader-right h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.leader-right p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: #333;
}

/* QUOTE */
.quote {
  font-style: italic;
  font-weight: 500;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .leader-container {
    flex-direction: column;
    text-align: center;
  }

  .leader-right {
    flex: unset;
  }

  .leader-title h2 {
    font-size: 40px;
  }

  .leader-right h2 {
    font-size: 28px;
  }
}

/* HOME BACKGROUND */
/* BACKGROUND */
.home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: 
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)),
    url("gambar/fotohome.jpeg") center/cover no-repeat;
  color: white;
  overflow: hidden;
  position: relative;
}

.home::after {

  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(
    to top,
    #ffffff,   /* warna tujuan */
    rgba(255,255,255,0)
  );

  z-index: 2;
}


/* CONTAINER */
.home-container {
  width: min(1100px, 88%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  position: relative;
}

/* IMAGE */
.home-image img {
  width: 300px;
  opacity: 0;
  transform: translateX(-80px);
  filter: drop-shadow(0 0 25px #a5305f);
  border-radius: 50%;
}



/* floating */
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* TEXT */
.home-text {
  max-width: 720px;
  position: relative;
  z-index: 3;
}

.fade-top {
  opacity: 0;
  transform: translateY(-30px);
}

/* kalimat kecil di atas judul */
.home-text h3 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ffc2d9;
  margin-bottom: 14px;
}

.home-text h3::before {
  content: "";
  width: 36px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ff2d75, #ffc2d9);
}

/* judul utama (diketik) */
#typing-main {
  font-family: 'Poppins', sans-serif;
  /* lebar teks ± 18x ukuran font -> ukuran dihitung dari ruang yang tersedia */
  font-size: clamp(22px, calc((min(1100px, 88vw) - 370px) / 18.5), 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  white-space: nowrap;          /* selalu 1 baris */
  min-height: 1.15em;

  /* teks gradasi putih-pink yang berkilau pelan */
  background: linear-gradient(90deg, #ffffff 0%, #ffd1e3 30%, #ff6aa2 50%, #ffd1e3 70%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 6s linear infinite;
  filter: drop-shadow(0 4px 18px rgba(255, 45, 117, 0.35));
}

@keyframes shimmerText {
  to { background-position: 200% center; }
}

/* kata yang berganti-ganti */
#typing-loop {
  font-family: 'Great Vibes', cursive;
  font-size: 44px;
  line-height: 1.2;
  min-height: 1.2em;
  margin-top: 6px;
  color: #ff8fb8;
  text-shadow: 0 0 18px rgba(255, 45, 117, 0.55);
}

/* cursor */
.cursor {
  display: inline-block;
  margin-left: 3px;
  font-weight: 300;
  color: #ff6aa2;
  -webkit-text-fill-color: #ff6aa2;
  animation: blink 0.8s infinite;
}

#typing-loop .cursor {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7em;
  vertical-align: 0.15em;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* FADE IN */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* FADE UP (bottom → atas) */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FADE DOWN (atas → bawah) */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FADE LEFT (kanan → kiri) */
@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* FADE RIGHT (kiri → kanan) */
@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* ===========================
   SECTION DIVISI
=========================== */
.division-section {
  padding: 100px 8%;
  background: linear-gradient(180deg, #ff2d75, #1a0033);
  text-align: center;
  color: white;
  overflow: visible;
  position: relative;
  min-height: 400px;
  margin-top: -30px; /* atur sesuai kebutuhan */
  border-radius: 30px 30px 0px 0px;
  z-index: 2;
  width: 100%;
}

.division-section::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: #ff2d75;
  filter: blur(150px);
  top: -100px;
  left: -100px;
  opacity: 0.5;
}

.division-section::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: #ff2d75;
  filter: blur(150px);
  bottom: -100px;
  right: -100px;
  opacity: 0.3;
  display: none;
}

.section-title {
  font-size: 36px;
  margin-bottom: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  color: white;
  font-size: 40px;
  font-family: 'Love Ya Like A Sister', cursive;

}


/* ===========================
   LAYOUT
=========================== */
.division-wrapper {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: nowrap;
  overflow: visible;
}

/* ===========================
   CARD
=========================== */
.division-card {
  position: relative;
  width: 140px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  animation: floating 4s ease-in-out infinite;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: 0.4s;
  will-change: transform;
}



.division-card img {
  width: 120px;
  transition: 0.4s ease;
  animation: floating 4s ease-in-out infinite;
  filter: drop-shadow(0 15px 25px rgba(255, 0, 150, 0.3));
  border-radius: 50%;
  
}

/* Hover effect */
.division-card:hover img {
  transform: translateY(-12px);
   filter: drop-shadow(0 0 20px #611630);
  z-index: 10;
}

/* ===========================
   HOVER TEXT
=========================== */
.division-name {
  position: absolute;
  top: -45px;
  font-size: 17px;
  letter-spacing: 0px;
  opacity: 0;
  transition: 0.3s ease;
  font-weight: bold;
  color: white;
  margin-top: 15px;
  font-family: 'Love Ya Like A Sister', cursive;
}

 .spesial-name {
  font-family: 'Great Vibes', cursive;
  font-size: 1.4em;
  margin-right: 2px;
}

.division-card:hover .division-name {
  opacity: 1;
  transform: translateY(-5px);
    transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(158, 34, 77, 0.2);
}

/* ===========================
   FLOATING LOOP
=========================== */
@keyframes floating {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* ===========================
   SCROLL ANIMATION BASE
=========================== */
.animate {
  opacity: 0;
}

.fade-up.show {
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Delay */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* ===========================
   RESPONSIVE DIVISI (slider 1 kartu per layar)
=========================== */
@media (max-width: 768px) {

  .division-section {
    padding: 70px 20px 50px;
  }

  .section-title {
    font-size: 34px;
    margin-bottom: 30px;
  }

  .division-wrapper {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0 30px;          /* ruang untuk efek melayang */
    scrollbar-width: none;         /* sembunyikan scrollbar (Firefox) */
  }

  .division-wrapper::-webkit-scrollbar {
    display: none;                 /* sembunyikan scrollbar (Chrome/Safari) */
  }

  .division-card {
    flex: 0 0 100%;                /* 1 kartu = 1 layar */
    width: auto;
    max-width: none;
    padding: 36px 20px 30px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    animation: none;               /* efek melayang cukup di gambarnya */
  }

  .division-card img {
    width: 150px;
  }

  /* di HP tidak ada hover, jadi nama divisi selalu tampil di bawah gambar */
  .division-name {
    position: static;
    opacity: 1;
    transform: none;
    box-shadow: none;
    margin-top: 22px;
    font-size: 20px;
  }

  .division-card:hover .division-name {
    transform: none;
    box-shadow: none;
  }

  .division-card:hover {
    transform: none;
  }
}

/* titik penanda slide (dibuat otomatis oleh main.js, hanya tampil di HP) */
.slider-dots {
  display: none;
}

@media (max-width: 768px) {
  .slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    position: relative;
    z-index: 3;
  }

  .slider-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
  }

  .slider-dots button.active {
    width: 24px;
    background: white;
  }
}

/* ===========================
   SECTION DIFCOUNT (STATISTIK)
=========================== */
.count-section {
  width: 100%;
  position: relative;
  /* nyambung dari ujung section Division (#1a0033) ke awal section Event (#ff2d75) */
  background:
    radial-gradient(ellipse 45% 38% at 50% 55%, rgba(255, 45, 117, 0.35), transparent 100%),
    linear-gradient(180deg, #1a0033 0%, #ff2d75 100%);
  padding: 90px 8%;
  overflow: hidden;
}

/* cahaya lembut di belakang kartu, senada dengan section Division */
/* (glow sekarang ada di background radial-gradient di atas,
   supaya tidak terpotong di batas section) */

/* CONTAINER */
.count-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
  position: relative;
  z-index: 1;
}

/* KARTU */
.count-item {
  flex: 1;
  max-width: 300px;
  text-align: center;
  color: white;
  padding: 40px 28px 34px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  /* shadow berlapis supaya kartu "terangkat" dari background */
  box-shadow:
    0 30px 60px -10px rgba(15, 0, 30, 0.65),
    0 12px 24px rgba(15, 0, 30, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
  transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;

  /* muncul pelan-pelan saat discroll */
  opacity: 0;
  transform: translateY(30px);
}

/* garis tipis bercahaya di atas kartu */
.count-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffb3d1, transparent);
  opacity: 0.8;
}

.difcount.is-visible .count-item {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease,
              box-shadow 0.45s ease, border-color 0.45s ease;
}

.difcount.is-visible .count-item:nth-child(2) { transition-delay: 0.15s; }
.difcount.is-visible .count-item:nth-child(3) { transition-delay: 0.3s; }

.difcount.is-visible .count-item:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 179, 209, 0.45);
  box-shadow:
    0 40px 70px -10px rgba(15, 0, 30, 0.75),
    0 16px 30px rgba(15, 0, 30, 0.45),
    0 0 35px rgba(255, 46, 136, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition-delay: 0s;
}

/* LINGKARAN */
.difcount-circle {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 22px;
}

.difcount-circle svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}

/* lingkaran latar */
.difcount-circle .bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 6;
}

/* lingkaran progres */
.difcount-progress {
  fill: none;
  stroke: url(#gradPurplePink);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 314.16;
  stroke-dashoffset: 314.16;
  transition: stroke-dashoffset 2s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 0 6px rgba(255, 46, 136, 0.55));
}

/* teks di tengah lingkaran */
.difcount-percent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.85);
}

/* ANGKA BESAR */
.difcount-number {
  font-size: 46px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #ffffff, #ffb3d1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* KARTU TAHUN (tanpa lingkaran) */
.count-eyebrow {
  font-family: 'Great Vibes', cursive;
  font-size: 34px;
  color: #ffb3d1;
  line-height: 1;
  margin-bottom: 6px;
}

.count-year .difcount-number {
  font-size: 60px;
}

/* LABEL */
.count-item p {
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.7);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .count-section {
    padding: 70px 20px;
  }

  .count-container {
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }

  .count-item {
    width: 100%;
    max-width: 340px;
  }
}



/*EVENTT SECTIONNNNN*/




.event-section {
  padding: 80px 40px;
  background: linear-gradient(180deg, #ff2d75, #1a0033);
  color: white;
  overflow: hidden;
  width: 100%;
  
  
}

.event-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-family: 'Love Ya Like A Sister', cursive;
}

/* CONTAINER */
.event-container {
  display: flex;
  gap: 30px;
  justify-content: flex-start;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 24px 12px 40px;   /* ruang untuk efek hover & bayangan */
  margin: -24px -12px 0;     /* kompensasi, jadi posisi kartu tetap sama */
  position: relative;
  justify-content: space-around;

}

/* tombol */
.event-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 24px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 5;
  backdrop-filter: blur(10px);
  transition: 0.3s;
}

.event-btn:hover {
  background: linear-gradient(135deg, #ff2d75, #6a00ff);
}

.event-btn.prev {
  left: -10px;
}

.event-btn.next {
  right: -10px;
}

/* biar drag smooth */
.event-container {
  cursor: grab;
}

.event-container.active {
  cursor: grabbing;
}

/* CARD */
.event-card {
  min-width: 320px;
  max-width: 320px;
  background: #1a1a2e;
  border-radius: 20px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  scroll-snap-align: start;
  cursor: pointer;
  isolation: isolate;
  z-index: 1;

  /* shadow */
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* IMAGE */
.event-img img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 15px;
}

/* TEXT */
.event-card h3 {
  margin-bottom: 10px;
}

.event-card p span {
  color: #ff2d75;
  cursor: pointer;
}

/* 🔥 HOVER EFFECT */
.event-card:hover {
  z-index: 2;
  transform: translateY(-12px) scale(1.02);
  background: #202040;

  box-shadow: 
    0 20px 40px rgba(0,0,0,0.6),
    0 0 20px rgba(255,45,117,0.4);
}

/* 🔥 ANIMATED BORDER */
.event-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(
    270deg,
    #ff2d75,
    #6a00ff,
    #00f0ff,
    #ff2d75
  );
  background-size: 600% 600%;
  z-index: -1;
  animation: borderMove 6s linear infinite;
}

/* MASK supaya jadi border saja */
.event-card::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: inherit;
  border-radius: 18px;
  z-index: -1;
}

/* ANIMATION */
@keyframes borderMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* 🔥 SCROLLBAR CUSTOM */
.event-container {
  scrollbar-width: none;
}

.event-container::-webkit-scrollbar {
  display: none;
}

.event-container::-webkit-scrollbar-track {
  background: transparent;
}

.event-container::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #ff2d75, #6a00ff);
  border-radius: 10px;
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
  .event-card {
    min-width: 85%;
  }
}


.event {
  padding: 100px 8%;
  background: linear-gradient(187deg, #ff2d75, #1a0033);
  text-align: center;
  
  overflow: visible;
  position: relative;
  min-height: 400px;
  margin-top: -270px; /* atur sesuai kebutuhan */
  border-radius: 0px 150px 150px 0px;
  z-index: 2;
  width: 98%;
}



/* SECTION LOCATION*/
.our-location {
  padding: 0 70px 0 70px;
  min-height: 450px;
  position: relative;
  background: linear-gradient(180deg, #1a0033, #ff2d75);
}

/* CONTAINER */
.location-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 40px;
  align-items: center;
}

/* TEXT */
.location-text {
  flex: 1;
}

.location-text h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: white;
  font-family: 'Love Ya Like A Sister', cursive;
}

.location-text p {
  color: white;
  line-height: 1.6;
}

/* MAP */
.location-map {
  position: relative;          /* anchor untuk ::before */
  flex: 1;
  border-radius: 20px;
  overflow: hidden;            /* biar iframe ikut rounded */
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  isolation: isolate;          /* jaga stacking context */
}

/* BORDER ANIMASI */
.location-map::before {
  content: "";
  position: absolute;
  inset: 0;                    /* pas dengan container */
  border-radius: inherit;

  padding: 3px;                /* ketebalan border */

  /* gradient bergerak */
  background: linear-gradient(270deg, #6a00ff, #ff2e88, #6a00ff);
  background-size: 300% 300%;
  animation: borderMoveMap 6s linear infinite;

  /* bikin jadi “border” (tengah dilubangi) */
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
  z-index: 2;                  /* di atas iframe */
}

/* animasi */
@keyframes borderMoveMap {
  0%   { background-position:   0% 50%; }
  100% { background-position: 300% 50%; }
}

.location-map iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .location-container {
    flex-direction: column;
  }

  .location-map iframe {
    height: 250px;
  }
}


/* JOIN WITH US */


/* =========================
   BASE SECTION
========================= */
.join-section {
  padding: 100px 20px;
  /* mulai dari pink (warna ujung section Location), lalu turun pelan ke ungu gelap */
  background:
    radial-gradient(ellipse 35% 30% at 78% 40%, rgba(255, 46, 136, 0.22), transparent 100%),
    linear-gradient(180deg,
      #ff2d75 0%,
      #c21a66 12%,
      #6e0d4e 30%,
      #2e0640 50%,
      #1a0033 70%,
      #0f001f 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

/* CONTAINER */
.join-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 60px;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding: 50px;
}

/* =========================
   LEFT (IG)
========================= */
.join-left {
  flex: 1;
  min-width: 300px;
}

/* IG CARD */
.ig-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  padding: 20px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: 0.4s;
  max-width: 520px;
}

/* ANIMATED BORDER */
.ig-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;

  background: linear-gradient(270deg, #6a00ff, #ff2e88, #6a00ff);
  background-size: 300% 300%;
  animation: borderMoveIG 6s linear infinite;

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}

/* BORDER ANIMATION */
@keyframes borderMoveIG {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* HOVER CARD */
.ig-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 40px rgba(255, 46, 136, 0.4);
}

/* TITLE */
.ig-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

/* =========================
   IMAGE → VIDEO SWITCH
========================= */
.ig-media {
  position: relative;
  display: block;
  border-radius: 15px;
  overflow: hidden;
}

/* IMAGE */
.ig-image {
  width: 100%;
  display: block;
  transition: 0.5s;
}

/* VIDEO */
.ig-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transition: 0.5s;
}

/* HOVER EFFECT */
.ig-media:hover .ig-image {
  opacity: 0;
  transform: scale(1.05);
}

.ig-media:hover .ig-video {
  opacity: 1;
}

/* USERNAME */
.ig-card p {
  margin-top: 10px;
  font-size: 14px;
  color: #ccc;
}

/* =========================
   RIGHT (JOIN TEXT)
========================= */
.join-right {
  flex: 1;
  min-width: 300px;
}

.join-right h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.join-right p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* BUTTON */
.btn {
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s;
}

/* PRIMARY BUTTON */
.btn.primary {
  background: linear-gradient(135deg, #6a00ff, #ff2e88);
  color: white;
  box-shadow: 0 0 20px rgba(255, 46, 136, 0.4);
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 46, 136, 0.6);
}

/* =========================
   BACKGROUND GLOW
========================= */
/* (cahaya pink sekarang jadi bagian background radial-gradient di atas,
   supaya tidak terpotong dan tidak membuat garis) */

.ig-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid white;
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.ig-btn:hover {
  background: white;
  color: black;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .join-container {
    flex-direction: column;
    text-align: center;
  }

  .join-right h2 {
    font-size: 30px;
  }
}

/* ANIMATION */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

.delay { transition-delay: 0.2s; }
.delay2 { transition-delay: 0.4s; }

/* =========================
   FOOTER
========================= */
.site-footer {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  /* nyambung dari bagian bawah section Join (#0f001f) */
  background:
    radial-gradient(ellipse 40% 60% at 15% 100%, rgba(255, 45, 117, 0.18), transparent 100%),
    radial-gradient(ellipse 35% 55% at 90% 0%, rgba(106, 0, 255, 0.14), transparent 100%),
    linear-gradient(180deg, #0f001f 0%, #14002a 100%);
  padding: 70px 8% 0;
  overflow: hidden;
}

/* garis gradasi tipis di atas footer */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ff2d75, #6a00ff, transparent);
  opacity: 0.7;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 50px;
}

/* BRAND */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(255, 45, 117, 0.45);
}

.footer-logo h3 {
  color: white;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.footer-logo span {
  font-size: 12px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-tagline {
  margin-top: 22px;
  font-size: 18px;
  color: #ffc2d9;
}

.footer-tagline .spesial-name {
  color: #ff6aa2;
}

/* KOLOM */
.footer-col h4 {
  color: white;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ff2d75, #6a00ff);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-col ul a:hover {
  color: #ff6aa2;
  padding-left: 6px;
}

/* IKON SOSIAL */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: white;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social svg .fill {
  fill: white;
  stroke: none;
}

.footer-social a:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, #6a00ff, #ff2e88);
  box-shadow: 0 10px 25px rgba(255, 46, 136, 0.4);
}

/* BARIS PALING BAWAH */
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* kredit desainer */
.footer-credit {
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-credit span {
  font-weight: 700;
  letter-spacing: 1.5px;
  background: linear-gradient(90deg, #ff6aa2, #b36bff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-viva {
  font-family: 'Great Vibes', cursive;
  font-size: 24px;
  color: #ff6aa2;
}

/* supaya judul section tidak tertutup navbar saat diklik dari footer */
section {
  scroll-margin-top: 70px;
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 40px;
  left: 0;
  background: white;
  padding: 10px;
  border-radius: 10px;
  display: none;
  min-width: 180px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  animation: dropdownFade 0.3s ease;
}

.dropdown li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.dropdown li:hover {
  background: #ffe5e5;
}

.dropdown img {
  width: 20px;
  transition: 0.3s;
}

.dropdown li:hover img {
  transform: rotate(10deg) scale(1.2);
}

/* munculin saat hover */
.has-dropdown:hover .dropdown {
  display: block;
}

/* animasi */
@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 768px) {
  .card-container {
    flex-direction: column;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: red;
    flex-direction: column;
    display: none;
  }

   .nav-links.active {
    display: flex;
  }

  .impact-container {
    flex-direction: column;
    align-items: center;
  }

  .impact-card {
    width: 90%;
  }

}



/* =========================================================
   RESPONSIVE MENYELURUH (HP)
========================================================= */
@media (max-width: 768px) {

  /* ---------- HOME ---------- */
  .home {
    padding: 100px 0 80px;
  }

  .home-container {
    width: 88%;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    text-align: center;
  }

  .home-image img {
    width: 180px;
  }

  .home-text {
    width: 100%;
  }

  .home-text h3 {
    font-size: 11px;
    letter-spacing: 3px;
    gap: 10px;
  }

  .home-text h3::after {         /* garis di kedua sisi saat rata tengah */
    content: "";
    width: 36px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #ffc2d9, #ff2d75);
  }

  /* ukuran ikut lebar layar, tetap 1 baris */
  #typing-main {
    font-size: clamp(14px, 4.7vw, 30px);
    letter-spacing: -0.3px;
  }

  #typing-loop {
    font-size: clamp(30px, 9vw, 40px);
  }

  /* ---------- ABOUT / REPRESENTATIVE ---------- */
  .leader-section {
    padding: 70px 20px;
  }

  .leader-container {
    gap: 30px;
  }

  /* ukuran nama organisasi ikut lebar layar, tetap 1 baris */
  .leader-title h4 {
    font-size: min(18px, calc((100vw - 40px) / 20));
  }

  .leader-title h2 {
    font-size: min(46px, 12vw);
  }

  .leader-title h3 {
    font-size: 13px;
  }

  .leader-image img {
    max-width: 280px;
  }

  .leader-name {
    font-size: 22px;
  }

  .leader-right h2 {
    font-size: 30px;
  }

  /* ---------- EVENT (slider 1 kartu per layar) ---------- */
  .event-section {
    padding: 70px 20px 50px;
  }

  .event-title {
    font-size: 34px;
    margin-bottom: 20px;
    text-align: center;
  }

  .event-container {
    gap: 16px;
    padding: 24px 0 30px;
    margin: 0;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .event-card {
    flex: 0 0 100%;
    min-width: 0;
    max-width: none;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  /* di HP cukup naik sedikit, tanpa membesar (supaya tidak terpotong) */
  .event-card:hover {
    transform: translateY(-6px);
  }

  /* ---------- LOCATION ---------- */
  .our-location {
    padding: 60px 20px;
  }

  .location-text {
    text-align: center;
  }

  .location-text h2 {
    font-size: 30px;
  }

  .location-map {
    width: 100%;
  }

  /* ---------- JOIN ---------- */
  .join-section {
    padding: 60px 20px;
  }

  .join-container {
    padding: 0;
    gap: 40px;
  }

  .ig-card,
  .join-right {
    width: 100%;
    min-width: 0;
  }

  /* ---------- FOOTER ---------- */
  .site-footer {
    padding: 56px 24px 0;
    text-align: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 36px;
  }

  .footer-logo {
    justify-content: center;
    text-align: left;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-col ul a:hover {
    padding-left: 0;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    font-size: 12px;
  }
}

/* tombol panah event: posisinya dikunci di section event
   (sebelumnya nyasar ke section Home) */
.event-section {
  position: relative;
}

.event-btn {
  display: none;
}

/* HP kecil: nama brand dibuat lebih ringkas supaya muat utuh */
@media (max-width: 480px) {
  .nav-container {
    padding: 10px 14px;
  }

  .nav-left {
    gap: 8px;
  }

  .nav-logo {
    width: 34px;
  }

  /* ruang teks = lebar layar - (padding + logo + hamburger + jarak) ≈ 100vw - 126px */
  .nav-name {
    font-size: min(13px, calc((100vw - 126px) / 18.5));
    letter-spacing: 0;
  }

  .nav-subname {
    font-size: min(9.5px, calc((100vw - 126px) / 24.5));
    letter-spacing: 0.1px;
  }
}

/* TABLET: kartu divisi turun ke baris baru, tidak terpotong di kanan */
@media (min-width: 769px) and (max-width: 1100px) {
  .division-wrapper {
    flex-wrap: wrap;
    gap: 60px 40px;
    padding-top: 30px;
  }
}


/* =========================================================
   SECTION OUR TEAM
========================================================= */
.team-section {
  position: relative;
  background: #f7f7f7;             /* nyambung dengan section About */
  padding: 40px 6% 110px;
  overflow: hidden;
  text-align: center;
}

/* cahaya dekoratif melayang di belakang foto */
.team-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
  animation: blobFloat 12s ease-in-out infinite;
}

.blob-1 {
  width: 380px;
  height: 380px;
  background: #ff6aa2;
  top: 18%;
  left: -120px;
}

.blob-2 {
  width: 420px;
  height: 420px;
  background: #b36bff;
  bottom: 0;
  right: -140px;
  animation-delay: -6s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, -30px) scale(1.08); }
}

/* JUDUL */
.team-header {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto 46px;
}

.team-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ff2d75;
}

.team-eyebrow::before,
.team-eyebrow::after {
  content: "";
  width: 34px;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #ff2d75);
}

.team-eyebrow::after {
  background: linear-gradient(90deg, #ff2d75, transparent);
}

.team-title {
  font-family: 'Love Ya Like A Sister', cursive;
  font-size: 46px;
  color: #1b2a4e;
  margin: 6px 0 14px;
}

.team-title .spesial-name {
  color: #ff2d75;
}

.team-desc {
  color: #555;
  line-height: 1.75;
  font-size: 15px;
}

.team-desc strong {
  color: #1b2a4e;
}

/* ---------- FOTO ---------- */
.team-photo {
  --x: 50%;
  --y: 50%;
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 3px;                      /* tebal bingkai gradasi */
  border-radius: 30px;
  cursor: zoom-in;
  outline: none;

  /* bingkai gradasi yang bergerak */
  background: linear-gradient(120deg, #ff2d75, #b36bff, #6a00ff, #ff6aa2, #ff2d75);
  background-size: 300% 300%;
  animation: teamBorder 8s linear infinite;

  box-shadow:
    0 30px 70px -20px rgba(106, 0, 120, 0.35),
    0 12px 30px rgba(255, 45, 117, 0.18);

  /* kondisi sebelum muncul (animasi scroll) */
  opacity: 0;
  transform: translateY(60px) scale(0.96);
  transition: opacity 1s ease, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.5s ease;
}

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

/* setelah muncul, seluruh kartu (bingkai + foto) bisa miring mengikuti kursor */
.team-photo.in-view {
  opacity: 1;
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
}

.team-photo.ready {
  transition: transform 0.35s ease-out, box-shadow 0.5s ease;
}

.team-photo-inner {
  position: relative;
  border-radius: 27px;
  overflow: hidden;
  background: #fff;
}

/* foto dibuka seperti tirai dari tengah saat pertama muncul */
.team-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 20%;     /* potong sedikit saja, kepala barisan belakang tetap utuh */
  clip-path: inset(0 50% 0 50%);
  transform: scale(1.12);
  transition: clip-path 1.4s cubic-bezier(0.77, 0, 0.18, 1) 0.2s,
              transform 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
              filter 0.6s ease;
}

.team-photo.in-view img {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}

/* cahaya yang mengikuti kursor */
.team-spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 260px at var(--x) var(--y),
              rgba(255, 255, 255, 0.35), transparent 70%);
  mix-blend-mode: soft-light;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

/* label "Lihat lebih besar" */
.team-zoom-hint {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: white;
  background: rgba(27, 0, 45, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.team-zoom-hint svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* keterangan di bawah foto (muncul saat hover) */
.team-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 70px 32px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: linear-gradient(0deg, rgba(40, 0, 60, 0.85), rgba(40, 0, 60, 0));
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-caption-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.team-caption-sub {
  font-family: 'Great Vibes', cursive;
  font-size: 24px;
  color: #ffb3d1;
}

/* ---------- HOVER (hanya perangkat dengan mouse) ---------- */
@media (hover: hover) {
  .team-photo.in-view:hover {
    box-shadow:
      0 40px 90px -20px rgba(106, 0, 120, 0.5),
      0 0 50px rgba(255, 45, 117, 0.3);
  }

  .team-photo:hover img {
    transform: scale(1.04);
    filter: saturate(1.1) contrast(1.03);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
  }

  .team-photo:hover .team-spotlight,
  .team-photo:hover .team-zoom-hint,
  .team-photo:hover .team-caption {
    opacity: 1;
    transform: none;
  }
}

.team-photo:focus-visible .team-zoom-hint,
.team-photo:focus-visible .team-caption {
  opacity: 1;
  transform: none;
}

/* NILAI (Knowledge · Action · Friendship) */
.team-values {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  font-size: 18px;
  font-weight: 600;
  color: #1b2a4e;
}

.team-values .spesial-name {
  color: #ff2d75;
}

.team-values .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2d75, #6a00ff);
}

/* ---------- LIGHTBOX ---------- */
.team-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(15, 0, 30, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.team-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-scroller {
  max-width: 94vw;
  max-height: 86vh;
  overflow: auto;
  border-radius: 18px;
  scrollbar-width: none;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.92);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox-scroller::-webkit-scrollbar {
  display: none;
}

.team-lightbox.open .lightbox-scroller {
  transform: scale(1);
}

.lightbox-scroller img {
  display: block;
  max-width: 94vw;
  max-height: 86vh;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.3s ease, transform 0.3s ease;
  z-index: 1;
}

.lightbox-close:hover {
  background: linear-gradient(135deg, #6a00ff, #ff2e88);
  transform: rotate(90deg);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: white;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.lightbox-hint {
  display: none;
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .team-title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .team-section {
    padding: 20px 16px 80px;
  }

  .team-header {
    margin-bottom: 30px;
  }

  .team-eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
    gap: 8px;
  }

  .team-eyebrow::before,
  .team-eyebrow::after {
    width: 22px;
  }

  .team-title {
    font-size: 34px;
  }

  .team-desc {
    font-size: 14px;
  }

  .team-photo {
    border-radius: 20px;
    padding: 2px;
  }

  .team-photo-inner {
    border-radius: 18px;
  }

  /* di HP (tanpa hover) label & keterangan selalu tampil, versi ringkas */
  .team-zoom-hint {
    opacity: 1;
    transform: none;
    top: 10px;
    right: 10px;
    padding: 6px 11px;
    font-size: 11px;
  }

  .team-caption {
    opacity: 1;
    transform: none;
    padding: 40px 16px 12px;
  }

  .team-caption-title {
    font-size: 13px;
  }

  .team-caption-sub {
    font-size: 16px;
  }

  .team-values {
    font-size: 15px;
    gap: 12px;
    margin-top: 24px;
  }

  .blob-1,
  .blob-2 {
    width: 240px;
    height: 240px;
  }

  /* lightbox di HP: foto dibuat tinggi, bisa digeser ke samping */
  .lightbox-scroller {
    max-width: 100vw;
    border-radius: 0;
  }

  .lightbox-scroller img {
    max-width: none;
    height: 62vh;
    max-height: none;
    width: auto;
  }

  .lightbox-hint {
    display: block;
  }
}

/* hormati pengguna yang mematikan animasi */
@media (prefers-reduced-motion: reduce) {
  .team-blob,
  .team-photo {
    animation: none;
  }

  .team-photo,
  .team-photo img {
    transition: none;
    clip-path: none;
    transform: none;
    opacity: 1;
  }
}

/* =========================================================
   SUB-MENU DIVISI DI NAVBAR
========================================================= */
.nav-menu {
  align-items: center;
}

.nav-sub {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
}

/* tombol panah kecil (2 garis, beranimasi seperti hamburger) */
.sub-toggle {
  position: relative;
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease;
}

.sub-toggle span {
  position: absolute;
  top: 10px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: white;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.sub-toggle span:nth-child(1) {
  left: 5px;
  transform-origin: right center;
  transform: rotate(40deg);
}

.sub-toggle span:nth-child(2) {
  left: 11px;
  transform-origin: left center;
  transform: rotate(-40deg);
}

/* terbuka: panah berbalik ke atas */
.nav-sub.open .sub-toggle span:nth-child(1) { transform: rotate(-40deg); }
.nav-sub.open .sub-toggle span:nth-child(2) { transform: rotate(40deg); }

/* panel daftar divisi */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  padding-top: 18px;               /* jembatan supaya hover tidak putus */
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s;
  z-index: 10;
}

.sub-menu-inner {
  width: 290px;
  padding: 10px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 45, 117, 0.96), rgba(90, 0, 110, 0.97));
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 25px 50px -10px rgba(15, 0, 30, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* segitiga kecil di atas panel */
.sub-menu-inner::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  transform: rotate(45deg);
  background: rgba(255, 45, 117, 0.96);
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.sub-title {
  padding: 6px 12px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.sub-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  color: white;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.sub-link img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
  transition: transform 0.4s ease;
}

.sub-link span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.sub-link strong {
  font-size: 14px;
  font-weight: 600;
}

.sub-link small {
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.65);
}

.sub-link:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(4px);
}

.sub-link:hover img {
  transform: rotate(-10deg) scale(1.08);
}

.sub-link.current {
  background: rgba(255, 255, 255, 0.22);
}

/* LAPTOP: muncul saat di-hover */
@media (min-width: 901px) {
  .nav-sub:hover .sub-menu,
  .nav-sub:focus-within .sub-menu,
  .nav-sub.open .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }

  .nav-sub:hover .sub-toggle span:nth-child(1) { transform: rotate(-40deg); }
  .nav-sub:hover .sub-toggle span:nth-child(2) { transform: rotate(40deg); }

  .sub-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
  }

  /* muncul berurutan */
  .sub-link {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.25s ease;
  }

  .nav-sub:hover .sub-link,
  .nav-sub:focus-within .sub-link,
  .nav-sub.open .sub-link {
    opacity: 1;
    transform: none;
  }

  .nav-sub:hover .sub-link:hover {
    transform: translateX(4px);
  }

  .sub-link:nth-of-type(2) { transition-delay: 0.03s; }
  .sub-link:nth-of-type(3) { transition-delay: 0.06s; }
  .sub-link:nth-of-type(4) { transition-delay: 0.09s; }
  .sub-link:nth-of-type(5) { transition-delay: 0.12s; }
  .sub-link:nth-of-type(6) { transition-delay: 0.15s; }
  .nav-sub .sub-link:hover { transition-delay: 0s; }
}

/* HP & TABLET: di dalam menu hamburger, dibuka dengan tombol panah */
@media (max-width: 900px) {
  .nav-menu {
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }

  .nav-sub {
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
  }

  .nav-sub > .nav-link {
    flex: 1;
  }

  .sub-toggle {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
  }

  .sub-toggle span {
    top: 19px;
    width: 9px;
  }

  .sub-toggle span:nth-child(1) { left: 12px; }
  .sub-toggle span:nth-child(2) { left: 20px; }

  .nav-sub.open .sub-toggle {
    background: rgba(255, 255, 255, 0.28);
  }

  .sub-menu {
    position: static;
    flex-basis: 100%;
    padding-top: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-sub.open .sub-menu {
    grid-template-rows: 1fr;
  }

  .sub-menu-inner {
    width: auto;
    min-height: 0;
    overflow: hidden;
    padding: 0 0 0 8px;
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .sub-menu-inner::before,
  .sub-title {
    display: none;
  }

  .sub-link {
    padding: 8px 10px;
    margin-top: 2px;
    border-left: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 0 10px 10px 0;
  }

  .sub-link img {
    width: 26px;
    height: 26px;
  }

  .sub-link strong {
    font-size: 13px;
  }

  .sub-link small {
    display: none;
  }
}

/* =========================================================
   TOMBOL "MAIN BOARD" DI ABOUT US
========================================================= */
.mainboard-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  padding: 10px 10px 10px 26px;
  border-radius: 999px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #ff2d75, #6a00ff);
  background-size: 200% 200%;
  box-shadow: 0 12px 30px -8px rgba(255, 45, 117, 0.55);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, background-position 0.6s ease;
}

/* kilau lewat saat hover */
.mainboard-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}

.mainboard-btn:hover {
  transform: translateY(-3px);
  background-position: 100% 0;
  box-shadow: 0 18px 40px -8px rgba(106, 0, 255, 0.55);
}

.mainboard-btn:hover::before {
  left: 130%;
}

/* ikon bulat: 3 garis (hamburger) berubah jadi panah → saat hover */
.mainboard-btn-icon {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: white;
  flex-shrink: 0;
}

.mainboard-btn-icon span {
  position: absolute;
  left: 11px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #ff2d75;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1), top 0.4s ease, width 0.4s ease, left 0.4s ease;
}

.mainboard-btn-icon span:nth-child(1) { top: 13px; }
.mainboard-btn-icon span:nth-child(2) { top: 18px; }
.mainboard-btn-icon span:nth-child(3) { top: 23px; }

.mainboard-btn:hover .mainboard-btn-icon span:nth-child(1) {
  top: 15px; left: 18px; width: 9px;
  transform: rotate(45deg);
}

.mainboard-btn:hover .mainboard-btn-icon span:nth-child(2) {
  top: 18px; left: 10px; width: 17px;
}

.mainboard-btn:hover .mainboard-btn-icon span:nth-child(3) {
  top: 21px; left: 18px; width: 9px;
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .mainboard-btn {
    margin-top: 4px;
  }
}

/* =========================================================
   OUR EVENTS: KARTU EVENT DENGAN DETAIL (hover / tap)
========================================================= */

/* ruang di atas kartu untuk logo divisi yang muncul */
.event-container {
  padding-top: 70px;
  margin-top: -46px;
}

.event-card.ev-rich {
  overflow: visible;          /* logo boleh keluar di atas kartu */
  padding: 16px;
  display: flex;
  flex-direction: column;
  outline: none;
}

/* ---- LOGO DIVISI DI ATAS KOTAK ---- */
.ev-div-logo {
  position: absolute;
  z-index: 5;
  top: -30px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 30px) scale(0.4) rotate(-90deg);
  transition: opacity 0.4s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ev-div-logo img {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #1a1a2e;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45), 0 0 30px rgba(182, 154, 217, 0.7);
}

/* cincin gradasi berputar di belakang logo */
.ev-div-ring {
  position: absolute;
  top: -6px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: conic-gradient(#b69ad9, #ff2d75, #6a00ff, #b69ad9);
  animation: evRing 3s linear infinite;
}

@keyframes evRing {
  to { transform: rotate(360deg); }
}

.ev-div-name {
  margin-top: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  color: white;
  background: rgba(26, 0, 51, 0.85);
  border: 1px solid rgba(182, 154, 217, 0.6);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease 0.25s, transform 0.4s ease 0.25s;
}

/* ---- FOTO ---- */
.ev-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
}

.ev-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}

.ev-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: white;
  background: linear-gradient(135deg, rgba(255, 45, 117, 0.9), rgba(106, 0, 255, 0.9));
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease;
}

/* panel detail yang naik dari bawah */
.ev-detail {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: white;
  background: linear-gradient(0deg, rgba(20, 0, 40, 0.96) 0%, rgba(40, 0, 70, 0.88) 55%, rgba(40, 0, 70, 0.35) 100%);
  opacity: 0;
  transform: translateY(35%);
  transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.ev-detail-kicker {
  font-family: 'Great Vibes', cursive;
  font-size: 24px;
  color: #ffb3d1;
  line-height: 1.1;
  margin-bottom: 6px;
}

.ev-detail-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.ev-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.ev-chips li {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* ---- TEKS BAWAH ---- */
.ev-body h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.ev-x {
  color: #ff6aa2;
  font-weight: 400;
}

.ev-body p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.ev-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #ff6aa2;
}

.ev-hint-mobile { display: none; }

/* panah kecil 2 garis (animasi ala hamburger) */
.ev-hint-arrow {
  position: relative;
  width: 14px;
  height: 14px;
}

.ev-hint-arrow span {
  position: absolute;
  top: 6px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: #ff6aa2;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.ev-hint-arrow span:nth-child(1) { left: 0;   transform-origin: right center; transform: rotate(-40deg); }
.ev-hint-arrow span:nth-child(2) { left: 6px; transform-origin: left center;  transform: rotate(40deg); }

/* ---- STATE AKTIF (hover di laptop / .active saat diketuk di HP) ---- */
.event-card.ev-rich.active .ev-div-logo {
  opacity: 1;
  transform: translate(-50%, -12px) scale(1) rotate(0deg);
  pointer-events: auto;
}

.event-card.ev-rich.active .ev-div-name { opacity: 1; transform: none; }
.event-card.ev-rich.active .ev-media img { transform: scale(1.1); filter: saturate(1.1); }
.event-card.ev-rich.active .ev-detail { opacity: 1; transform: none; }
.event-card.ev-rich.active .ev-badge { opacity: 0; }
.event-card.ev-rich.active .ev-hint-arrow span:nth-child(1) { transform: rotate(40deg); }
.event-card.ev-rich.active .ev-hint-arrow span:nth-child(2) { transform: rotate(-40deg); }

.event-card.ev-rich.active {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(182, 154, 217, 0.45);
}

@media (hover: hover) {
  .event-card.ev-rich:hover .ev-div-logo {
    opacity: 1;
    transform: translate(-50%, -12px) scale(1) rotate(0deg);
    pointer-events: auto;
  }
  .event-card.ev-rich:hover .ev-div-name { opacity: 1; transform: none; }
  .event-card.ev-rich:hover .ev-media img { transform: scale(1.1); filter: saturate(1.1); }
  .event-card.ev-rich:hover .ev-detail { opacity: 1; transform: none; }
  .event-card.ev-rich:hover .ev-badge { opacity: 0; }
  .event-card.ev-rich:hover .ev-hint-arrow span:nth-child(1) { transform: rotate(40deg); }
  .event-card.ev-rich:hover .ev-hint-arrow span:nth-child(2) { transform: rotate(-40deg); }
  .event-card.ev-rich:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(182, 154, 217, 0.45);
  }
}

/* perangkat sentuh: tampilkan petunjuk "Tap" */
@media (hover: none) {
  .ev-hint-desktop { display: none; }
  .ev-hint-mobile { display: inline; }
}

@media (max-width: 768px) {
  .event-container {
    padding-top: 64px;
    margin-top: -22px;
  }

  .ev-detail-text { font-size: 12px; }
}

/* penyesuaian kartu event */
.ev-detail {
  padding-top: 46px;       /* ruang untuk logo yang menjorok ke foto */
}

.ev-detail-div {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d9c6f2;
}

.ev-chips {
  flex-wrap: nowrap;
}

.ev-chips li {
  white-space: nowrap;
}

/* warna aksen per divisi pada kartu event */
.event-card.ev-rich { --ev-accent: #b69ad9; }       /* EA (default) */
.event-card.ev-rich.ev-anr { --ev-accent: #f4a259; } /* AnR */

.ev-div-ring {
  background: conic-gradient(var(--ev-accent), #ff2d75, #6a00ff, var(--ev-accent));
}

.ev-div-logo img {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45), 0 0 30px var(--ev-accent);
}

.ev-detail-div {
  color: var(--ev-accent);
}

.event-card.ev-rich.active,
.event-card.ev-rich:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px color-mix(in srgb, var(--ev-accent) 55%, transparent);
}

.ev-body h3 {
  line-height: 1.35;
}

.event-card.ev-rich.ev-co { --ev-accent: #e0566f; } /* CO */

/* =========================================================
   SUB-MENU DIVISI: perbaikan
========================================================= */
/* hapus segitiga (belah ketupat) yang menutupi judul */
.sub-menu-inner::before {
  display: none;
}

/* garis tipis di bawah "Choose a Division" */
.sub-title {
  margin: 0 4px 6px;
  padding: 8px 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

/* garis pemisah halus antar divisi */
.sub-menu-inner .sub-link + .sub-link {
  position: relative;
  margin-top: 2px;
}

.sub-menu-inner .sub-link + .sub-link::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 58px;
  right: 12px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

/* saat di-hover garisnya menyatu dengan sorotan */
.sub-menu-inner .sub-link:hover::before,
.sub-menu-inner .sub-link:hover + .sub-link::before,
.sub-menu-inner .sub-link.current::before,
.sub-menu-inner .sub-link.current + .sub-link::before {
  opacity: 0;
}

@media (max-width: 900px) {
  .sub-menu-inner .sub-link + .sub-link::before { display: none; }
}

/* =========================================================
   MENU HP: "Division" + panah sejajar di tengah seperti menu lain
========================================================= */
@media (max-width: 900px) {
  .nav-sub {
    justify-content: center;
    gap: 0;
  }

  .nav-sub > .nav-link {
    flex: 0 0 auto;
    padding-right: 4px;
  }

  .sub-toggle {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: transparent;
  }

  .sub-toggle span {
    top: 12px;
    width: 7px;
  }

  .sub-toggle span:nth-child(1) { left: 6px; }
  .sub-toggle span:nth-child(2) { left: 12px; }

  .nav-sub.open .sub-toggle {
    background: rgba(255, 255, 255, 0.2);
  }

  /* daftar divisi tetap di bawah, lebar penuh */
  .sub-menu {
    flex-basis: 100%;
  }
}

/* =========================================================
   LOCATION (versi baru)
========================================================= */
.our-location {
  padding: 90px 70px 100px;
}

.loc-kicker,
.join-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ffd1e3;
  margin-bottom: 4px;
}

.loc-kicker::before,
.join-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ffd1e3, transparent);
}

.loc-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 26px;
}

.loc-info li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
}

.loc-info li:hover {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.14);
}

.loc-info li > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.loc-info strong {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffd1e3;
}

.loc-info a {
  color: white;
  text-decoration: none;
}

.loc-info a:hover {
  text-decoration: underline;
}

.loc-icon,
.perk-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff2d75, #6a00ff);
  box-shadow: 0 8px 20px rgba(106, 0, 255, 0.35);
}

.loc-icon svg,
.perk-icon svg,
.loc-btn svg,
.ig-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: white;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.loc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: white;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease;
}

.loc-btn.primary {
  background: white;
  color: #c2185b;
  box-shadow: 0 10px 25px rgba(26, 0, 51, 0.3);
}

.loc-btn.primary svg {
  stroke: #c2185b;
  transition: transform 0.4s ease;
}

.loc-btn.primary:hover svg {
  transform: translate(3px, -3px) rotate(8deg);
}

.loc-btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.loc-btn:hover {
  transform: translateY(-3px);
}

.loc-btn.ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* peta lebih tinggi + label melayang */
.location-map iframe {
  height: 420px;
  display: block;
}

.map-tag {
  position: absolute;
  z-index: 3;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  background: rgba(26, 0, 51, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  animation: mapFloat 3.5s ease-in-out infinite;
  pointer-events: none;
}

.map-tag img {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
}

.map-tag > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-size: 13px;
}

.map-tag small {
  font-size: 11px;
  color: #ffb3d1;
}

/* denyut lokasi di belakang logo */
.map-pulse {
  position: absolute;
  left: 8px;
  top: 50%;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border-radius: 50%;
  background: #ff2d75;
  animation: mapPulse 2s ease-out infinite;
}

@keyframes mapPulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; }
}

@keyframes mapFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* =========================================================
   JOIN WITH US (versi baru)
========================================================= */
.join-container {
  align-items: stretch;
}

.join-section > * {
  position: relative;
  z-index: 1;
}

/* ---- kartu Instagram ---- */
.ig-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  flex: 1;
}

.ig-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ig-avatar {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  padding: 2px;
  border-radius: 50%;
  background: conic-gradient(#feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75);
  animation: evRing 6s linear infinite;
}

.ig-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #1a0033;
  background: white;
  animation: evRing 6s linear infinite reverse;   /* logo tetap tegak */
}

.ig-user {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.ig-user strong {
  font-size: 15px;
}

.ig-user small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ig-follow {
  margin-left: auto;
  padding: 7px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  background: linear-gradient(135deg, #6a00ff, #ff2e88);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ig-follow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 46, 136, 0.45);
}

.ig-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 6px;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
}

.ig-tile {
  position: relative;
  overflow: hidden;
  display: block;
}

.ig-tile.big {
  grid-row: 1 / span 3;
}

.ig-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

/* ikon IG muncul saat hover */
.ig-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8'><rect x='3' y='3' width='18' height='18' rx='5'/><circle cx='12' cy='12' r='4'/><circle cx='17.5' cy='6.5' r='1' fill='white' stroke='none'/></svg>") center / 30px no-repeat,
    linear-gradient(135deg, rgba(255, 45, 117, 0.55), rgba(106, 0, 255, 0.55));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.ig-tile:hover img {
  transform: scale(1.12);
}

.ig-tile:hover::after {
  opacity: 1;
}

.ig-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
}

.ig-btn:hover svg {
  stroke: black;
}

.ig-btn svg .fill {
  fill: currentColor;
  stroke: none;
}

/* ---- sisi Join ---- */
.join-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.join-right h2 {
  font-family: 'Love Ya Like A Sister', cursive;
  font-weight: 400;
  margin: 6px 0 12px;
}

.join-right h2 .spesial-name {
  color: #ff6aa2;
}

.join-right > p {
  margin-bottom: 22px;
}

.join-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.join-perks li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.join-perks li > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.45;
}

.join-perks strong {
  color: white;
  font-size: 15px;
}

.join-perks li:hover .perk-icon {
  transform: rotate(-8deg) scale(1.08);
}

.perk-icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.join-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

/* tombol Join Now dengan cahaya berdenyut */
.join-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 30px;
  font-size: 16px;
  animation: ctaGlow 2.4s ease-in-out infinite;
}

@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 46, 136, 0.4); }
  50%      { box-shadow: 0 0 38px rgba(255, 46, 136, 0.75), 0 0 60px rgba(106, 0, 255, 0.35); }
}

/* ikon hamburger -> panah saat hover */
.join-cta-arrow {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: white;
}

.join-cta-arrow span {
  position: absolute;
  left: 8px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: #ff2d75;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1), top 0.4s ease, width 0.4s ease, left 0.4s ease;
}

.join-cta-arrow span:nth-child(1) { top: 10px; }
.join-cta-arrow span:nth-child(2) { top: 14px; }
.join-cta-arrow span:nth-child(3) { top: 18px; }

.join-cta:hover .join-cta-arrow span:nth-child(1) { top: 11px; left: 14px; width: 8px; transform: rotate(45deg); }
.join-cta:hover .join-cta-arrow span:nth-child(2) { top: 14px; left: 7px;  width: 15px; }
.join-cta:hover .join-cta-arrow span:nth-child(3) { top: 17px; left: 14px; width: 8px; transform: rotate(-45deg); }

/* bukti sosial: avatar + jumlah anggota */
.join-proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.join-proof strong {
  color: white;
  font-size: 16px;
}

.join-avatars {
  display: flex;
}

.join-avatars img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  background: linear-gradient(135deg, #ffb3d1, #b36bff);
  border: 2px solid #1a0033;
  margin-left: -10px;
}

.join-avatars img:first-child {
  margin-left: 0;
}

/* ---- responsif ---- */
@media (max-width: 900px) {
  .our-location {
    padding: 70px 24px 80px;
  }

  .join-container {
    padding: 0;
  }
}

@media (max-width: 768px) {
  .loc-kicker,
  .join-kicker {
    justify-content: center;
  }

  .loc-info li {
    text-align: left;
  }

  .loc-actions,
  .join-actions {
    justify-content: center;
  }

  .location-map iframe {
    height: 300px;
  }

  .map-tag {
    left: 12px;
    bottom: 12px;
  }

  .ig-card {
    max-width: none;
  }

  .ig-user small {
    display: none;
  }

  .join-perks li {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .our-location { padding-bottom: 50px; }
  .join-section { padding-top: 30px; }
}

/* =========================================================
   OUR DIVISIONS: FLIP CARD
========================================================= */
.division-sub {
  max-width: 560px;
  margin: -30px auto 40px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.7;
}

.div-flip-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 0 20px;
  overflow: visible;
}

.div-flip {
  --div-color: #ff6aa2;
  display: block;
  height: 280px;
  perspective: 1100px;
  text-decoration: none;
  color: white;
  outline: none;
}

.div-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.div-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px 14px;
  border-radius: 24px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

/* ---- DEPAN ---- */
.div-front {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -12px rgba(26, 0, 51, 0.55);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* cahaya warna divisi di belakang logo */
.div-glow {
  position: absolute;
  top: 18%;
  left: 50%;
  width: 140px;
  height: 140px;
  margin-left: -70px;
  border-radius: 50%;
  background: var(--div-color);
  filter: blur(40px);
  opacity: 0.35;
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.div-logo {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25), 0 12px 25px rgba(0, 0, 0, 0.35);
  animation: floating 4s ease-in-out infinite;
}

.div-name {
  position: relative;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.div-name .spesial-name {
  color: var(--div-color);
  font-size: 1.5em;
}

.div-flip-hint {
  position: relative;
  margin-top: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.hint-mobile { display: none; }

/* ---- BELAKANG ---- */
.div-back {
  transform: rotateY(180deg);
  gap: 6px;
  background:
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--div-color) 70%, transparent), transparent 70%),
    linear-gradient(160deg, #3a0747, #1a0033);
  border: 1px solid color-mix(in srgb, var(--div-color) 70%, white 10%);
  box-shadow: 0 20px 45px -10px rgba(26, 0, 51, 0.7), 0 0 30px color-mix(in srgb, var(--div-color) 40%, transparent);
}

.div-back-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--div-color);
}

.div-head-photo {
  width: 78px;
  height: 78px;
  margin: 6px 0 4px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(var(--div-color), #ff2d75, #6a00ff, var(--div-color));
}

.div-head-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 8%;
  background: linear-gradient(160deg, #ffe1ec, #e3d4ff);
  border: 2px solid #1a0033;
}

.div-head-name {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
}

.div-count {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.div-count strong {
  font-size: 18px;
  color: white;
  margin-right: 2px;
}

.div-explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 7px 10px 7px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #1a0033;
  background: white;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.div-explore-arrow {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--div-color);
}

.div-explore-arrow span {
  position: absolute;
  left: 6px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: white;
  transform-origin: right center;
}

.div-explore-arrow span:nth-child(1) { top: 8px; transform: rotate(40deg); }
.div-explore-arrow span:nth-child(2) { top: 8px; transform: rotate(-40deg); }

/* ---- BALIK (hover di laptop / .flipped di HP) ---- */
.div-flip.flipped .div-flip-inner {
  transform: rotateY(180deg);
}

@media (hover: hover) {
  .div-flip:hover .div-flip-inner,
  .div-flip:focus-visible .div-flip-inner {
    transform: rotateY(180deg);
  }
}

@media (hover: none) {
  .hint-desktop { display: none; }
  .hint-mobile { display: inline; }
}

/* ---- RESPONSIF ---- */
@media (max-width: 1100px) {
  .div-flip-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 640px;
    gap: 22px;
  }
}

@media (max-width: 768px) {
  .division-sub {
    margin: -14px auto 20px;
    font-size: 14px;
  }

  /* slider: 1 kartu per layar */
  .div-flip-wrapper {
    display: flex;
    max-width: none;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 0 24px;
    scrollbar-width: none;
  }

  .div-flip-wrapper::-webkit-scrollbar { display: none; }

  .div-flip {
    flex: 0 0 100%;
    height: 340px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .div-logo { width: 130px; height: 130px; }
  .div-name { font-size: 18px; }
  .div-head-photo { width: 104px; height: 104px; }
  .div-head-name { font-size: 16px; }
  .div-back-label { font-size: 11px; }
}

/* =========================================================
   OUR EVENTS: TANGGAL
========================================================= */
.ev-date {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 48px;
  padding: 6px 8px 5px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* garis warna divisi di atas kalender */
.ev-date::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--ev-accent, #ff2d75);
}

.ev-date strong {
  margin-top: 2px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #1a0033;
}

.ev-date small {
  font-size: 10px;
  font-weight: 600;
  color: #8a6f99;
}

.event-card.ev-rich.active .ev-date { transform: rotate(-6deg) scale(1.06); }

@media (hover: hover) {
  .event-card.ev-rich:hover .ev-date { transform: rotate(-6deg) scale(1.06); }
}

/* =========================================================
   STATISTIK (difcount): versi lebih hidup
========================================================= */
.stats-head {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 44px;
}

.stats-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ffc2d9;
}

.stats-kicker::before,
.stats-kicker::after {
  content: "";
  width: 30px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #ffc2d9);
}

.stats-kicker::after {
  background: linear-gradient(90deg, #ffc2d9, transparent);
}

.stats-title {
  font-family: 'Love Ya Like A Sister', cursive;
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 46px);
  color: white;
  margin-top: 6px;
}

.stats-title .spesial-name {
  color: #ffb3d1;
}

/* kartu */
.stat-card {
  isolation: isolate;
  padding-top: 34px;
  padding-bottom: 28px;
}

/* bingkai gradasi yang berputar (muncul saat hover) */
.stat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--stat-angle, 0deg), #ff2d75, #ffb3d1, #6a00ff, #ff2d75);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: statSpin 4s linear infinite;
}

@property --stat-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes statSpin {
  to { --stat-angle: 360deg; }
}

/* kilau yang menyapu kartu */
.stat-shine {
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
  animation: statShine 6s ease-in-out infinite;
}

.stat-card:nth-child(2) .stat-shine { animation-delay: 2s; }
.stat-card:nth-child(3) .stat-shine { animation-delay: 4s; }

@keyframes statShine {
  0%, 70% { left: -70%; }
  100%    { left: 130%; }
}

/* ikon */
.stat-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff2d75, #6a00ff);
  box-shadow: 0 10px 25px rgba(106, 0, 255, 0.4);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: white;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* angka + akhiran */
.stat-value {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-value .difcount-number {
  margin-bottom: 0;
}

.stat-suffix {
  margin-left: 2px;
  font-size: 34px;
  font-weight: 700;
  color: #ff6aa2;
}

/* bar yang terisi bersama hitungan angka */
.stat-bar {
  display: block;
  width: 70%;
  height: 4px;
  margin: 16px auto 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.stat-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #ffb3d1, #ff2d75, #6a00ff);
  box-shadow: 0 0 10px rgba(255, 45, 117, 0.7);
}

.stat-note {
  display: block;
  font-size: 12.5px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.65);
}

/* HOVER / ketuk */
.stat-card.lifted::after { opacity: 1; }
.stat-card.lifted .stat-icon { transform: rotate(-10deg) scale(1.1); }

@media (hover: hover) {
  .difcount.is-visible .stat-card:hover::after { opacity: 1; }
  .stat-card:hover .stat-icon { transform: rotate(-10deg) scale(1.1); }
}

@media (max-width: 768px) {
  .stats-head { margin-bottom: 28px; }
  .stats-kicker { font-size: 11px; letter-spacing: 3px; }
  .stat-icon { width: 46px; height: 46px; }
}

/* =========================================================
   ABOUT US: REPRESENTATIVE (versi baru)
========================================================= */
.leader-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  outline: none;
  cursor: pointer;
}

/* cincin gradasi di belakang foto */
.lead-ring {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 78%;
  max-width: 330px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(#ff6aa2, #ff2d75, #6a00ff, #b36bff, #ff6aa2);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  opacity: 0.45;
  animation: leadSpin 12s linear infinite;
  transition: opacity 0.5s ease, width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes leadSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* logo AMSA muncul di belakang foto saat hover */
.lead-logo {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 70%;
  max-width: 300px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: white;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4) rotate(-120deg);
  filter: blur(8px) drop-shadow(0 0 30px rgba(255, 45, 117, 0.6));
  transition: opacity 0.6s ease, transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.6s ease;
}

.leader-image .lead-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 350px;
  filter: drop-shadow(0 20px 30px rgba(27, 42, 78, 0.25));
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}

.lead-spark {
  position: absolute;
  z-index: 2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff2d75;
  box-shadow: 0 0 12px #ff6aa2, 0 0 22px #ff2d75;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lead-spark.s1 { top: 14%; left: 14%; }
.lead-spark.s2 { top: 26%; right: 12%; width: 6px; height: 6px; }
.lead-spark.s3 { top: 58%; left: 8%;  width: 5px; height: 5px; }

/* aktif: hover (laptop) / ketuk (HP) */
.leader-image.active .lead-logo {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
  filter: blur(0) drop-shadow(0 0 30px rgba(255, 45, 117, 0.6));
}
.leader-image.active .lead-ring { opacity: 1; width: 90%; }
.leader-image.active .lead-photo { transform: translateY(-10px) scale(1.03); }
.leader-image.active .lead-spark { opacity: 1; transform: scale(1); animation: sparkFloat 3s ease-in-out infinite; }

@media (hover: hover) {
  .leader-image:hover .lead-logo {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    filter: blur(0) drop-shadow(0 0 30px rgba(255, 45, 117, 0.6));
  }
  .leader-image:hover .lead-ring { opacity: 1; width: 90%; }
  .leader-image:hover .lead-photo { transform: translateY(-10px) scale(1.03); }
  .leader-image:hover .lead-spark { opacity: 1; transform: scale(1); animation: sparkFloat 3s ease-in-out infinite; }
}

@keyframes sparkFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -12px; }
}

.leader-image .fade-bottom {
  z-index: 2;
  left: 0;
}

.leader-role {
  position: relative;
  z-index: 3;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ff2d75;
}

/* ---- sisi kanan ---- */
.leader-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ff2d75 !important;
}

.leader-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ff2d75, #6a00ff);
}

.leader-values {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -4px 0 22px;
}

.leader-values li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #1b2a4e;
  background: white;
  border: 1px solid rgba(255, 45, 117, 0.2);
  box-shadow: 0 8px 20px -8px rgba(255, 45, 117, 0.35);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.leader-values li:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -8px rgba(255, 45, 117, 0.5);
}

.leader-values .spesial-name {
  color: #ff2d75;
}

.lv-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2d75, #6a00ff);
}

/* kutipan */
.leader-quote {
  position: relative;
  margin: 6px 0 20px;
  padding: 16px 22px 16px 26px;
  border-radius: 0 16px 16px 0;
  background: linear-gradient(90deg, rgba(255, 45, 117, 0.08), transparent);
  border-left: 4px solid #ff2d75;
}

.leader-quote p {
  margin: 0 !important;
  font-size: 18px;
  font-style: italic;
  font-weight: 600;
  color: #1b2a4e !important;
}

.leader-quote span {
  display: block;
  margin-top: 4px;
  font-family: 'Great Vibes', cursive;
  font-size: 26px;
  color: #ff2d75;
}

/* tanda tangan */
.leader-sign {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.sign-name {
  font-family: 'Great Vibes', cursive;
  font-size: 34px;
  line-height: 1.1;
  color: #1b2a4e;
}

.sign-role {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8a8fa8;
}

@media (max-width: 768px) {
  .leader-kicker,
  .leader-values {
    justify-content: center;
  }

  .leader-quote {
    text-align: left;
  }

  .leader-sign {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .leader-kicker { font-size: 10.5px; letter-spacing: 2px; }
  .leader-kicker::before { display: none; }
}

/* =========================================================
   OUR TEAM: SLIDER FOTO
========================================================= */
.team-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a0033;
  /* animasi tirai saat pertama muncul */
  clip-path: inset(0 50% 0 50%);
  transition: clip-path 1.4s cubic-bezier(0.77, 0, 0.18, 1) 0.2s;
}

.team-photo.in-view .team-slides {
  clip-path: inset(0 0 0 0);
}

/* semua foto slide ditumpuk */
.team-photo .team-slides .team-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 50% 30%;
  clip-path: circle(0% at var(--cx, 100%) 50%);
  transform: scale(1.18);
  filter: brightness(0.8);
  z-index: 1;
  transition:
    clip-path 1.25s cubic-bezier(0.77, 0, 0.18, 1),
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1s ease;
}

/* foto yang aktif: terbuka seperti lingkaran yang membesar */
.team-photo .team-slides .team-slide.is-active {
  z-index: 3;
  clip-path: circle(150% at var(--cx, 100%) 50%);
  transform: scale(1);
  filter: brightness(1);
  animation: teamKenBurns 9s ease-out 1.3s forwards;
}

/* foto yang keluar: mundur & meredup di belakang */
.team-photo .team-slides .team-slide.is-leaving {
  z-index: 2;
  clip-path: circle(150% at 50% 50%);
  transform: scale(0.92);
  filter: brightness(0.35) blur(2px);
}

@keyframes teamKenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

/* hover di laptop: foto tidak lagi di-zoom oleh aturan lama */
.team-photo:hover .team-slides .team-slide { transition-duration: 1.25s, 1.6s, 1s; }

/* ---- tombol kiri/kanan ---- */
.team-nav {
  position: absolute;
  z-index: 6;
  top: 50%;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(26, 0, 51, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  opacity: 0.85;
  transition: background 0.35s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, box-shadow 0.3s ease;
}

.team-nav.prev { left: 18px; }
.team-nav.next { right: 18px; }

/* panah dari 2 garis */
.team-nav span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: white;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1), width 0.4s ease;
}

.team-nav.next span { margin-left: -4px; transform-origin: right center; }
.team-nav.next span:nth-child(1) { transform: translate(0, -1px) rotate(40deg); }
.team-nav.next span:nth-child(2) { transform: translate(0, -1px) rotate(-40deg); }

.team-nav.prev span { margin-left: -8px; transform-origin: left center; }
.team-nav.prev span:nth-child(1) { transform: translate(0, -1px) rotate(-40deg); }
.team-nav.prev span:nth-child(2) { transform: translate(0, -1px) rotate(40deg); }

.team-nav:hover {
  opacity: 1;
  background: linear-gradient(135deg, #ff2d75, #6a00ff);
  box-shadow: 0 10px 28px rgba(255, 45, 117, 0.5);
}

.team-nav.next:hover { transform: translateX(4px) scale(1.08); }
.team-nav.prev:hover { transform: translateX(-4px) scale(1.08); }

/* saat ditekan: panah "memantul" */
.team-nav.bump span { width: 16px; }

/* ---- nomor slide ---- */
.team-counter {
  position: absolute;
  z-index: 6;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(26, 0, 51, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.team-counter strong {
  font-size: 18px;
  font-weight: 800;
  color: white;
  display: inline-block;
}

.team-counter strong.flip {
  animation: counterFlip 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes counterFlip {
  0%   { transform: translateY(12px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}

/* keterangan ikut berganti */
.team-caption-title.swap {
  animation: captionSwap 0.8s ease;
}

@keyframes captionSwap {
  0%   { opacity: 0; transform: translateY(14px); letter-spacing: 3px; }
  100% { opacity: 1; transform: none; letter-spacing: 0.3px; }
}

/* ---- penanda jumlah foto + timer ---- */
.team-dots {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.team-dot {
  position: relative;
  width: 12px;
  height: 12px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(27, 42, 78, 0.18);
  cursor: pointer;
  overflow: hidden;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
}

.team-dot.active {
  width: 56px;
  background: rgba(255, 45, 117, 0.2);
}

/* isi yang berjalan sesuai timer */
.team-dot i {
  position: absolute;
  inset: 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff2d75, #6a00ff);
}

.team-dot.active i {
  animation: dotFill var(--team-dur, 6s) linear forwards;
}

.team-dots.paused .team-dot.active i {
  animation-play-state: paused;
}

@keyframes dotFill {
  to { width: 100%; }
}

@media (max-width: 768px) {
  .team-nav {
    width: 40px;
    height: 40px;
    margin-top: -20px;
  }

  .team-nav.prev { left: 10px; }
  .team-nav.next { right: 10px; }

  .team-nav span { width: 10px; }

  .team-counter {
    top: 10px;
    left: 10px;
    padding: 5px 11px;
    font-size: 11px;
  }

  .team-counter strong { font-size: 14px; }
  .team-dots { margin-top: 16px; }
}

/* =========================================================
   NAVBAR: TOMBOL "JOIN US" + GARIS PROGRES SCROLL
========================================================= */
.nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  margin-left: 4px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: #ff2d75;
  text-decoration: none;
  background: #fff;
  box-shadow: 0 6px 20px rgba(255, 45, 117, 0.35);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, color 0.35s ease;
}

/* kilau yang lewat pelan-pelan */
.nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 45, 117, 0.22) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: ctaShine 3.2s ease-in-out infinite;
}

/* latar gradasi yang naik saat hover */
.nav-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(135deg, #ff2d75, #6a00ff);
  transform: translateY(101%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* titik berdenyut */
.nav-cta i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff2d75;
  box-shadow: 0 0 0 0 rgba(255, 45, 117, 0.6);
  animation: ctaPulse 1.8s ease-out infinite;
  transition: background 0.35s ease;
}

@keyframes ctaShine {
  0%, 55% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@keyframes ctaPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 45, 117, 0.6); }
  80%, 100% { box-shadow: 0 0 0 9px rgba(255, 45, 117, 0); }
}

@media (hover: hover) {
  .nav-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(106, 0, 255, 0.4);
  }
  .nav-cta:hover::after { transform: translateY(0); }
  .nav-cta:hover i { background: #fff; }
}

/* garis progres di bawah navbar */
.nav-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  z-index: 2;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, #ffe0ec, #ffffff, #c9a6ff);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.navbar.scrolled .nav-progress { opacity: 1; }

@media (max-width: 1100px) {
  .nav-cta { padding: 8px 16px; font-size: 13px; }
}

@media (max-width: 900px) {
  .nav-cta {
    justify-content: center;
    margin: 8px 0 2px;
    padding: 12px 16px;
    font-size: 15px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease 0.35s, transform 0.35s ease 0.35s;
  }
  .nav-menu.active .nav-cta {
    opacity: 1;
    transform: translateY(0);
  }
  .nav-menu.active .nav-link:nth-child(6) { transition-delay: 0.3s, 0.3s, 0s, 0s; }
}

/* =========================================================
   HOME: LATAR BERGERAK, CAHAYA, TOMBOL, INFO & SCROLL
========================================================= */
.home {
  background: #14001f;
  isolation: isolate;
}

/* foto latar yang pelan-pelan membesar */
.home-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255, 45, 117, 0.18), transparent 60%),
    linear-gradient(rgba(10, 0, 20, 0.62), rgba(10, 0, 20, 0.82)),
    url("gambar/fotohome.jpeg") center/cover no-repeat;
  transform: scale(1.12);
  animation: homeZoom 22s ease-in-out infinite alternate;
}

@keyframes homeZoom {
  from { transform: scale(1.12) translate(0, 0); }
  to   { transform: scale(1.02) translate(-1.2%, -1%); }
}

/* bola cahaya yang melayang */
.home-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  animation: orbFloat 14s ease-in-out infinite alternate;
}
.home-orb.o1 { width: 340px; height: 340px; left: -80px; top: 12%; background: #ff2d75; }
.home-orb.o2 { width: 280px; height: 280px; right: -60px; top: 20%; background: #6a00ff; animation-duration: 18s; animation-delay: -4s; }
.home-orb.o3 { width: 220px; height: 220px; left: 45%; bottom: 8%; background: #ff6aa2; opacity: 0.35; animation-duration: 16s; animation-delay: -8s; }

@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, -30px) scale(1.15); }
}

/* logo: cincin berputar + titik yang mengorbit */
.home-image {
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.home-image::before,
.home-image::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 1.2s ease 0.6s;
  pointer-events: none;
}

.home-image::before {
  inset: -16px;
  background: conic-gradient(from 0deg, #ff2d75, transparent 30%, #c9a6ff 50%, transparent 75%, #ff2d75);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: spinRing 7s linear infinite;
}

.home-image::after {
  inset: -30px;
  border: 1px dashed rgba(255, 194, 217, 0.35);
  animation: spinRing 30s linear infinite reverse;
}

.home-image.floating { animation: float 4s ease-in-out infinite; }
.home-image.floating::before,
.home-image.floating::after { opacity: 1; }

@keyframes spinRing { to { transform: rotate(360deg); } }

/* elemen yang muncul setelah judul diketik */
.home-step {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.home.ready .home-step { opacity: 1; transform: none; }
.home.ready .home-step:nth-of-type(2) { transition-delay: 0.15s; }
.home.ready .home-chips { transition-delay: 0.3s; }

.home-desc {
  max-width: 520px;
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.home-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, background 0.35s ease;
}

.home-btn.primary {
  background: linear-gradient(135deg, #ff2d75, #a01aff);
  background-size: 160% 160%;
  box-shadow: 0 12px 30px rgba(255, 45, 117, 0.45);
  animation: btnGradient 5s ease infinite;
}

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

.home-btn.ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@media (hover: hover) {
  .home-btn:hover { transform: translateY(-3px); }
  .home-btn.primary:hover { box-shadow: 0 16px 36px rgba(255, 45, 117, 0.6); }
  .home-btn.ghost:hover { background: rgba(255, 255, 255, 0.2); border-color: #fff; }
}

.home-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.home-chips li {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.home-chips strong {
  font-size: 18px;
  font-weight: 700;
  color: #ffc2d9;
}

.home-chips span {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* indikator scroll */
.home-scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #a5305f;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 1s ease 1s;
}
.home.ready .home-scroll { opacity: 1; }

.home-scroll small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.home-mouse {
  position: relative;
  width: 24px;
  height: 38px;
  border: 2px solid currentColor;
  border-radius: 14px;
}

.home-mouse i {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: currentColor;
  animation: mouseWheel 1.8s ease-in-out infinite;
}

@keyframes mouseWheel {
  0% { opacity: 0; transform: translateY(-3px); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}

@media (max-width: 768px) {
  .home { padding-bottom: 110px; }
  .home-image img { width: 150px; }
  .home-image::before { inset: -12px; }
  .home-image::after { inset: -22px; }
  .home-desc { margin: 12px auto 0; font-size: 14px; }
  .home-actions { justify-content: center; margin-top: 22px; gap: 10px; }
  .home-btn { padding: 12px 20px; font-size: 14px; }
  .home-chips { justify-content: center; margin-top: 22px; gap: 8px; }
  .home-chips li { padding: 7px 12px; }
  .home-chips strong { font-size: 16px; }
  .home-chips span { font-size: 10.5px; }
  .home-orb.o1 { width: 220px; height: 220px; }
  .home-orb.o2 { width: 180px; height: 180px; }
  .home-orb.o3 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .home-bg, .home-orb, .home-image::before, .home-image::after,
  .home-btn.primary, .nav-cta::before, .nav-cta i { animation: none; }
}

/* tombol Join Us di home: pakai panah hamburger yang sama */
.home-btn.primary { padding: 9px 10px 9px 24px; }
.home-btn .join-cta-arrow { width: 28px; height: 28px; }
.home-btn .join-cta-arrow span { left: 7px; }
.home-btn .join-cta-arrow span:nth-child(1) { top: 9px; }
.home-btn .join-cta-arrow span:nth-child(2) { top: 13px; }
.home-btn .join-cta-arrow span:nth-child(3) { top: 17px; }
.home-btn:hover .join-cta-arrow span:nth-child(1) { top: 10px; left: 13px; width: 8px; transform: rotate(45deg); }
.home-btn:hover .join-cta-arrow span:nth-child(2) { top: 13px; left: 6px;  width: 15px; }
.home-btn:hover .join-cta-arrow span:nth-child(3) { top: 16px; left: 13px; width: 8px; transform: rotate(-45deg); }
.home-btn.ghost { padding: 13px 24px; }

/* navbar tetap 1 baris di layar tablet/laptop kecil */
.nav-link, .nav-cta, .nav-name, .nav-subname { white-space: nowrap; }

@media (min-width: 901px) and (max-width: 1180px) {
  .nav-container { padding-left: 22px; padding-right: 22px; gap: 16px; }
  .nav-menu { gap: 16px; }
  .nav-link { font-size: 14px; }
  .nav-name { font-size: 14px; }
  .nav-subname { display: none; }
  .nav-cta { padding: 8px 14px; font-size: 13px; }
}

@media (max-width: 900px) {
  .nav-cta { align-self: stretch; }
}

/* =========================================================
   SECTION VIDEO
========================================================= */
.video-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 90px 20px 110px;
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, #0f001f 0%, #1a0033 45%, #0f001f 100%);
}

.vid-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: orbFloat 16s ease-in-out infinite alternate;
}
.vid-glow.g1 { width: 380px; height: 380px; left: -120px; top: 20%; background: rgba(255, 45, 117, 0.35); }
.vid-glow.g2 { width: 420px; height: 420px; right: -140px; bottom: 5%; background: rgba(106, 0, 255, 0.35); animation-delay: -6s; }

.vid-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ffc2d9;
}

.vid-head h2 {
  margin: 10px 0 12px;
  font-family: 'Love Ya Like A Sister', cursive;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
}

.vid-sub {
  max-width: 560px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

/* bingkai video: garis gradasi berputar */
.vid-stage {
  position: relative;
  width: min(980px, 100%);
  margin: 44px auto 0;
  padding: 3px;
  border-radius: 26px;
  background: linear-gradient(135deg, #ff2d75, #6a00ff, #ff6aa2, #ff2d75);
  background-size: 300% 300%;
  animation: btnGradient 8s ease infinite;
  box-shadow: 0 30px 80px -20px rgba(255, 45, 117, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* saat suara aktif, bingkai lebih menyala */
.vid-stage.is-loud {
  box-shadow: 0 30px 90px -10px rgba(255, 45, 117, 0.7), 0 0 60px rgba(106, 0, 255, 0.35);
}

.vid-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 23px;
  background: #0a0014;
}

.vid-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #0a0014;
}

/* ---------- tampilan kalau video belum ada ---------- */
.vid-empty {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 45, 117, 0.25), transparent 55%),
    linear-gradient(135deg, #1a0033, #2e0640);
}

.vid-stage.no-video .vid-empty { display: flex; }
.vid-stage.no-video .vid-bar,
.vid-stage.no-video .vid-tap { display: none; }

.vid-empty-play {
  position: relative;
  width: 84px;
  height: 84px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2d75, #a01aff);
  box-shadow: 0 0 0 0 rgba(255, 45, 117, 0.5);
  animation: vidRipple 2.2s ease-out infinite;
}

.vid-empty-play i {
  position: absolute;
  left: 34px;
  top: 27px;
  border-style: solid;
  border-width: 15px 0 15px 24px;
  border-color: transparent transparent transparent #fff;
}

@keyframes vidRipple {
  0% { box-shadow: 0 0 0 0 rgba(255, 45, 117, 0.55); }
  100% { box-shadow: 0 0 0 30px rgba(255, 45, 117, 0); }
}

.vid-empty strong { font-size: 18px; }
.vid-empty small { font-size: 13px; color: rgba(255, 255, 255, 0.65); }

/* ---------- ajakan menyalakan suara ---------- */
.vid-tap {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font: 600 13px 'Poppins', sans-serif;
  color: #fff;
  background: rgba(20, 0, 40, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease;
}

.vid-stage.need-tap .vid-tap {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  animation: ctaGlow 2.4s ease-in-out infinite;
}

.vid-tap:hover { background: rgba(255, 45, 117, 0.6); }

/* ---------- ikon equalizer (bergerak saat bersuara) ---------- */
.vid-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.vid-eq i {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: currentColor;
  transform-origin: bottom;
  transform: scaleY(0.3);
}

.vid-tap .vid-eq i,
.vid-stage.is-loud .vid-sound .vid-eq i {
  animation: eqBounce 0.9s ease-in-out infinite;
}
.vid-eq i:nth-child(2) { animation-delay: -0.3s !important; }
.vid-eq i:nth-child(3) { animation-delay: -0.6s !important; }
.vid-eq i:nth-child(4) { animation-delay: -0.15s !important; }

@keyframes eqBounce {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

/* ---------- bar kontrol ---------- */
.vid-bar {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 16px;
  background: rgba(15, 0, 30, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* di laptop: kontrol muncul saat video disorot */
@media (hover: hover) {
  .vid-frame .vid-bar { opacity: 0; transform: translateY(12px); }
  .vid-frame:hover .vid-bar,
  .vid-frame:focus-within .vid-bar,
  .vid-stage.is-paused .vid-bar { opacity: 1; transform: none; }
}

.vid-btn {
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.vid-btn:hover { background: rgba(255, 45, 117, 0.6); transform: scale(1.08); }

/* ikon pause / play */
.ic-pause { display: flex; gap: 4px; }
.ic-pause i { width: 3px; height: 13px; border-radius: 2px; background: #fff; }
.ic-play {
  display: none;
  margin-left: 3px;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent #fff;
}
.vid-stage.is-paused .ic-pause { display: none; }
.vid-stage.is-paused .ic-play { display: block; }

/* tombol suara: garis coret saat mati */
.vid-mute-x {
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #ff6aa2;
  transform: rotate(-45deg) scaleX(1);
  transition: transform 0.3s ease;
}
.vid-stage.is-loud .vid-mute-x { transform: rotate(-45deg) scaleX(0); }

/* ikon layar penuh (4 sudut) */
.ic-full { position: relative; width: 14px; height: 14px; }
.ic-full i { position: absolute; width: 5px; height: 5px; border: 2px solid #fff; }
.ic-full i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.ic-full i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.ic-full i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.ic-full i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }

/* progress */
.vid-progress {
  position: relative;
  flex: 1;
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.vid-progress::before {   /* area klik lebih besar */
  content: "";
  position: absolute;
  inset: -10px 0;
}

.vid-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff2d75, #c9a6ff);
  box-shadow: 0 0 10px rgba(255, 45, 117, 0.6);
}

.vid-progress span::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: #fff;
}

.vid-time {
  min-width: 38px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .video-section { padding: 60px 16px 80px; }
  .vid-kicker { font-size: 11px; letter-spacing: 3px; }
  .vid-sub { font-size: 14px; }
  .vid-stage { margin-top: 30px; border-radius: 18px; }
  .vid-frame { border-radius: 15px; }
  .vid-bar { left: 8px; right: 8px; bottom: 8px; gap: 8px; padding: 6px 8px; border-radius: 12px; }
  .vid-btn { width: 30px; height: 30px; }
  .vid-time { display: none; }
  .vid-tap { top: 10px; right: 10px; padding: 8px 14px; font-size: 12px; }
  .vid-empty-play { width: 64px; height: 64px; }
  .vid-empty-play i { left: 26px; top: 20px; border-width: 12px 0 12px 19px; }
  .vid-empty strong { font-size: 15px; }
  .vid-empty small { font-size: 12px; }
  .vid-glow.g1, .vid-glow.g2 { width: 240px; height: 240px; }
}

/* =========================================================
   OUR EVENTS (HP): kartu yang di-tap tidak terpotong kiri-kanan
   - area geser diperlebar sampai tepi layar + diberi ruang 20px
   - di HP kartu cukup naik, tanpa membesar
========================================================= */
@media (max-width: 768px) {
  .event-container {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    scroll-padding-inline: 20px;
  }

  .event-card.ev-rich.active,
  .event-card.ev-rich:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.5), 0 0 18px rgba(182, 154, 217, 0.45);
  }
}

/* =========================================================
   SECTION PENGHARGAAN: TIM NASIONAL AMSA-INDONESIA
========================================================= */
.national-section {
  position: relative;
  z-index: 1;
  margin-top: -30px;
  padding: 100px 6% 150px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  color: #fff;
  border-radius: 30px 30px 0 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255, 106, 162, 0.28), transparent 70%),
    radial-gradient(ellipse 40% 30% at 15% 80%, rgba(106, 0, 255, 0.25), transparent 100%),
    radial-gradient(ellipse 40% 30% at 85% 70%, rgba(240, 201, 74, 0.12), transparent 100%),
    linear-gradient(180deg, #1a0033 0%, #2a0548 55%, #3a0a52 100%);
}

/* lampu sorot dari atas */
.nt-beams {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.nt-beams span {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 26%;
  height: 120%;
  transform-origin: top center;
  background: linear-gradient(180deg, rgba(255, 220, 235, 0.22), transparent 75%);
  clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%);
  filter: blur(6px);
  animation: beamSway 9s ease-in-out infinite alternate;
}

.nt-beams span:nth-child(1) { margin-left: -13%; --a: -28deg; }
.nt-beams span:nth-child(2) { margin-left: -13%; --a: 0deg; animation-delay: -3s; opacity: 0.8; }
.nt-beams span:nth-child(3) { margin-left: -13%; --a: 28deg; animation-delay: -6s; }

@keyframes beamSway {
  from { transform: rotate(calc(var(--a) - 8deg)); }
  to   { transform: rotate(calc(var(--a) + 8deg)); }
}

/* confetti (dibuat lewat JS) */
.nt-confetti {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.nt-confetti i {
  position: absolute;
  top: -20px;
  width: 8px;
  height: 14px;
  border-radius: 2px;
  opacity: 0;
  animation: confettiFall linear infinite;
  animation-play-state: paused;
}

.national-section.in-view .nt-confetti i { animation-play-state: running; }

@keyframes confettiFall {
  0%   { opacity: 0; transform: translate(0, -20px) rotate(0deg); }
  8%   { opacity: 1; }
  100% { opacity: 0.2; transform: translate(var(--dx, 40px), 115vh) rotate(var(--r, 540deg)); }
}

/* ---------- judul ---------- */
.nt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #f0c94a;
}

.nt-kicker span {
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #f0c94a);
}
.nt-kicker span:last-child { background: linear-gradient(90deg, #f0c94a, transparent); }

.nt-title {
  margin: 12px 0 14px;
  font-family: 'Love Ya Like A Sister', cursive;
  font-weight: 400;
  font-size: clamp(36px, 5.2vw, 56px);
  line-height: 1.2;
}

.nt-title .spesial-name {
  background: linear-gradient(135deg, #ffe08a, #f0c94a 45%, #ff8fb8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nt-sub {
  max-width: 640px;
  margin: 0 auto;
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

.nt-sub strong { color: #ffc2d9; }

/* ---------- logo AMSA-Indonesia ---------- */
.nt-emblem {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 46px auto 14px;
  display: grid;
  place-items: center;
}

.nt-emblem img {
  position: relative;
  width: 78%;
  filter: drop-shadow(0 0 18px rgba(255, 106, 162, 0.55));
  animation: float 5s ease-in-out infinite;
}

.nt-emblem::before {           /* cahaya lembut di belakang */
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 45, 117, 0.45), rgba(106, 0, 255, 0.15) 60%, transparent 72%);
  animation: ntPulse 3.5s ease-in-out infinite;
}

.nt-emblem-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #f0c94a, transparent 25%, #ff6aa2 50%, transparent 75%, #f0c94a);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: spinRing 8s linear infinite;
}

.nt-emblem-ring.r2 {
  inset: -14px;
  background: none;
  border: 1px dashed rgba(240, 201, 74, 0.4);
  -webkit-mask: none;
          mask: none;
  animation-duration: 30s;
  animation-direction: reverse;
}

@keyframes ntPulse {
  0%, 100% { transform: scale(0.92); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}

.nt-emblem-cap {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- 3 kartu ---------- */
.nt-grid {
  max-width: 1100px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.nt-card {
  position: relative;
  padding: 2px;
  border-radius: 26px;
  outline: none;
  cursor: pointer;
  background: linear-gradient(160deg, rgba(240, 201, 74, 0.7), rgba(255, 45, 117, 0.35) 40%, rgba(106, 0, 255, 0.5));
  box-shadow: 0 18px 38px -26px rgba(0, 0, 0, 0.62);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.6s ease, opacity 0.8s ease;
}

.nt-card > * { position: relative; }

.nt-card::before {                  /* isi kartu */
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 24px;
  background: linear-gradient(180deg, #2a0548, #1a0033);
  transition: background .45s ease;
}

.nt-stage {
  aspect-ratio: 4 / 4.2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.nt-halo {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 45, 117, 0.4), rgba(106, 0, 255, 0.15) 60%, transparent 72%);
  transition: opacity 0.5s ease;
}

.nt-ring {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg, #f0c94a, #ff6aa2, #6a00ff, #ff6aa2, #f0c94a);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  opacity: 0.45;
  animation: mbSpinNt 10s linear infinite;
  transition: opacity 0.5s ease, width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes mbSpinNt { to { transform: translate(-50%, -50%) rotate(360deg); } }

.nt-logo {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 58%;
  opacity: 0.12;
  transform: translate(-50%, -50%) scale(0.85);
  filter: blur(1px);
  transition: opacity 0.6s ease, transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.6s ease;
}

.nt-photo {
  position: relative;
  z-index: 2;
  width: 82%;
  height: 92%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 20px 30px rgba(10, 0, 20, 0.6));
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* pita emas */
.nt-ribbon {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: -34px;
  width: 150px;
  padding: 6px 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #3a0a52;
  background: linear-gradient(90deg, #ffe08a, #f0c94a, #ffe08a);
  background-size: 200% 100%;
  box-shadow: 0 6px 16px rgba(240, 201, 74, 0.35);
  transform: rotate(40deg);
  animation: ribbonShine 4s linear infinite;
}

@keyframes ribbonShine { to { background-position: 200% 0; } }

.nt-info {
  padding: 18px 20px 24px;
}

.nt-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.nt-role {
  margin-top: 6px;
  font-family: 'Love Ya Like A Sister', cursive;
  font-size: 24px;
  color: #f0c94a;
}

.nt-from {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.nt-from img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
}

/* ---- aktif: hover (laptop) / tap (HP) ---- */
.nt-card.active {
  transform: translateY(-10px);
  box-shadow: 0 24px 42px -28px rgba(255, 45, 117, 0.48), 0 12px 28px -26px rgba(106, 0, 255, 0.34);
}
.nt-card.active::before {
  background: radial-gradient(ellipse at 50% 78%, rgba(255, 45, 117, .17), transparent 66%), linear-gradient(180deg, #2a0548, #1a0033);
}
.nt-card.active .nt-logo { opacity: 0.9; transform: translate(-50%, -50%) scale(1); filter: blur(0) drop-shadow(0 0 20px rgba(255, 45, 117, 0.7)); }
.nt-card.active .nt-ring { opacity: 1; width: 66%; }
.nt-card.active .nt-halo { opacity: 0.4; }
.nt-card.active .nt-photo { transform: translateY(-8px) scale(1.04); }

@media (hover: hover) {
  .nt-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 42px -28px rgba(255, 45, 117, 0.48), 0 12px 28px -26px rgba(106, 0, 255, 0.34);
  }
  .nt-card:hover::before {
    background: radial-gradient(ellipse at 50% 78%, rgba(255, 45, 117, .17), transparent 66%), linear-gradient(180deg, #2a0548, #1a0033);
  }
  .nt-card:hover .nt-logo { opacity: 0.9; transform: translate(-50%, -50%) scale(1); filter: blur(0) drop-shadow(0 0 20px rgba(255, 45, 117, 0.7)); }
  .nt-card:hover .nt-ring { opacity: 1; width: 66%; }
  .nt-card:hover .nt-halo { opacity: 0.4; }
  .nt-card:hover .nt-photo { transform: translateY(-8px) scale(1.04); }
}

/* ---------- HP & tablet ---------- */
@media (max-width: 900px) {
  .nt-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .nt-grid .nt-card:first-child { grid-column: 1 / -1; width: min(100%, 360px); justify-self: center; }
}

@media (max-width: 768px) {
  .national-section { padding: 70px 18px 110px; }
  .nt-kicker { font-size: 11px; letter-spacing: 3px; gap: 8px; }
  .nt-kicker span { width: 22px; }
  .nt-sub { font-size: 14px; }
  .nt-emblem { width: 140px; height: 140px; margin-top: 34px; }
  .nt-emblem-cap { font-size: 10.5px; letter-spacing: 2px; }
  .nt-grid { margin-top: 36px; gap: 14px; }
  .nt-card, .nt-card::before { border-radius: 20px; }
  .nt-card::before { border-radius: 18px; }
  .nt-stage { border-radius: 18px 18px 0 0; }
  .nt-info { padding: 12px 10px 16px; }
  .nt-name { font-size: 15px; }
  .nt-role { font-size: 19px; }
  .nt-from { font-size: 10px; padding: 4px 10px 4px 4px; gap: 6px; }
  .nt-from img { width: 18px; height: 18px; }
  .nt-ribbon { width: 120px; right: -32px; top: 12px; font-size: 8px; letter-spacing: 1.2px; padding: 5px 0; }
  .nt-grid .nt-card:first-child .nt-name { font-size: 18px; }
  .nt-grid .nt-card:first-child .nt-role { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .nt-beams span, .nt-confetti, .nt-emblem img, .nt-emblem-ring, .nt-ring, .nt-ribbon { animation: none; }
  .nt-confetti { display: none; }
}

.nt-card.nt-reveal { opacity: 0; transform: translateY(40px); }
.nt-card.nt-reveal.shown { opacity: 1; transform: none; }
.nt-card.nt-reveal.shown.active { transform: translateY(-10px); }
@media (hover: hover) {
  .nt-card.nt-reveal.shown:hover { transform: translateY(-10px); }
}

.nt-ribbon { top: 26px; right: -40px; width: 164px; }
.nt-from { white-space: nowrap; }
@media (max-width: 768px) {
  .nt-ribbon { top: 18px; right: -36px; width: 132px; }
  .nt-grid .nt-card:not(:first-child) .nt-rep { display: none; }
}
.nt-rep { margin-right: -4px; }

/* ---- section tim nasional menyatu ke Our Divisions (bawahnya jadi pink) ---- */
.national-section {
  padding-bottom: 170px;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255, 106, 162, 0.28), transparent 70%),
    radial-gradient(ellipse 40% 30% at 15% 55%, rgba(106, 0, 255, 0.25), transparent 100%),
    radial-gradient(ellipse 40% 30% at 85% 50%, rgba(240, 201, 74, 0.1), transparent 100%),
    linear-gradient(180deg,
      #1a0033 0%,
      #2a0548 42%,
      #3d0a54 64%,
      #7a1060 82%,
      #c81c68 93%,
      #ff2d75 100%);
}

/* lampu sorot memudar sebelum bagian pink */
.nt-beams {
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 85%);
          mask-image: linear-gradient(180deg, #000 55%, transparent 85%);
}

@media (max-width: 768px) {
  .national-section { padding-bottom: 130px; }
}

/* sambungan mulus: Our Divisions tidak lagi menumpuk dengan sudut membulat */
.national-section + .division-section {
  margin-top: 0;
  border-radius: 0;
  box-shadow: none;
}

/* =========================================================
   OPTIMASI PERFORMA
   1) cahaya blur diganti gradasi (tampilan sama, jauh lebih ringan)
   2) animasi di section yang tidak terlihat dihentikan sementara
========================================================= */
.team-blob,
.home-orb,
.vid-glow {
  filter: none;
  will-change: transform;
}
.blob-1   { width: 560px; height: 560px; left: -220px; background: radial-gradient(circle, #ff6aa2 0%, rgba(255, 106, 162, 0.5) 30%, transparent 68%); }
.blob-2   { width: 600px; height: 600px; right: -240px; background: radial-gradient(circle, #b36bff 0%, rgba(179, 107, 255, 0.5) 30%, transparent 68%); }
.home-orb.o1 { background: radial-gradient(circle, #ff2d75 0%, rgba(255, 45, 117, 0.45) 35%, transparent 70%); }
.home-orb.o2 { background: radial-gradient(circle, #6a00ff 0%, rgba(106, 0, 255, 0.45) 35%, transparent 70%); }
.home-orb.o3 { background: radial-gradient(circle, #ff6aa2 0%, rgba(255, 106, 162, 0.45) 35%, transparent 70%); }
.vid-glow.g1 { background: radial-gradient(circle, rgba(255, 45, 117, 0.45) 0%, transparent 70%); }
.vid-glow.g2 { background: radial-gradient(circle, rgba(106, 0, 255, 0.45) 0%, transparent 70%); }

.division-section::before {
  filter: none;
  width: 700px;
  height: 700px;
  top: -350px;
  left: -350px;
  background: radial-gradient(circle, rgba(255, 45, 117, 0.9) 0%, rgba(255, 45, 117, 0.35) 35%, transparent 70%);
}

/* section di luar layar: semua animasi berhenti dulu */
.anim-off *,
.anim-off *::before,
.anim-off *::after {
  animation-play-state: paused !important;
}

.home-orb.o1 { width: 480px; height: 480px; left: -160px; }
.home-orb.o2 { width: 400px; height: 400px; right: -130px; }
.home-orb.o3 { width: 320px; height: 320px; }
.vid-glow.g1 { width: 520px; height: 520px; }
.vid-glow.g2 { width: 580px; height: 580px; }
@media (max-width: 768px) {
  .home-orb.o1 { width: 320px; height: 320px; }
  .home-orb.o2 { width: 260px; height: 260px; }
  .vid-glow.g1, .vid-glow.g2 { width: 340px; height: 340px; }
  .blob-1, .blob-2 { width: 380px; height: 380px; }
}

/* kartu Instagram: blur latar dihapus (tidak terlihat di latar gelap, tapi berat) */
.ig-card {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(255, 255, 255, 0.06);
}

/* huruf latin emas di "Our National Pride": beri ruang supaya ekor huruf
   tidak terpotong oleh efek gradasi (background-clip: text) */
.nt-title .spesial-name {
  display: inline-block;
  padding: 0.12em 0.18em 0.2em 0.42em;
  margin: -0.12em -0.14em -0.2em -0.42em;
  line-height: 1;
}

/* AMSA INTERNATIONAL + RESPONSIVE TEAM CAROUSEL */
.home-image { display: flex; gap: clamp(24px, 4vw, 54px); padding: 12px; }
.home-image img { width: clamp(138px, 18vw, 230px); height: clamp(138px, 18vw, 230px); object-fit: contain; border-radius: 50%; opacity: 0; transform: translateY(18px) scale(.92); transition: opacity .9s ease, transform 1s cubic-bezier(.22,1,.36,1), filter .5s ease; }
.home-image.floating img { opacity: 1; transform: translateY(0) scale(1); }
.home-image.floating img:nth-child(2) { transition-delay: .16s; }
.home-image.floating img:hover { filter: drop-shadow(0 0 28px rgba(255,194,217,.8)); transform: translateY(-6px) scale(1.04); }
.home-image::before { inset: -2px; }
.home-image::after { inset: -16px; }
.nt-carousel { max-width: 1120px; margin: 0 auto; }
.nt-carousel-viewport { overflow: visible; clip-path: inset(-28px -34px); border-radius: 28px; }
.nt-carousel-track { display: flex; align-items: flex-start; transition: transform .85s cubic-bezier(.22,1,.36,1); will-change: transform; }
.nt-slide { flex: 0 0 100%; width: 100%; min-width: 0; padding: 2px 12px 20px; }
.nt-slide .nt-emblem { margin-top: 32px; }
.nt-slide .nt-grid { width: 100%; }
.nt-grid-international { grid-template-columns: minmax(0, 360px); justify-content: center; }
.nt-intl-photo { object-fit: contain; object-position: center; height: 82%; width: 76%; padding: 12px; border-radius: 0; -webkit-mask-image: none; mask-image: none; filter: drop-shadow(0 12px 24px rgba(255,255,255,.28)); }
.nt-international-card .nt-stage { aspect-ratio: 4 / 3; align-items: center; }
.nt-international-card .nt-intl-photo { width: 72%; height: 76%; object-position: center; }
.nt-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 18px auto 0; }
.nt-carousel-arrow { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; color: #fff; background: rgba(255,255,255,.09); font: 300 34px/1 'Poppins', sans-serif; cursor: pointer; transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.nt-carousel-arrow:hover, .nt-carousel-arrow:focus-visible { transform: scale(1.1); background: rgba(255,45,117,.35); box-shadow: 0 0 24px rgba(255,45,117,.35); outline: none; }
.nt-carousel-dots { display: flex; align-items: center; gap: 10px; }
.nt-carousel-dot { width: 10px; height: 10px; border: 0; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: width .3s ease, background .3s ease; }
.nt-carousel-dot.is-active { width: 30px; border-radius: 99px; background: linear-gradient(90deg,#f0c94a,#ff6aa2); }
.nt-slide[aria-hidden="true"] { pointer-events: none; visibility: hidden; transition: visibility 0s linear .85s; }
.nt-slide[aria-hidden="false"] { visibility: visible; transition: visibility 0s; }
.nt-emblem img[src*="amsa-international"] { width: 76%; max-height: 84%; object-fit: contain; }
.vid-youtube-stage { overflow: visible; padding: 3px; }
.vid-youtube-card { position: relative; isolation: isolate; min-height: clamp(280px, 44vw, 520px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 23px; color: #fff; text-decoration: none; background: radial-gradient(circle at 50% 45%, rgba(255,45,117,.28), transparent 30%), radial-gradient(circle at 20% 80%, rgba(106,0,255,.35), transparent 35%), linear-gradient(135deg,#18002d,#310753 52%,#12001f); transition: transform .7s cubic-bezier(.22,1,.36,1), filter .6s ease; }
.vid-youtube-card::before, .vid-youtube-card::after { content: ""; position: absolute; z-index: -1; width: 64%; aspect-ratio: 1; border: 1px solid rgba(255,194,217,.18); border-radius: 50%; animation: vidOrbit 24s linear infinite; }
.vid-youtube-card::after { width: 82%; border-style: dashed; animation-duration: 38s; animation-direction: reverse; }
@keyframes vidOrbit { to { transform: rotate(360deg); } }
.vid-youtube-card:hover { transform: translateY(-5px) scale(1.005); filter: brightness(1.12); }
.vid-youtube-logo { position: absolute; top: 24px; left: 28px; width: 42px; color: #ff335e; filter: drop-shadow(0 0 18px rgba(255,45,117,.48)); }
.vid-youtube-logo svg { display: block; width: 100%; }
.vid-youtube-play { z-index: 1; display: grid; place-items: center; width: clamp(72px, 10vw, 104px); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: linear-gradient(135deg,#ff2d75,#8c19ff); box-shadow: 0 0 0 0 rgba(255,45,117,.42), 0 12px 40px rgba(0,0,0,.25); animation: vidYoutubePulse 2.4s ease-out infinite; transition: transform .3s ease; }
.vid-youtube-play i { margin-left: 6px; width: 0; height: 0; border-top: 15px solid transparent; border-bottom: 15px solid transparent; border-left: 23px solid white; }
.vid-youtube-card:hover .vid-youtube-play { transform: scale(1.12); }
@keyframes vidYoutubePulse { 70% { box-shadow: 0 0 0 24px rgba(255,45,117,0), 0 12px 40px rgba(0,0,0,.25); } 100% { box-shadow: 0 0 0 0 rgba(255,45,117,0), 0 12px 40px rgba(0,0,0,.25); } }
.vid-youtube-caption { display: grid; gap: 4px; text-shadow: 0 2px 16px rgba(0,0,0,.45); }
.vid-youtube-caption strong { font-size: clamp(20px,3vw,28px); }
.vid-youtube-caption small { color: rgba(255,255,255,.72); font-size: 13px; }
.vid-youtube-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 7px; padding: 11px 20px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: #fff; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); }
.vid-youtube-cta span { font-size: 17px; transition: transform .25s ease; }
.vid-youtube-card:hover .vid-youtube-cta span { transform: translate(3px,-3px); }
.vid-youtube-stars { position: absolute; inset: 0; opacity: .36; background-image: radial-gradient(#fff 1px,transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at center,#000,transparent 75%); animation: vidStars 20s linear infinite; }
@keyframes vidStars { to { background-position: 44px 88px; } }
@media (max-width: 900px) { .home-image { gap: 22px; } .home-image img { width: clamp(128px,24vw,185px); height: clamp(128px,24vw,185px); } }
@media (max-width: 768px) {
  .home-image { gap: 18px; padding: 8px; }
  .home-image img { width: min(35vw,150px); height: min(35vw,150px); }
  .home-image::before { inset: 0; }
  .home-image::after { inset: -12px; }
  .nt-carousel-viewport { border-radius: 20px; clip-path: inset(-20px -14px); }
  .nt-slide { padding: 0 0 12px; }
  .nt-slide .nt-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 390px; margin-left: auto; margin-right: auto; }
  .nt-slide .nt-grid .nt-card:first-child { grid-column: auto; width: 100%; max-width: none; }
  .nt-slide .nt-grid .nt-card:first-child .nt-name { font-size: 15px; }
  .nt-slide .nt-grid .nt-card:first-child .nt-role { font-size: 19px; }
  .nt-grid-international { max-width: 360px !important; }
  .nt-carousel-controls { gap: 16px; margin-top: 12px; }
  .nt-carousel-arrow { width: 42px; height: 42px; }
  .vid-youtube-card { min-height: 310px; }
  .vid-youtube-logo { top: 18px; left: 18px; width: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .nt-carousel-track, .vid-youtube-card, .vid-youtube-card::before, .vid-youtube-card::after, .vid-youtube-play, .vid-youtube-stars { animation: none !important; transition-duration: .01ms !important; }
}



/* Embedded YouTube player */
.vid-youtube-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 23px;
  background: #160020;
  box-shadow: 0 18px 54px rgba(17,0,34,.35), 0 0 34px rgba(255,45,117,.16);
  transition: transform .55s cubic-bezier(.22,1,.36,1), box-shadow .45s ease;
}
.vid-youtube-player:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 62px rgba(17,0,34,.42), 0 0 42px rgba(255,45,117,.25);
}
.vid-youtube-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 768px) {
  .vid-youtube-player { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .vid-youtube-player { transition: none; }
}
/* Four-card AMSA team layout */
.nt-carousel { max-width: 1540px; margin-inline: auto; padding-inline: 24px; }
.nt-carousel-viewport { overflow: visible; clip-path: inset(-30px -28px); }
.nt-carousel-track { display: block; width: 100%; transform: none !important; transition: none; }
.nt-slide { width: 100%; padding: 0 12px 22px; }
.nt-brand-pair { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 34px); margin: 22px auto 12px; }
.nt-brand-mark { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.88); font: 600 clamp(12px, 1.2vw, 15px)/1.3 'Poppins', sans-serif; letter-spacing: .04em; }
.nt-brand-mark img { display: block; width: clamp(48px, 5.5vw, 72px); height: clamp(48px, 5.5vw, 72px); object-fit: contain; filter: drop-shadow(0 0 14px rgba(255,194,217,.28)); }
.nt-brand-join { color: #f0c94a; font: 300 28px/1 'Poppins', sans-serif; }
.nt-slide .nt-grid { width: 100%; max-width: none; margin: 32px auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 24px); }
.nt-slide .nt-grid .nt-card:first-child { grid-column: auto; width: auto; max-width: none; justify-self: stretch; }
.nt-grid .nt-card { min-width: 0; }
.nt-international-card .nt-stage { aspect-ratio: 4 / 4.2; align-items: flex-end; }
.nt-international-card .nt-intl-photo { width: 86%; height: 82%; object-fit: contain; object-position: center; padding: 0; image-rendering: auto; filter: brightness(1.12) contrast(1.22) drop-shadow(0 12px 24px rgba(255,255,255,.28)); }
.nt-carousel-controls { display: none; }
@media (max-width: 768px) {
  .national-section { overflow-x: clip; }
  .nt-carousel { width: 100%; max-width: 440px; padding-inline: 0; }
  .nt-carousel-viewport { overflow: hidden; clip-path: inset(-24px 0); }
  .nt-slide { padding: 0 0 12px; }
  .nt-brand-pair { gap: 10px; margin: 8px auto 10px; }
  .nt-brand-mark { gap: 7px; font-size: 10px; letter-spacing: .01em; }
  .nt-brand-mark img { width: 46px; height: 46px; }
  .nt-brand-join { font-size: 21px; }
  .nt-slide .nt-grid { width: 400%; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 26px 0 0; transition: transform .72s cubic-bezier(.22,1,.36,1); will-change: transform; touch-action: pan-y; }
  .nt-slide .nt-grid .nt-card,
  .nt-slide .nt-grid .nt-card:first-child { grid-column: auto; width: auto; max-width: none; min-width: 0; margin: 0 10px; justify-self: stretch; }
  .nt-carousel-controls { position: relative; z-index: 999; display: flex; gap: 16px; margin: 12px auto 0; pointer-events: auto; isolation: isolate; }
  .nt-carousel-arrow { position: relative; z-index: 1000; width: 42px; height: 42px; pointer-events: auto; touch-action: manipulation; }
}@media (max-width: 768px) {
  .nt-slide .nt-grid .nt-card .nt-name { font-size: 15px; }
  .nt-slide .nt-grid .nt-card .nt-role { font-size: 19px; }
  .nt-slide .nt-grid .nt-card:first-child .nt-name { font-size: 15px; }
  .nt-slide .nt-grid .nt-card:first-child .nt-role { font-size: 19px; }
}

/* Aqila's original portrait has a white studio background; let it blend into its frame. */
.nt-international-card .nt-stage { background: transparent; }
.nt-international-card .nt-intl-photo {
  width: 92%;
  height: 108%;
  object-fit: contain;
  object-position: center bottom;
  padding: 0;
  filter: none;
}
