/*
Theme Name: DZYPJ Portal
Theme URI: https://vip.dzypj08.com/
Author: DZYPJ
Description: dzypj08.com 簡易門戶主題，仿 kingk22.com 結構：Logo + 導覽 / 主橫幅 / 四顆入口按鈕 / 服務保障三卡 / 頁腳。文案、連結、圖片都在「外觀 > 自訂」修改。
Version: 1.1.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: dzypj-portal
*/

/* ============================================================
   DZYPJ PORTAL — 仿 kingk22.com 簡易門戶
   ============================================================ */
.dz-home, .dz-home * { box-sizing:border-box; }

body {
  margin:0;
  color:#777;
  background:#fff;
  font-family:Lato,"Noto Sans TC","PingFang TC","Microsoft JhengHei",Arial,sans-serif;
  line-height:1.6;
  font-size:16px;
}
img { max-width:100%; height:auto; display:block; }
a { color:inherit; }

/* ---------- header ---------- */
.dz-header { height:90px; background:#fff; }
.dz-header__inner {
  height:100%; max-width:1080px; margin:0 auto; padding:0 15px;
  display:flex; align-items:center; gap:30px;
}
.dz-logo { display:flex; align-items:center; gap:10px; width:240px; height:90px; flex:0 0 240px; text-decoration:none; }
.dz-logo img { display:block; width:200px; height:auto; max-height:84px; object-fit:contain; }
.dz-logo__mark {
  width:44px; height:44px; flex:0 0 auto; border-radius:12px;
  background:linear-gradient(135deg,#ff6b9d 0%,#c239b3 100%);
  color:#fff; display:grid; place-items:center; font-size:19px; font-weight:700;
}
.dz-logo__text { font-size:19px; font-weight:700; color:rgba(18,18,18,.85); }
.dz-nav { display:flex; align-items:center; gap:28px; }
.dz-nav a { color:rgba(102,102,102,.85); text-decoration:none; font-size:16px; padding:10px 0; transition:color .2s ease; }
.dz-nav a:first-child, .dz-nav a:hover { color:rgba(18,18,18,.85); }

/* ---------- main ---------- */
.dz-main {
  background:
    radial-gradient(circle at 20% 30%,rgba(255,192,203,.3) 0%,transparent 50%),
    radial-gradient(circle at 80% 70%,rgba(255,218,185,.3) 0%,transparent 50%),
    radial-gradient(circle,rgba(255,240,245,.4) 0%,transparent 70%),
    linear-gradient(135deg,#ffe5ec 0%,#fff4e6 25%,#fffacd 50%,#ffe5f0 75%,#ffd6e8 100%);
  padding:24px 20px 44px;
}
.dz-banner { max-width:960px; margin:0 auto 20px; }
.dz-banner img { display:block; width:100%; height:auto; border-radius:30px; }
.dz-banner__ph {
  max-width:960px; height:260px; margin:0 auto 20px; border-radius:30px;
  display:grid; place-items:center; color:#b8749a; font-size:15px; text-align:center; padding:20px;
  background:rgba(255,255,255,.55); border:1px dashed rgba(200,120,160,.45);
}
.dz-actions { max-width:1000px; margin:0 auto; padding:20px 0 0; }

/* ---------- buttons ---------- */
.dz-btn {
  min-height:69px; width:100%; margin:0 0 20px; padding:19px 32px;
  display:flex; align-items:center; justify-content:center; gap:14px;
  border:2px solid rgba(255,255,255,.3); border-radius:32px;
  color:#fff !important; text-decoration:none !important;
  font-size:16.8px; line-height:1.6; font-weight:400;
  box-shadow:0 10px 24px rgba(176,60,117,.12);
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
}
.dz-btn:hover { transform:translateY(-2px); box-shadow:0 14px 30px rgba(176,60,117,.2); filter:saturate(1.08); }
.dz-btn--order { background:linear-gradient(135deg,#ff6b9d 0%,#c239b3 50%,#e91e63 100%); }
.dz-btn--line, .dz-btn--query { background:linear-gradient(135deg,#ffc371 0%,#ff5f6d 50%,#ffa726 100%); }
.dz-btn--tg { background:linear-gradient(135deg,#833ab4 0%,#c13584 50%,#e1306c 100%); }
.dz-btn__icon { width:26px; height:26px; display:grid; place-items:center; color:#fff; }
.dz-btn__icon svg { width:23px; height:23px; }

/* ---------- services ---------- */
.dz-services { max-width:800px; margin:32px auto 0; padding:0 15px; text-align:center; }
.dz-services h2 {
  margin:0 0 32px; font-size:28px; line-height:1.3; font-weight:600;
  background:linear-gradient(135deg,#ff6b9d 0%,#c239b3 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.dz-features { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.dz-feature {
  min-height:289px; padding:30px 20px 25px;
  display:flex; flex-direction:column; align-items:center;
  background:rgba(255,255,255,.72); border:1px solid rgba(255,255,255,.9); border-radius:28px;
  box-shadow:0 14px 30px rgba(232,98,156,.11); backdrop-filter:blur(6px);
}
.dz-feature__icon {
  width:112px; height:112px; margin-bottom:24px; display:grid; place-items:center;
  border-radius:50%; color:#fff;
  background:linear-gradient(135deg,#ff85ac,#d94cbc);
  box-shadow:0 12px 24px rgba(220,75,157,.2);
}
.dz-feature__icon svg { width:48px; height:48px; }
.dz-feature:nth-child(2) .dz-feature__icon { background:linear-gradient(135deg,#ffc371,#ff6b81); }
.dz-feature:nth-child(3) .dz-feature__icon { background:linear-gradient(135deg,#b66de2,#e9549e); }
.dz-feature h3 {
  margin:0 0 14px; font-size:20.8px; line-height:1.6; font-weight:700;
  background:linear-gradient(135deg,#ff69b4,#ff1493);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.dz-feature p { margin:0; color:#555; font-size:15.2px; line-height:1.7; }

/* ---------- footer ---------- */
.dz-footer { background:#fff; padding:44px 20px 30px; border-top:1px solid #f1e4ea; }
.dz-footer__inner { max-width:1080px; margin:0 auto; text-align:center; }
.dz-footer h4 { margin:0 0 12px; font-size:19px; font-weight:700; color:rgba(18,18,18,.85); }
.dz-footer p { margin:0 auto 18px; max-width:760px; color:#777; font-size:15px; line-height:1.7; }
.dz-footer__nav { display:flex; flex-wrap:wrap; justify-content:center; gap:8px 22px; margin:0 0 14px; }
.dz-footer__nav a { color:#777; text-decoration:none; font-size:15px; }
.dz-footer__nav a:hover { color:#c239b3; }
.dz-mirror { margin:0 0 14px; font-size:14px; color:#8b8b8b; }
.dz-mirror a { color:#c239b3; text-decoration:none; }
.dz-mirror a:hover { text-decoration:underline; }
.dz-copy { font-size:13px; color:#9b9b9b; }

/* ---------- simple inner pages ---------- */
.dz-page { max-width:820px; margin:0 auto; padding:40px 20px 60px; }
.dz-page h1 { margin:0 0 18px; font-size:28px; color:rgba(18,18,18,.85); }
.dz-page time { font-size:13px; color:#a58; }
.dz-page .dz-list { display:grid; gap:14px; margin-top:20px; }
.dz-page .dz-list a {
  display:block; padding:18px 20px; border-radius:18px; text-decoration:none;
  background:rgba(255,255,255,.72); border:1px solid #f1e4ea; color:#555;
}
.dz-page .dz-list h3 { margin:4px 0 4px; font-size:18px; color:rgba(18,18,18,.85); }
.dz-page .dz-list p { margin:0; font-size:15px; }

/* ---------- responsive ---------- */
@media (max-width:782px) {
  .dz-header { height:auto; padding:12px 0; }
  .dz-header__inner { flex-direction:column; gap:8px; justify-content:center; }
  .dz-logo { width:auto; flex:0 0 auto; height:auto; }
  .dz-nav { gap:18px; font-size:15px; }
  .dz-main { padding:16px 14px 34px; }
  .dz-banner img, .dz-banner__ph { border-radius:20px; }
  .dz-banner__ph { height:170px; }
  .dz-btn { min-height:62px; margin-bottom:15px; padding:16px 18px; border-radius:30px; font-size:15px; gap:10px; }
  .dz-features { grid-template-columns:1fr; }
  .dz-feature { min-height:0; }
}
