:root {
  --bg-grad: linear-gradient(135deg, #F3F6FF 0%, #FFF0F9 100%);
  --text-main: #1D1A38;
  --text-sub: #6A6882;
  --pink: #FF5CCE;
  --mint: #00F5A0;
  --yellow: #FFD500;
  --blue: #2E9BFF;
  --purple: #8B5CF6;
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  --glass-shadow: 0 8px 32px rgba(46, 155, 255, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-main);
  background: var(--bg-grad);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* 背景光晕 */
body::before, body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.6;
}
body::before {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}
body::after {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 92, 206, 0.4) 0%, transparent 70%);
  bottom: 20%;
  right: -100px;
}

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

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

section {
  padding: 90px 0 !important;
  position: relative;
}

h2 {
  font-size: 2.5rem;
  color: var(--text-main);
  margin-bottom: 40px !important;
  text-align: center;
  font-weight: 800;
}

h2 span {
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* 玻璃拟态通用 */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--glass-shadow);
  border-radius: 24px;
}

/* 按钮通用 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  box-shadow: 0 4px 15px rgba(46, 155, 255, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 155, 255, 0.6);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover {
  background: rgba(46, 155, 255, 0.1);
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--blue), var(--purple), transparent) 1;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
}
.brand img {
  height: 34px;
  border-radius: 8px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-weight: 600;
  color: var(--text-sub);
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--blue);
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: 120px !important;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(243, 246, 255, 0.8), rgba(255, 240, 249, 0.8));
  z-index: 1;
}
.hero-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 60px 40px;
  border-radius: 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--glass-shadow);
}
.tagline {
  display: inline-block;
  background: rgba(255, 92, 206, 0.15);
  color: var(--pink);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 24px;
}
h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 24px;
  font-weight: 800;
}
h1 span {
  background: linear-gradient(90deg, var(--blue), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.2rem;
  color: var(--text-sub);
  margin-bottom: 40px;
}
.hero-btns {
  display: flex;
  justify-content: center;
  gap: 24px;
}

/* 数据条 */
.stats-bar {
  background: linear-gradient(90deg, var(--blue), var(--purple));
  color: #fff;
  padding: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 24px;
  padding-left: 40px;
  padding-right: 40px;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
  transform: translateY(-50%);
  position: relative;
  z-index: 10;
}
.stats-slogan {
  font-size: 1.5rem;
  font-weight: 800;
}
.stats-grid {
  display: flex;
  gap: 48px;
}
.stat-item {
  text-align: center;
}
.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
}
.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* 今日片单 */
.today-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
}
.today-main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 20px;
}
.today-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 20px;
}
.today-main-info {
  position: relative;
}
.badge-hot {
  position: absolute;
  top: -430px;
  left: 20px;
  background: var(--pink);
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(255, 92, 206, 0.4);
}
.today-main h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.today-main p {
  color: var(--text-sub);
}
.today-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.small-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 20px;
  transition: transform 0.3s;
}
.small-card:hover {
  transform: scale(1.02);
}
.small-card-pink { background: #FFF0F9; }
.small-card-purple { background: #F3E8FF; }
.small-card-num {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: 30px;
  text-align: center;
}
.small-card img {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  object-fit: cover;
}
.small-card h4 {
  font-size: 1rem;
  font-weight: 700;
}

/* 海量分类 */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  padding-top: 40px;
}
.cat-card {
  padding: 30px 10px;
  text-align: center;
  border-radius: 16px;
  position: relative;
  transition: all 0.4s ease;
}
.cat-card::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: inherit;
}
.cat-card:nth-child(odd) {
  transform: translateY(20px);
}
.cat-card:hover {
  transform: rotate(-2deg) translateY(-10px) !important;
  z-index: 10;
}
.cat-pink { background: #FFF0F9; color: var(--pink); }
.cat-blue { background: #E0F2FE; color: var(--blue); }
.cat-purple { background: #F3E8FF; color: var(--purple); }
.cat-yellow { background: #FEF9C3; color: #D97706; }
.cat-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

/* 四步开启 */
.howto-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 24px;
  align-items: center;
}
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.step-item {
  display: flex;
  align-items: center;
  gap: 20px;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.step-text h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.step-text p {
  color: var(--text-sub);
  font-size: 0.95rem;
}
.info-cards {
  display: grid;
  gap: 24px;
}
.info-card {
  padding: 24px;
  background: var(--glass-bg);
  border-left: 6px solid var(--pink);
  border-radius: 0 20px 20px 0;
  box-shadow: 0 4px 20px rgba(255, 92, 206, 0.15);
}
.info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-main);
}
.info-card p {
  color: var(--text-sub);
  font-size: 0.95rem;
}

/* 高能原画展 */
.gallery-section {
  background: #0B0F19;
  color: #fff;
  background-image: linear-gradient(rgba(46, 155, 255, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(46, 155, 255, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
}
.gallery-section h2 {
  color: #fff;
}
.gallery-section h2 span {
  background: linear-gradient(90deg, var(--mint), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gallery-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: center;
}
.gallery-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.gallery-text p {
  color: #A0A5B5;
  margin-bottom: 40px;
}
.gallery-images {
  display: flex;
  gap: 24px;
  justify-content: center;
  perspective: 1000px;
}
.gallery-img {
  width: 140px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(46, 155, 255, 0.4);
  transition: all 0.4s ease;
  cursor: pointer;
}
.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-img:nth-child(1) { transform: rotate(-6deg) translateY(10px); }
.gallery-img:nth-child(2) { transform: rotate(4deg) translateY(-15px); }
.gallery-img:nth-child(3) { transform: rotate(-2deg) translateY(20px); }
.gallery-img:nth-child(4) { transform: rotate(8deg) translateY(-5px); }
.gallery-img:hover {
  transform: rotate(0) scale(1.1) !important;
  box-shadow: 0 0 40px rgba(46, 155, 255, 0.8);
  z-index: 10;
}

/* 人气热榜 */
.board-container {
  padding: 40px;
  border-radius: 32px;
}
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.board-card {
  background: linear-gradient(135deg, #F3F6FF, #F3E8FF);
  border-radius: 20px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.board-rank {
  font-size: 4rem;
  font-weight: 900;
  position: absolute;
  top: 10px;
  left: 10px;
  color: transparent;
  -webkit-text-stroke: 2px rgba(139, 92, 246, 0.3);
  line-height: 1;
}
.board-title {
  margin-top: 40px;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}
.progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  border-radius: 4px;
}
.board-data {
  font-size: 0.85rem;
  color: var(--purple);
  font-weight: 700;
  text-align: right;
}

/* 票根评价墙 */
.tickets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ticket {
  padding: 30px;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 50%, 95% 50%, 95% 55%, 100% 55%, 100% 100%, 0 100%, 0 55%, 5% 55%, 5% 50%, 0 50%);
}
.ticket-pink { background: #FFF0F9; }
.ticket-blue { background: #E0F2FE; }
.ticket-yellow { background: #FEF9C3; }
.ticket-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-sub);
}
.stars {
  color: var(--pink);
  letter-spacing: 2px;
}
.ticket-quote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 24px;
  color: var(--text-main);
}
.ticket-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ticket-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.ticket-name {
  font-size: 0.9rem;
  font-weight: 600;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
details {
  background: linear-gradient(to right, #F3F6FF, #FFF0F9);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
}
summary {
  padding: 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '▼';
  font-size: 0.8rem;
  color: var(--purple);
  transition: transform 0.3s;
}
details[open] summary::after {
  transform: rotate(180deg);
}
.faq-content {
  padding: 0 20px 20px;
  color: var(--text-sub);
  font-size: 0.95rem;
}

/* 下载专区 */
.download-wrapper {
  position: relative;
  padding: 60px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border-radius: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.download-wrapper::before, .download-wrapper::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border: 3px solid var(--blue);
  filter: drop-shadow(0 0 8px var(--blue));
}
.download-wrapper::before {
  top: 20px;
  left: 20px;
  border-right: none;
  border-bottom: none;
  border-radius: 16px 0 0 0;
}
.download-wrapper::after {
  bottom: 20px;
  right: 20px;
  border-left: none;
  border-top: none;
  border-radius: 0 0 16px 0;
}
.download-content h2 {
  text-align: left;
  margin-bottom: 24px !important;
}
.download-link-box {
  background: rgba(255, 255, 255, 0.8);
  padding: 16px;
  border-radius: 12px;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 24px;
  font-family: monospace;
  color: var(--text-sub);
  word-break: break-all;
}
.download-btn-big {
  width: 100%;
  padding: 20px;
  font-size: 1.2rem;
  border-radius: 16px;
  margin-bottom: 24px;
}
.download-params {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-sub);
}
.download-params li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.download-params li::before {
  content: '✓';
  color: var(--mint);
  font-weight: 900;
}
.download-poster img {
  width: 100%;
  border-radius: 24px;
}

/* Footer */
footer {
  background: #F8F9FC;
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 24px;
  margin-bottom: 40px;
}
.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.footer-brand p {
  color: var(--text-sub);
  font-size: 0.9rem;
}
.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: var(--text-sub);
  font-size: 0.9rem;
}
.footer-dl {
  text-align: center;
}
.footer-dl .btn {
  width: 100%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
  color: #fff;
  margin-bottom: 12px;
}
.footer-dl p {
  font-size: 0.8rem;
  color: var(--text-sub);
}
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(0,0,0,0.05);
  color: var(--text-sub);
  font-size: 0.85rem;
}

@media (max-width: 1024px) {
  .today-grid, .howto-grid, .gallery-layout, .download-wrapper, .faq-grid {
    grid-template-columns: 1fr;
  }
  .categories-grid, .board-grid, .tickets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 { font-size: 2.8rem; }
  .stats-bar { flex-direction: column; gap: 24px; text-align: center; }
  .gallery-images { flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .categories-grid, .board-grid, .tickets-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 { font-size: 2.2rem; }
  .hero-btns { flex-direction: column; }
  .hero-card { padding: 40px 20px; }
  h2 { font-size: 2rem; }
  .download-wrapper { padding: 30px 20px; }
  .cat-card:nth-child(odd) { transform: none; }
  .gallery-img { width: 45%; }
}