:root {
  --bg: #EDEAE3;
  --text-main: #1E1E1E;
  --text-sub: #6F665E;
  --text-light: #8C8279;
  --brand-red: #B33A2B;
  --brand-red-hover: #8F2D22;
  --brand-blue: #2E4A62;
  --line: #D8D3C8;
  --panel-bg: #F5F3EE;
  --font-serif: "Songti SC", "STSong", "SimSun", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(images/poster-17.webp)' opacity='0.03'/%3E%3C/svg%3E");
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(237, 234, 227, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  height: 64px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 32px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-main);
}

.brand-sub {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-main);
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-main);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: var(--brand-red);
  transform: scaleX(0);
  transition: transform 0.2s ease;
  transform-origin: left;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-download-btn {
  background-color: var(--brand-red);
  color: #fff;
  padding: 8px 20px;
  border-radius: 2px;
  font-size: 14px;
  transition: background-color 0.2s;
}

.nav-download-btn:hover {
  background-color: var(--brand-red-hover);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 14px;
  color: var(--text-main);
  cursor: pointer;
}

/* Common Section Styles */
section {
  padding: 96px 0;
}

.section-title-wrap {
  margin-bottom: 40px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-main);
}

/* Hero Section */
.hero {
  text-align: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-tag {
  display: inline-block;
  border: 1px solid var(--brand-red);
  color: var(--brand-red);
  font-size: 12px;
  letter-spacing: 0.25em;
  padding: 6px 12px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-divider {
  width: 40px;
  height: 1px;
  background-color: var(--brand-red);
  margin: 0 auto 24px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--brand-blue);
  font-weight: 400;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 15px;
  color: var(--text-sub);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 2.0;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
}

.btn-primary {
  background-color: var(--brand-red);
  color: #fff;
  padding: 12px 32px;
  border-radius: 2px;
  font-size: 15px;
  border: 1px solid var(--brand-red);
  transition: background-color 0.2s;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--brand-red-hover);
}

.btn-secondary {
  background-color: transparent;
  color: var(--brand-red);
  padding: 12px 32px;
  border-radius: 2px;
  font-size: 15px;
  border: 1px solid var(--brand-red);
  transition: all 0.2s;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: var(--brand-red);
  color: #fff;
}

.hero-posters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 64px;
}

.poster-item {
  text-align: center;
}

.poster-item img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
}

.poster-item.small {
  width: 220px;
}

.poster-item.large {
  width: 280px;
}

.poster-name {
  font-size: 14px;
  color: var(--text-main);
  margin-top: 12px;
}

.poster-tags {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 4px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 48px;
}

.stat-item {
  padding: 0 40px;
  text-align: center;
}

.stat-item + .stat-item {
  border-left: 1px solid var(--line);
}

.stat-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--text-main);
}

.marquee-wrap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marquee 30s linear infinite;
  font-size: 13px;
  color: var(--text-sub);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Calendar Section */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 20px;
}

.calendar-col {
  padding: 16px;
  border: 1px solid transparent;
}

.calendar-col.active {
  border-color: var(--brand-red);
}

.cal-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.cal-day {
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--text-main);
}

.calendar-col.active .cal-day {
  color: var(--brand-red);
}

.cal-date {
  font-size: 11px;
  color: var(--text-sub);
}

.cal-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cal-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  margin-bottom: 8px;
}

.cal-item-name {
  font-size: 12px;
  color: var(--text-main);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cal-item-tags {
  font-size: 11px;
  color: var(--text-sub);
  margin-top: 4px;
}

/* Daily Update Gallery */
.gallery-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.gallery-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.gallery-item img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.02);
}

.gallery-item.img-4-3 img { aspect-ratio: 4/3; }
.gallery-item.img-3-4 img { aspect-ratio: 3/4; }

.gallery-tag {
  font-size: 11px;
  color: var(--brand-red);
  margin-bottom: 8px;
}

.gallery-info {
  padding-top: 12px;
}

.gallery-name {
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 8px;
}

.gallery-desc {
  font-size: 13px;
  color: var(--text-sub);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Index Section */
.index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 40px;
}

.index-item {
  display: flex;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}

.index-num {
  font-size: 12px;
  color: var(--text-sub);
  width: 32px;
  text-align: right;
  flex-shrink: 0;
}

.index-name {
  font-size: 14px;
  color: var(--text-main);
  flex: 1;
  transition: color 0.2s;
}

.index-item:hover .index-name {
  color: var(--brand-red);
}

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

.index-tag {
  font-size: 12px;
  color: var(--brand-blue);
}

/* Vote Steps Timeline */
.timeline {
  position: relative;
  padding-left: 24px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 0;
  width: 1px;
  background-color: var(--line);
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -24px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--brand-red);
  background-color: var(--bg);
}

.timeline-content {
  padding-left: 16px;
}

.timeline-num {
  font-size: 11px;
  color: var(--brand-red);
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 13px;
  color: var(--text-sub);
  max-width: 520px;
}

/* Usage Guide */
.guide-layout {
  display: flex;
  gap: 40px;
}

.guide-side {
  width: 220px;
  flex-shrink: 0;
}

.guide-side-title {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--text-main);
  writing-mode: vertical-rl;
  margin-bottom: 16px;
}

.guide-side-line {
  width: 40px;
  height: 1px;
  background-color: var(--brand-red);
}

.guide-content {
  flex: 1;
}

.guide-item {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.guide-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.guide-num {
  font-size: 11px;
  color: var(--brand-red);
  letter-spacing: 0.1em;
  margin-right: 8px;
}

.guide-text {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.9;
  max-width: 640px;
  display: inline;
}

/* Content Promise */
.promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
}

.promise-item {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.promise-num {
  font-size: 11px;
  color: var(--brand-red);
  margin-right: 8px;
}

.promise-title {
  font-size: 15px;
  font-weight: bold;
  color: var(--text-main);
}

.promise-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.8;
  margin-top: 8px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.faq-q {
  font-size: 15px;
  font-weight: bold;
  color: var(--text-main);
}

.faq-q-label {
  font-size: 11px;
  color: var(--brand-red);
  letter-spacing: 0.1em;
  margin-right: 8px;
}

.faq-a {
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.9;
  margin-top: 8px;
}

.faq-a-label {
  font-size: 11px;
  color: var(--brand-blue);
  margin-right: 8px;
}

/* Top 4 */
.top4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.top4-item {
  padding-right: 24px;
  border-right: 1px solid var(--line);
}

.top4-item:last-child {
  border-right: none;
  padding-right: 0;
}

.top4-no {
  font-size: 11px;
  color: var(--brand-red);
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

.top4-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  margin-bottom: 12px;
}

.top4-name {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 8px;
}

.top4-desc {
  font-size: 12.5px;
  color: var(--text-sub);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.top4-bar-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top4-bar {
  flex: 1;
  height: 2px;
  background-color: var(--line);
  position: relative;
}

.top4-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background-color: var(--brand-red);
}

.top4-num {
  font-size: 12px;
  color: var(--brand-red);
}

/* Document Table */
.doc-table {
  display: flex;
  flex-direction: column;
}

.doc-row {
  display: flex;
  align-items: center;
  height: 48px;
  border-bottom: 1px solid var(--line);
}

.doc-label {
  width: 120px;
  font-size: 12px;
  color: var(--text-sub);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
}

.doc-check {
  color: var(--brand-red);
  margin-right: 8px;
}

.doc-value {
  font-size: 13.5px;
  color: var(--text-main);
}

/* Contact */
.contact-list {
  display: flex;
  flex-direction: column;
}

.contact-row {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-icon {
  width: 20px;
  height: 20px;
  border: 1px solid var(--brand-red);
  border-radius: 50%;
  margin-right: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-red);
  font-size: 12px;
}

.contact-title {
  font-size: 14px;
  color: var(--text-main);
  width: 100px;
}

.contact-desc {
  font-size: 13px;
  color: var(--text-sub);
  flex: 1;
}

.contact-email {
  color: var(--brand-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Partners */
.partners-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.partner-tag {
  font-size: 12px;
  color: var(--text-main);
  border: 1px solid var(--line);
  border-radius: 1px;
  padding: 6px 12px;
  transition: all 0.2s;
}

.partner-tag:hover {
  background-color: var(--brand-red);
  color: #fff;
  border-color: var(--brand-red);
}

/* Download Panel */
.download-panel {
  background-color: var(--panel-bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
  text-align: center;
}

.dl-title {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--text-main);
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}

.dl-desc {
  font-size: 14px;
  color: var(--text-sub);
  max-width: 560px;
  margin: 0 auto 32px;
}

.dl-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Footer */
.site-footer {
  background-color: #2A2A2A;
  border-top: 1px solid var(--brand-red);
  padding: 48px 0 24px;
  color: #C9C4BC;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand-name {
  font-size: 18px;
  margin-bottom: 8px;
  color: #fff;
}

.footer-brand-sub {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 13px;
  color: #C9C4BC;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--brand-red);
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 24px;
  font-size: 12px;
  color: var(--text-sub);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.beian-link {
  color: var(--text-sub);
}
.beian-link:hover {
  color: #fff;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-box {
  background-color: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 32px;
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.modal-text {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.8;
  margin-bottom: 16px;
}

.modal-input {
  font-size: 13px;
  color: var(--brand-blue);
  word-break: break-all;
  margin-bottom: 24px;
  user-select: all;
}

/* Responsive */
@media (max-width: 1024px) {
  .calendar-grid { grid-template-columns: repeat(4, 1fr); }
  .index-grid { grid-template-columns: repeat(2, 1fr); }
  .top4-grid { grid-template-columns: repeat(2, 1fr); }
  .top4-item { border-right: none; padding-right: 0; }
  .top4-item:nth-child(even) { border-right: none; }
  .top4-item:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 24px; }
  .promise-grid { grid-template-columns: 1fr; }
  .hero-posters { flex-wrap: wrap; }
  .poster-item.small { width: 200px; }
  .poster-item.large { width: 240px; }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-title { font-size: 40px; }
  .hero-posters { flex-direction: column; align-items: center; }
  .poster-item.small, .poster-item.large { width: 100%; max-width: 280px; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .stat-item + .stat-item { border-left: none; border-top: 1px solid var(--line); padding-top: 24px; }
  .calendar-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-two-col { grid-template-columns: 1fr; }
  .index-grid { grid-template-columns: 1fr; }
  .guide-layout { flex-direction: column; gap: 24px; }
  .guide-side-title { writing-mode: horizontal-tb; }
  .top4-grid { grid-template-columns: 1fr; }
  .top4-item { border-right: none !important; padding-right: 0 !important; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .dl-btns { flex-direction: column; padding: 0 24px; }
  .hero-btns { flex-direction: column; align-items: center; }
}