:root {
  --bg: #08090f;
  --surface: #11131e;
  --surface-2: #181b2a;
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(244, 178, 130, 0.4);
  --text: #f7f8fc;
  --muted: #9aa3b8;
  --accent: #f4b282;
  --accent-pink: #f472b6;
  --accent-cyan: #38bdf8;
  --grad: linear-gradient(135deg, #f4b282 0%, #f472b6 100%);
  --radius: 16px;
  --max-w: 1360px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background:
    radial-gradient(ellipse 80% 45% at 15% -5%, rgba(244, 114, 182, 0.14), transparent 60%),
    radial-gradient(ellipse 70% 45% at 85% 0%, rgba(244, 178, 130, 0.13), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* Single-line sleek sticky header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(8, 9, 15, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; flex-shrink: 0; white-space: nowrap;
}
.brand-logo {
  width: 40px; height: 40px; object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.45));
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo {
  height: 48px; width: auto; object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.35));
}
.brand-text { font-size: 17px; letter-spacing: .3px; }
.brand-sub { font-size: 11px; color: var(--muted); display: block; font-weight: 400; line-height: 1.1; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  padding: 5px 9px; border-radius: 999px; font-size: 13px; color: #d6dceb;
  white-space: nowrap; transition: all .2s ease;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(244, 178, 130, 0.14); color: var(--accent);
}
.nav-cta {
  margin-left: 6px; padding: 7px 16px !important; border-radius: 999px !important;
  background: var(--grad) !important;
  color: #090a10 !important; font-weight: 700 !important;
  box-shadow: 0 4px 18px rgba(244, 114, 182, 0.28);
}
.nav-cta:hover { transform: translateY(-1px); filter: brightness(1.06); }

/* Hero — compact top + immediate full-bleed 5-card visual impact */
.hero { padding: 22px 0 18px; }
.hero-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 18px;
}
.hero-title-wrap { display: flex; flex-direction: column; gap: 4px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content;
  font-size: 11.5px; font-weight: 600; color: var(--accent);
  background: rgba(244, 178, 130, 0.1); border: 1px solid rgba(244, 178, 130, 0.28);
  padding: 3px 11px; border-radius: 999px;
}
.hero h1 { font-size: clamp(22px, 2.5vw, 30px); line-height: 1.25; font-weight: 800; letter-spacing: -.2px; }
.hero h1 span {
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc { color: var(--muted); font-size: 13.5px; max-width: 640px; }

.search-box {
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
  border-radius: 999px; padding: 4px 4px 4px 14px;
  flex: 0 1 340px; min-width: 220px; max-width: 100%; transition: border-color .2s;
}
.search-box:focus-within { border-color: var(--accent); background: rgba(255, 255, 255, 0.06); }
.search-box input {
  flex: 1; background: transparent; border: 0; color: var(--text);
  font-size: 13.5px; outline: none; min-width: 0;
}
.search-box input::placeholder { color: #75809a; }
.search-box button {
  padding: 8px 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--grad); color: #090a10; font-weight: 700; font-size: 13px;
  white-space: nowrap;
}

/* 5-column glossy showcase strip */
.hero-strip {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
  margin-bottom: 14px;
}
.strip-card {
  position: relative; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1); background: var(--surface);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  transition: transform .3s ease, border-color .3s ease;
}
.strip-card:hover { transform: translateY(-4px); border-color: var(--border-glow); }
.strip-card img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 15%;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}
.strip-card:hover img { transform: scale(1.07); }
.strip-card .ai-badge { top: 10px; right: 10px; bottom: auto; left: auto; }
.strip-overlay {
  position: absolute; inset: auto 0 0 0; padding: 42px 12px 12px;
  background: linear-gradient(transparent, rgba(7, 8, 14, 0.92));
}
.strip-tag { font-size: 11px; color: var(--accent); font-weight: 700; margin-bottom: 2px; }
.strip-title {
  font-size: 13px; font-weight: 600; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.hot-tags {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  font-size: 12px; color: var(--muted);
}
.hot-tags a {
  padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border); color: #cfd6e8; transition: .2s;
}
.hot-tags a:hover { border-color: var(--accent); color: var(--accent); background: rgba(244, 178, 130, 0.08); }

/* Category filter bar */
.filter-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin: 18px 0 20px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(17, 19, 30, 0.72); border: 1px solid var(--border);
}
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  padding: 6px 14px; border-radius: 999px; font-size: 13px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid transparent; color: #cfd6e8;
  transition: .2s;
}
.pill:hover { color: var(--accent); border-color: rgba(244, 178, 130, 0.35); }
.pill.active {
  background: var(--grad); color: #090a10; font-weight: 700;
  box-shadow: 0 4px 14px rgba(244, 114, 182, 0.25);
}
.count-meta { font-size: 12.5px; color: var(--muted); }

/* Full-bleed Visual Gallery Cards */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.photo-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.photo-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.48);
}
.photo-thumb {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #141724;
  display: block;
}
.photo-thumb img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 15%;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}
.photo-card:hover .photo-thumb img { transform: scale(1.06); }

.photo-thumb-grad {
  position: absolute; inset: auto 0 0 0; height: 42%;
  background: linear-gradient(transparent, rgba(7, 8, 14, 0.85));
  pointer-events: none;
}
.ai-badge {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  font-size: 10.5px; padding: 2px 8px; border-radius: 6px;
  background: rgba(8, 9, 15, 0.65); color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(8px);
}
.cat-badge {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  font-size: 11px; padding: 3px 10px; border-radius: 999px;
  background: rgba(8, 9, 15, 0.62); color: var(--accent);
  border: 1px solid rgba(244, 178, 130, 0.35); backdrop-filter: blur(8px); font-weight: 600;
}
.zoom-btn {
  position: absolute; right: 10px; top: 10px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 9, 15, 0.66); color: #fff; cursor: pointer;
  display: grid; place-items: center; font-size: 14px; backdrop-filter: blur(8px);
  opacity: 0; transform: scale(.9); transition: all .22s ease;
}
.photo-card:hover .zoom-btn { opacity: 1; transform: scale(1); }
.zoom-btn:hover { background: var(--accent); color: #090a10; border-color: var(--accent); }

.photo-body { padding: 11px 13px 13px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.photo-code {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: var(--muted);
}
.photo-code .code-tag { color: var(--accent-cyan); font-weight: 600; }
.photo-title {
  font-size: 13.5px; font-weight: 700; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.photo-spec { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.photo-foot {
  margin-top: auto; padding-top: 7px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; font-size: 11.5px;
}
.photo-foot .price { color: var(--accent); font-weight: 600; }
.photo-foot a { color: #cbd5e1; transition: .2s; }
.photo-foot a:hover { color: var(--accent); }

/* Lightbox Fullscreen Viewer */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5, 6, 11, 0.92); backdrop-filter: blur(18px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  position: relative; max-width: 1020px; width: 100%; max-height: 90vh;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.85fr); gap: 24px;
  background: #11131e; border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px; overflow: hidden; padding: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}
.lightbox-img-wrap {
  position: relative; border-radius: 14px; overflow: hidden; background: #08090f;
  display: flex; align-items: center; justify-content: center; max-height: 82vh;
}
.lightbox-img-wrap img { max-height: 82vh; width: auto; max-width: 100%; object-fit: contain; border-radius: 12px; }
.lightbox-info { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 8px 6px; }
.lightbox-info h3 { font-size: 20px; line-height: 1.35; }
.lightbox-info p { font-size: 13.5px; color: var(--muted); }
.lightbox-close {
  position: absolute; right: 14px; top: 14px; z-index: 5;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 18px; cursor: pointer;
}
.lightbox-close:hover { background: var(--accent); color: #090a10; }
.lightbox-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 17, 28, 0.8); color: #fff; font-size: 20px; cursor: pointer;
}
.lightbox-nav:hover { background: var(--accent); color: #090a10; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

/* Conversion Banner */
.zlh-banner {
  margin: 42px 0; padding: 28px 32px; border-radius: 20px;
  background:
    radial-gradient(circle at 90% 20%, rgba(244, 114, 182, 0.16), transparent 45%),
    linear-gradient(135deg, #161a2b 0%, #10131f 100%);
  border: 1px solid rgba(244, 178, 130, 0.3);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.zlh-banner h2 { font-size: 21px; margin-bottom: 6px; }
.zlh-banner p { color: var(--muted); font-size: 13.5px; max-width: 660px; }
.banner-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: 13.5px;
  background: var(--grad); color: #090a10;
  box-shadow: 0 6px 20px rgba(244, 114, 182, 0.25); transition: .2s;
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 13.5px;
  border: 1px solid rgba(255, 255, 255, 0.2); color: var(--text); transition: .2s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* Articles */
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 36px 0 18px;
}
.section-head h2 { font-size: 21px; font-weight: 800; }
.section-head a { color: var(--accent); font-size: 13.5px; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.article-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 9px;
  transition: .25s;
}
.article-card:hover { border-color: var(--border-glow); transform: translateY(-3px); }
.article-meta { font-size: 11.5px; color: var(--accent); display: flex; gap: 10px; }
.article-card h3 { font-size: 15.5px; line-height: 1.45; }
.article-card p { font-size: 13px; color: var(--muted); flex: 1; }

/* Photo Detail — Balanced Single-Viewport Showcase */
.breadcrumb { font-size: 12.5px; color: var(--muted); margin: 16px 0 14px; }
.breadcrumb a:hover { color: var(--accent); }
.detail-layout {
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: 28px; align-items: start;
}
.detail-media {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12); background: #0c0e17;
  max-height: 78vh; display: flex; align-items: center; justify-content: center;
}
.detail-media img {
  width: 100%; max-height: 78vh; object-fit: cover; object-position: center 15%;
}
.detail-panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px;
}
.detail-panel h1 { font-size: 22px; line-height: 1.35; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.spec-table td { padding: 9px 0; border-bottom: 1px solid var(--border); }
.spec-table td:first-child { color: var(--muted); width: 105px; }
.nav-prev-next {
  display: flex; justify-content: space-between; gap: 12px;
  padding-top: 10px; border-top: 1px solid var(--border); font-size: 13px;
}
.nav-prev-next a { color: var(--accent); }

/* Article Detail */
.article-prose {
  max-width: 860px; margin: 0 auto; background: var(--surface);
  border: 1px solid var(--border); border-radius: 18px; padding: 32px;
}
.article-prose h1 { font-size: 26px; line-height: 1.35; margin-bottom: 12px; }
.article-prose h2 { font-size: 18px; color: var(--accent); margin: 24px 0 10px; }
.article-prose p { color: #d6deed; font-size: 15px; line-height: 1.85; margin-bottom: 12px; }

/* Footer */
.site-footer {
  margin-top: 56px; padding: 28px 0 40px;
  border-top: 1px solid var(--border); color: var(--muted); font-size: 13px;
}
.footer-grid { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--accent); }
.ai-notice {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
  font-size: 12px; color: #75809a;
}

@media (max-width: 1100px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-strip { grid-template-columns: repeat(3, 1fr); }
  .hero-strip .strip-card:nth-child(n+4) { display: none; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .lightbox-inner { grid-template-columns: 1fr; overflow-y: auto; }
}
@media (max-width: 640px) {
  .container { padding: 0 14px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .article-grid { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .zoom-btn { opacity: 1; }
}
