:root {
    --bg: #0d0d11;
    --bg-alt: #15151c;
    --text-main: #f0eff4;
    --text-muted: #9494a0;
    --accent: #e63946;
    --accent-hover: #ff4d5a;
    --border: #2a2a35;
    --radius: 12px;
    --nav-height: 64px;
  }

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

  html {
    scroll-behavior: smooth;
  }

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

  /* Typography */
  h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
  }

  h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 0.5rem;
  }

  h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }

  p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

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

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

  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
  }

  .btn-primary {
    background-color: var(--accent);
    color: #fff;
  }

  .btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
  }

  .btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
  }

  .btn-secondary:hover {
    background-color: var(--border);
  }

  .btn-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }

  .btn-large {
    padding: 14px 28px;
    font-size: 1.125rem;
    border-radius: 10px;
  }

  .btn-small {
    padding: 6px 12px;
    font-size: 0.875rem;
  }

  /* Navigation */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(13, 13, 17, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
  }

  .navbar.scrolled {
    border-bottom-color: var(--border);
  }

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

  .logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.25rem;
  }

  .logo-area img {
    height: 32px;
    width: auto;
    border-radius: 4px;
  }

  .nav-links {
    display: none;
    gap: 24px;
  }

  .nav-links a {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: color 0.2s;
  }

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

  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
  }

  .mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: 0.3s;
  }

  /* Hero Section */
  .hero {
    position: relative;
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    opacity: 0.15;
    z-index: -1;
  }

  .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(13,13,17,0.4) 0%, rgba(13,13,17,1) 100%);
    z-index: -1;
  }

  .hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(230, 57, 70, 0.1);
    color: var(--accent);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
  }

  .hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 32px;
  }

  .hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
    flex-wrap: wrap;
  }

  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
  }

  .stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
  }

  /* Keyword Ticker */
  .ticker-wrap {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    white-space: nowrap;
    padding: 16px 0;
  }

  .ticker {
    display: inline-block;
    animation: ticker 30s linear infinite;
  }

  .ticker:hover {
    animation-play-state: paused;
  }

  .ticker-item {
    display: inline-block;
    padding: 0 24px;
    font-size: 0.95rem;
    color: var(--text-muted);
  }

  .ticker-item::after {
    content: '•';
    margin-left: 24px;
    color: var(--border);
  }

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

  /* Sections */
  section {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 48px;
    text-align: center;
  }

  .section-subtitle {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
  }

  /* Features */
  .features-grid {
    display: grid;
    gap: 48px;
    align-items: center;
  }

  .feature-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .feature-item {
    display: flex;
    gap: 24px;
  }

  .feature-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    font-family: monospace;
  }

  .feature-text h3 {
    margin-bottom: 8px;
  }

  .feature-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
  }

  .feature-image {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
  }

  .feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Hot Drama */
  .hot-drama-container {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 24px;
    scrollbar-width: none;
  }

  .hot-drama-container::-webkit-scrollbar {
    display: none;
  }

  .drama-card {
    flex: 0 0 280px;
    background-color: var(--bg-alt);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
  }

  .drama-card:hover {
    transform: translateY(-8px);
  }

  .drama-poster {
    position: relative;
    aspect-ratio: 3/4;
  }

  .drama-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .drama-hot {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: rgba(0,0,0,0.6);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--accent);
  }

  .drama-info {
    padding: 16px;
  }

  .drama-tag {
    font-size: 0.75rem;
    color: var(--accent);
    margin-bottom: 8px;
    display: inline-block;
  }

  .drama-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .drama-info p {
    font-size: 0.875rem;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Calendar */
  .calendar-grid {
    display: grid;
    gap: 24px;
  }

  .calendar-day {
    background-color: var(--bg-alt);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
  }

  .calendar-day h3 {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    color: var(--accent);
  }

  .calendar-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .calendar-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
  }

  .calendar-time {
    color: var(--text-muted);
    font-family: monospace;
  }

  /* Topics Carousel */
  .topics-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
  }

  .topics-track {
    display: flex;
    transition: transform 0.6s ease;
  }

  .topic-slide {
    min-width: 100%;
    position: relative;
    aspect-ratio: 16/9;
  }

  .topic-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .topic-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 48px 32px 32px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  }

  .topic-content h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
  }

  .topic-content p {
    margin-bottom: 16px;
    max-width: 600px;
  }

  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
  }

  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border);
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .dot.active {
    background-color: var(--accent);
  }

  /* Community Wall */
  .community-wall {
    height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  }

  .wall-track {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: scrollUp 20s linear infinite;
  }

  .community-wall:hover .wall-track {
    animation-play-state: paused;
  }

  @keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
  }

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

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

  .comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-muted);
  }

  .comment-name {
    font-weight: 500;
    font-size: 0.95rem;
  }

  .comment-text {
    font-size: 0.95rem;
    color: var(--text-main);
  }

  /* App Experience */
  .app-exp {
    display: grid;
    gap: 48px;
    align-items: center;
  }

  .phone-showcase {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
  }

  .phone {
    position: absolute;
    width: 220px;
    height: 450px;
    border-radius: 32px;
    overflow: hidden;
    border: 8px solid #222;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transition: transform 0.4s ease;
    background-color: var(--bg-alt);
  }

  .phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .phone:nth-child(1) {
    transform: translateX(-60px) translateY(20px) rotate(-5deg);
    z-index: 1;
  }

  .phone:nth-child(2) {
    transform: translateX(0) translateY(0) rotate(0deg);
    z-index: 2;
  }

  .phone:nth-child(3) {
    transform: translateX(60px) translateY(20px) rotate(5deg);
    z-index: 1;
  }

  .phone-showcase:hover .phone:nth-child(1) {
    transform: translateX(-100px) translateY(10px) rotate(-10deg);
  }

  .phone-showcase:hover .phone:nth-child(2) {
    transform: translateX(0) translateY(-10px) scale(1.05);
    z-index: 3;
  }

  .phone-showcase:hover .phone:nth-child(3) {
    transform: translateX(100px) translateY(10px) rotate(10deg);
  }

  .app-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .app-feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--bg-alt);
    padding: 16px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
  }

  .app-feature-icon {
    width: 32px;
    height: 32px;
    background-color: rgba(230, 57, 70, 0.1);
    color: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
  }

  /* Download Section */
  .download-area {
    background-color: var(--bg-alt);
    border-radius: var(--radius);
    padding: 48px;
    border: 1px solid var(--border);
    display: grid;
    gap: 48px;
  }

  .qr-placeholder {
    background-color: #fff;
    width: 160px;
    height: 160px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
  }

  .qr-placeholder::before {
    content: '';
    position: absolute;
    inset: 11px;
    background-image: 
      linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%),
      linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%);
    background-size: 16px 16px;
    background-position: 0 0, 8px 8px;
    opacity: 0.1;
  }

  .qr-placeholder::after {
    content: '扫码下载';
    background: #000;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    z-index: 1;
  }

  .install-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .step-path {
    background-color: var(--bg);
    padding: 24px;
    border-radius: var(--radius);
  }

  .step-path h3 {
    color: var(--accent);
    margin-bottom: 16px;
  }

  .step-list {
    list-style: none;
    counter-reset: step;
  }

  .step-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
  }

  .step-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background-color: var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-main);
  }

  /* FAQ */
  .faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .faq-item {
    background-color: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
  }

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

  .faq-q::after {
    content: '+';
    color: var(--accent);
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s;
  }

  .faq-item.active .faq-q::after {
    transform: rotate(45deg);
  }

  .faq-a {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
    font-size: 0.95rem;
  }

  .faq-item.active .faq-a {
    padding: 0 24px 20px;
    max-height: 200px;
  }

  /* Footer */
  footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    font-size: 0.875rem;
    color: var(--text-muted);
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

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

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

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

  /* Animations */
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Responsive */
  @media (min-width: 768px) {
    .nav-links {
      display: flex;
    }
    .nav-cta {
      display: block;
    }
    .mobile-toggle {
      display: none;
    }
    .features-grid {
      grid-template-columns: 1fr 1fr;
    }
    .calendar-grid {
      grid-template-columns: 1fr 1fr;
    }
    .app-exp {
      grid-template-columns: 1fr 1fr;
    }
    .download-area {
      grid-template-columns: 200px 1fr;
    }
  }

  @media (min-width: 1024px) {
    .features-grid {
      gap: 80px;
    }
    .topics-carousel {
      margin: 0 -24px;
      border-radius: 0;
    }
  }

  /* Full screen mobile menu */
  .mobile-menu {
    position: fixed;
    inset: 0;
    background-color: var(--bg);
    z-index: 99;
    display: flex;
    flex-direction: column;
    padding: 80px 24px 24px;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
  }

  .mobile-menu.open {
    transform: translateY(0);
  }

  .mobile-menu a {
    font-size: 1.5rem;
    font-weight: 600;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
  }

  .mobile-menu a:last-child {
    border-bottom: none;
    margin-top: 24px;
  }