/* ========================================
   RESET
======================================== */

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

html,
body {
  overflow-x: hidden !important; /* ⬅️ Mengunci paksa agar tidak bisa digeser ke samping */
  width: 100%;
  max-width: 100vw;
  position: relative;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #080808;
  color: #f2f2f0;
  font-family: var(--font-body);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* ========================================
   DESIGN VARIABLES
======================================== */

:root {
  --background: #080808;
  --foreground: #f2f2f0;

  --muted: #777777;

  --accent: #e30613;

  --border: rgba(255, 255, 255, 0.15);

  --container: 1440px;

  --font-heading: "Poppins", sans-serif;
  --font-body: "Roboto", sans-serif;
}

/* ========================================
   CONTAINER
======================================== */

.navbar,
.hero-content,
.hero-footer {
  width: min(calc(100% - 80px), var(--container));

  margin-inline: auto;
}

/* ========================================
   HEADER & NAVBAR UTAMA
======================================== */

/* Posisi awal saat di paling atas (bisa transparan penuh atau hitam) */
.site-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: transparent;
  transition:
    background 0.4s ease,
    backdrop-filter 0.4s ease;
  z-index: 1000;
}

/* Ketika di-scroll: Berubah menjadi hitam semi-transparan dengan efek kaca (glassmorphism) */
.site-header.scrolled {
  background: rgba(
    8,
    8,
    8,
    0.8
  ); /* ⬅️ Angka 0.8 artinya transparan 20% (bisa diubah ke 0.7 atau 0.85) */
  backdrop-filter: blur(
    10px
  ); /* ⬅️ Memberikan efek buram/kaca yang estetik di belakang header */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
  width: min(calc(100% - 80px), var(--container));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  position: relative;
  z-index: 100;
}

/* Ukuran Logo agar pas dan rapi */
.navbar img,
.navbar .brand img {
  height: 60px !important;
  width: auto !important;
  object-fit: contain;
  display: block;
}

/* Menu Navigasi Desktop */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #be0000;
}

/* Tombol Hamburger (Garis Tiga) untuk Mobile - Default Sembunyikan di Desktop */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--foreground);
  transition: all 0.3s ease;
}

/* Menu Mobile Tersembunyi secara Default */
.mobile-menu {
  display: none;
}

/* ========================================
   RESPONSIVE KHUSUS LAYAR HP / MOBILE
======================================== */

@media (max-width: 900px) {
  /* Sembunyikan menu teks horizontal desktop */
  .nav-menu {
    display: none !important;
  }

  /* Munculkan tombol garis tiga di HP */
  .menu-toggle {
    display: flex;
  }

  /* Tampilan Menu Mobile saat dibuka */
  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #080808;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }

  /* Ketika kelas 'active' dipanggil oleh JS */
  .mobile-menu.active {
    right: 0;
  }

  .mobile-menu a {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--foreground);
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .mobile-menu a:hover {
    color: #be0000;
  }
}

/* Pengaturan awal menu mobile (tersembunyi) */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%; /* Sembunyikan di luar layar sebelah kanan */
  width: 100%;
  height: 100vh;
  background: #080808;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  transition: right 0.4s ease;
  z-index: 999;
}

/* Ketika menu dibuka via JavaScript */
.mobile-menu.active {
  right: 0; /* Tarik menu ke dalam layar */
}

/* Saat tombol diklik, JS menambahkan class 'active' */
.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-menu a:hover,
.mobile-menu a:active {
  color: #be0000;
}

/* Memastikan tombol menu tetap berada di atas overlay saat terbuka */
.menu-toggle {
  z-index: 1001;
}

/* Animasi tombol Hamburger berubah menjadi ( X ) saat menu terbuka */
.menu-toggle[aria-expanded="true"] span:first-child {
  top: 20px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

/* Styling Tombol Close di Menu Mobile */
.mobile-close-btn {
  position: absolute;
  top: 30px;
  right: 35px;
  background: transparent;
  border: none;
  color: var(--foreground);
  font-size: 36px;
  font-weight: 300;
  cursor: pointer;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
  z-index: 1000;
}

.mobile-close-btn:hover {
  color: #be0000;
  transform: scale(1.1);
}
/* ========================================
   HERO
======================================== */

.hero {
  min-height: 100vh;
  min-height: 100svh;

  position: relative;

  display: flex;
  align-items: center;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 50% 5%,
      rgba(190, 0, 0, 0.2) 0%,
      rgba(190, 0, 0, 0.1) 22%,
      rgba(190, 0, 0, 0.04) 38%,
      rgba(8, 8, 8, 0) 58%
    ),
    #080808;

  border-bottom: 1px solid var(--border);
}

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

.hero-content {
  position: relative;

  width: min(calc(100% - 80px), var(--container));

  min-height: 100vh;
  min-height: 100svh;

  margin-inline: auto;
}

/* ========================================
   BACKGROUND TYPOGRAPHY
======================================== */

.hero-background-text {
  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  width: 100%;

  text-align: center;

  z-index: 1;

  font-family: var(--font-heading);

  font-size: clamp(90px, 13vw, 190px);

  line-height: 0.82;

  font-weight: 800;

  letter-spacing: -0.075em;

  color: #f2f2f0;

  pointer-events: none;
}

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

.hero-image {
  position: absolute;

  top: 50%;
  left: 50%;

  height: min(82vh, 780px);

  width: auto;

  transform: translate(-50%, -50%);

  z-index: 3;
}

.hero-image img {
  display: block;

  height: 100%;
  width: auto;

  object-fit: contain;

  filter: none;

  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.02);
}

/* ========================================
   FOUNDER INTRO (Diturunkan menjauh dari foto)
======================================== */
.hero-intro {
  position: absolute;
  left: 0;
  bottom: 8% !important; /* ⬅️ Angka dikecilkan agar turun ke bawah */
  z-index: 10;
}

.eyebrow {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.hero-intro h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 64px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.055em;
  color: var(--foreground);
}

.hero-role {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ========================================
   DESCRIPTION (Diturunkan)
======================================== */
.hero-description {
  position: absolute;
  right: 0;
  bottom: 10% !important; /* ⬅️ Dikecilkan agar turun sejajar intro */
  z-index: 10;
}

.hero-description p {
  font-family: var(--font-body);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-align: right;
  color: var(--foreground);
}

/* ========================================
   CTA BUTTON (Diturunkan)
======================================== */
.hero-button {
  position: absolute;
  right: 0;
  bottom: 3% !important; /* ⬅️ Dikecilkan agar posisi tombol pas di bagian paling bawah */
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 1;
  visibility: visible;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

.hero-button span {
  color: var(--accent);
  font-size: 15px;
}

.hero-button:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.hero-button:hover span {
  color: #ffffff;
}

/* ========================================
   HERO FOOTER
======================================== */

.hero-footer {
  position: absolute;

  left: 50%;

  bottom: 24px;

  transform: translateX(-50%);

  z-index: 20;

  width: min(calc(100% - 80px), var(--container));

  display: flex;

  justify-content: space-between;

  color: var(--muted);

  font-family: var(--font-body);

  font-size: 9px;

  letter-spacing: 0.12em;
}

/* ========================================
   PLACEHOLDER
======================================== */

.placeholder-section {
  min-height: 50vh;

  display: flex;

  align-items: center;

  justify-content: center;

  color: var(--muted);

  font-size: 12px;

  letter-spacing: 0.1em;
}

/* ========================================
   ANIMATIONS
======================================== */

@keyframes heroImageIn {
  from {
    opacity: 0;

    transform: translate(-50%, -50%) scale(1.04);
  }

  to {
    opacity: 1;

    transform: translate(-50%, -50%) scale(0.96);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;

    transform: translateY(30px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {
  .navbar,
  .hero-content,
  .hero-footer {
    width: calc(100% - 40px);
  }

  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-background-text {
    font-size: 17vw;
  }

  .hero-image {
    height: 65vh;
  }

  .hero-description {
    right: 0;
  }

  .hero-description {
    right: 0;
    bottom: 16% !important; /* ⬅️ Hanya menambahkan baris ini untuk mendorong teks ke atas menjauhi tombol */
  }
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {
  /* HERO */

  .hero {
    min-height: 100svh;

    overflow: hidden;
  }

  .hero-content {
    width: calc(100% - 40px);

    min-height: 100svh;
  }

  /* ==============================
       BACKGROUND TEXT
    ============================== */

  .hero-background-text {
    top: 43%;

    width: 100%;

    font-size: 19vw;

    line-height: 0.85;

    letter-spacing: -0.07em;

    z-index: 1;
  }

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

  .hero-image {
    top: 15% !important;
    left: 50% !important;
    height: 48svh !important;
    width: auto !important;
    transform: translate(
      -48%,
      0
    ) !important; /* ⬅️ Ubah angka -48% ini jika kurang pas */
    z-index: 3;
  }

  .hero-image img {
    height: 100%;

    width: auto;

    object-fit: contain;
  }

  .hero-image:hover img {
    transform: none;
  }

  /* ==============================
       INTRO
    ============================== */

  .hero-intro {
    left: 0;

    bottom: 19% !important; /* ⬅️ Mengatur jarak teks hello ke foto */

    z-index: 10;
  }

  .eyebrow {
    font-size: 9px;

    margin-bottom: 6px;
  }

  .hero-intro h1 {
    font-size: 32px;

    line-height: 0.95;
  }

  .hero-role {
    margin-top: 9px;

    font-size: 9px;

    line-height: 1.45;
  }

  /* ==============================
       DESCRIPTION
    ============================== */

  .hero-description {
    right: 0;

    bottom: 20% !important; /* ⬅️ Mengatur jarak deskripsi kanan */

    z-index: 10;
  }

  .hero-description p {
    font-size: 13px;

    line-height: 1.1;
  }

  /* ==============================
       BUTTON
    ============================== */

  .hero-button {
    left: 50% !important;

    right: auto !important;

    transform: translateX(-50%) !important;

    bottom: 7% !important; /* ⬅️ Posisi tombol di bagian bawah HP */

    z-index: 50;

    padding: 11px 14px;

    font-size: 9px;
  }

  /* ==============================
       FOOTER
    ============================== */

  .hero-footer {
    display: none;
  }
}
/* ========================================
   SECTION 02 — MY JOURNEY (GABUNGAN UTUH)
======================================== */

.journey-section {
  width: 100%;
  padding: 140px 0 120px;
  border-bottom: 1px solid var(--border);
  background: #080808;
}

.journey-wrapper {
  width: min(calc(100% - 80px), var(--container));
  margin: 0 auto;
}

/* Baris Atas: Teks & Foto Duduk */
.journey-hero-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 140px; /* Jarak pemisah ke timeline di bawahnya */
}

.journey-text-content h2 {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin: 20px 0;
}

.journey-text-content > p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 30px;
  max-width: 520px;
}

.journey-quote-box {
  border-left: 2px solid #be0000;
  padding-left: 18px;
}

.journey-quote-box p {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--foreground);
  line-height: 1.6;
}

/* Container Foto Duduk */
.journey-photo-container {
  position: relative; /* Wajib relative agar cahaya bisa diposisikan di belakang foto */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Efek Cahaya Gradasi Merah di Belakang Foto (Dibuat Lebih Terang & Luas) */
.journey-photo-container::before {
  content: "";
  position: absolute;
  width: 600px; /* Memperbesar diameter lingkaran cahaya */
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(190, 0, 0, 0.6) 0%,
    rgba(190, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0) 75%
  ); /* Meningkatkan kepekatan warna merah */
  border-radius: 50%;
  z-index: 0;
  filter: blur(50px); /* Memperhalus pendaran cahaya */
  pointer-events: none;
}

/* Memastikan gambar tetap berada di atas cahaya */
.journey-photo-container img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8));
  transition: transform 0.5s ease;
}

.journey-photo-container:hover img {
  transform: scale(1.03);
}

/* Baris Bawah: Horizontal Timeline Center */
.timeline-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-top: 20px;
}

.timeline-line {
  position: absolute;
  top: 110px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: rgba(190, 0, 0, 0.4);
  z-index: 1;
}

.timeline-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 10px;
}

.timeline-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #111111;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-icon-box svg {
  width: 26px;
  height: 26px;
  stroke: var(--foreground);
  stroke-width: 1.75px;
  transition: all 0.4s ease;
}

.timeline-item:hover .timeline-icon-box {
  border-color: #be0000;
  background: rgba(190, 0, 0, 0.08);
  transform: translateY(-6px);
  box-shadow: 0 10px 25px -5px rgba(190, 0, 0, 0.3);
}

.timeline-item:hover .timeline-icon-box svg {
  stroke: #be0000;
  transform: scale(1.1);
}

.timeline-dot {
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-radius: 50%;
  margin-bottom: 24px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 10px rgba(190, 0, 0, 0.6);
}

.timeline-content .timeline-year {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #be0000;
  display: block;
  margin-bottom: 12px;
  text-align: center;
}

.timeline-content h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff; /* Warna merah sesuai permintaan */
  margin-bottom: 14px;
  line-height: 1.25;
  text-transform: none; /* Format reguler */
}

.timeline-content p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  text-transform: none;
}

/* ========================================
   RESPONSIVE MOBILE & TABLET
======================================== */

@media (max-width: 1024px) {
  .journey-hero-row {
    grid-template-columns: 1fr;
    gap: 50px;
    margin-bottom: 90px;
  }
  .journey-photo-container img {
    max-width: 340px;
    margin: 0 auto;
  }
  .timeline-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 30px;
  }
  .timeline-line {
    display: none;
  }
}

@media (max-width: 600px) {
  .journey-section {
    padding: 90px 0;
  }
  .journey-wrapper {
    width: calc(100% - 32px);
  }
  .timeline-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}
/* ========================================
   SECTION 02.5 — HIGHLIGHT STATS
======================================== */

.stats {
  width: 100%;
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
  background: #080808;
}

.stats-wrapper {
  width: min(calc(100% - 80px), var(--container));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-item h3 {
  font-family: var(--font-heading);
  font-size: 96px; /* Ukuran angka raksasa */
  font-weight: 700;
  line-height: 1;
  color: var(--foreground);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

/* Mengubah tanda + menjadi warna merah */
.stat-item h3 span {
  color: #be0000;
  font-size: 80px;
  font-weight: 600;
  margin-left: 4px;
}

/* Penyesuaian khusus untuk simbol Infinity */
.stat-item h3.infinity {
  font-size: 110px;
  font-weight: 400;
  line-height: 0.8;
}

.stat-item p {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
}

@media (max-width: 900px) {
  /* Menyembunyikan menu teks horizontal di layar HP */
  .nav-menu {
    display: none;
  }

  /* Tombol hamburger muncul di sebelah kanan */
  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  .stats {
    padding: 60px 0;
  }

  .stats-wrapper {
    width: calc(100% - 24px);
    flex-direction: row; /* Paksa berjajar ke samping (horizontal) */
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }

  .stat-item {
    width: auto;
    align-items: center; /* Menengahkan teks di masing-masing kolom */
    text-align: center;
  }

  .stat-item h3 {
    font-size: 28px; /* Ukuran angka dikecilkan agar muat 4 berjejer di HP */
    margin-bottom: 6px;
  }

  .stat-item h3 span {
    font-size: 24px;
    margin-left: 2px;
  }

  .stat-item h3.infinity {
    font-size: 36px;
  }

  .stat-item p {
    font-size: 7px; /* Teks bawah dikecilkan drastis agar tidak saling bertabrakan */
    letter-spacing: 0.05em;
  }

  .stat-divider {
    display: block; /* Munculkan kembali garis pemisahnya */
    width: 1px;
    height: 35px;
    background: var(--border);
    margin: 0 4px;
  }
}
/* ========================================
   SECTION 03 — THE GROUP (GRID CARDS)
======================================== */

.group {
  width: 100%;
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
  background: #080808;
}

.group-wrapper {
  width: min(calc(100% - 80px), var(--container));
  margin: 0 auto;
}

.group-heading {
  margin-bottom: 60px;
  text-align: left;
}

.group-heading h2 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 20px;
  color: var(--foreground);
}

.group-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 32px !important;
  width: 100% !important;
}

/* Pastikan kartu di dalamnya tidak memaksa melebar sendiri */
.group-grid .business-card-box {
  width: 100% !important;
}

/* Kotak Kartu */
.business-card-box {
  background: #111111;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
}

.business-card-box:hover {
  border-color: #be0000;
  transform: translateY(-6px);
  background: #141414;
}

/* Bagian Gambar di atas kartu */
.card-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #1a1a1a;
  overflow: hidden;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.business-card-box:hover .card-image-wrapper img {
  transform: scale(1.05);
}

/* Badge kecil di pojok gambar */
.card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: #f2f2f0;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: 4px;
}

/* Isi Teks Kartu */
.card-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-number {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: #be0000;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.card-content h3 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin-bottom: 6px;
}

.card-category {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.card-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 30px;
  flex-grow: 1;
}

/* Bagian Bawah Kartu (Posisi tombol Explore/Visit) */
.card-footer {
  display: flex;
  justify-content: flex-start;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.card-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--foreground);
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
}

.business-card-box:hover .card-btn {
  background: #be0000;
  border-color: #be0000;
  color: #ffffff;
}

/* Gaya khusus tombol Visit untuk Risete Academy */
.card-btn.visit {
  border-color: rgba(190, 0, 0, 0.4);
}

/* ========================================
   SECTION 04 — WHAT I BUILD
======================================== */

.build {
  width: 100%;
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
  background: #080808;
}

/* Memastikan ukurannya sejajar persis dengan Journey & The Group */
.build-wrapper {
  width: min(calc(100% - 80px), var(--container));
  margin: 0 auto;
}

.build-heading {
  margin-bottom: 80px;
  text-align: left;
}

.build-heading h2 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 20px;
  color: var(--foreground);
}

.build-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.build-card {
  padding: 50px 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  transition: all 0.4s ease;
}

.build-card:hover {
  background: rgba(190, 0, 0, 0.05); /* Efek Red Glow ringan */
  border-color: #be0000;
  transform: translateY(-5px);
  cursor: default;
}

.build-icon {
  color: #be0000;
  font-size: 24px;
  margin-bottom: 24px;
}

.build-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--foreground);
}

.build-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

/* ========================================
   MOBILE RESPONSIVE (SECTION 04)
======================================== */

@media (max-width: 600px) {
  .build {
    padding: 90px 0 100px;
  }

  .build-wrapper {
    width: calc(100% - 32px); /* Kunci agar rata kiri di HP */
  }

  .build-heading {
    margin-bottom: 40px;
  }

  .build-heading h2 {
    font-size: 16vw; /* Ukuran font H2 disamakan dengan section atasnya */
    line-height: 0.85;
  }

  .build-grid {
    grid-template-columns: 1fr; /* Berubah menjadi 1 kolom di HP */
    gap: 20px;
  }

  .build-card {
    padding: 30px;
  }

  .build-card:hover {
    transform: none; /* Matikan efek terangkat di HP agar tidak aneh saat di-scroll */
  }
}
/* ========================================
   SECTION 05 — SELECTED WORK
======================================== */

.work {
  width: 100%;
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
  background: #080808;
}

/* Memastikan ukurannya sejajar persis dengan section di atasnya */
.work-wrapper {
  width: min(calc(100% - 80px), var(--container));
  margin: 0 auto;
}

.work-heading {
  margin-bottom: 30px;
  text-align: left;
}

.work-heading h2 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 20px;
  color: var(--foreground);
}

.work-subtitle {
  font-size: 16px;
  color: var(--muted);
  margin-top: 14px;
  max-width: 650px;
  line-height: 1.6;
}

.work-category-label {
  margin-top: 28px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.work-category-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #be0000;
  background: rgba(190, 0, 0, 0.08);
  border: 1px solid rgba(190, 0, 0, 0.25);
  padding: 6px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
}

.work-list {
  display: flex;
  flex-direction: column;
  gap: 120px; /* Jarak antar projek */
}

.project-item {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Membalik posisi untuk projek urutan genap (Gambar di kanan) */
.project-item.reverse {
  direction: rtl;
}
.project-item.reverse > * {
  direction: ltr; /* Mengembalikan arah teks agar tidak terbalik */
}

.project-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #111;
  overflow: hidden;
}

.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: #111;
  transition: transform 0.6s ease;
}

.project-item:hover .img-placeholder {
  transform: scale(1.05);
  background: #1a1a1a;
}

.project-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.project-meta {
  display: flex;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.project-year {
  color: #be0000;
}

.project-item h3 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--foreground);
}

.project-item p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 35px;
  max-width: 480px;
}

.project-link {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--foreground);
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.project-item:hover .project-link {
  color: #be0000;
  border-bottom-color: #be0000;
}

.work-footer {
  margin-top: 100px;
  display: flex;
  justify-content: flex-start; /* Sejajar kiri dengan judul */
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--foreground);
  padding: 16px 32px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  background: #be0000;
  border-color: #be0000;
}

/* ========================================
   MOBILE RESPONSIVE (SECTION 05)
======================================== */

@media (max-width: 600px) {
  .work {
    padding: 90px 0 100px;
  }

  .work-wrapper {
    width: calc(100% - 32px); /* Rata kiri persis dengan HP */
  }

  .work-heading {
    margin-bottom: 40px;
  }

  .work-heading h2 {
    font-size: 16vw;
    line-height: 0.85;
  }

  .work-list {
    gap: 60px;
  }

  .project-item {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Mematikan efek selang-seling di HP supaya tidak berantakan */
  .project-item.reverse {
    direction: ltr;
  }

  .project-image {
    aspect-ratio: 4 / 3;
  }

  .project-item h3 {
    font-size: 32px;
  }

  .project-item p {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .work-footer {
    margin-top: 60px;
  }
}
/* ========================================
   SECTION 06 — THOUGHTS
======================================== */

.thoughts {
  width: 100%;
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
  background: #080808;
}

.thoughts-wrapper {
  width: min(calc(100% - 80px), var(--container));
  margin: 0 auto;
}

.thoughts-heading {
  margin-bottom: 80px;
  text-align: left;
}

.thoughts-heading h2 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 20px;
  color: var(--foreground);
}

.thoughts-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.thought-item {
  display: grid;
  grid-template-columns: 150px 1fr 40px;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.4s ease;
}

.thought-item:hover {
  background: rgba(190, 0, 0, 0.03);
  padding-left: 24px;
  padding-right: 24px;
  border-color: #be0000;
}

.thought-date {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.05em;
  transition: color 0.4s ease;
}

.thought-item:hover .thought-date {
  color: #be0000;
}

.thought-title h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin-bottom: 10px;
  transition: color 0.4s ease;
}

.thought-item:hover .thought-title h3 {
  color: #be0000;
}

.thought-title p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 600px;
}

.thought-arrow {
  font-size: 24px;
  color: var(--muted);
  text-align: right;
  transition: all 0.4s ease;
}

.thought-item:hover .thought-arrow {
  color: #be0000;
  transform: translateX(5px) translateY(-5px);
}

/* ========================================
   MOBILE RESPONSIVE (SECTION 06)
======================================== */

@media (max-width: 600px) {
  .thoughts {
    padding: 90px 0 100px;
  }

  .thoughts-wrapper {
    width: calc(100% - 32px);
  }

  .thoughts-heading {
    margin-bottom: 40px;
  }

  .thoughts-heading h2 {
    font-size: 16vw;
    line-height: 0.85;
  }

  .thought-item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 30px 0;
    position: relative;
  }

  .thought-item:hover {
    padding-left: 0;
    padding-right: 0;
    background: transparent;
    border-color: var(--border);
  }

  .thought-date {
    font-size: 11px;
    color: #be0000;
  }

  .thought-title h3 {
    font-size: 20px;
    padding-right: 40px;
  }

  .thought-title p {
    font-size: 14px;
  }

  .thought-arrow {
    position: absolute;
    top: 30px;
    right: 0;
    font-size: 20px;
  }

  .thought-item:hover .thought-arrow {
    transform: none;
  }
}
/* ========================================
   SECTION 07 — LET'S CONNECT
======================================== */

.connect {
  width: 100%;
  padding: 160px 0;
  border-bottom: 1px solid var(--border);
  /* Memberikan efek lampu merah lembut dari bawah ke atas */
  background:
    radial-gradient(
      circle at 50% 100%,
      rgba(190, 0, 0, 0.12) 0%,
      rgba(8, 8, 8, 0) 50%
    ),
    #080808;
}

.connect-wrapper {
  width: min(calc(100% - 80px), var(--container));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center; /* Di-center agar menjadi penutup yang megah */
}

.connect .section-number {
  margin-bottom: 30px;
}

.connect h2 {
  font-size: clamp(60px, 8vw, 100px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 30px;
  color: var(--foreground);
}

.connect p {
  max-width: 880px; /* Diperlebar agar teks panjang mengalir rapi dan elegan di tampilan web */
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 50px;
  text-wrap: pretty;
}

/* Tablet Responsive untuk Bagian Connect */
@media (max-width: 1024px) {
  .connect p {
    max-width: 720px;
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 44px;
  }
}

.connect-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #ffffff;
  background: #be0000;
  padding: 20px 40px;
  border: 1px solid #be0000;
  text-decoration: none;
  transition: all 0.4s ease;
}

.connect-btn:hover {
  background: transparent;
  color: #be0000;
  transform: translateY(-4px);
}

/* ==========================================================
   SECTION 08 — FOOTER (CENTER & SOCIAL ICONS)
========================================================== */

.site-footer {
  width: 100%;
  padding: 100px 0 50px;
  background: #080808;
  border-top: 1px solid var(--border);
}

.footer-wrapper {
  width: min(calc(100% - 80px), var(--container));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Bagian Tengah (Brand, Subtitle, Ikon) */
.footer-content-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin-bottom: 8px;
}

.footer-subtitle {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 30px;
  text-transform: uppercase;
}

/* Styling Barisan Ikon Sosial Media */
.footer-social-icons {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.footer-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--foreground);
  transition: all 0.3s ease;
}

.footer-social-icons a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

/* Efek Hover Saat Disorot Mouse */
.footer-social-icons a:hover {
  background: #be0000;
  border-color: #be0000;
  color: #ffffff;
  transform: translateY(-4px);
}

.footer-social-icons a:hover svg {
  transform: scale(1.1);
}

/* ==========================================================
   BAGIAN BAWAH FOOTER (DESKTOP: KIRI & KANAN, HP: MENUMPUK)
========================================================== */

.footer-bottom-center {
  width: 100%;
  display: flex;
  justify-content: space-between; /* Membuat teks di kiri dan Back to Top di kanan */
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.back-to-top {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.back-to-top:hover {
  color: var(--foreground);
}

/* Khusus Tampilan HP / Mobile (Tetap menumpuk ke bawah seperti di gambar kamu) */
@media (max-width: 600px) {
  .footer-bottom-center {
    flex-direction: column-reverse; /* Kembali menumpuk di HP */
    align-items: center;
    text-align: center;
    gap: 16px;
    padding-top: 24px;
  }
}

/* ========================================
   MOBILE RESPONSIVE (CONNECT & FOOTER)
======================================== */

@media (max-width: 600px) {
  .connect {
    padding: 100px 0;
  }

  .connect-wrapper {
    width: calc(100% - 32px);
    align-items: center;
    text-align: center;
    margin: 0 auto;
  }

  .connect .section-number {
    text-align: center;
  }

  .connect h2 {
    font-size: 12.5vw;
    margin-bottom: 20px;
    text-align: center;
  }

  .connect p {
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 36px;
    text-align: center;
    max-width: 100%;
    text-wrap: pretty;
  }

  .connect-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-size: 12px;
    text-align: center;
  }

  .connect-btn:hover {
    transform: none;
  }

  /* Footer Mobile */
  .site-footer {
    padding: 60px 0 30px;
  }

  .footer-wrapper {
    width: calc(100% - 32px);
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
  }

  .footer-links {
    flex-direction: column;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 20px;
    padding-top: 24px;
  }
}
/* ========================================
   FIXED SECTION 03: 4 DESKTOP / 2 TABLET / 1 MOBILE
======================================== */

.group-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 32px !important;
  width: 100% !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .group-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 767px) {
  .group-grid {
    grid-template-columns: 1fr !important;
  }
}
/* ========================================
   WARNA MERAH UNTUK TEKS NOMOR SECTION
======================================== */
.section-number {
  color: #be0000 !important;
}
/* ==========================================================
   MULTI-ROW MOVING GALLERY (2 BARIS BERLAWANAN)
========================================================== */

.gallery-scroller {
  width: min(calc(100% - 80px), var(--container)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow: hidden;
  position: relative;
  padding: 10px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;

  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 1) 3%,
    rgba(0, 0, 0, 1) 97%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 1) 3%,
    rgba(0, 0, 0, 1) 97%,
    transparent 100%
  );
}

/* Memperhalus area pudar sisi kiri dan kanan agar sejajar navbar */
.gallery-scroller::before,
.gallery-scroller::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  z-index: 10;
  pointer-events: none;
}

.gallery-scroller::before {
  left: 0;
  background: linear-gradient(90deg, #080808 0%, rgba(8, 8, 8, 0) 100%);
}

.gallery-scroller::after {
  right: 0;
  background: linear-gradient(270deg, #080808 0%, rgba(8, 8, 8, 0) 100%);
}

.gallery-track {
  display: flex;
  gap: 20px;
  width: max-content;
}

/* Animasi Baris 1: Bergerak dari Kanan ke Kiri (Pelan & Mulus) */
.track-1 {
  animation: scrollGallery 210s linear infinite;
}

/* Animasi Baris 2: Arah sama ke kiri, kecepatan sedikit berbeda agar dinamis */
.track-2 {
  animation: scrollGallery 225s linear infinite;
}

/* Berhenti bergerak saat area galeri disorot mouse */
.gallery-scroller:hover .track-1,
.gallery-scroller:hover .track-2 {
  animation-play-state: paused;
}

.gallery-item {
  height: 230px !important; /* Kunci tinggi baris galeri agar presisi sama dengan foto & video */
  width: auto !important;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, border-color 0.3s ease;
  transform: translateZ(0);
  cursor: pointer;
}

.gallery-item img {
  height: 230px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  display: block;
  border-radius: 12px;
}

/* 1. Menghilangkan teks overlay saat gambar galeri di-hover */
.gallery-overlay {
  display: none !important;
}

.gallery-overlay span {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transform: translateY(20px);
  transition: transform 0.5s ease;
}

.gallery-item:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.25);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

/* --- KEYFRAMES (RUMUS BERGERAK) --- */
@keyframes scrollGallery {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 10px));
  }
}

/* --- RESPONSIVE UNTUK TABLET & HP --- */
@media (max-width: 900px) {
  .gallery-item {
    height: 190px !important;
  }
  .gallery-item img {
    height: 190px !important;
  }
}

@media (max-width: 600px) {
  .gallery-scroller {
    gap: 12px;
  }
  .gallery-track {
    gap: 12px;
  }
  .gallery-item {
    height: 150px !important;
    border-radius: 8px;
  }
  .gallery-item img {
    height: 150px !important;
    border-radius: 8px;
  }
  .gallery-overlay {
    padding: 15px;
  }
  .gallery-overlay span {
    font-size: 13px;
  }
}
/* ==========================================================
   LIGHTBOX MODAL (FOTO & TEKS CENTER ANTI ERROR)
========================================================== */

.lightbox-modal {
  display: none; /* Akan diubah jadi 'block' oleh JavaScript */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox-modal.show {
  opacity: 1;
}

/* Pembungkus selebar layar, dikunci persis di tengah */
.lightbox-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%; /* ⬅️ Ini kunci agar teks tidak terjepit */
  text-align: center; /* ⬅️ Menengahkan foto dan teks */
  animation: zoomInPopup 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-content {
  display: inline-block;
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  object-fit: contain;
  vertical-align: middle;
}

/* === VIDEO CONTAINER IN LIGHTBOX === */
.lightbox-video-container {
  display: none;
  width: 85vw;
  max-width: 1000px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  margin: 0 auto;
}

.lightbox-video-container.landscape {
  aspect-ratio: 16 / 9;
}

.lightbox-video-container.portrait {
  width: 45vw;
  max-width: 420px;
  aspect-ratio: 9 / 16;
}

.lightbox-video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* === CLICKABLE GALLERY ITEMS === */
.vp-photo-item {
  cursor: pointer;
}

.vp-video-item {
  position: relative;
  cursor: pointer;
}

/* Play overlay on video items so users know they're interactive */
.vp-video-item::after {
  content: "▶";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.35);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 2;
}

.vp-video-item:hover::after {
  opacity: 1;
}

/* Keep iframes from intercepting hover mouse events in the marquee */
.vp-video-item iframe {
  pointer-events: none;
}

#lightbox-caption {
  display: none !important;
}

/* Tombol Silang (X) */
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #ffffff;
  font-size: 45px;
  font-weight: 300;
  cursor: pointer;
  z-index: 10000;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.lightbox-close:hover {
  color: #be0000;
  transform: scale(1.1);
}

@keyframes zoomInPopup {
  from {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

/* Responsif Pop-up di HP */
@media (max-width: 600px) {
  .lightbox-close {
    top: 15px;
    right: 25px;
    font-size: 40px;
  }
  .lightbox-content {
    max-width: 95vw;
    max-height: 70vh;
  }
  #lightbox-caption {
    font-size: 16px;
    margin-top: 15px;
  }
}

/* ==========================================================
   TOMBOL PANAH LIGHTBOX
========================================================== */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 50px;
  font-weight: 300;
  padding: 16px 20px;
  cursor: pointer;
  z-index: 10000;
  user-select: none;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.lightbox-prev {
  left: 2%;
}

.lightbox-next {
  right: 2%;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  color: #be0000;
  transform: translateY(-50%) scale(1.1);
}

@media (max-width: 600px) {
  .lightbox-prev,
  .lightbox-next {
    font-size: 35px;
    padding: 10px;
  }
  .lightbox-prev {
    left: 0;
  }
  .lightbox-next {
    right: 0;
  }
  .lightbox-video-container.portrait {
    width: 80vw;
  }
  .lightbox-video-container.landscape {
    width: 95vw;
  }
}
/* ==========================================================
   JOURNEY VIDEO SHOWCASE (JARAK AMAN KIRI-KANAN DI MOBILE)
========================================================== */
.journey-video-container {
  margin: 60px auto 0;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #111111;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
}

.journey-video-container iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* ⬅️ Mengatur jarak pinggir kiri & kanan di HP/Tablet agar tidak terlalu mepet */
@media (max-width: 1024px) {
  .journey-video-container {
    width: calc(
      100% - 40px
    ); /* Memberikan jarak sela 20px di sisi kiri dan 20px di sisi kanan */
    margin-left: auto;
    margin-right: auto;
  }
}
/* ==========================================================
   JARAK MARGIN KIRI & KANAN VIDEO KHUSUS HP & TABLET
========================================================== */

@media (max-width: 1024px) {
  .journey-video-container {
    width: min(
      calc(100% - 40px),
      1100px
    ); /* Menyesuaikan jarak 40px seperti container teks atas */
    margin-left: auto;
    margin-right: auto;
  }
}
/* Efek kartu statistik saat disorot kursor */
.stat-item {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-item:hover {
  transform: translateY(-6px);
}

.stat-item:hover h3,
.stat-item:hover h3 span {
  color: #be0000; /* Berubah jadi merah elegan saat disentuh */
  text-shadow: 0 0 25px rgba(190, 0, 0, 0.4);
}

/* Transisi kemunculan saat pertama kali disapu layar */
.stats {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.stats.appear {
  opacity: 1;
  transform: translateY(0);
}
/* ==========================================================
   HANDS RISETE MEDIA: JARAK RAPAT & PRESISI
========================================================== */
.media-press-section {
  padding: 40px 0 25px 0; /* ⬅️ Mengurangi padding atas (40px) dan padding bawah (25px) agar lebih rapat */
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.media-section-subtitle {
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-bottom: 25px; /* ⬅️ Jarak antara teks judul subtitle ke baris logo sedikit dirapatkan */
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
}

/* Wadah marquee terkunci persis di dalam batas .group-wrapper */
.media-marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

/* Jalur geser mulus */
.media-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: smoothScroll 35s linear infinite;
}

.media-marquee-container:hover .media-marquee-track {
  animation-play-state: paused;
}

/* Kotak logo */
.media-logo-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  width: 170px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  flex-shrink: 0;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.media-logo-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent-orange);
}

.media-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@keyframes smoothScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* ==========================================================
   FREKUENSI MILESTONE: GAMBAR LEBIH BESAR & DEKAT DENGAN TEKS
========================================================== */
.freq-milestone-row {
  margin-top: 100px;
  margin-bottom: 120px;
  align-items: center;
  justify-content: center;
  grid-template-columns: minmax(380px, 480px) minmax(420px, 600px) !important;
  gap: 48px !important;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.freq-single-slider {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 580px;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: hidden !important;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Mendekatkan gambar ke arah teks */
  margin-left: auto;
}

.freq-single-slider::before {
  display: none !important;
}

.freq-single-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s ease;
  transform: scale(1.03);
}

.freq-single-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.freq-single-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 22px rgba(190, 0, 0, 0.5) !important;
}

/* Responsif Tablet & HP */
@media (max-width: 1024px) {
  .freq-milestone-row {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    margin-top: 80px;
    margin-bottom: 80px;
    max-width: 100%;
  }

  .freq-milestone-row .journey-text-content {
    order: 1;
  }
  .freq-milestone-row .freq-single-slider {
    order: 2;
    margin: 0 auto;
    width: 100%;
    max-width: 420px;
    height: 480px;
    justify-content: center;
  }
}

@media (max-width: 580px) {
  .freq-milestone-row .freq-single-slider {
    height: 380px;
    max-width: 320px;
  }
}
/* ==========================================================
   HORIZONTAL TIMELINE (JARAK PINGGIR DISAMAKAN DENGAN VIDEO)
========================================================== */
.timeline-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-top: 20px;
  margin-top: 90px;
}

/* ⬅️ Tampilan Tablet (768px - 1024px): 2 Kolom dengan jarak aman pinggir */
@media (min-width: 768px) and (max-width: 1024px) {
  .timeline-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
    padding-left: 20px; /* Memberikan ruang jarak di sisi kiri */
    padding-right: 20px; /* Memberikan ruang jarak di sisi kanan */
  }
  .timeline-line {
    display: none;
  }
}

/* ⬅️ Tampilan Mobile / HP (< 767px): 1 Kolom dengan jarak aman pinggir */
@media (max-width: 767px) {
  .timeline-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-left: 20px; /* Menyamakan persis dengan margin video */
    padding-right: 20px; /* Menyamakan persis dengan margin video */
  }
  .timeline-line {
    display: none;
  }
}
/* ==========================================================
   FIX JARAK TEKS & TOMBOL HERO KHUSUS TABLET (TERMASUK MODE TIDUR/LANDSCAPE)
========================================================== */
@media (min-width: 601px) and (max-width: 1280px) {
  .hero-description {
    bottom: 110px !important;
  }

  /* Tombol tetap AMAN di angka 40px (TIDAK DIRUBAH) */
  .hero-button {
    bottom: 40px !important;
  }

  .hero-image {
    top: 44% !important;
  }

  /* ⬇️ TAMBAHAN BARU: Menyamakan posisi teks SCROLL dengan tombol ⬇️ */
  .hero-footer {
    bottom: 40px !important; /* ⬅️ Mengikuti posisi tombol agar sejajar sempurna */
  }
}


/* ================= CREATOR CHANNELS BENTO GRID ================= */
.creator-channels-wrapper {
  margin-top: 32px;
  max-width: 540px;
}

.creator-channels-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.creator-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.creator-channel-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 14px;
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.2, 0, 0, 1);
  position: relative;
  overflow: hidden;
}

.creator-channel-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: opacity 0.28s ease;
  opacity: 0;
}

.creator-channel-card.yt::before {
  background: linear-gradient(90deg, #ff3333, transparent);
}
.creator-channel-card.ig::before {
  background: linear-gradient(90deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.creator-channel-card.tt::before {
  background: linear-gradient(90deg, #00f2ea, #ff0050);
}

.creator-channel-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.creator-channel-card:hover::before {
  opacity: 1;
}

.creator-channel-card.yt:hover {
  border-color: rgba(255, 51, 51, 0.4);
}

.creator-channel-card.ig:hover {
  border-color: rgba(225, 48, 108, 0.4);
}

.creator-channel-card.tt:hover {
  border-color: rgba(0, 242, 234, 0.4);
}

.channel-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.channel-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
}

.channel-icon-wrap svg {
  width: 28px;
  height: 28px;
  display: block;
  transition: transform 0.25s ease;
}

.creator-channel-card.yt .channel-icon-wrap {
  color: #ff3333;
}
.creator-channel-card.ig .channel-icon-wrap {
  color: #e1306c;
}
.creator-channel-card.tt .channel-icon-wrap {
  color: #00f2ea;
}

.creator-channel-card:hover .channel-icon-wrap {
  transform: scale(1.08);
}

.channel-arrow {
  font-size: 13px;
  color: var(--muted);
  transition: transform 0.25s ease, color 0.25s ease;
}

.creator-channel-card:hover .channel-arrow {
  transform: translate(2px, -2px);
  color: var(--foreground);
}

.channel-info {
  display: flex;
  flex-direction: column;
}

.channel-platform {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.channel-handle {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-desc {
  font-family: var(--font-body);
  font-size: 10px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

@media (max-width: 768px) {
  .creator-channels-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .creator-channel-card {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 10px;
    border-radius: 12px;
  }
  .channel-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
  }
  .channel-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .channel-icon-wrap svg {
    width: 22px;
    height: 22px;
  }
  .channel-arrow {
    display: block;
    margin-left: 0;
    font-size: 11px;
  }
  .channel-platform {
    font-size: 9px;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
  }
  .channel-handle {
    font-size: 11px;
    letter-spacing: -0.01em;
  }
  .creator-channels-wrapper {
    max-width: 100%;
    margin-top: 24px;
  }
}

@media (max-width: 380px) {
  .creator-channels-grid {
    gap: 6px;
  }
  .creator-channel-card {
    padding: 10px 6px;
  }
  .channel-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }
  .channel-icon-wrap svg {
    width: 19px;
    height: 19px;
  }
  .channel-handle {
    font-size: 10px;
  }
}

/* ==========================================================
   ARTICLE READING MODAL (THOUGHTS POPUP)
========================================================== */
body.modal-open {
  overflow: hidden !important;
}

.thought-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(6, 6, 9, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.thought-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.thought-modal-container {
  position: relative;
  width: 100%;
  max-width: 740px;
  max-height: 88vh;
  background: #0e0e12;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.85), 0 0 1px rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95) translateY(14px);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.thought-modal-overlay.show .thought-modal-container {
  transform: scale(1) translateY(0);
}

.thought-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  transition: all 0.22s ease;
}

.thought-modal-close:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  transform: rotate(90deg);
}

.thought-modal-scroll {
  overflow-y: auto;
  padding: 40px 36px 36px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.thought-modal-scroll::-webkit-scrollbar {
  width: 6px;
}

.thought-modal-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}

.thought-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.thought-modal-badge {
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ff3333;
  background: rgba(255, 51, 51, 0.1);
  border: 1px solid rgba(255, 51, 51, 0.25);
  padding: 4px 10px;
  border-radius: 6px;
}

.thought-modal-date {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.thought-modal-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.32;
  color: var(--foreground);
  margin-bottom: 22px;
  padding-right: 36px;
}

.thought-modal-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent);
  margin-bottom: 24px;
}

.thought-modal-body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}

.thought-modal-body p {
  margin-bottom: 18px;
}

.thought-modal-body p:last-child {
  margin-bottom: 0;
}

.thought-modal-body .thought-quote-highlight {
  border-left: 3px solid #ff3333;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 10px 10px 0;
  margin: 22px 0;
  font-style: italic;
  color: #ffffff;
  font-size: 14.5px;
  line-height: 1.65;
}

.thought-modal-footer {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.thought-author-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.thought-author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff3333, #800000);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.thought-author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.author-title {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--muted);
}

.thought-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.thought-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: #ff3333;
  color: #ffffff;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.thought-cta-btn:hover {
  background: #e62020;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 51, 51, 0.35);
}

.thought-close-text-btn {
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.thought-close-text-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* Modal Mobile Styles */
@media (max-width: 768px) {
  .thought-modal-overlay {
    padding: 14px;
  }
  .thought-modal-scroll {
    padding: 28px 18px 22px;
  }
  .thought-modal-title {
    font-size: 20px;
    padding-right: 28px;
    margin-bottom: 16px;
  }
  .thought-modal-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
  .thought-modal-body {
    font-size: 14px;
    line-height: 1.7;
  }
  .thought-modal-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .thought-modal-actions {
    width: 100%;
  }
  .thought-cta-btn {
    flex: 1;
    justify-content: center;
  }
}

/* ==========================================================
   PORTFOLIO MARQUEE SCROLLERS (PHOTOGRAPHY & VIDEOGRAPHY)
========================================================== */

/* Marquee Scroller — Margine Disamakan Presisi dengan Navbar */
.vp-marquee-wrapper {
  width: min(calc(100% - 80px), var(--container)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow: hidden;
  position: relative;
  display: flex;
  padding: 6px 0;
  box-sizing: border-box;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 1) 3%,
    rgba(0, 0, 0, 1) 97%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 1) 3%,
    rgba(0, 0, 0, 1) 97%,
    transparent 100%
  );
}

.vp-marquee-wrapper::before,
.vp-marquee-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  z-index: 5;
  pointer-events: none;
}

.vp-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, #080808 0%, rgba(8, 8, 8, 0) 100%);
}

.vp-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(270deg, #080808 0%, rgba(8, 8, 8, 0) 100%);
}

.vp-marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  align-items: center;
}

/* Pergerakan disamakan ke kiri dan kecepatannya selaras tenang seperti desain */
.vp-track-left {
  animation: vpScrollLeft 280s linear infinite;
  will-change: transform;
}

.vp-track-right {
  animation: vpScrollLeft 300s linear infinite;
  will-change: transform;
}

.vp-marquee-wrapper:hover .vp-track-left,
.vp-marquee-wrapper:hover .vp-track-right {
  animation-play-state: paused;
}

/* Item styling — Menampilkan Potret & Landscape Asli Tanpa Terpotong */
.vp-photo-item {
  height: 230px;
  width: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, border-color 0.3s ease;
  transform: translateZ(0);
}

.vp-photo-item:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.25);
}

.vp-photo-item img {
  height: 230px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  display: block;
  border-radius: 12px;
}

/* Video Items */
.vp-video-item {
  height: 230px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
  transform: translateZ(0);
}

.vp-video-item[data-video-type="landscape"] {
  width: 408px;
}

.vp-video-item[data-video-type="short"] {
  width: 129px;
}

.vp-video-item iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  pointer-events: none;
  border-radius: 12px;
}

.vp-video-item:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Keyframes — Pergerakan Mulus Selaras Desain */
@keyframes vpScrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 9px));
  }
}

/* Responsive for Marquee Items */
@media (max-width: 900px) {
  .gallery-scroller,
  .vp-marquee-wrapper {
    width: calc(100% - 40px) !important;
  }
  .vp-photo-item {
    height: 190px;
  }
  .vp-photo-item img {
    height: 190px !important;
  }
  .vp-video-item {
    height: 190px;
  }
  .vp-video-item[data-video-type="landscape"] {
    width: 337px;
  }
  .vp-video-item[data-video-type="short"] {
    width: 107px;
  }
  .vp-marquee-wrapper::before,
  .vp-marquee-wrapper::after,
  .gallery-scroller::before,
  .gallery-scroller::after {
    width: 35px;
  }
}

@media (max-width: 600px) {
  .gallery-scroller,
  .vp-marquee-wrapper {
    width: calc(100% - 32px) !important;
  }
  .vp-photo-item {
    height: 150px;
    border-radius: 8px;
  }
  .vp-photo-item img {
    height: 150px !important;
    border-radius: 8px;
  }
  .vp-video-item {
    height: 150px;
    border-radius: 8px;
  }
  .vp-video-item iframe {
    border-radius: 8px;
  }
  .vp-video-item[data-video-type="landscape"] {
    width: 266px;
  }
  .vp-video-item[data-video-type="short"] {
    width: 84px;
  }
  .vp-marquee-track {
    gap: 10px;
  }
  .vp-marquee-wrapper::before,
  .vp-marquee-wrapper::after,
  .gallery-scroller::before,
  .gallery-scroller::after {
    width: 25px;
  }
}

