/*
Theme Name: Betzz App
Description: Light green/gold single-topic theme for Betzz App
Version: 1.0.2
*/

/* ========== Base ========== */
:root{
  --bz-body:#eef1f4;
  --bz-white:#ffffff;
  --bz-border:#e2e8f0;
  --bz-text:#0f172a;
  --bz-muted:#475569;
  --bz-green:#0f766e;
  --bz-green-light:#14b8a6;
  --bz-gold:#f97316;
  --bz-radius:18px;
}
*,
*::before,
*::after{box-sizing:border-box;}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
  background:var(--bz-body);
  color:var(--bz-text);
  line-height:1.6;
  min-height:100vh;
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;height:auto;display:block;}
.container{
  max-width:1100px;
  margin:0 auto;
  padding:0 16px;
}

/* ========== Header ========== */
.site-header.light-header{
  position:sticky;
  top:0;
  z-index:100;
  background:linear-gradient(120deg,#ffffff 0%,#f3f7ff 46%,#e7fff4 100%);
  border-bottom:1px solid rgba(15,118,110,.12);
  box-shadow:0 12px 25px rgba(15,118,110,.03);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:12px 0;
}

/* brand */
.brand{
  display:flex;
  gap:12px;
  align-items:center;
}
.brand-circle{
  width:40px;
  height:40px;
  border-radius:16px;
  background:linear-gradient(150deg,#0f766e 0%,#14b8a6 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight:700;
  font-size:14px;
  letter-spacing:-.2px;
}
.brand-meta{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}
.brand-title{
  font-weight:600;
  font-size:15px;
  color:#0f172a;
}
.brand-sub{
  font-size:11px;
  color:rgba(15,23,42,.5);
}

/* desktop nav */
.nav-desktop{display:flex;}
.nav-list{
  list-style:none;
  display:flex;
  gap:14px;
  margin:0;
  padding:0;
  background:rgba(255,255,255,.7);
  border:1px solid rgba(15,118,110,.05);
  border-radius:999px;
  padding:5px 14px;
}
.nav-list li{margin:0;}
.nav-list a{
  font-size:13px;
  color:rgba(15,23,42,.8);
  padding:4px 10px;
  border-radius:999px;
  transition:background .15s ease-out, color .15s ease-out;
}
.nav-list a:hover,
.nav-list .current-menu-item > a{
  background:rgba(20,184,166,.15);
  color:#0f172a;
}

/* actions */
.header-actions{
  display:flex;
  gap:10px;
  align-items:center;
}
.btn-main{
  background:linear-gradient(150deg,#fbbf24 0%,#f97316 100%);
  color:#0f172a;
  font-weight:600;
  border-radius:999px;
  padding:7px 15px;
  font-size:13px;
  box-shadow:0 10px 30px rgba(249,115,22,.25);
}
.nav-toggle{
  display:none;
  width:30px;
  height:26px;
  background:transparent;
  border:1px solid rgba(15,23,42,.08);
  border-radius:8px;
  gap:5px;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  width:16px;
  height:2px;
  background:#0f172a;
  border-radius:99px;
}

/* ========== Mobile Drawer ========== */
.mobile-panel{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.35);
  backdrop-filter:blur(2px);
  z-index:120;
}
.mobile-panel-inner{
  background:#ffffff;
  width:72%;
  max-width:310px;
  height:100%;
  margin-left:auto;
  display:flex;
  flex-direction:column;
  border-left:1px solid #e2e8f0;
  box-shadow:-16px 0 40px rgba(15,23,42,.12);
}
.mobile-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px;
  border-bottom:1px solid #e2e8f0;
  font-weight:600;
  color:#0f172a;
}
.mobile-close{
  background:transparent;
  border:none;
  font-size:26px;
  line-height:1;
  color:#0f172a;
  cursor:pointer;
}
.mobile-list{
  list-style:none;
  margin:0;
  padding:14px 16px;
}
.mobile-list li{margin-bottom:8px;}
.mobile-list a{
  display:block;
  padding:8px 0;
  color:#0f172a;
  border-bottom:1px solid rgba(226,232,240,.3);
}

/* ========== Hero ========== */
.hero-betzz{
  padding:44px 0 30px;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:32px;
  align-items:flex-start; /* 顶部对齐 */
  max-width:1100px;
  margin:0 auto;
}
.hero-text h1{
  font-size:2.45rem;
  line-height:1.05;
  margin-bottom:12px;
  color:#0f172a;
}
.hero-text p{
  color:rgba(15,23,42,.7);
  max-width:520px;
}
.hero-tag{
  display:inline-block;
  background:rgba(20,184,166,.12);
  color:#0f766e;
  padding:3px 12px;
  border-radius:999px;
  font-size:12px;
  margin-bottom:10px;
  font-weight:500;
}
.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:20px;
}
.btn-green{
  background:linear-gradient(150deg,#0f766e 0%,#14b8a6 100%);
  color:#fff;
  font-weight:600;
  border-radius:999px;
  padding:9px 18px;
  font-size:14px;
  box-shadow:0 10px 30px rgba(20,184,166,.4);
}
.btn-ghost{
  background:#fff;
  border:1px solid rgba(15,118,110,.14);
  color:#0f172a;
  font-weight:500;
  border-radius:999px;
  padding:9px 16px;
  font-size:14px;
}
.hero-updated{
  margin-top:12px;
  font-size:12px;
  color:rgba(15,23,42,.4);
}

/* right image slot */
.hero-media{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:center;
}
.hero-img-box{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:22px;
  padding:10px;
  width:280px;           /* 固定宽度防止漂移 */
  min-height:260px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 18px 50px rgba(15,23,42,.08);
}
.hero-img-box img{
  border-radius:16px;
  max-height:280px;
  width:auto;
}
.hero-img-hint{
  font-size:11px;
  color:rgba(15,23,42,.45);
}

/* ========== Sections / Features ========== */
.section{
  margin-top:40px;
}
.section-title{
  font-size:1.35rem;
  margin-bottom:14px;
  color:#0f172a;
}
.card{
  background:#ffffff;
  border:1px solid #e2e8f0;
  border-radius:var(--bz-radius);
  padding:16px;
  box-shadow:0 14px 40px rgba(148,163,184,.1);
}
.features{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:16px;
  margin-top:18px;
}
.feature-item{
  background:#ffffff;
  border:1px solid rgba(226,232,240,.8);
  border-radius:14px;
  padding:14px;
}
.feature-item h3{
  margin-top:0;
  margin-bottom:6px;
  font-size:1rem;
  color:#0f172a;
}
.feature-item p{
  color:rgba(15,23,42,.6);
  font-size:.9rem;
}

/* ========== Content / Post ========== */
.entry-content h1,
.entry-content h2,
.entry-content h3{
  margin-top:1.6em;
  margin-bottom:.5em;
  color:#0f172a;
}
.entry-content p{
  margin-bottom:1em;
  color:rgba(15,23,42,.7);
}
.entry-content ul,
.entry-content ol{
  margin:0 0 1em 1.25em;
}

/* ========== Footer ========== */
footer{
  margin-top:48px;
  border-top:1px solid #e2e8f0;
  background:#ffffff;
  padding:20px 0 36px;
  font-size:13px;
  color:rgba(15,23,42,.6);
}
footer .container{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  justify-content:space-between;
}

/* ========== Responsive ========== */
@media (max-width:980px){
  .nav-desktop{display:none;}
  .nav-toggle{display:flex;}
}
@media (max-width:880px){
  .hero-grid{
    grid-template-columns:1fr;
    gap:24px;
  }
  .hero-media{align-items:flex-start;}
  .hero-text h1{font-size:2rem;}
}
@media (max-width:540px){
  .hero-actions{flex-direction:column;align-items:flex-start;}
  .container{padding:0 14px;}
  .feature-item{padding:12px;}
}
.back-home{
  font-size:12px;
  margin-bottom:6px;
  color:rgba(15,23,42,.4);
}
.back-home a{
  color:#0f766e;
  font-weight:600;
}
