:root {
  --bg-color: #F5ECD7;
  --text-main: #26200F;
  --text-muted: #6B5F45;
  --stamp-red: #B8342A;
  --border-dark: #26200F;
  --grid-line: rgba(38, 32, 15, 0.05);
  --font-serif: "Noto Serif SC", "STSong", "SimSun", serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  background-image: 
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 20px 20px;
  color: var(--text-main);
  font-family: var(--font-serif);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  filter: sepia(0.4) contrast(1.1) brightness(0.95);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  scroll-margin-top: 88px;
  padding: 60px 0;
  border-bottom: 1px dashed var(--text-muted);
}

.section-title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 900;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 2px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  background-color: var(--stamp-red);
  margin: 12px auto 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background-color: var(--bg-color);
  border-bottom: 3px double var(--border-dark);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 22px;
}

.brand img {
  height: 32px;
  width: auto;
  border: 1px solid var(--border-dark);
}

.brand span {
  color: var(--stamp-red);
}

.brand-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 10px;
  border-left: 1px solid var(--text-muted);
  padding-left: 10px;
  font-weight: normal;
  display: none;
}

.nav-links {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--stamp-red);
  text-decoration: underline;
}

.btn-stamp {
  display: inline-block;
  background-color: var(--stamp-red);
  color: #fff;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  border: 1px solid var(--stamp-red);
  box-shadow: 3px 3px 0 var(--border-dark);
  cursor: pointer;
  text-align: center;
  transition: transform 0.1s, box-shadow 0.1s;
}

.btn-stamp:active {
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 var(--border-dark);
}

.header-btn {
  padding: 8px 16px;
  font-size: 14px;
  display: none;
}

/* Home */
.home-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.lead-box {
  border: 2px solid var(--border-dark);
  padding: 30px 20px 20px;
  position: relative;
  background: rgba(255, 255, 255, 0.2);
}

.lead-tag {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--stamp-red);
  color: #fff;
  padding: 4px 12px;
  font-weight: bold;
  letter-spacing: 2px;
}

.lead-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
}

.text-red {
  color: var(--stamp-red);
}

.lead-desc {
  font-size: 16px;
  margin-bottom: 24px;
  text-align: justify;
}

.lead-desc::first-letter {
  font-size: 32px;
  font-weight: bold;
  float: left;
  line-height: 1;
  margin-right: 6px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.editor-note {
  font-size: 14px;
  color: var(--text-muted);
  border-top: 1px dashed var(--text-muted);
  padding-top: 12px;
}

.home-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.main-img {
  position: relative;
  border: 2px solid var(--border-dark);
}

.main-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
  font-size: 14px;
}

.sub-img {
  position: relative;
  border: 1px solid var(--border-dark);
  flex: 1;
}

.sub-img-caption {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(38, 32, 15, 0.8);
  color: #fff;
  padding: 4px 8px;
  font-size: 12px;
}

.sub-img-row {
  display: flex;
  gap: 12px;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.feature-card {
  background: rgba(255,255,255,0.4);
  border: 1px solid var(--border-dark);
  padding: 20px;
}

.feature-label {
  color: var(--stamp-red);
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 4px;
}

.feature-title {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--text-muted);
}

.feature-desc {
  font-size: 15px;
  color: var(--text-muted);
}

.promise-card {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--border-dark);
}

.promise-text {
  padding: 30px 20px;
  flex: 1;
}

.promise-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--stamp-red);
  margin-bottom: 16px;
}

.promise-list li {
  margin-bottom: 8px;
  font-size: 16px;
  position: relative;
  padding-left: 18px;
}
.promise-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: var(--border-dark);
}

.promise-img {
  border-top: 2px solid var(--border-dark);
}
.promise-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Library */
.library-list {
  border: 2px solid var(--border-dark);
  background: rgba(255,255,255,0.3);
}

.library-row {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  border-bottom: 1px solid var(--border-dark);
}
.library-row:last-child {
  border-bottom: none;
}

.library-thumb {
  width: 64px;
  height: 84px;
  flex-shrink: 0;
  border: 1px solid var(--border-dark);
  object-fit: cover;
  margin-right: 15px;
}

.library-info {
  flex: 1;
}

.library-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 4px;
}

.library-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.library-heat {
  color: var(--stamp-red);
  font-weight: bold;
  font-size: 14px;
  white-space: nowrap;
}

/* Scenes */
.scenes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 15px;
}

.scene-item {
  border: 1px solid var(--border-dark);
  background: #fff;
  padding: 6px;
}

.scene-img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.scene-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scene-caption {
  font-size: 13px;
  padding: 8px 4px 4px;
  line-height: 1.4;
}

.scene-num {
  color: var(--stamp-red);
  font-weight: bold;
  margin-right: 4px;
}

/* UI */
.ui-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.ui-card {
  border: 2px solid var(--border-dark);
  background: #fff;
  display: flex;
  flex-direction: column;
}

.ui-card img {
  width: 100%;
  border-bottom: 1px solid var(--border-dark);
}

.ui-info {
  padding: 12px;
  font-size: 14px;
  text-align: center;
  background: var(--bg-color);
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.review-card {
  background: rgba(255,255,255,0.4);
  border: 1px solid var(--border-dark);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: var(--stamp-red);
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 15px;
  margin-bottom: 20px;
  flex: 1;
}

.review-author {
  border-top: 1px dashed var(--text-muted);
  padding-top: 10px;
  font-size: 13px;
  text-align: right;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  border-top: 2px solid var(--border-dark);
}

.faq-item {
  border-bottom: 1px solid var(--border-dark);
}

.faq-q {
  padding: 20px 10px;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(90deg);
}

.faq-a {
  display: none;
  padding: 0 10px 20px;
  font-size: 15px;
  color: var(--text-muted);
}

.faq-item.active .faq-a {
  display: block;
}

.faq-img-box {
  margin-top: 15px;
}
.faq-img-box img {
  max-width: 420px;
  border: 1px solid var(--border-dark);
  margin-bottom: 8px;
}
.faq-img-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* Download */
.download-card {
  border: 3px double var(--border-dark);
  padding: 40px 20px;
  text-align: center;
  background: rgba(255,255,255,0.3);
  max-width: 800px;
  margin: 0 auto;
}

.download-title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 900;
  margin-bottom: 15px;
}

.download-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.download-card .btn-group {
  justify-content: center;
}

/* Footer */
.site-footer {
  border-top: 3px double var(--border-dark);
  padding: 30px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-color);
}

.footer-info {
  margin-bottom: 8px;
}

.footer-meta {
  margin-top: 10px;
  font-size: 12px;
}
.footer-meta a {
  color: var(--text-muted);
  text-decoration: underline;
}
.footer-time {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.7;
}

/* Floating Nav (PC) */
.side-nav {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--border-dark);
  background: transparent;
  position: relative;
  cursor: pointer;
}

.side-nav-dot.active {
  background: var(--stamp-red);
  border-color: var(--stamp-red);
}

.side-nav-label {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--border-dark);
  color: var(--bg-color);
  padding: 4px 8px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  pointer-events: none;
}
.side-nav-label::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 4px 0 4px 4px;
  border-style: solid;
  border-color: transparent transparent transparent var(--border-dark);
}

.side-nav-dot:hover .side-nav-label,
.side-nav-dot.active .side-nav-label {
  opacity: 1;
  visibility: visible;
}

/* Mobile Bottom Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-color);
  border-top: 2px solid var(--border-dark);
  padding: 10px 20px;
  z-index: 100;
  justify-content: space-between;
  align-items: center;
}

/* Responsive */
@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .promise-card {
    flex-direction: row;
  }
  .promise-img {
    border-top: none;
    border-left: 2px solid var(--border-dark);
    flex: 1;
  }
  .promise-text {
    flex: 1.5;
  }
  .ui-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-sub {
    display: inline;
  }
  .header-btn {
    display: inline-block;
  }
}

@media (min-width: 900px) {
  .home-layout {
    flex-direction: row;
  }
  .lead-box {
    flex: 1.2;
  }
  .home-side {
    flex: 0.8;
  }
  .nav-links {
    gap: 30px;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 899px) {
  .mobile-bottom-bar {
    display: flex;
  }
  body {
    padding-bottom: 60px;
  }
  .side-nav {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}