:root {
    --bg-dark: #0a0a0f;
    --bg-card: #16161f;
    --bg-card-hover: #1e1e2b;
    --accent: #e63946;
    --accent-glow: rgba(230, 57, 70, 0.4);
    --text-main: #f0f0f5;
    --text-muted: #9a9aad;
    --border: #2a2a3a;
    --radius: 12px;
    --gradient-main: linear-gradient(135deg, #e63946 0%, #9b2226 100%);
    --gradient-dark: linear-gradient(180deg, #16161f 0%, #0a0a0f 100%);
  }

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

  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
  }

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

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

  ul {
    list-style: none;
  }

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

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

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

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

  .nav-links {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }

  .nav-links a {
    font-size: 14px;
    color: var(--text-muted);
    white-space: nowrap;
    transition: color 0.3s;
  }

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

  .download-btn {
    background: var(--gradient-main);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px var(--accent-glow);
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
  }

  /* Hero Section */
  .hero {
    position: relative;
    padding: 60px 20px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(230, 57, 70, 0.15) 0%, transparent 60%);
    overflow: hidden;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 16px;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #ffb3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .hero p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 32px;
  }

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

  .dl-btn-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    background: var(--gradient-main);
    box-shadow: 0 4px 20px var(--accent-glow);
    transition: transform 0.2s;
  }

  .dl-btn-lg:hover {
    transform: scale(1.05);
  }

  .dl-btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    box-shadow: none;
    color: var(--text-main);
  }

  .dl-btn-outline:hover {
    background: rgba(255,255,255,0.05);
  }

  .hero-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  }

  .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

  .carousel-slide {
    min-width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
  }

  /* Section General */
  section {
    padding: 60px 20px;
  }

  .section-inner {
    max-width: 1200px;
    margin: 0 auto;
  }

  .section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background: var(--accent);
    border-radius: 2px;
  }

  .section-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 32px;
    margin-left: 16px;
  }

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

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

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

  /* Card Styles */
  .drama-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.3s, border-color 0.3s;
  }

  .drama-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
  }

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

  .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
  }

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

  .card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #ffb703;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    backdrop-filter: blur(4px);
  }

  .card-info {
    padding: 16px;
  }

  .card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .card-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

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

  .tag {
    background: rgba(230, 57, 70, 0.15);
    color: var(--accent);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
  }

  .card-date {
    font-size: 12px;
    color: #666;
  }

  /* Timeline */
  .timeline {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid var(--border);
  }

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

  .timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
  }

  .timeline-time {
    font-size: 14px;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 4px;
  }

  .timeline-content {
    background: var(--bg-card);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
  }

  /* FAQ */
  .faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
  }

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

  .faq-a {
    padding: 0 20px 16px;
    font-size: 14px;
    color: var(--text-muted);
  }

  /* Community */
  .comment-box {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius);
  }

  .comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
  }

  .comment-content {
    flex: 1;
  }

  .comment-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #ddd;
  }

  .comment-text {
    font-size: 13px;
    color: var(--text-muted);
  }

  /* Steps */
  .step-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .step-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  .step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
  }

  .step-text h4 {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .step-text p {
    font-size: 13px;
    color: var(--text-muted);
  }

  /* Wish list */
  .wish-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
  }

  .wish-item {
    background: var(--bg-card);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    border-left: 3px solid var(--accent);
    display: flex;
    justify-content: space-between;
  }

  .wish-count {
    color: var(--accent);
    font-weight: bold;
  }

  /* Footer */
  .site-footer {
    background: #050508;
    padding: 40px 20px 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 12px;
    color: #555;
  }

  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-links a {
    color: #777;
    transition: color 0.2s;
  }

  .footer-links a:hover {
    color: var(--text-main);
  }

  .copyright {
    line-height: 1.8;
  }

  .beian-link {
    color: #555;
  }

  .update-time {
    color: #444;
    font-size: 11px;
  }

  /* Responsive Breakpoints */
  @media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
    .hero h1 { font-size: 36px; }
  }

  @media (max-width: 768px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 28px; }
    .nav-links { display: none; }
    .header-inner { justify-content: space-between; }
    .section-title { font-size: 22px; }
    .hero { padding: 40px 16px; }
    .download-group { flex-direction: column; align-items: stretch; }
    .dl-btn-lg { width: 100%; }
  }

  @media (max-width: 480px) {
    .grid-4 { grid-template-columns: 1fr; }
    .brand { font-size: 16px; }
    .brand img { height: 28px; }
  }