:root {
  --bg-main: #FFF9F2;
  --bg-card: #FFFFFF;
  --brand: #FF7A00;
  --brand-light: #FFB347;
  --text-main: #3D2B1F;
  --text-sub: #887B75;
  --green: #4CAF50;
  --border: #FFE4D1;
  --shadow: 0 8px 24px rgba(255, 122, 0, 0.1);
  --radius-card: 20px;
  --radius-pill: 50px;
  --font-title: 'Arial Rounded MT Bold', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--bg-card);
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(to right, var(--brand), var(--brand-light)) 1;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: bold;
  color: var(--text-main);
}

.brand img {
  height: 36px;
  width: auto;
  border-radius: 8px;
}

.main-nav {
  display: flex;
  gap: 30px;
}

.main-nav a {
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.3s ease;
  position: relative;
}

.main-nav a:hover {
  color: var(--brand);
  transform: translateY(-3px);
  display: inline-block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-box {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-body);
  color: var(--text-main);
  width: 120px;
}

.search-box input::placeholder {
  color: var(--text-sub);
}

.search-box .icon {
  color: var(--brand);
  font-weight: bold;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: var(--font-title);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.2);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  padding: 10px 24px;
  font-size: 16px;
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand-light);
  padding: 8px 22px;
  font-size: 16px;
}

.btn-white {
  background: #fff;
  color: var(--brand);
  padding: 12px 32px;
  font-size: 18px;
}

/* Hero */
.hero-section {
  padding: 40px 0;
}

.hero-card {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-radius: var(--radius-card);
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 10 C30 10 10 30 10 50 C10 70 30 90 50 90 C70 90 90 70 90 50 C90 30 70 10 50 10 Z M30 40 A10 10 0 1 1 30 20 A10 10 0 1 1 30 40 Z M70 40 A10 10 0 1 1 70 20 A10 10 0 1 1 70 40 Z M50 85 A15 15 0 1 1 50 55 A15 15 0 1 1 50 85 Z' fill='rgba(255,255,255,0.2)'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(20deg);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-card h1 {
  font-family: var(--font-title);
  font-size: 48px;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hero-card p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Tag Wall */
.tag-wall {
  padding: 30px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.tag-bubble {
  background: var(--bg-card);
  border: 2px solid var(--brand);
  color: var(--brand);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: default;
}

.tag-bubble:hover {
  background: var(--brand);
  color: #fff;
  transform: scale(1.1) rotate(-2deg);
  box-shadow: var(--shadow);
}

.tag-bubble:nth-child(even) {
  border-color: var(--brand-light);
  color: var(--brand-light);
}
.tag-bubble:nth-child(even):hover {
  background: var(--brand-light);
  color: #fff;
}

/* Section Title */
.section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  gap: 15px;
}

.section-title-wrap h2 {
  font-family: var(--font-title);
  font-size: 32px;
  color: var(--text-main);
  position: relative;
  display: inline-block;
}

.section-title-wrap h2::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 6px;
  background: var(--brand-light);
  border-radius: 3px;
  opacity: 0.5;
}

/* Calendar & Countdown */
.calendar-section {
  padding: 60px 0;
}

.calendar-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
}

.weekly-calendar {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow);
}

.weekly-calendar h3 {
  font-family: var(--font-title);
  margin-bottom: 15px;
  font-size: 20px;
  text-align: center;
}

.cal-list {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  text-align: center;
}

.cal-list span {
  display: block;
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 5px;
}

.cal-list div {
  padding: 10px 0;
  background: var(--bg-main);
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.2s;
  cursor: pointer;
}

.cal-list div.today {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 10px rgba(255, 122, 0, 0.3);
}

.cal-list div:hover:not(.today) {
  background: var(--border);
}

.countdown-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.anime-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.3s;
}

.anime-card:hover {
  transform: translateY(-5px);
}

.anime-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.anime-card-info {
  padding: 15px;
}

.anime-card-info h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.badge-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: bold;
}

.badge-orange {
  background: rgba(255, 122, 0, 0.1);
  color: var(--brand);
}

.badge-green {
  background: rgba(76, 175, 80, 0.1);
  color: var(--green);
}

.badge-hot {
  background: var(--brand);
  color: #fff;
  position: absolute;
  top: 10px;
  left: 10px;
}

/* Time Table & Stats */
.timetable-section {
  padding: 60px 0;
}

.tt-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.timeline {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 30px;
  box-shadow: var(--shadow);
}

.timeline h3 {
  font-family: var(--font-title);
  margin-bottom: 20px;
  font-size: 20px;
}

.tl-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  position: relative;
}

.tl-time {
  font-weight: bold;
  color: var(--brand);
  min-width: 60px;
}

.tl-content {
  flex: 1;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border);
}

.tl-content h5 {
  font-size: 16px;
  margin-bottom: 5px;
}

.tl-content p {
  font-size: 13px;
  color: var(--text-sub);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-number {
  font-family: var(--font-title);
  font-size: 36px;
  color: var(--brand);
  margin-bottom: 5px;
}

.stat-label {
  color: var(--text-sub);
  font-size: 14px;
}

/* Ranking */
.ranking-section {
  padding: 60px 0;
}

.rank-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.rank-card {
  display: flex;
  gap: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 15px;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.rank-card:hover {
  transform: translateY(-3px);
}

.rank-num {
  font-family: var(--font-title);
  font-size: 48px;
  line-height: 1;
  color: var(--brand-light);
  text-shadow: 2px 2px 0 var(--text-main);
  min-width: 60px;
  text-align: center;
  display: flex;
  align-items: center;
}

.rank-img {
  width: 80px;
  height: 110px;
  border-radius: 10px;
  object-fit: cover;
}

.rank-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rank-info h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.rank-info p {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 5px;
}

/* Anime Grid */
.anime-grid-section {
  padding: 60px 0;
}

.grid-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.poster-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  background: var(--bg-card);
  transition: transform 0.3s;
}

.poster-card:hover {
  transform: scale(1.02);
}

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

.poster-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 15px 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #fff;
}

.poster-overlay h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.poster-overlay span {
  font-size: 12px;
  opacity: 0.8;
}

/* Characters & Companies */
.chaos-section {
  padding: 60px 0;
}

.chaos-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.seiyuu-item {
  text-align: center;
  width: 100px;
}

.seiyuu-item img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 10px;
  border: 3px solid var(--brand-light);
  object-fit: cover;
}

.studio-card {
  background: rgba(255, 179, 71, 0.1);
  border-radius: var(--radius-card);
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--text-main);
  box-shadow: var(--shadow);
  flex: 1;
  min-width: 200px;
  border: 2px dashed var(--brand-light);
}

/* Scene Quotes */
.scene-section {
  padding: 60px 0;
}

.scene-card {
  background: var(--text-main);
  border-radius: var(--radius-card);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.scene-card::before, .scene-card::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.05);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 14px;
  color: #fff;
}

.scene-card::before {
  top: 20px;
  left: 20px;
  content: '前方高能预警！';
}

.scene-card::after {
  bottom: 20px;
  right: 20px;
  content: '这画面太美了';
}

.scene-quote {
  font-family: var(--font-title);
  font-size: 36px;
  color: var(--brand-light);
  line-height: 1.4;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.scene-sub {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  position: relative;
  z-index: 1;
}

/* Podcast */
.podcast-section {
  padding: 60px 0;
}

.podcast-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.record-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 30px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 20px;
}

.record-cover {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #1a1a1a;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.record-center {
  width: 40px;
  height: 40px;
  background: var(--green);
  border-radius: 50%;
  border: 3px solid #333;
}

.record-info {
  flex: 1;
}

.record-info h4 {
  font-size: 20px;
  margin-bottom: 5px;
}

.record-info p {
  color: var(--text-sub);
  font-size: 14px;
  margin-bottom: 10px;
}

.audio-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.audio-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--brand);
  border-radius: 3px;
}

/* Community & Reviews */
.reviews-section {
  padding: 60px 0;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.review-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.review-name {
  font-weight: bold;
  font-size: 14px;
}

.review-stars {
  color: var(--brand-light);
  font-size: 12px;
  margin-bottom: 8px;
}

.review-text {
  font-size: 13px;
  color: var(--text-sub);
}

/* Download */
.download-section {
  padding: 80px 0;
}

.download-card {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-radius: var(--radius-card);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.download-card h2 {
  font-family: var(--font-title);
  font-size: 40px;
  color: #fff;
  margin-bottom: 15px;
}

.download-card p {
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  margin-bottom: 30px;
}

.download-tags {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.download-tags span {
  background: #fff;
  color: var(--brand);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-weight: bold;
  font-size: 14px;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.download-note {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}

/* Footer */
.site-footer {
  background: var(--text-main);
  color: rgba(255, 249, 242, 0.7);
  padding: 40px 0 20px;
  font-size: 13px;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-inner a {
  color: rgba(255, 249, 242, 0.5);
  transition: color 0.3s;
}

.footer-inner a:hover {
  color: var(--brand-light);
}

/* Floating Button */
.float-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--brand);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: bold;
  box-shadow: 0 10px 20px rgba(255, 122, 0, 0.4);
  z-index: 1000;
  animation: float 2s infinite ease-in-out;
  display: flex;
  align-items: center;
  gap: 8px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Responsive */
@media (max-width: 1024px) {
  .header-inner { flex-wrap: wrap; }
  .main-nav { order: 3; width: 100%; justify-content: center; margin-top: 10px; display: none; }
  .hero-card h1 { font-size: 36px; }
  .calendar-layout { grid-template-columns: 1fr; }
  .tt-layout { grid-template-columns: 1fr; }
  .grid-layout { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .podcast-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-card { padding: 40px 20px; }
  .hero-card h1 { font-size: 28px; }
  .hero-card p { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .grid-layout { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .countdown-cards { grid-template-columns: 1fr; }
  .rank-grid { grid-template-columns: 1fr; }
  .download-buttons { flex-direction: column; align-items: center; }
  .download-card h2 { font-size: 28px; }
  .float-btn { right: 15px; bottom: 15px; padding: 10px 18px; font-size: 14px; }
}