:root {
    --bg-base: #0A0A0A;
    --bg-block: #141414;
    --primary-cyan: #00E5FF;
    --primary-green: #39FF14;
    --grad-main: linear-gradient(135deg, #00E5FF, #39FF14);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --text-main: #F0F0F0;
    --text-sub: #A0A0A0;
    --glow-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
  }

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

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

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

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

  /* Header */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

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

  .logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
  }

  .logo-wrap img {
    height: 32px;
    width: auto;
    display: block;
  }

  .nav-links {
    display: none;
  }

  .btn-primary {
    background: var(--grad-main);
    color: #000;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    transition: opacity 0.3s;
    box-shadow: var(--glow-shadow);
    display: inline-block;
  }
  .btn-primary:hover {
    opacity: 0.9;
  }

  /* Hero Section */
  .hero {
    position: relative;
    padding: 120px 0 60px;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
  }

  .hero-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;
  }

  .hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .hero-text {
    flex: 1;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .text-gradient {
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

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

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }

  .btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    transition: background 0.3s;
    display: inline-block;
  }
  .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
  }

  .hero-mockup {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
  }

  .phone-frame {
    width: 260px;
    height: 520px;
    background: #000;
    border-radius: 36px;
    border: 8px solid #333;
    box-shadow: 0 0 50px rgba(0,229,255,0.2), inset 0 0 20px rgba(0,0,0,0.8);
    position: relative;
    overflow: hidden;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
  }

  .phone-frame:hover {
    transform: rotateY(-5deg) rotateX(2deg);
  }

  .phone-screen {
    width: 100%;
    height: 100%;
    background: #111;
    position: relative;
    overflow: hidden;
  }

  .phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: fadeCarousel 12s infinite;
  }

  .phone-screen img:nth-child(1) { animation-delay: 0s; }
  .phone-screen img:nth-child(2) { animation-delay: 4s; }
  .phone-screen img:nth-child(3) { animation-delay: 8s; }

  @keyframes fadeCarousel {
    0%, 25% { opacity: 1; }
    33%, 100% { opacity: 0; }
  }

  /* Showcase Section */
  .section-showcase {
    padding: 60px 0;
    background-color: var(--bg-block);
  }

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

  .section-header h2 {
    font-size: 24px;
    color: var(--text-main);
  }

  .section-header span {
    font-size: 14px;
    color: var(--primary-cyan);
  }

  .tabs-bar {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 24px;
    scrollbar-width: none;
  }
  .tabs-bar::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    background: transparent;
    border: none;
    color: var(--text-sub);
    font-size: 14px;
    padding: 6px 12px;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    transition: color 0.3s;
  }

  .tab-btn.active {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px rgba(0,229,255,0.5);
  }

  .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: var(--grad-main);
    border-radius: 2px;
  }

  .card-scroll-wrap {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px;
    scrollbar-width: none;
  }
  .card-scroll-wrap::-webkit-scrollbar {
    display: none;
  }

  .drama-card {
    flex: 0 0 160px;
    scroll-snap-align: start;
    background: #1A1A1A;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
  }

  .drama-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
  }

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

  .drama-info {
    padding: 10px;
  }

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

  .drama-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 11px;
    color: var(--text-sub);
    margin-bottom: 6px;
  }

  .tag {
    background: rgba(0, 229, 255, 0.1);
    color: var(--primary-cyan);
    padding: 2px 6px;
    border-radius: 4px;
  }

  .drama-stats {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #FF4D4F;
  }

  /* How to Watch */
  .section-how {
    padding: 60px 0;
  }

  .section-how h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 40px;
  }

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

  .step-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: transform 0.3s;
  }
  
  .step-item:hover {
    transform: translateY(-3px);
    border-color: rgba(0,229,255,0.3);
  }

  .step-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: inline-block;
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .step-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

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

  .how-action {
    text-align: center;
    margin-top: 40px;
  }

  /* Trending & Stats */
  .section-trending {
    padding: 60px 0;
    background: var(--bg-block);
    background-image: 
      linear-gradient(rgba(0,229,255,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,229,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
  }

  .section-trending h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 40px;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: center;
  }

  .stat-item h3 {
    font-size: 28px;
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
  }

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

  .stats-note {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 30px;
  }

  /* Download Section */
  .section-download {
    padding: 80px 0;
    text-align: center;
    position: relative;
  }

  .section-download::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(0,229,255,0.15) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
  }

  .download-content {
    position: relative;
    z-index: 1;
  }

  .download-content h2 {
    font-size: 28px;
    margin-bottom: 16px;
  }

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

  .download-btns {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
  }

  .btn-download {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--grad-main);
    color: #000;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    width: 100%;
    max-width: 280px;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0,229,255,0.4);
    transition: transform 0.2s;
  }
  .btn-download:hover {
    transform: scale(1.05);
  }

  .download-note {
    font-size: 12px;
    color: #666;
    max-width: 400px;
    margin: 0 auto;
  }

  /* FAQ */
  .section-faq {
    padding: 60px 0;
    background: var(--bg-block);
  }

  .section-faq h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 40px;
  }

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

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

  .faq-item summary {
    padding: 16px 20px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .faq-item summary::-webkit-details-marker {
    display: none;
  }

  .faq-item summary::after {
    content: '+';
    color: var(--primary-cyan);
    font-size: 20px;
    font-weight: normal;
    transition: transform 0.3s;
  }

  .faq-item[open] summary::after {
    transform: rotate(45deg);
  }

  .faq-body {
    padding: 0 20px 16px;
    color: var(--text-sub);
    font-size: 14px;
    line-height: 1.7;
  }

  /* Footer */
  footer {
    background: var(--bg-base);
    padding: 40px 0 20px;
    position: relative;
    font-size: 13px;
    color: #777;
  }

  footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--grad-main);
    opacity: 0.5;
  }

  .footer-top {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }

  .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-weight: bold;
  }

  .footer-logo img {
    height: 24px;
    width: auto;
  }

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

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

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

  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .footer-bottom p {
    font-size: 12px;
  }

  .about-details {
    margin-top: 16px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-details summary {
    cursor: pointer;
    color: #777;
    font-size: 12px;
    list-style: none;
    text-align: center;
    outline: none;
  }

  .about-details summary::-webkit-details-marker {
    display: none;
  }

  .about-details summary:hover {
    color: var(--primary-cyan);
  }

  .about-content {
    margin-top: 16px;
    padding: 16px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .about-content a {
    color: #888;
    font-size: 12px;
    transition: color 0.3s;
  }

  .about-content a:hover {
    color: var(--primary-cyan);
  }

  /* Toast */
  .toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(0, 229, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary-cyan);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    transition: transform 0.3s ease;
    z-index: 1000;
    pointer-events: none;
    box-shadow: 0 0 20px rgba(0,229,255,0.3);
  }

  .toast.show {
    transform: translateX(-50%) translateY(0);
  }

  /* Media Queries */
  @media (min-width: 768px) {
    .nav-links {
      display: flex;
      gap: 24px;
      font-size: 14px;
    }
    .nav-links a:hover {
      color: var(--primary-cyan);
    }
    .hero-content {
      flex-direction: row;
      align-items: center;
    }
    .hero h1 { font-size: 48px; }
    .steps-grid {
      flex-direction: row;
    }
    .step-item {
      flex: 1;
    }
    .stats-grid {
      grid-template-columns: repeat(4, 1fr);
    }
    .download-btns {
      flex-direction: row;
      justify-content: center;
    }
    .footer-top {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }
    .footer-bottom {
      flex-direction: row;
      justify-content: space-between;
    }
    .about-details summary {
      text-align: left;
    }
    .drama-card {
      flex: 0 0 200px;
    }
  }

  @media (min-width: 1024px) {
    .hero h1 { font-size: 56px; }
    .drama-card {
      flex: 0 0 220px;
    }
  }