:root {
    --rainbow: linear-gradient(135deg, #FF3B30, #FF9500, #FFCC00, #34C759, #007AFF, #7C4DFF);
    --primary: #7C4DFF;
    --bg-light: #F7F8FA;
    --white: #FFFFFF;
    --text-main: #1C1C1E;
    --text-sub: #636366;
    --card-shadow: 0 8px 24px rgba(0,0,0,0.06);
    --hover-shadow: 0 16px 32px rgba(124,77,255,0.15);
    --radius: 16px;
  }

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

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

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

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

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

  .logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 20px;
  }

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

  .logo-text {
    background: var(--rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
  }

  .nav-menu {
    display: flex;
    gap: 24px;
  }

  .nav-menu a {
    font-size: 15px;
    color: var(--text-sub);
    font-weight: 500;
    transition: color 0.2s;
  }

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

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

  .search-box {
    background: var(--bg-light);
    border: 1px solid #E5E5EA;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 13px;
    color: var(--text-sub);
    width: 200px;
    outline: none;
  }

  .btn-download {
    background: var(--rainbow);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(124,77,255,0.3);
  }

  .menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
  }

  /* Hero Section */
  .hero {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(255,59,48,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
  }

  .hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(124,77,255,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
  }

  .hero-inner {
    display: flex;
    align-items: center;
    gap: 48px;
  }

  .hero-left {
    flex: 1;
  }

  .hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-main);
  }

  .hero-subtitle {
    font-size: 18px;
    color: var(--text-sub);
    margin-bottom: 32px;
    line-height: 1.6;
  }

  .hero-subtitle span {
    color: var(--primary);
    font-weight: 600;
  }

  .download-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
  }

  .badge {
    background: var(--white);
    border: 1px solid #E5E5EA;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    cursor: pointer;
    transition: all 0.2s;
  }

  .badge:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(124,77,255,0.1);
  }

  .qr-trust-area {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #E5E5EA;
  }

  .qr-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 12px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
  }

  .qr-card img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: #eee;
  }

  .qr-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
  }

  .trust-text {
    font-size: 13px;
    color: #8E8E93;
  }

  .hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
  }

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

  .stat-num {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
  }

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

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

  .phone-mockup {
    position: absolute;
    width: 220px;
    height: 440px;
    border-radius: 32px;
    background: #000;
    border: 8px solid #1C1C1E;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0,0,0,0.15);
    transition: transform 0.3s;
  }

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

  .phone-1 {
    transform: translate(-60px, 20px) rotate(-8deg);
    z-index: 2;
  }

  .phone-2 {
    transform: translate(60px, -20px) rotate(8deg);
    z-index: 1;
  }

  .heat-bubble {
    position: absolute;
    top: 10%;
    right: 10%;
    background: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    color: #FF3B30;
    box-shadow: 0 4px 12px rgba(255,59,48,0.2);
    z-index: 3;
    animation: float 3s ease-in-out infinite;
  }

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

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

  .section-white {
    background: var(--white);
  }

  .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
  }

  .section-title-wrap {
    position: relative;
  }

  .section-title {
    font-size: 28px;
    font-weight: 700;
    display: inline-block;
    padding-bottom: 8px;
  }

  .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--rainbow);
    border-radius: 2px;
  }

  .tab-switch {
    display: flex;
    gap: 12px;
  }

  .tab-btn {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    background: var(--bg-light);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
  }

  .tab-btn.active {
    background: var(--primary);
    color: var(--white);
  }

  /* Card Styles */
  .card-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 16px;
    scrollbar-width: none;
  }
  .card-row::-webkit-scrollbar { display: none; }

  .drama-card {
    flex: 0 0 180px;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
  }

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

  .poster-wrap {
    position: relative;
    width: 100%;
    padding-top: 133.33%; /* 3:4 ratio */
    overflow: hidden;
  }

  .poster-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
  }

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

  .corner-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--white);
    z-index: 2;
  }

  .tag-exclusive { background: var(--rainbow); }
  .tag-free { background: #34C759; }
  .tag-hot { background: #FF3B30; }

  .card-info {
    padding: 12px;
  }

  .card-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .card-meta {
    font-size: 12px;
    color: var(--text-sub);
    margin-bottom: 8px;
  }

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

  .tag-pill {
    font-size: 10px;
    padding: 2px 8px;
    background: var(--bg-light);
    border-radius: 10px;
    color: var(--text-sub);
  }

  .heat-val {
    font-size: 12px;
    color: #FF9500;
    font-weight: 600;
  }

  /* Ranking Section */
  .ranking-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .rank-col {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--card-shadow);
  }

  .rank-col-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .rank-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-light);
  }
  .rank-item:last-child { border-bottom: none; }

  .rank-top1 {
    background: #F8F5FF;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    border-bottom: none;
    display: block;
  }

  .rank-num {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    color: var(--white);
    flex-shrink: 0;
  }

  .rank-1 { background: #FFB300; }
  .rank-2 { background: #C0C0C0; }
  .rank-3 { background: #CD7F32; }
  .rank-4, .rank-5 { background: #E5E5EA; color: var(--text-sub); }

  .rank-thumb {
    width: 40px;
    height: 54px;
    border-radius: 6px;
    object-fit: cover;
  }

  .rank-info {
    flex: 1;
    overflow: hidden;
  }

  .rank-name {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

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

  .rank-top1 .rank-thumb {
    width: 60px;
    height: 80px;
  }

  .rank-top1 .rank-name { font-size: 16px; margin-bottom: 4px; }
  .rank-top1 .rank-hook { font-size: 12px; color: var(--text-sub); margin-top: 8px; line-height: 1.4; }

  /* Category Section */
  .category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }

  .cat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
  }

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

  .cat-icon {
    font-size: 28px;
  }

  .cat-name {
    font-size: 14px;
    font-weight: 600;
  }

  /* Feature Section */
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s;
  }

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

  .feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .feature-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .feature-desc {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.6;
  }

  /* Reviews */
  .review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

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

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

  .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-light);
    object-fit: cover;
  }

  .review-user {
    font-weight: 600;
  }

  .stars {
    color: #FFB300;
    font-size: 12px;
  }

  .review-text {
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.6;
    font-style: italic;
  }

  /* Bottom Download */
  .bottom-download {
    background: var(--rainbow);
    padding: 80px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
  }

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

  .bottom-left {
    flex: 1;
  }

  .bottom-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
  }

  .bottom-sub {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 32px;
  }

  .btn-white {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    transition: transform 0.2s;
  }

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

  .bottom-right {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
    color: var(--text-main);
  }

  .bottom-qr {
    width: 160px;
    height: 160px;
    border-radius: 12px;
    margin-bottom: 16px;
    background: #eee;
  }

  .bottom-qr-text {
    font-weight: 700;
    font-size: 16px;
  }

  /* Footer */
  .site-footer {
    background: #1C1C1E;
    color: #A1A1A6;
    padding: 64px 0 32px;
    font-size: 14px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 48px;
  }

  .footer-col h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 16px;
  }

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

  .footer-col a:hover {
    color: var(--white);
  }

  .footer-bottom {
    border-top: 1px solid #333;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 12px;
    color: #8E8E93;
  }

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

  /* Mobile Floating Bar */
  .mobile-float-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--rainbow);
    padding: 12px 20px;
    z-index: 99;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
  }

  .float-text {
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
  }

  .float-btn {
    background: var(--white);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    border: none;
  }

  .float-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    padding: 0 8px;
  }

  /* Responsive */
  @media (max-width: 1024px) {
    .hero-inner { flex-direction: column; text-align: center; }
    .hero-left { display: flex; flex-direction: column; align-items: center; }
    .hero-stats, .download-badges, .qr-trust-area { justify-content: center; }
    .hero-right { height: 400px; margin-top: 40px; }
    .phone-mockup { width: 180px; height: 360px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .bottom-inner { flex-direction: column; text-align: center; }
    .nav-menu, .search-box { display: none; }
    .menu-toggle { display: block; }
  }

  @media (max-width: 768px) {
    .hero-title { font-size: 32px; }
    .hero-stats { flex-wrap: wrap; gap: 16px; }
    .ranking-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .feature-grid { grid-template-columns: 1fr; }
    .review-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .mobile-float-bar { display: flex; }
    .section { padding: 48px 0; }
    .section-title { font-size: 22px; }
    .bottom-title { font-size: 32px; }
  }