/*
Theme Name: PP NeonSign 霓虹灯牌
Theme URI: https://example.com/pp-neonsign
Author: PP Theme Studio
Author URI: https://example.com
Description: 面向 PP 酸洗槽厂家的霓虹灯牌风 WordPress 主题。深夜砖墙底配霓虹粉、灯管青与琥珀,双层描边模拟灯管辉光、OPEN 灯牌、挂钩招牌与三色调产品卡,以"车间的灯常年不灭"讲交付力,适合想做出夜生活式记忆点的品牌。
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pp-neonsign
Tags: dark, one-column, custom-logo, custom-menu, featured-images, translation-ready
*/

:root {
  --night: #14101a;
  --night-2: #1d1826;
  --night-3: #272033;
  --pink: #ff4d9d;
  --cyan: #3df0e0;
  --amber: #ffb648;
  --cream: #ece7f2;
  --gray: #9990a5;
  --line: #352c44;
  --container: 1160px;
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", Menlo, Consolas, monospace;
  /* 砖墙纹理 */
  --brick:
    repeating-linear-gradient(0deg, rgba(255,255,255,.028) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.022) 0 1px, transparent 1px 72px);
}

/* ===== Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  color: var(--cream);
  background: var(--night);
  background-image: var(--brick);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
svg { max-width: 100%; height: auto; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

.btn {
  display: inline-block; padding: 12px 28px; font-size: 15px; font-weight: 700;
  border: 2px solid var(--cyan); border-radius: 30px; background: transparent;
  color: var(--cyan); cursor: pointer;
  box-shadow: 0 0 12px rgba(61,240,224,.25), inset 0 0 8px rgba(61,240,224,.12);
  transition: box-shadow .18s ease, color .18s ease;
}
.btn:hover { box-shadow: 0 0 22px rgba(61,240,224,.5), inset 0 0 12px rgba(61,240,224,.2); }
.btn-main {
  border-color: var(--pink); color: var(--pink);
  box-shadow: 0 0 12px rgba(255,77,157,.3), inset 0 0 8px rgba(255,77,157,.14);
}
.btn-main:hover { box-shadow: 0 0 24px rgba(255,77,157,.55), inset 0 0 12px rgba(255,77,157,.22); }

/* ===== Header ===== */
.site-header { background: rgba(20,16,26,.92); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 22px; padding: 15px 0; }
.site-branding { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--pink); color: var(--pink); font-weight: 800; font-size: 16px;
  box-shadow: 0 0 14px rgba(255,77,157,.4), inset 0 0 10px rgba(255,77,157,.2);
}
.site-title { font-size: 21px; font-weight: 800; line-height: 1.3; text-shadow: 0 0 14px rgba(236,231,242,.3); }
.site-desc { font-family: var(--mono); font-size: 11px; color: var(--gray); letter-spacing: .12em; }
.site-nav .menu { display: flex; gap: 26px; list-style: none; }
.site-nav a { font-size: 15px; color: var(--gray); padding: 4px 0; transition: color .18s ease, text-shadow .18s ease; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--cyan); text-shadow: 0 0 12px rgba(61,240,224,.6); }
.nav-toggle-input, .nav-toggle-label { display: none; }

/* ===== Hero ===== */
.hero { padding: 70px 0 62px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.hero-tube {
  display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .16em;
  color: var(--cyan); border: 1px solid rgba(61,240,224,.4); border-radius: 20px; padding: 4px 14px;
  box-shadow: 0 0 12px rgba(61,240,224,.2); margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px); line-height: 1.22; font-weight: 800;
  text-shadow: 0 0 18px rgba(236,231,242,.28);
}
.hero h1 em {
  font-style: normal; color: var(--pink);
  text-shadow: 0 0 10px rgba(255,77,157,.9), 0 0 28px rgba(255,77,157,.5);
}
.hero-sub { margin-top: 20px; font-size: 16px; color: var(--gray); max-width: 27em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-board {
  position: relative; background: var(--night-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 34px 26px 22px; text-align: center;
  box-shadow: 0 0 40px rgba(255,77,157,.12), 0 18px 40px rgba(0,0,0,.5);
}
.board-hook {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 14px; border: 2px solid var(--line); border-bottom: 0; border-radius: 8px 8px 0 0;
}
.board-cap {
  display: block; margin-top: 12px; font-family: var(--mono); font-size: 12px;
  letter-spacing: .18em; color: var(--cyan); text-shadow: 0 0 10px rgba(61,240,224,.5);
}

/* ===== Sections ===== */
.section { padding: 60px 0; }
.section-wall { background: rgba(29,24,38,.6); }
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-head h2 {
  display: inline-block; font-size: 27px; font-weight: 800;
  border-bottom: 2px solid var(--pink); padding-bottom: 10px;
  text-shadow: 0 0 14px rgba(255,77,157,.35);
}

/* ===== Products ===== */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prod {
  background: var(--night-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 20px 22px; display: flex; flex-direction: column; gap: 10px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.prod:hover { transform: translateY(-4px); }
.prod.tone-pink:hover { border-color: var(--pink); box-shadow: 0 0 26px rgba(255,77,157,.25); }
.prod.tone-cyan:hover { border-color: var(--cyan); box-shadow: 0 0 26px rgba(61,240,224,.25); }
.prod.tone-amber:hover { border-color: var(--amber); box-shadow: 0 0 26px rgba(255,182,72,.25); }
.prod-fig { background: rgba(0,0,0,.28); border-radius: 10px; padding: 10px 8px 2px; }
.prod h3 { font-size: 18px; font-weight: 700; }
.prod.tone-pink h3 a:hover { color: var(--pink); }
.prod.tone-cyan h3 a:hover { color: var(--cyan); }
.prod.tone-amber h3 a:hover { color: var(--amber); }
.prod p { font-size: 14px; color: var(--gray); flex: 1; }
.prod-link { font-size: 14px; font-weight: 700; color: var(--cyan); }

/* ===== Lamps ===== */
.lamp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lamp { border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px; background: rgba(0,0,0,.2); }
.lamp-num { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; margin-bottom: 10px; }
.lamp h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.lamp p { font-size: 14px; color: var(--gray); line-height: 1.9; }
.lamp.tone-pink { border-color: rgba(255,77,157,.4); box-shadow: inset 0 0 24px rgba(255,77,157,.07); }
.lamp.tone-pink .lamp-num, .lamp.tone-pink h3 { color: var(--pink); text-shadow: 0 0 12px rgba(255,77,157,.5); }
.lamp.tone-cyan { border-color: rgba(61,240,224,.4); box-shadow: inset 0 0 24px rgba(61,240,224,.07); }
.lamp.tone-cyan .lamp-num, .lamp.tone-cyan h3 { color: var(--cyan); text-shadow: 0 0 12px rgba(61,240,224,.5); }
.lamp.tone-amber { border-color: rgba(255,182,72,.4); box-shadow: inset 0 0 24px rgba(255,182,72,.07); }
.lamp.tone-amber .lamp-num, .lamp.tone-amber h3 { color: var(--amber); text-shadow: 0 0 12px rgba(255,182,72,.5); }

/* ===== Hours ===== */
.hours { max-width: 760px; margin-inline: auto; }
.hour-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 15px 6px; border-bottom: 1px dashed var(--line);
}
.hour-k { font-size: 16px; }
.hour-v { font-family: var(--mono); font-size: 15px; font-weight: 700; }
.hour-v.tone-cyan { color: var(--cyan); text-shadow: 0 0 10px rgba(61,240,224,.4); }
.hour-v.tone-pink { color: var(--pink); text-shadow: 0 0 10px rgba(255,77,157,.4); }
.hour-v.tone-amber { color: var(--amber); text-shadow: 0 0 10px rgba(255,182,72,.4); }

/* ===== News ===== */
.news-list { display: flex; flex-direction: column; }
.news-row {
  display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 14px;
  padding: 15px 8px; border-bottom: 1px solid var(--line); transition: background .16s ease, padding-left .16s ease;
}
.news-row:hover { background: rgba(255,255,255,.03); padding-left: 16px; }
.news-bulb { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px rgba(255,182,72,.8); }
.news-row h3 { font-size: 16px; font-weight: 500; }
.news-row:hover h3 { color: var(--amber); }
.news-row time { font-family: var(--mono); font-size: 12px; color: var(--gray); }

/* ===== CTA ===== */
.cta-sign {
  position: relative; margin: 58px 0; padding: 38px 36px 34px;
  background: var(--night-2); border: 2px solid var(--pink); border-radius: 16px;
  box-shadow: 0 0 34px rgba(255,77,157,.22), inset 0 0 30px rgba(255,77,157,.06);
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.sign-open {
  position: absolute; top: -14px; left: 34px; background: var(--night);
  font-family: var(--mono); font-size: 13px; letter-spacing: .2em; color: var(--cyan);
  padding: 2px 14px; border: 1px solid rgba(61,240,224,.5); border-radius: 12px;
  text-shadow: 0 0 10px rgba(61,240,224,.7);
}
.cta-sign h2 { font-size: 24px; font-weight: 800; }
.cta-sign p { font-size: 14px; color: var(--gray); margin-top: 8px; max-width: 42em; }
.cta-side { display: flex; align-items: center; gap: 18px; }
.cta-phone { font-family: var(--mono); font-size: 22px; font-weight: 800; color: var(--pink); text-shadow: 0 0 14px rgba(255,77,157,.6); }

/* ===== Page hero / inner ===== */
.page-hero { background: rgba(29,24,38,.7); border-bottom: 1px solid var(--line); padding: 38px 0; }
.page-hero h1 { font-size: 28px; font-weight: 800; text-shadow: 0 0 14px rgba(236,231,242,.25); }
.breadcrumbs { margin-top: 8px; font-family: var(--mono); font-size: 12px; color: var(--gray); }
.breadcrumbs a:hover { color: var(--cyan); }

.layout { display: grid; grid-template-columns: 1fr 290px; gap: 32px; padding: 44px 0 64px; align-items: start; }
.layout-full { padding: 44px 0 64px; }
.entry-card { background: var(--night-2); border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin-bottom: 18px; }
.entry-card:hover { border-color: rgba(61,240,224,.45); }
.entry-card h2 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.entry-card h2 a:hover { color: var(--cyan); }
.entry-meta { display: flex; gap: 14px; font-family: var(--mono); font-size: 12px; color: var(--gray); }
.entry-meta a { color: var(--pink); }
.entry-excerpt { margin-top: 10px; font-size: 15px; color: var(--gray); }
.entry-thumb { margin-bottom: 16px; border-radius: 10px; overflow: hidden; }
.single-header { border-bottom: 2px solid var(--pink); padding-bottom: 14px; margin-bottom: 22px; }
.single-header h1 { font-size: 27px; font-weight: 800; margin-bottom: 8px; }
.entry-content { background: var(--night-2); border: 1px solid var(--line); border-radius: 14px; padding: 28px; font-size: 16px; }
.entry-content > * + * { margin-top: 16px; }
.entry-content h2 { font-size: 21px; font-weight: 800; color: var(--cyan); }
.entry-content h3 { font-size: 18px; font-weight: 700; }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-content blockquote { border-left: 3px solid var(--pink); padding-left: 18px; color: var(--gray); }
.entry-content code { font-family: var(--mono); background: rgba(0,0,0,.35); padding: 2px 6px; border-radius: 4px; }
.entry-content a { color: var(--cyan); text-decoration: underline; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 22px; font-size: 14px; }
.post-nav a:hover { color: var(--cyan); }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pagination .page-numbers {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 50%; font-family: var(--mono); font-size: 14px;
}
.pagination .current, .pagination .page-numbers:hover {
  border-color: var(--pink); color: var(--pink); box-shadow: 0 0 14px rgba(255,77,157,.4);
}

/* ===== Sidebar ===== */
.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 96px; }
.sidebar-cta {
  background: var(--night-2); border: 2px solid var(--cyan); border-radius: 14px; padding: 24px 20px; text-align: center;
  box-shadow: 0 0 24px rgba(61,240,224,.18);
}
.sidebar-cta h3 { font-size: 17px; font-weight: 700; }
.sidebar-cta p { font-size: 13px; color: var(--gray); margin: 8px 0 12px; }
.sidebar-cta strong { display: block; font-family: var(--mono); font-size: 21px; color: var(--cyan); margin-bottom: 14px; text-shadow: 0 0 12px rgba(61,240,224,.5); }
.sidebar-cta .btn { width: 100%; }
.widget { background: var(--night-2); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.widget-title { font-size: 16px; font-weight: 700; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.widget ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.widget li a { font-size: 14px; color: var(--gray); }
.widget li a:hover { color: var(--cyan); }

.search-form { display: flex; gap: 8px; }
.search-field {
  flex: 1; min-width: 0; padding: 10px 16px; border: 1px solid var(--line); border-radius: 22px;
  background: rgba(0,0,0,.3); color: var(--cream); font-family: inherit; font-size: 14px;
}
.search-field:focus { outline: none; border-color: var(--cyan); }
.search-submit {
  padding: 10px 20px; border: 1px solid var(--pink); border-radius: 22px; background: transparent;
  color: var(--pink); font-weight: 700; cursor: pointer;
}
.search-submit:hover { box-shadow: 0 0 16px rgba(255,77,157,.4); }

/* ===== Comments ===== */
.comments-area { margin-top: 28px; background: var(--night-2); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.comments-area h2, .comment-reply-title { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.comment-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.comment-list .comment-body { border-left: 2px solid var(--line); padding-left: 16px; font-size: 15px; color: var(--gray); }
.comment-notes { font-size: 13px; color: var(--gray); margin-bottom: 10px; }
.comment-form p { margin-bottom: 12px; }
.comment-form label { display: block; font-size: 13px; margin-bottom: 5px; }
.comment-form input[type="text"], .comment-form input[type="email"],
.comment-form input[type="url"], .comment-form textarea {
  width: 100%; padding: 10px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(0,0,0,.3); color: var(--cream); font-family: inherit; font-size: 14px;
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--cyan); }
.comment-form .submit {
  padding: 12px 30px; border: 2px solid var(--pink); border-radius: 24px; background: transparent;
  color: var(--pink); font-weight: 700; cursor: pointer; box-shadow: 0 0 14px rgba(255,77,157,.3);
}

/* ===== 404 ===== */
.error-page { text-align: center; padding: 88px 0; }
.error-code {
  font-family: var(--mono); font-size: 92px; font-weight: 800; color: var(--pink); line-height: 1;
  text-shadow: 0 0 22px rgba(255,77,157,.7);
}
.error-page h1 { font-size: 26px; font-weight: 800; margin: 12px 0 8px; }
.error-page p { color: var(--gray); margin-bottom: 20px; }
.error-page .search-form { max-width: 420px; margin: 0 auto 20px; }

/* ===== Footer ===== */
.site-footer { background: rgba(29,24,38,.8); border-top: 1px solid var(--line); margin-top: 24px; }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 34px; padding: 46px 0 34px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand strong { font-size: 18px; font-weight: 800; }
.footer-col p { font-size: 14px; color: var(--gray); }
.footer-col h3 { font-size: 15px; font-weight: 700; color: var(--cyan); margin-bottom: 14px; }
.footer-col ul, .footer-menu { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 14px; color: var(--gray); }
.footer-col a:hover { color: var(--pink); }
.footer-contact li { font-size: 14px; display: flex; gap: 8px; color: var(--gray); }
.footer-contact b { color: var(--cream); font-weight: 600; min-width: 34px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 15px 0; font-family: var(--mono); font-size: 12px; color: var(--gray); }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .lamp-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 780px) {
  .nav-toggle-label {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 0 8px; border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
  }
  .nav-toggle-label span { display: block; height: 2px; background: var(--cyan); }
  .site-nav { display: none; order: 10; width: 100%; padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--line); }
  .nav-toggle-input:checked ~ .site-nav { display: block; }
  .site-nav .menu { flex-direction: column; gap: 2px; }
  .site-nav a { display: block; padding: 10px 0; }
  .header-inner { flex-wrap: wrap; }
  .header-cta { display: none; }
  .prod-grid, .lamp-grid { grid-template-columns: 1fr; }
  .hour-row { flex-direction: column; gap: 2px; }
  .news-row { grid-template-columns: 16px 1fr; }
  .news-row time { display: none; }
  .cta-sign { padding: 32px 22px 28px; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; }
}
