/* =========================================================
   GLOBAL
========================================================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #fff;
  background: #000;
  overflow-x: hidden;
}

/* =========================================================
   BACKGROUND
========================================================= */
.bg {
  position: fixed;
  inset: 0;
  background: url("../assets/images/intro_bg.jpg") center / cover no-repeat;
  z-index: -2;
}

.top-fade {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.65),
    rgba(0,0,0,.15) 45%,
    rgba(0,0,0,.4)
  );
  z-index: -1;
}

/* =========================================================
   GLASS STYLE
========================================================= */
.glass {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 18px;
}

/* =========================================================
   TOP BAR (LOGO TOP CENTER)
========================================================= */
.top-bar {
  position: relative;
  padding-top: 64px; /* ruang khusus logo di atas */
}

/* ================= LOGO ================= */
.top-logo {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.logo {
  width: 120px;
  max-width: 42vw;
}

/* ================= CONTENT ================= */
.top-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 18px;
}

/* LEFT / RIGHT COLUMN */
.top-left,
.top-right {
  display: flex;
  flex-direction: column;
}

/* ================= GUEST ================= */
.guest-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 6px;
}

.guest-name {
  font-size: 18px;
  font-weight: 600;
}

.room-no {
  font-size: 18px;
  opacity: 0.85;
}

/* ================= WEATHER ================= */
.weather-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
}

.weather-icon {
  font-size: 18px;
  line-height: 1;
  color: #ffffff;
}

/* ================= CLOCK ================= */
.clock {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 2px;
}

/* ================= MATERIAL ICON ================= */
.material-symbols-rounded {
  font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
}

/* ================= TABLET / LANDSCAPE ================= */
@media (min-width: 768px) {
  .top-bar {
    padding-top: 88px;
  }

  .logo {
    width: 140px;
  }

  .guest-name {
    font-size: 16px;
  }

  .room-no {
    font-size: 13px;
  }

  .weather-row {
    font-size: 14px;
  }

  .clock {
    font-size: 12px;
  }
}

/* =========================================================
   MENU (MOBILE FIRST – BESAR & NYAMAN)
========================================================= */
.menu-row {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 16px;
  max-width: 94vw;
}

.menu-item {
  width: 96px;
  height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255,255,255,0.18);
  transition: transform 0.15s ease, background 0.15s ease;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.menu-item:active {
  transform: scale(0.94);
  background: rgba(255,255,255,0.32);
}

.icon {
  font-size: 34px;
  font-family: "Material Symbols Rounded";
  line-height: 1;
}

.label {
  font-size: 13px;
  margin-top: 6px;
  text-align: center;
  white-space: nowrap;
}

/* =========================================================
   NETFLIX ICON
========================================================= */
.netflix-icon {
  width: 34px;
  height: 34px;
}

/* =========================================================
   TABLET / LANDSCAPE
========================================================= */
@media (min-width: 768px) {

  .top-bar {
    padding: 18px 28px;
    min-height: 96px;
  }

  .logo {
    width: 140px;
  }

  .menu-row {
    grid-template-columns: repeat(6, 1fr);
    bottom: 32px;
    gap: 16px;
  }

  .menu-item {
    width: 112px;
    height: 96px;
  }

  .icon {
    font-size: 36px;
  }

  .label {
    font-size: 14px;
  }

  .qr-access img {
    width: 120px;
    height: 120px;
  }
}

/* =========================================================
   SMALL MOBILE (≤360px)
========================================================= */
@media (max-width: 360px) {

  .menu-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .menu-item {
    width: 92px;
    height: 92px;
  }

  .icon {
    font-size: 30px;
  }

  .label {
    font-size: 12px;
  }

  .qr-access {
    display: none; /* optional: hide QR on very small screens */
  }
}
