body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

.main-content {
  flex: 1; /* 🔑 dorong footer ke bawah */
  display: flex;
  flex-direction: column;
}

.page-wrapper {
  min-height: 100vh;   /* boleh lebih tinggi */
  background: url('../images/mbackground.jpg') no-repeat center top / cover;
  display: flex;
  flex-direction: column;
  padding-bottom: 72px;
}

/* ===== HEADER ===== */
.top-header {
  padding: 20px;
  position: relative;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 35px;
}

/* ===== HAMBURGER ===== */
.hamburger {
  width: 32px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  background: white;
  margin: 6px 0;
  border-radius: 2px;
}

/* ===== TAGLINE ===== */
.tagline {
  margin-top: 40px;
  text-align: center;
  color: white;
  font-weight: bold;
}
/* pastikan setelah tagline selalu baris baru */
.tagline::after {
  content: "";
  display: block;
  margin-bottom: 25px;
}

.tagline span {
  display: block;
  font-size: 55px;
  line-height: 1.1;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ===== BUTTON DI BAWAH TAGLINE ===== */
.tagline-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;
  background-color: #ffcc00;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: 0.3s;
}

.tagline-btn:hover {
  background-color: #f5b800;
}

/* ===== BUTTON KEDUA & KETIGA ===== */
.tagline-secondary {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.secondary-btn {
  display: inline-block;
  width: fit-content;
  padding: 10px 22px;
  background: rgba(0, 0, 0, 0.55); /* hitam transparan */
  color: white;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 20px;
  transition: 0.3s;
}

.secondary-btn:hover {
  background: rgba(0, 0, 0, 0.75);
}

@media (min-width: 768px) {
  .tagline span {
    display: inline;
    font-size: 48px;
  }
  .tagline span:first-child {
    margin-right: 12px;
  }
}

/* ===== MENU SLIDE ===== */
/* ===== MENU SLIDE ===== */
.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 190px;
  height: 100%;
  background: #111;
  padding: 80px 20px;
  z-index: 999;
  transform: translateX(100%); /* ⛔ benar-benar tersembunyi */
  visibility: hidden;
  transition: transform 0.3s ease;
}

.side-menu ul {
  list-style: none;
  padding: 0;
}

.side-menu li {
  margin-bottom: 20px;
}

.side-menu a {
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
}

/* ✅ SAAT AKTIF */
.side-menu.active {
  transform: translateX(0);
  visibility: visible;
}
/* ===== OVERLAY ===== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 998;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== DOWNLOAD ===== */
.bottom-area {
  padding-bottom: 15px;
}

.download {
  text-align: center;
}

/* KHUSUS logo M2U */
.download > img {
  width: 80px;
}

/* KHUSUS Apple & Play Store */
.store-logos .store {
  width: 130px;
  height: auto;
}

.akses-text {
  color: white;
  font-weight: bold;
}

.store-logos {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* ===== FOOTER ===== */
.footer-text {
  color: white;
  font-size: 13px;
  text-align: center;
  padding: 10px;
}

/* ===== FIXED BOTTOM NAV ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: #ffffff;

  display: flex;
  align-items: center;

  overflow-x: auto;          /* 🔑 bisa geser */
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;

  border-top: 1px solid rgba(0,0,0,0.08);
  z-index: 1000;
}

/* sembunyikan scrollbar */
.bottom-nav::-webkit-scrollbar {
  display: none;
}

.bottom-item {
  flex: 0 0 25%;             /* 🔑 4 item tampil */
  text-decoration: none;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  gap: 4px;
}

/* ICON */
.icon-wrap {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-wrap img {
  max-width: 100%;
  max-height: 100%;
}
.label {
  text-align: center;
  line-height: 1.2;
}