
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

body {
  background-color: transparent;   /* 完全無背景色 */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
}

.home-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  position: relative;
}

/* ----- 右上角 三條桿選單 (漢堡) ----- */
.menu-toggle {
  position: fixed;
  top: 2.8rem;
  right: 5%;
  z-index: 1000;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  border-radius: 8px;
  transition: background 0.2s;
}

.menu-toggle:hover {
  background: rgba(0, 0, 0, 0.04);
}

.menu-toggle .bar {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #1a1a1a;
  border-radius: 10px;
  transition: all 0.25s ease;
  transform-origin: center;
}

/* 下拉選單面板 */
.dropdown-menu {
  position: fixed;
  top: 6.5rem;
  right: 5%;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  padding: 0.6rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transition: opacity 0.2s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 999;
  backdrop-filter: blur(2px);
  border: 1px solid rgba(0, 0, 0, 0.03);
  list-style: none;
  overflow: hidden;
}

.dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-menu li {
  display: block;
  padding: 0.8rem 1.8rem;
  font-size: 1.05rem;
  font-weight: 480;
  color: #1e1e1e;
  letter-spacing: 0.3px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: background 0.15s;
  cursor: default;
  white-space: nowrap;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu li:hover {
  background: #f5f5f7;
}

.dropdown-menu li a {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  font-weight: inherit;
}

/* ----- 中央 Logo (圖片) ----- */
.logo-area {
  margin-bottom: 2.8rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.logo-img {
  max-width: 260px;
  width: 100%;
  height: auto;
  display: block;
  border: none;
  background: transparent;
}

@media (max-width: 480px) {
  .logo-img {
    max-width: 180px;
  }
}

/* ----- 預售產品按鈕 (唯一按鈕) ----- */
.btn-presale {
  display: inline-block;
  background: transparent;
  color: #111;
  font-size: 1.8rem;
  font-weight: 500;
  padding: 0.8rem 3.6rem;
  border: 2px solid #111;
  border-radius: 60px;
  text-decoration: none;
  letter-spacing: 2px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  cursor: pointer;
  background: transparent;
  margin-top: 0.2rem;
  font-family: 'Times New Roman', 'Noto Serif TC', serif;
}

.btn-presale:hover {
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transform: scale(1.01);
}

.btn-presale:active {
  transform: scale(0.97);
}

@media (max-width: 600px) {
  .btn-presale {
    font-size: 1.5rem;
    padding: 0.6rem 2.5rem;
  }
}

/* 輔助 */
.spacer {
  height: 2rem;
}

/* ----- 頁腳 (footer) 全新樣式 ----- */
.site-footer {
  width: 100%;
  max-width: 1200px;
  margin: 3rem auto 0.5rem auto;
  padding: 1.2rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  background: transparent;
  color: #1e1e1e;
  font-size: 1rem;
  letter-spacing: 0.5px;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.site-footer .footer-text {
  display: inline-block;
  background: transparent;
  padding: 0.2rem 0.8rem;
  border-radius: 30px;
}

.site-footer .footer-extra {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* 點擊外部關閉選單的透明層 */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 998;
  background: transparent;
}

.overlay.active {
  display: block;
}

/* 無背景色強制 */
html, body {
  background-color: transparent !important;
}

body::before, body::after {
  display: none;
}

@media (max-width: 600px) {
  .dropdown-menu {
    right: 1rem;
    min-width: 170px;
    top: 5rem;
  }
  .menu-toggle {
    right: 1.2rem;
    top: 1.2rem;
  }
  .site-footer {
    font-size: 0.9rem;
    padding: 1rem 0.8rem;
  }
}
