* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "PingFang HK", "Microsoft JhengHei", sans-serif;
}

body {
  /* 淺黃色漸變到白色 */
  background: linear-gradient(to bottom, #fef5e6 0%, #ffffff 600px);
  background-repeat: no-repeat;
  background-attachment: fixed; /* 固定背景唔會跟住 scroll 斷開 */
  min-height: 100vh;
  color: #333;
  overflow-x: hidden;
}

/* ----- Header (頂部導航) ----- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: #f6f6f6;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.logo img {
  height: 40px;
}

/* 桌面版 Menu */
.desktop-menu {
  display: flex;
  gap: 30px;
}

.desktop-menu a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s;
}

.desktop-menu a:hover {
  color: #d12027;
}

/* 漢堡選單按鈕 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background-color: #333;
  display: block;
}

/* ----- 橫幅 Banner ----- */
.banner-container {
  width: 100%;
}

.banner-pc {
  width: 100%;
  display: block;
}

.banner-m {
  width: 100%;
  display: none;
}

/* ----- 主內容區 ----- */
.main-content {
  padding: 60px 5%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* 參加方法圖片區 */
.how-to-join-container {
  width: 100%;
  max-width: 1048px;
  margin: 0 auto 40px auto;
}

.how-to-join-pc {
  width: 100%;
  display: block;
}

.how-to-join-m {
  width: 100%;
  display: none;
}

/* 按鈕網格 */
.button-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.button-grid a img {
  width: 100%;
  max-width: 500px;
  display: block;
  margin: 0 auto;
  transition: transform 0.2s;
}

.button-grid a:hover img {
  transform: translateY(-3px);
}

/* ----- Footer ----- */
footer {
  background-color: #433026; /* 深啡色 */
  color: #fff;
  padding: 40px 5% 20px 5%;
  font-size: 14px;
  line-height: 2;
}

.footer-top {
  text-align: left;
  margin-bottom: 20px;
}

.footer-top p {
  margin-bottom: 5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
}

/* ----- 手機版側邊選單 ----- */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: #fff;
  z-index: 999;
  padding: 20px;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  transition: right 0.4s ease;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.close-btn {
  font-size: 30px;
  font-weight: 100;
  color: #666;
  text-align: right;
  cursor: pointer;
  margin-bottom: 30px;
  line-height: 1;
}

.mobile-nav-list {
  list-style: none;
}

.mobile-nav-list li {
  border-bottom: 1px solid #ddd;
}

.mobile-nav-list a {
  display: block;
  padding: 15px 0;
  color: #333;
  text-decoration: none;
  font-size: 16px;
}

.footer-containter {
  width: 1100px;
  margin: 0 auto;
}

/* ----- 響應式設計 (RWD) 手機版 ----- */
@media screen and (max-width: 768px) {
  .main-content {
    padding: 20px 5%;
    width: 100%;
  }
  .desktop-menu {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  .banner-pc {
    display: none;
  }
  .banner-m {
    display: block;
  }

  .how-to-join-pc {
    display: none;
  }
  .how-to-join-m {
    display: block;
  }

  .button-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .how-to-join-container {
    margin: 0 auto 20px auto;
  }
  /* (原本嘅 Media Query 代碼保留，然後喺入面加入以下 Footer 設定) */
  .footer-containter {
    width: 100%;
  }
  .footer-top {
    margin-bottom: 20px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column-reverse; /* 手機版將 Copyright 放最底 */
    justify-content: center;
    gap: 10px;
  }

  .footer-bottom p {
    text-align: center;
  }
}
