*,
*::before,
*::after{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif;
  background:#fff9f3;
  color:#262636;
}

/* 連結區塊 */
a{
  color:#ff6b3d;
  text-decoration:none;
}
a:hover{
  text-decoration:underline;
}

/* 排版容器 */
.container{
  width:100%;
  max-width:980px;
  margin:0 auto;
  padding:0 16px;
}

/* ===============================
   頂部導覽列
   =============================== */
.topbar{
  background:linear-gradient(120deg,#ffb42c,#ff6b3d,#ff3d7a);
  color:#fff;
  padding:22px 0 26px;
  box-shadow:0 3px 14px rgba(0,0,0,0.18);
  position:relative;
  overflow:hidden;
}
.topbar::after{
  content:'';
  position:absolute;
  right:-60px;
  top:-40px;
  width:240px;
  height:240px;
  background:radial-gradient(circle at 30% 30%,rgba(255,255,255,0.55),transparent 60%);
  opacity:0.9;
  pointer-events:none;
}

.logo-wrap{
  display:flex;
  align-items:center;
  gap:14px;
  position:relative;
  z-index:1;
}

/* ✅ 只有標誌變大 */
.logo-img{
  height:56px;
  width:auto;
  border-radius:14px;
  box-shadow:0 6px 18px rgba(0,0,0,0.3);
}

.topbar h1{
  margin:0;
  font-size:28px;
  font-weight:700;
  letter-spacing:1px;
}
.topbar-sub{
  margin-top:4px;
  font-size:14px;
  opacity:.95;
}

/* ===============================
   卡片區塊
   =============================== */
.card{
  background:#ffffff;
  border-radius:14px;
  padding:20px 18px;
  box-shadow:0 4px 18px rgba(255,134,81,0.18);
  margin:18px 0;
  border:1px solid #ffe1c7;
}
.card.small{
  max-width:340px;
}
.card h2{
  margin:0 0 8px;
  font-size:20px;
  color:#ff6b3d;
}
.card h3{
  margin:0 0 8px;
  font-size:16px;
  color:#ff6b3d;
}
.card p{
  margin:4px 0 10px;
  line-height:1.7;
  font-size:14px;
}

/* ===============================
   按鈕區塊
   =============================== */
.btn{
  display:inline-block;
  padding:10px 22px;
  border-radius:999px;
  background:#ff6b3d;
  color:#fff;
  font-size:14px;
  border:none;
  cursor:pointer;
  text-decoration:none;
  transition:.18s;
}
.btn:hover{
  background:#ff834f;
  box-shadow:0 4px 12px rgba(255,120,70,0.45);
}
.btn.muted{
  background:#ffe1c7;
  color:#77422b;
}

/* ===============================
   表單區塊
   =============================== */
input,textarea,select{
  width:100%;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid #ffd0a8;
  font-size:14px;
  margin:4px 0 10px;
  background:#fffdf9;
}
input:focus,textarea:focus,select:focus{
  outline:none;
  border-color:#ff8b50;
  box-shadow:0 0 0 2px rgba(255,139,80,.25);
}

label{
  font-size:13px;
  color:#5a4a3a;
}

/* ===============================
   提示訊息
   =============================== */
.notice{
  padding:10px 12px;
  border-radius:10px;
  background:#fff4d8;
  border:1px solid #ffd68a;
  font-size:13px;
}

/* ===============================
   特色圖示
   =============================== */
.feature-row{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}
.feature-item{
  text-align:center;
}
.feature-item img{
  width:44px;
  height:44px;
}

/* ===============================
   ✅ 首頁四格廣告（維持原本）
   =============================== */
.home-ads{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
}
.home-ads .home-ad-item img{
  width:100%;
  height:130px;
  object-fit:cover;
  border-radius:12px;
  box-shadow:0 3px 12px rgba(0,0,0,0.16);
}
.home-ad-title{
  font-size:13px;
  margin-top:4px;
}

/* ===============================
   ✅ 名片型廣告（會員 / 金主頁）
   完全不裁切
   =============================== */
.ad-43,
.ad-32{
  background:#fff;
  border-radius:12px;
  padding:6px;
  box-shadow:0 3px 10px rgba(0,0,0,.12);
}
.ad-43 img,
.ad-32 img{
  width:100%;
  height:auto;
  object-fit:contain;
}

/* ===============================
   頁尾區塊
   =============================== */
.foot{
  margin-top:24px;
  padding:20px 0;
  font-size:12px;
  color:#956c4e;
  text-align:center;
}

/* ===============================
   響應式設定
   =============================== */
@media(max-width:720px){
  .logo-img{height:46px;}
  .topbar h1{font-size:22px;}
  .feature-row{grid-template-columns:repeat(2,1fr);}
}