/* ============================================================
   TNT588 廣告 Landing Page — 配色取自 tnt001 官網
   暖米白桌布 × 白牌卡 × teal × 寶萊金
   單屏滿版版型：整頁鎖定視窗高度，不上下捲動
   ============================================================ */
:root{
  --paper:#F7F5EF;
  --paper-soft:#EFECE2;
  --card:#FFFFFF;
  --line:#E4DFD2;
  --teal:#2FA8AE;
  --teal-deep:#1D7378;
  --teal-mist:#E3F2F1;
  --teal-ink:#0E3A3D;
  --gold:#C9A227;
  --gold-text:#8A6D14;
  --gold-soft:#E8D9A8;
  --text:#333935;
  --muted:#626B5B;
}
*{margin:0;padding:0;box-sizing:border-box}
html,body{height:100%}
body{font-family:'Noto Sans TC',-apple-system,BlinkMacSystemFont,sans-serif;background:var(--paper);color:var(--text);font-size:16px;line-height:1.7;letter-spacing:.02em;display:flex;flex-direction:column;height:100dvh;overflow:hidden}
main{flex:1;display:flex;flex-direction:column;min-height:0}
h1,h2{font-family:'Noto Serif TC',serif;color:var(--teal-ink);line-height:1.4}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.wrap{max-width:1080px;margin:0 auto;padding:0 20px;width:100%}
:focus-visible{outline:2px solid var(--gold);outline-offset:2px}

/* ── 按鈕 ── */
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:99px;font-weight:700;transition:.2s;cursor:pointer}
.btn-ghost{color:#fff;border:1.5px solid rgba(255,255,255,.75);padding:7px 20px;font-size:14px}
.btn-ghost:hover{background:rgba(255,255,255,.15)}
.btn-gold{background:linear-gradient(135deg,#E8CE6B,var(--gold));color:#3D3008;padding:8px 22px;font-size:14px;box-shadow:0 3px 12px rgba(0,0,0,.18)}
.btn-gold:hover{filter:brightness(1.06);transform:translateY(-1px)}

/* ── 頂欄 ── */
.site-header{background:linear-gradient(120deg,var(--teal) 0%,var(--teal-deep) 100%);flex:0 0 auto;z-index:20;box-shadow:0 3px 14px rgba(14,58,61,.25)}
.nav{display:flex;align-items:center;gap:28px;height:62px}
.logo img{height:40px;width:auto;filter:drop-shadow(0 1px 2px rgba(0,0,0,.2))}
.nav-links{display:flex;gap:24px;font-size:15px;font-weight:500;color:#fff}
.nav-links a{opacity:.92;padding:6px 2px}
.nav-links a:hover{opacity:1;border-bottom:2px solid var(--gold-soft)}
.nav-cta{margin-left:auto;display:flex;gap:10px}

/* ── 主視覺輪播（吃掉剩餘高度） ── */
.hero{flex:1.35;min-height:0;display:flex;padding:16px 0 0}
.hero .wrap{display:flex;flex-direction:column;min-height:0}
.carousel{position:relative;flex:1 1 auto;min-height:0;align-self:center;aspect-ratio:16/9;max-width:100%;border-radius:14px;overflow:hidden;box-shadow:0 14px 34px rgba(30,50,45,.16);border:1px solid var(--line);background:var(--card)}
.track{display:flex;height:100%;transition:transform .55s cubic-bezier(.2,.8,.3,1)}
.slide{flex:0 0 100%;height:100%}
.slide img{width:100%;height:100%;object-fit:contain}
.c-arrow{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border:none;border-radius:50%;background:rgba(255,255,255,.85);color:var(--teal-ink);font-size:15px;cursor:pointer;transition:.2s;box-shadow:0 3px 10px rgba(0,0,0,.2);display:flex;align-items:center;justify-content:center}
.c-arrow:hover{background:#fff}
.c-arrow.prev{left:12px}
.c-arrow.next{right:12px}
.dots{position:absolute;left:0;right:0;bottom:10px;display:flex;justify-content:center;gap:8px}
.dots button{width:9px;height:9px;border-radius:50%;border:none;background:rgba(255,255,255,.55);cursor:pointer;transition:.2s;box-shadow:0 1px 3px rgba(0,0,0,.25)}
.dots button.on{background:var(--gold);transform:scale(1.25)}
.hero-cap{flex:0 0 auto;text-align:center;font-size:12px;color:var(--muted);margin-top:8px;letter-spacing:.1em}

/* ── 品牌介紹（壓縮高度） ── */
.about{flex:0 0 auto;padding:12px 0 16px}
.about-card{display:flex;gap:26px;align-items:center;background:linear-gradient(120deg,var(--teal-mist),#FDFBF5 55%);border:1px solid var(--line);border-radius:14px;padding:18px 30px;box-shadow:0 8px 22px rgba(30,50,45,.08)}
.about-brand{flex:0 0 190px;display:flex;flex-direction:column;align-items:center;gap:4px}
.about-logo{width:160px}
.about-shark{width:96px;filter:drop-shadow(0 6px 12px rgba(14,58,61,.18))}
.about-text h1{font-size:20px;margin-bottom:6px}
.about-text p{font-size:13.5px;color:var(--muted);line-height:1.65;text-wrap:pretty}
.about-note{margin-top:6px}
.about-note a{color:var(--teal-deep);font-weight:700;border-bottom:1px solid rgba(47,168,174,.4)}
.about-note a:hover{color:var(--teal)}

/* ── 底部行動帶 ── */
.cta-band{flex:0 0 auto;background:linear-gradient(120deg,var(--teal) 0%,var(--teal-deep) 100%);padding:14px 0 10px;box-shadow:0 -3px 14px rgba(14,58,61,.2)}
.cta-row{display:flex;justify-content:center;gap:10vw}
.btn-band{background:linear-gradient(135deg,#EFD97E,var(--gold));color:#3D3008;font-size:17px;font-weight:900;padding:10px 56px;letter-spacing:.35em;text-indent:.35em;box-shadow:0 5px 16px rgba(0,0,0,.25)}
.btn-band:hover{filter:brightness(1.07);transform:translateY(-2px)}
.legal{margin-top:8px;text-align:center;font-size:11px;color:rgba(255,255,255,.82);line-height:1.6;padding:0 20px}

/* ── 響應式 ── */
@media(max-width:860px){
  .about-card{gap:16px;padding:14px 18px}
  .about-brand{flex:0 0 120px}
  .about-logo{width:120px}
  .about-shark{display:none}
  .cta-row{gap:16px}
  .btn-band{flex:1;max-width:220px;padding:10px 0}
}
@media(max-width:640px){
  .nav{gap:14px;height:56px}
  .logo img{height:32px}
  .nav-links{display:none}
  .c-arrow{width:32px;height:32px;font-size:12px}
  .c-arrow.prev{left:8px}
  .c-arrow.next{right:8px}
  /* 手機：寬度滿版、高度跟著 16:9 走，去掉上下白邊 */
  .hero .wrap{justify-content:center}
  .carousel{flex:0 0 auto;align-self:stretch;height:auto}
  .about{padding:10px 0 12px}
  .about-card{flex-direction:column;text-align:center;gap:8px}
  .about-brand{flex:none}
  .about-text h1{font-size:17px}
  .about-text p{font-size:12.5px}
  .legal br{display:none}
}
/* 螢幕太矮時再瘦身（筆電外接小螢幕、橫式手機） */
@media(max-height:760px){
  .about-text p{font-size:12.5px;line-height:1.55}
  .about-shark{display:none}
  .about-brand{flex:0 0 150px}
  .hero{padding-top:10px}
  .hero-cap{display:none}
  .legal{font-size:10px}
}
@media(max-height:560px){
  .about{display:none}
  .hero-cap{display:none}
}
