:root {
  --bg-dark: #0b0d17;
  --bg-card: #151829;
  --bg-card-hover: #1c2138;
  --primary: #ff6b35;
  --primary-hover: #ff8555;
  --accent: #ffd166;
  --text-main: #f4f5f9;
  --text-sub: #9a9eb3;
  --border-color: rgba(255, 255, 255, 0.08);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", STHeiti, "Microsoft YaHei", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand img {
  height: 32px;
  width: auto;
  border-radius: 6px;
}

.nav-links {
  display: none;
  gap: 24px;
  font-size: 15px;
  color: var(--text-sub);
}

.nav-links a {
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-download {
  display: none;
  background: var(--primary);
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.nav-download:hover {
  background: var(--primary-hover);
}

/* Hero */
.hero {
  padding: 60px 0 80px;
  background: radial-gradient(circle at 50% 0%, rgba(255, 107, 53, 0.15) 0%, transparent 60%);
  text-align: center;
}

.hero h1 {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 16px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #ffd166 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 15px;
  color: var(--text-sub);
  max-width: 700px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition);
  width: 100%;
  max-width: 280px;
}

.btn-android {
  background: linear-gradient(135deg, #00c853, #00e676);
  color: #000;
  box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
}

.btn-android:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 200, 83, 0.5);
}

.btn-ios {
  background: linear-gradient(135deg, #2979ff, #448aff);
  color: #fff;
  box-shadow: 0 4px 15px rgba(41, 121, 255, 0.3);
}

.btn-ios:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(41, 121, 255, 0.5);
}

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

.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
}

.section-desc {
  text-align: center;
  color: var(--text-sub);
  font-size: 15px;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* AI & Modified Area */
.ai-area {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  margin-bottom: 40px;
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.ai-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

.ai-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.ai-card h3 {
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 12px;
}

.ai-card p {
  font-size: 14px;
  color: var(--text-sub);
}

/* Hot List */
.hot-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.drama-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.drama-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  border-color: rgba(255, 107, 53, 0.4);
}

.drama-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.drama-img-wrap img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.drama-card:hover .drama-img-wrap img {
  transform: scale(1.05);
}

.drama-info {
  padding: 12px;
}

.drama-info h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drama-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.drama-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.drama-tags span {
  background: rgba(255, 107, 53, 0.15);
  color: var(--primary);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
}

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

/* Layout Blocks */
.split-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  margin-bottom: 40px;
  border: 1px solid var(--border-color);
}

.split-content h2 {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--accent);
}

.split-content p {
  color: var(--text-sub);
  font-size: 15px;
  margin-bottom: 12px;
}

.split-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.split-item {
  background: rgba(255,255,255,0.03);
  padding: 16px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
}

.split-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.split-item p {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 0;
}

/* Q&A Style */
.qa-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.qa-item {
  background: var(--bg-card);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.qa-q {
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
}

.qa-q::before {
  content: "Q";
  color: var(--primary);
  font-weight: 800;
}

.qa-a {
  color: var(--text-sub);
  font-size: 14px;
  display: flex;
  gap: 8px;
}

.qa-a::before {
  content: "A";
  color: var(--accent);
  font-weight: 800;
}

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

.comm-card {
  background: linear-gradient(145deg, var(--bg-card) 0%, #1a1e33 100%);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.comm-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--primary);
}

.comm-card p {
  font-size: 14px;
  color: var(--text-sub);
}

/* Gallery Row */
.gallery-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery-scroll::-webkit-scrollbar {
  height: 6px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

.gallery-item {
  flex: 0 0 160px;
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-md);
}

/* Bottom CTA */
.bottom-cta {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-dark) 100%);
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.bottom-cta h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.bottom-cta p {
  color: var(--text-sub);
  font-size: 15px;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.bottom-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin-bottom: 40px;
}

/* Footer */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 13px;
  color: var(--text-sub);
}

.site-footer p {
  margin-bottom: 8px;
}

.site-footer a {
  color: var(--text-sub);
  transition: var(--transition);
}

.site-footer a:hover {
  color: var(--primary);
}

.time-info {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 12px;
}

/* Responsive */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .nav-download {
    display: inline-block;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero p {
    font-size: 16px;
  }
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }
  .btn {
    width: auto;
  }
  .ai-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hot-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .split-block {
    flex-direction: row;
    align-items: flex-start;
    padding: 40px;
  }
  .split-content {
    flex: 1;
  }
  .split-list {
    flex: 1;
  }
  .qa-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .community-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item {
    flex: 0 0 200px;
  }
  .bottom-actions {
    flex-direction: row;
    justify-content: center;
  }
  .section-title {
    font-size: 28px;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 100px 0 120px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hot-list {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }
  .drama-info {
    padding: 16px;
  }
  .drama-info h3 {
    font-size: 16px;
  }
  .split-block {
    padding: 48px 40px;
  }
  .section-title {
    font-size: 32px;
  }
  .bottom-cta h2 {
    font-size: 32px;
  }
}