body {
  background: linear-gradient(142deg, #232326 0%, #34343b 100%);
  min-height: 100vh;
  margin: 0;
  font-family: 'Inter', 'Noto Sans TC', Arial, sans-serif;
  color: #fff;
  overflow-x: hidden;
  letter-spacing: 0.02em;
  -webkit-user-select: none;
  user-select: none;
}

/* ===============================
   2. 背景模糊圖層
   =============================== */
.plans-bg {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.plans-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/images/hero-image-default.jpg") no-repeat center center / cover, linear-gradient(125deg, #232326ee 0%, #383842cc 100%);
  filter: brightness(0.8) blur(5px) saturate(1.2);
  z-index: -1;
}

/* ===============================
   3. Navbar 導覽列
   =============================== */
.navbar {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 3vw;
  position: fixed;
  top: 0; left: 0;
  z-index: 50;
  background: rgba(53,46,42,0.80);
  box-shadow: 0 2px 16px rgba(53,46,42,0.09);
  backdrop-filter: blur(10px) saturate(1.02);
  -webkit-user-select: none;
  user-select: none;
}
.navbar-logo a {
  display: inline-block;
  text-decoration: none;
}
.navbar-logo span {
  font-size: 1.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: #ebdec6;
  font-family: 'Inter','Noto Sans TC',sans-serif;
  user-select: none;
  cursor: pointer;
  transition: opacity 0.16s;
}
.navbar-logo span:hover { opacity: 0.82; }
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 44px;
  margin-left: auto;
  position: relative;
  padding-right: 18px; /* 右側多空間，響應式時可縮小 */
}
.nav-icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: rgba(235,222,198,0.89);
  box-shadow: 0 2px 12px rgba(181,119,67,0.08);
  cursor: pointer;
  transition: background 0.14s, box-shadow 0.14s, transform 0.14s;
  font-size: 1.2rem;
  outline: none;
  padding: 0;
  user-select: none;
}
.nav-icon-btn:hover,
.nav-icon-btn:focus {
  background: #e3e3ea;
  box-shadow: 0 6px 24px rgba(181,119,67,0.13);
  transform: scale(1.06);
}
.nav-icon-btn svg {
  display: block;
  stroke: #352e2a;
  pointer-events: none;
  user-select: none;
}

/* ===============================
   4. Plans 橫向方案卡片區
   =============================== */
.plans-cards-row {
  display: flex;
  flex-direction: row;
  gap: 44px;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  overflow-x: auto;
  padding: 25vh 7vw 10vh 7vw;
  box-sizing: border-box;
  z-index: 2;
  scroll-snap-type: x mandatory;
  width: 100vw;
  max-width: 100vw;
  user-select: none;
}
.plans-cards-row::-webkit-scrollbar { display: none; }

.glass-container {
  min-width: 260px;
  max-width: 290px;
  border-radius: 32px;
  background: rgba(36, 36, 40, 0.62);
  box-shadow: 0 16px 60px 0 rgba(0,0,0,0.23), 0 2px 14px #23232633;
  backdrop-filter: blur(24px) saturate(1.09) brightness(1.03);
  -webkit-backdrop-filter: blur(24px) saturate(1.09) brightness(1.03);
  padding: 42px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.18s, transform 0.18s, border 0.18s;
  scroll-snap-align: center;
  border: 1.5px solid rgba(255,255,255,0.09);
  position: relative;
  user-select: none;
}
.glass-container:hover, .glass-container:focus-within {
  transform: translateY(-12px) scale(1.045);
  box-shadow: 0 24px 70px 0 #d0d0d7, 0 8px 24px #cccccc;
  border: 2.2px solid #444445;
  background: rgba(68,68,69,0.72);
  color: #e7e7ee;
}
.glass-container::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 32px;
  pointer-events: none;
  box-shadow: 0 2px 24px 2px #ffe08218 inset;
}

.glass-container img {
  width: 94%;
  max-width: 170px;
  border-radius: 16px;
  margin-bottom: 24px;
  object-fit: cover;
  box-shadow: 0 4px 28px #21212233;
  background: #2d2d30;
  user-select: none;
  pointer-events: none;
}

.plan-title {
  font-size: 1.38rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
  letter-spacing: 0.07em;
  text-shadow: 0 2px 8px #16161632;
  margin-bottom: 8px;
  user-select: none;
}
.plan-desc {
  font-size: 1.07rem;
  color: #dadada;
  margin-bottom: 18px;
  text-align: center;
  line-height: 1.7;
  user-select: none;
}
.plan-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffe082;
  margin-bottom: 17px;
  letter-spacing: 0.11em;
  text-shadow: 0 2px 12px #000a;
  user-select: none;
}
.plan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 95%;
  max-width: 220px;
  padding: 14px 0;
  font-size: 1.09rem;
  font-weight: 600;
  color: #222;
  background: linear-gradient(100deg, #ffe082 68%, #fffbe9 120%);
  border: none;
  border-radius: 2.2em;
  box-shadow: 0 5px 22px #ffe08244;
  cursor: pointer;
  transition: background 0.14s, box-shadow 0.13s, transform 0.13s;
  outline: none;
  margin-top: 0;
  margin-bottom: 2px;
  user-select: none;
  text-decoration: none;
  text-align: center;
}
.plan-btn:hover, .plan-btn:focus {
  background: linear-gradient(90deg, #f1f1f6 50%, #e3e3ea 90%);
  transform: translateY(-1.5px) scale(1.021);
  box-shadow: 0 9px 30px #cccccc;
  color: #444;
}

/* ===============================
   5. 響應式 RWD
   =============================== */
@media (max-width: 1000px) {
  .navbar-actions { gap: 22px; padding-right: 6px; }
}
@media (max-width: 800px) {
  .plans-cards-row {
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 7vw 2vw 10vw 2vw;
    justify-content: flex-start;
    min-width: 0;
    width: 100vw;
    max-width: 100vw;
  }
  .glass-container { min-width: 98vw; max-width: 99vw; }
}
@media (max-width: 500px) {
  .plan-title { font-size: 1.11rem;}
  .plan-desc { font-size: 0.97rem;}
  .plan-price { font-size: 1.42rem;}
  .glass-container { padding: 18px 6vw 18px 6vw; }
}

/* ===============================
   行動裝置：方案/卡片直排不橫滾動
   =============================== */
@media (max-width: 600px) {
  .plans-cards-row {
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 18vw 0 8vw 0;
    min-width: unset;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .glass-container {
    min-width: 94vw;
    max-width: 98vw;
    padding: 13px 5vw 13px 5vw;
  }
  /* 若有 scrollbox-cards/橫向滑動區塊也一併修正 */
  .scrollbox-cards {
    flex-direction: column !important;
    align-items: center !important;
    gap: 22px !important;
    width: 100% !important;
    min-width: unset !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    min-height: unset !important;
  }
  .tarot-card {
    min-width: 94vw !important;
    max-width: 98vw !important;
    margin-bottom: 12px !important;
    height: 370px !important;
  }
}