:root {
    --pink-bg: #ffeef2;
    --pink-deep: #ffd1dc;
    --pink-accent: #ff8ba7;
    --text-main: #2d2a32;
    --text-sub: #6b6572;
    --white: #ffffff;
    --radius-lg: 40px;
    --radius-md: 24px;
    --radius-pill: 50px;
    --shadow-soft: 0 12px 32px rgba(255, 139, 167, 0.15);
    --shadow-heavy: 0 20px 50px rgba(255, 139, 167, 0.25);
  }

  * {
    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(--white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
  }

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

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

  /* 导航 */
  .top-nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    padding: 16px 20px;
    border-bottom: 1px solid var(--pink-bg);
  }

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

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

  .brand img {
    height: 32px;
    border-radius: 8px;
  }

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

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

  .nav-links a:hover {
    color: var(--pink-accent);
    font-weight: bold;
  }

  /* 首屏 Hero */
  .hero-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
  }

  .hero-card {
    background: var(--pink-bg);
    border-radius: var(--radius-lg);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
  }

  .hero-left {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* 3D 抽象图形模拟 */
  .abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
  }

  .shape-1 {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle at 30% 30%, #fff, var(--pink-deep));
    box-shadow: inset -20px -20px 40px rgba(255,255,255,0.8), 20px 20px 40px rgba(255,139,167,0.3);
    z-index: 3;
  }

  .shape-2 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle at 70% 30%, #fff, #ffb3c6);
    top: 20px;
    left: 20px;
    box-shadow: 10px 10px 30px rgba(255,139,167,0.2);
    z-index: 2;
  }

  .shape-3 {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle at 50% 50%, #fff, #ffc2d1);
    bottom: 40px;
    right: 30px;
    box-shadow: -10px -10px 30px rgba(255,139,167,0.2);
    z-index: 4;
  }

  .hero-right {
    flex: 1.2;
  }

  .hero-right h1 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 20px;
  }

  .hero-right p {
    font-size: 18px;
    color: var(--text-sub);
    margin-bottom: 40px;
  }

  .cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .btn-primary {
    background: var(--white);
    color: var(--text-main);
    font-weight: bold;
    font-size: 16px;
    padding: 16px 32px;
    border-radius: var(--radius-pill);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  }

  .btn-secondary {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-main);
    padding: 16px 24px;
    transition: color 0.2s;
  }

  .btn-secondary:hover {
    color: var(--pink-accent);
  }

  /* 安卓苹果特色下载 */
  .os-downloads {
    display: flex;
    gap: 16px;
    margin-top: 24px;
  }

  .os-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-weight: bold;
    font-size: 14px;
    color: var(--text-main);
    transition: all 0.2s;
  }

  .os-btn:hover {
    background: var(--white);
    border-color: var(--pink-deep);
  }

  .os-btn svg {
    width: 20px;
    height: 20px;
  }

  /* 通用区块 */
  .section-container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
  }

  .section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
  }

  .section-desc {
    font-size: 16px;
    color: var(--text-sub);
    margin-bottom: 32px;
  }

  /* 分类快捷入口 */
  .category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
  }

  .category-item {
    background: var(--pink-bg);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    text-align: center;
    font-weight: bold;
    color: var(--text-main);
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
  }

  .category-item:hover {
    background: var(--pink-deep);
    transform: translateY(-4px);
  }

  /* 轮播 Banner */
  .banner-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .banner-carousel::-webkit-scrollbar { display: none; }

  .banner-item {
    flex: 0 0 85%;
    max-width: 800px;
    scroll-snap-align: center;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
  }

  .banner-item img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: var(--radius-md);
  }

  /* 剧集卡片 */
  .drama-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .drama-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s;
  }

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

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

  .drama-info {
    padding: 16px;
  }

  .drama-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

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

  /* 榜单 */
  .rank-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .rank-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--pink-bg);
    border-radius: var(--radius-md);
    padding: 16px 24px;
  }

  .rank-num {
    font-size: 24px;
    font-weight: 900;
    color: var(--pink-accent);
    font-style: italic;
    width: 40px;
  }

  .rank-item img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
  }

  .rank-info h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 4px;
  }

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

  /* 详情/播放页预览 */
  .detail-preview {
    background: var(--pink-bg);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
  }

  .detail-preview img {
    width: 240px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-heavy);
  }

  .detail-content {
    flex: 1;
  }

  .detail-content h3 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 16px;
  }

  .detail-content p {
    color: var(--text-sub);
    margin-bottom: 24px;
  }

  /* 会员/充值区 */
  .vip-section {
    background: linear-gradient(135deg, #fff0f3, #ffd1dc);
    border-radius: var(--radius-lg);
    padding: 60px;
    text-align: center;
  }

  .vip-section h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--text-main);
  }

  .vip-section p {
    color: var(--text-sub);
    font-size: 16px;
    margin-bottom: 32px;
  }

  /* 数据展示 */
  .data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
  }

  .data-item {
    background: var(--white);
    border: 1px solid var(--pink-deep);
    border-radius: var(--radius-md);
    padding: 32px 16px;
  }

  .data-item h3 {
    font-size: 36px;
    color: var(--pink-accent);
    font-weight: 900;
    margin-bottom: 8px;
  }

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

  /* 活动专题 */
  .activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }

  .activity-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
  }

  .activity-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
  }

  /* 关于我们/Creator/Community */
  .info-block {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
  }

  .info-block:nth-child(even) {
    flex-direction: row-reverse;
  }

  .info-text {
    flex: 1;
  }

  .info-text h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
  }

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

  .info-img {
    flex: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
  }

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

  /* 页脚搜索 */
  .footer-search {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
  }

  .footer-search input {
    flex: 1;
    padding: 16px 24px;
    border-radius: var(--radius-pill);
    border: 2px solid var(--pink-deep);
    outline: none;
    font-size: 16px;
    background: var(--white);
  }

  .footer-search button {
    background: var(--pink-accent);
    color: var(--white);
    border: none;
    padding: 0 32px;
    border-radius: var(--radius-pill);
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
  }

  /* 弹窗 */
  .modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    justify-content: center;
    align-items: center;
  }

  .modal-content {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    max-width: 90%;
    width: 400px;
    text-align: center;
  }

  .modal-content p {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: bold;
    color: var(--text-main);
  }

  .modal-content input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
    background: #f9f9f9;
  }

  .modal-content button {
    background: var(--text-main);
    color: var(--white);
    border: none;
    padding: 12px 32px;
    border-radius: var(--radius-pill);
    font-weight: bold;
    cursor: pointer;
  }

  /* 页脚主体 */
  footer {
    background: #fafafa;
    border-top: 1px solid var(--pink-bg);
    padding: 60px 20px 40px;
    color: #888;
    font-size: 13px;
  }

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

  .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .footer-tags span {
    background: #f0f0f0;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    color: #666;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .footer-bottom a {
    color: #888;
    transition: color 0.2s;
  }

  .footer-bottom a:hover {
    color: var(--pink-accent);
  }

  @media (max-width: 1024px) {
    .hero-card { flex-direction: column; text-align: center; padding: 40px 20px; }
    .hero-left { height: 300px; width: 100%; }
    .hero-right h1 { font-size: 36px; }
    .cta-group, .os-downloads { justify-content: center; }
    .drama-grid { grid-template-columns: repeat(3, 1fr); }
    .detail-preview { flex-direction: column; align-items: center; text-align: center; }
    .info-block, .info-block:nth-child(even) { flex-direction: column; }
  }

  @media (max-width: 768px) {
    .hero-section { margin: 20px auto; }
    .hero-right h1 { font-size: 28px; }
    .hero-right p { font-size: 16px; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    .os-downloads { flex-direction: column; }
    .os-btn { width: 100%; justify-content: center; }
    .drama-grid { grid-template-columns: repeat(2, 1fr); }
    .data-grid { grid-template-columns: 1fr; }
    .rank-item img { width: 50px; height: 60px; }
    .banner-item { flex: 0 0 95%; }
    .section-container { margin: 40px auto; }
    .section-title { font-size: 24px; }
    .vip-section { padding: 40px 20px; }
    .footer-top { flex-direction: column; }
  }