:root {
  --ubn-blue-dark: #16305c;
  --ubn-blue: #1e4a8c;
  --ubn-blue-light: #e8f0fb;
  --ubn-yellow: #f6b93b;
  --ubn-radius: 10px;
}

/* ===== HERO / SLIDER ===== */

#owl-demo .owl-item .img {
  width: 100%;
  aspect-ratio: 2.7 / 1;
  height: auto;
  max-height: 450px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

@supports not (aspect-ratio: 2.7 / 1) {
  #owl-demo .owl-item .img {
    height: 45vh;
    min-height: 300px;
  }
}

#owl-demo .owl-item .owl-caption {
  position: absolute;
  bottom: 15%;
  padding: 0 60px;
}

#owl-demo .owl-item .owl-caption .owl-title,
#owl-demo .owl-item .owl-caption .owl-subtitle {
  color: #eee;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

#owl-demo .owl-dots {
  position: absolute !important;
  bottom: 10px;
  width: 100%;
}

#owl-navigation {
  position: absolute;
  display: block;
  top: 20vh;
  z-index: 99999;
  padding: 0 40px;
  width: 100%;
}

.btn-owl-prev,
.btn-owl-next {
  position: absolute;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 16px 14px 8px;
  border-radius: 8px;
}

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

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

/* =========================================
   PROMO BANNER
   Mobile-first and fluid: clamp() scales spacing,
   type and the badge continuously with viewport width
   instead of jumping at a couple of fixed breakpoints,
   so it holds up cleanly on any device size.
   ========================================= */

.promo-banner-wrap {
  max-width: 1120px;
  margin: clamp(40px, 9vw, 70px) auto clamp(20px, 4vw, 30px);
  padding: 0 clamp(16px, 4vw, 20px);
  position: relative;
  z-index: 20;
}

.promo-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #f5f5fa;
  border: 3px solid #2f4892;
  border-radius: 15px;
  overflow: visible;
}

.promo-info {
  margin-bottom: 15px;
  color: #29458f;
  font-size: clamp(13px, 2.4vw, 18px);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.promo-info i {
  font-size: clamp(16px, 2.4vw, 20px);
  color: var(--ubn-blue);
}

.promo-schedule {
  font-weight: 600;
}

.promo-divider {
  color: #999;
  font-weight: 400;
  margin: 0 4px;
}

.promo-status {
  background: var(--ubn-blue);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: clamp(12px, 2vw, 14px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Status variants */
.promo-status.online {
  background: #28a745;
}

.promo-status.offline {
  background: #dc3545;
}

.promo-status.hybrid {
  background: #ffc107;
  color: #000;
}

.promo-status.coming-soon {
  background: #6c757d;
}

/* ===== NEW BADGE ===== */

.promo-banner .promo-badge {
  position: absolute;
  top: clamp(-46px, -4vw, -28px);
  left: clamp(-60px, -6vw, -24px);

  width: clamp(56px, 7vw, 88px);
  height: clamp(56px, 7vw, 88px);

  display: flex;
  align-items: center;
  justify-content: center;

  background: #2454d8;
  color: #fff;

  font-size: clamp(14px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: 1px;

  border-radius: 50%;
  z-index: 10;
}

/* ===== IMAGE ===== */

.promo-banner .promo-img {
  flex: none;
  width: 100%;
  aspect-ratio: 16 / 9;

  margin: 0;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: 12px 12px 0 0;
}

/* ===== CONTENT ===== */

.promo-banner .promo-text {
  flex: 1;

  padding: clamp(20px, 5vw, 18px) clamp(20px, 6vw, 55px) clamp(24px, 5vw, 20px);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
}

/* Title */

.promo-banner .promo-text h3 {
  margin: 0 0 clamp(12px, 3vw, 20px);

  color: #29458f;

  font-size: clamp(18px, 3.2vw, 25px);
  line-height: 1.2;
  font-weight: 500;
}

/* Description */

.promo-banner .promo-text p {
  margin: 0 0 15px;

  color: #29458f;

  font-size: clamp(14px, 2.2vw, 18px);
  line-height: 1.35;

  max-width: 680px;
}

/* Schedule */

.promo-banner .promo-schedule {
  color: #29458f;
  font-size: clamp(14px, 2.2vw, 18px);
  font-weight: 700;
}

/* Button */

.promo-banner .btn-promo {
  display: block;

  width: min(90%, 550px);

  padding: 10px 25px;

  background: #2d5eb2;
  color: #fff;

  border-radius: 30px;

  font-size: clamp(15px, 2.4vw, 20px);
  font-weight: 500;

  text-align: center;
  text-decoration: none;

  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.2);
}

.promo-banner .btn-promo:hover {
  background: #244d94;
  color: #fff;
  text-decoration: none;
}

/* Desktop (≥768px): image sits beside the text as a column */
@media (min-width: 768px) {
  .promo-banner {
    flex-direction: row;
    min-height: 300px;
  }

  .promo-banner .promo-img {
    flex: 0 0 27%;
    aspect-ratio: auto;
    min-height: 265px;
    margin: 15px auto 15px 40px;
    border-radius: 20px;
  }

  .promo-banner .promo-text {
    min-height: 265px;
  }
}

/* ===== SECTION HEADING ===== */

.section-title {
  text-align: center;
  margin-bottom: 30px;
}

.section-title .top-label {
  display: block;
  color: var(--ubn-blue);
  font-weight: 400;
  letter-spacing: 2px;
  font-size: 40px;
  line-height: 1;
}

.section-title h2 {
  font-weight: 800;
  color: var(--ubn-blue-dark);
  margin-top: 4px;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.section-title-row .lihat-semua {
  color: var(--ubn-blue);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  margin-left: auto;
  margin-top: 35px;
}

.section-title-row .lihat-semua:hover {
  text-decoration: underline;
}

/* ===== BERITA CARD ===== */

.berita-card {
  background: #fff;
  border-radius: var(--ubn-radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.berita-card .img-block {
  position: relative;
  overflow: hidden;
}

.berita-card .img-block img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.berita-card .post-text-block {
  padding: 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.berita-card .post-date {
  display: block;
  font-size: 12px;
  color: #888;
  margin-bottom: 6px;
}

.berita-card .content-title a {
  color: var(--ubn-blue);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.1;
  text-decoration: none;
}

.berita-card .content-title,
.berita-card .content-title a {
  text-transform: none !important;
}

.card-date {
  font-size: 12px;
  font-weight: 400;
  color: var(--ubn-blue);
  margin-top: auto;
}

.berita-grid > [class*='col-'] {
  margin-bottom: 24px;
}

/* ===== UBN IN NUMBER ===== */

.stats-section {
  background: #283687;
  color: #fff;
  padding: 45px 0;
}

.stats-section h2 {
  text-align: center;
  font-weight: 800;
  margin-bottom: 30px;
  color: var(--ubn-blue-light);
}

.stats-item {
  text-align: center;
  margin-bottom: 20px;
}

.stats-item .num {
  font-size: 60px;
  font-weight: 500;
  color: var(--ubn-blue-light);
  max-height: 100px;
  display: block;
  position: relative;
  padding-bottom: 15px;
}

.stats-item .num::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background-color: rgba(255, 255, 255, 1);
}

.stats-item .label {
  font-size: 20px;
  letter-spacing: 1px;
  display: inline-block;
  line-height: 1.2;
  padding-top: 15px;
}

/* ===== AGENDA UBN ===== */

.agenda-strip {
  background: var(--ubn-blue);
  border-radius: var(--ubn-radius);
  overflow: hidden;
  margin-bottom: 25px;
}

.agenda-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 22px;
  color: #fff;
  min-height: 70px;
  height: 100%;
}

.agenda-date {
  background: #fff;
  color: var(--ubn-blue-dark);
  border-radius: 4px;
  text-align: center;
  min-width: 60px;
  min-height: 65px;
  padding: 7px 5px;
  line-height: 1.1;
  flex: 0 0 auto;
}

.agenda-date .d {
  font-size: 24px;
  font-weight: 800;
  display: block;
  margin-top: 6px;
}

.agenda-date .m {
  font-size: 11px;
  text-transform: uppercase;
}

.agenda-title {
  font-size: 16px;
  font-weight: 400;
}

.agenda-photo-grid > [class*='col-'] {
  margin-bottom: 20px;
}

.agenda-photo-grid figure {
  margin: 0;
  border-radius: var(--ubn-radius);
  overflow: hidden;
}

.agenda-photo-grid img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.agenda-photo-grid figcaption {
  padding: 10px 4px 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ubn-blue-dark);
}

/* ===== MAJALAH UBN ===== */

.jurnal-grid > [class*='col-'] {
  margin-bottom: 20px;
}

.jurnal-item a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  text-decoration: none; /* Menghapus garis bawah link */
}

.jurnal-item img {
  width: 100%;
  aspect-ratio: 3 / 4; /* Menjaga rasio sampul majalah */
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* Efek zoom saat gambar asli di-hover */
.jurnal-item a:hover img {
  transform: scale(1.05);
}

.magazine-heading {
  text-align: left;
  margin-bottom: 20px;
}

.magazine-title-row {
  display: flex;
  align-items: center;
  gap: 30px;
}

.magazine-title-row h2 {
  margin: 0;
  flex: 0 0 auto;
}

.magazine-heading-line {
  flex: 1;
  height: 1px;
  background: var(--ubn-blue-dark);
}

.magazine-heading .block-sub-heading {
  display: block;
  margin-top: 5px;
  font-style: normal !important;
}

/* ===== OUTSTANDING ALUMNI ===== */

.alumni-grid > [class*='col-'] {
  margin-bottom: 24px;
}

.alumni-card {
  background: #fffcf2;
  border-radius: var(--ubn-radius);
  padding: 24px 18px;
  text-align: center;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.22);
}

.alumni-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px;
}

.alumni-card p.testi {
  font-size: 12px;
  color: var(--ubn-blue-dark);
  margin-bottom: 10px;
  line-height: 1.4;
  text-align: justify;
}

.alumni-card h4 {
  font-weight: 700;
  color: var(--ubn-blue-dark);
  margin-bottom: 2px;
  font-size: 16px;
}

.alumni-card span {
  font-size: 12px;
  color: var(--ubn-blue-dark);
}

/* ===== SOSIAL MEDIA / UBN NEWS ===== */

.sosmed-heading {
  text-align: center;
  margin-bottom: 35px;
}

.sosmed-heading h3 {
  margin: 0 0 5px;
  font-size: 26px;
  font-weight: 700;
  color: var(--ubn-blue-dark);
}

.sosmed-heading span {
  display: block;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  color: #666;
}

/* ===== UBN NEWS HEADING ===== */

.sosmed-news-heading {
  text-align: left;
  margin-bottom: 15px;
}

.sosmed-news-heading h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  color: var(--ubn-blue-dark);
}

.sosmed-news-heading h2 span {
  color: var(--ubn-yellow);
}

/* ===== SOSMED GRID ===== */

.sosmed-grid > [class*='col-'] {
  margin-bottom: 20px;
}

/* ===== SOSMED CARD ===== */

.sosmed-card {
  position: relative;
  border-radius: var(--ubn-radius);
  overflow: hidden;
  min-height: 410px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.sosmed-card .overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  width: 100%;
  padding: 18px;
  color: #fff;
}

.sosmed-card .platform-badge {
  position: absolute;
  top: 12px;
  left: 12px;

  background: #fcffd4;
  color: #0f0e0e;

  font-size: 14px;
  font-weight: 400;
  padding: 4px 10px;
  border-radius: 4px;

  display: none;
}

/* ===== SOSMED LAYOUT ===== */

.sosmed-layout {
  align-items: flex-start;
}

/* ===== SOCIAL MEDIA BUTTON ===== */

.sosmed-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 15px;
}

.sosmed-tab {
  border: 1px solid var(--ubn-blue-dark);
  background: transparent;
  color: var(--ubn-blue-dark);
  padding: 7px 16px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.sosmed-tab:hover,
.sosmed-tab.active {
  background: var(--ubn-blue-dark);
  color: #fff;
}

/* ===== SOCIAL MEDIA CONTENT ===== */

.sosmed-social-item {
  display: none;
}

.sosmed-social-item.active {
  display: block;
}

/* ===== RESPONSIVE ===== */

@media screen and (max-width: 992px) {
  #owl-demo .owl-item .img {
    aspect-ratio: 16 / 9;
    max-height: 300px;
  }
}

@media screen and (max-width: 767px) {
  .promo-info {
    flex-direction: column;
    gap: 2px;
  }

  .promo-divider {
    display: none;
  }
  /* ===== AGENDA ===== */

  .agenda-item {
    padding: 10px 15px;
    gap: 12px;
  }

  .agenda-photo-grid img {
    height: 300px;
  }

  .sosmed-news-heading h2 {
    font-size: 26px;
  }

  .video-wrapper {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(22, 48, 92, 0.1);
    margin-bottom: 12px;
  }

  .video-caption {
    font-size: 13px;
    padding: 0;
  }

  .sosmed-layout {
    row-gap: 30px;
  }

  .jurnal-grid {
    display: flex;
    flex-wrap: wrap;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 5px;
    padding-right: 5px;
    gap: 15px;
  }

  .jurnal-grid > [class*='col-'] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    flex: 0 0 calc(50% - 7.5px); /* 2 kolom */
    max-width: calc(50% - 7.5px);
    margin-bottom: 0; /* Gap sudah menangani spacing vertikal */
  }
}

@media screen and (max-width: 720px) {
  #owl-demo .owl-item .img {
    aspect-ratio: 8 / 3;
    max-height: 300px;
  }

  #owl-demo .owl-item .owl-caption {
    bottom: 12%;
    padding: 0 24px;
  }

  #owl-navigation {
    top: 7vh;
    padding: 0 15px;
  }

  .promo-banner-wrap {
    margin-top: 50px;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 20px;
  }

  .promo-banner .promo-img {
    height: 160px;
    min-height: 160px;
  }
  .section-title-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .section-title-row .lihat-semua {
    margin-left: auto;
    margin-top: 25px;
  }

  .stats-section h2 {
    font-size: 30px;
  }

  .stats-item .num {
    font-size: 30px;
    padding-bottom: 15px;
    max-height: 60px;
  }

  .stats-item .num::after {
    width: 100px;
    height: 2px;
  }

  .stats-item .label {
    font-size: 12px;
    padding-top: 15px;
  }

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

  .sosmed-tabs {
    margin-top: 25px;
  }

  /* ===== JURNAL ===== */

  .jurnal-grid {
    margin-left: -5px;
    margin-right: -5px;
  }

  .jurnal-grid > [class*='col-'] {
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 15px;
  }
}

/* =========================================
   CONTENT BLOCK
   Consistent, responsive vertical gap between every
   section (previously only .bg-gray-light sections had
   any padding, so Agenda/Majalah/Alumni/Sosmed ran
   straight into each other with no breathing room).
   ========================================= */

.content-block {
  padding-top: clamp(32px, 5vw, 56px);
  padding-bottom: clamp(32px, 5vw, 56px);
}

/* ===== SCROLL REVEAL ===== */

.scroll-reveal {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animasi dari kiri */

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Animasi dari kanan */

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* =========================================
   VIDEO WRAPPER (UBN NEWS & VIDEO PROFIL)
   Mobile First & Responsive
   ========================================= */

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9; /* Menjaga rasio video tetap 16:9 di semua layar */
  overflow: hidden;
  border-radius: var(--ubn-radius);
  box-shadow: 0 8px 24px rgba(22, 48, 92, 0.15);
  background-color: #000; /* Latar hitam saat video memuat */
  margin-bottom: 15px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Fallback untuk browser lama yang belum mendukung aspect-ratio */
@supports not (aspect-ratio: 16 / 9) {
  .video-wrapper {
    height: 0;
    padding-bottom: 56.25%; /* Rasio 16:9 */
  }
  .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

.video-caption {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ubn-blue-dark);
  margin-top: 12px;
  padding: 0 5px;
  text-align: left;
}

.video-caption i {
  color: var(--ubn-blue);
  margin-right: 6px;
}

/* =========================================
   STATISTIK PENGUNJUNG
   Mobile-first & modern
   ========================================= */

.bg-gray-light {
  background: #f7f9fc;
}

.statistik-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 4vw, 30px);
}

/* ===== CARD BASE ===== */
.statistik-card {
  background: #fff;
  border-radius: calc(var(--ubn-radius) * 1.5);
  padding: clamp(20px, 5vw, 32px);
  box-shadow: 0 4px 20px rgba(22, 48, 92, 0.06);
  border: 1px solid rgba(22, 48, 92, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.statistik-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(22, 48, 92, 0.12);
}

/* ===== CARD ONLINE ===== */
.statistik-online {
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--ubn-blue-dark) 0%,
    var(--ubn-blue) 100%
  );
  color: #fff;
  position: relative;
  overflow: hidden;
}

.statistik-online::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(246, 185, 59, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.statistik-icon {
  width: clamp(50px, 10vw, 64px);
  height: clamp(50px, 10vw, 64px);
  margin: 0 auto clamp(12px, 3vw, 18px);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(22px, 4vw, 28px);
  color: var(--ubn-yellow);
  position: relative;
  z-index: 1;
}

.statistik-label {
  font-size: clamp(12px, 2.4vw, 14px);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: clamp(8px, 2vw, 12px);
}

.statistik-number {
  font-size: clamp(40px, 10vw, 56px);
  font-weight: 800;
  line-height: 1;
  margin-bottom: clamp(8px, 2vw, 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

/* Dot Online dengan animasi pulse */
.online-dot {
  display: inline-block;
  width: clamp(12px, 2vw, 16px);
  height: clamp(12px, 2vw, 16px);
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(74, 222, 128, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

.statistik-sublabel {
  font-size: clamp(11px, 2.2vw, 13px);
  opacity: 0.75;
  font-weight: 400;
}

/* ===== CARD NEGARA ===== */
.statistik-negara-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: clamp(18px, 4vw, 24px);
  padding-bottom: clamp(14px, 3vw, 18px);
  border-bottom: 2px solid rgba(22, 48, 92, 0.08);
  flex-wrap: wrap;
}

.statistik-negara-header h3 {
  margin: 0;
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 700;
  color: var(--ubn-blue-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.statistik-negara-header h3 i {
  color: var(--ubn-blue);
  font-size: clamp(18px, 3.2vw, 22px);
}

.statistik-total {
  background: var(--ubn-yellow);
  color: var(--ubn-blue-dark);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: clamp(11px, 2.2vw, 13px);
  font-weight: 700;
  white-space: nowrap;
}

/* ===== LIST NEGARA ===== */
.negara-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 2.5vw, 14px);
}

.negara-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(8px, 2vw, 12px);
  padding: clamp(8px, 2vw, 10px) clamp(10px, 2.5vw, 14px);
  border-radius: 10px;
  transition: background 0.25s ease;
}

.negara-item:hover {
  background: rgba(22, 48, 92, 0.04);
}

.negara-info {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.5vw, 10px);
  min-width: 0;
}

.negara-flag {
  font-size: clamp(20px, 4vw, 26px);
  line-height: 1;
  flex-shrink: 0;
}

.negara-name {
  font-size: clamp(13px, 2.6vw, 15px);
  font-weight: 600;
  color: var(--ubn-blue-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Progress bar */
.negara-bar-wrap {
  height: 6px;
  background: rgba(22, 48, 92, 0.08);
  border-radius: 3px;
  overflow: hidden;
  min-width: 40px;
}

.negara-bar {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--ubn-blue) 0%,
    var(--ubn-blue-dark) 100%
  );
  border-radius: 3px;
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
  min-width: 2px;
}

.negara-count {
  font-size: clamp(12px, 2.4vw, 14px);
  font-weight: 700;
  color: var(--ubn-blue);
  min-width: 32px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.negara-empty {
  text-align: center;
  padding: 30px 20px;
  color: #888;
  font-size: 14px;
  font-style: italic;
}

/* ===== DESKTOP (≥ 992px) ===== */
@media (min-width: 992px) {
  .statistik-grid {
    grid-template-columns: minmax(280px, 1fr) minmax(0, 1.8fr);
    align-items: stretch;
  }

  .statistik-online {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .statistik-number {
    font-size: 64px;
  }

  .negara-bar-wrap {
    height: 8px;
  }
}

/* ===== TABLET (≥ 768px & < 992px) ===== */
@media (min-width: 768px) and (max-width: 991px) {
  .statistik-grid {
    grid-template-columns: 1fr 1fr;
  }

  .statistik-online {
    grid-column: 1 / -1;
  }
}
