:root {
    --bg-dark: #121212;
    --bg-darker: #0a0a0a;
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
    --accent-pink: #ff3366;
    --accent-gold: #ffcc00;
    --accent-blue: #00d2ff;
    --panel-bg: #1e1e1e;
    --border-color: #333;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  }

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

  body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 80px; /* space for floating button */
  }

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

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

  /* Container */
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
  }

  /* Header */
  .site-header {
    background-color: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
  }

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

  .logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 18px;
    color: var(--accent-gold);
  }

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

  .nav-links {
    display: none;
  }

  .nav-links a {
    margin-left: 16px;
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.3s;
    cursor: pointer;
  }

  .nav-links a:hover, .nav-links a.active {
    color: var(--accent-pink);
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 24px;
    cursor: pointer;
  }

  /* Mobile Menu */
  .mobile-nav {
    display: none;
    background-color: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
    padding: 16px;
  }
  
  .mobile-nav.open {
    display: block;
  }

  .mobile-nav a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #222;
    font-size: 16px;
  }
  
  .mobile-nav a:last-child {
    border-bottom: none;
  }

  /* Hero */
  .hero {
    padding: 40px 0;
    background: radial-gradient(circle at top, #2a1030 0%, var(--bg-dark) 100%);
  }

  .hero h1 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 16px;
    color: var(--accent-gold);
    line-height: 1.3;
  }

  .hero-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-posters {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .hero-posters::-webkit-scrollbar {
    display: none;
  }

  .hero-poster-item {
    flex: 0 0 70%;
    max-width: 200px;
    scroll-snap-align: center;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
  }

  .hero-poster-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .hero-downloads {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-downloads a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-pink);
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
  }

  .hero-downloads a.secondary {
    background-color: #333;
  }

  /* Ticker */
  .ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: #000;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
  }
  
  .ticker {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 20s linear infinite;
  }

  .ticker span {
    display: inline-block;
    padding-left: 20px;
    font-weight: bold;
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 16px;
  }

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

  /* Sections Common */
  section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 24px;
    text-align: center;
    color: var(--accent-gold);
    position: relative;
  }

  .section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--accent-pink);
    margin: 8px auto 0;
    border-radius: 2px;
  }

  /* Real Drama */
  .real-drama {
    background-color: #1a1a1a;
  }

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

  .drama-card {
    background: var(--panel-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
  }

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

  .drama-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .drama-info {
    padding: 12px;
  }

  .drama-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-main);
  }

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

  .drama-tags span {
    font-size: 12px;
    color: var(--accent-gold);
    background-color: rgba(255, 204, 0, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
  }

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

  .drama-meta {
    font-size: 12px;
    color: #666;
    display: flex;
    justify-content: space-between;
  }

  /* Completed Drama */
  .completed-drama {
    background-color: #121e24;
  }

  .completed-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .completed-item {
    display: flex;
    background-color: var(--panel-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
  }

  .completed-item img {
    width: 100px;
    height: 140px;
    object-fit: cover;
    flex-shrink: 0;
  }

  .completed-info {
    padding: 12px;
    flex-grow: 1;
  }

  .completed-info h3 {
    font-size: 16px;
    color: var(--accent-blue);
    margin-bottom: 6px;
  }

  .completed-info p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
  }

  .completed-info .meta {
    font-size: 12px;
    color: #888;
  }

  /* Weekly Ranking */
  .weekly-ranking {
    background-color: #2a1a1a;
  }

  .ranking-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .ranking-item {
    display: flex;
    align-items: center;
    background-color: #1f1414;
    border-radius: 8px;
    padding: 10px;
    border-left: 4px solid var(--accent-pink);
  }

  .ranking-num {
    font-size: 20px;
    font-weight: bold;
    color: var(--accent-pink);
    width: 30px;
    text-align: center;
    margin-right: 10px;
  }

  .ranking-info {
    flex-grow: 1;
  }

  .ranking-info h3 {
    font-size: 15px;
    color: var(--text-main);
  }

  .ranking-info p {
    font-size: 12px;
    color: var(--text-muted);
  }

  /* Hot Reviews */
  .hot-reviews {
    background-color: #1e1e2e;
  }

  .review-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .review-card {
    display: flex;
    gap: 12px;
    background-color: #2a2a3e;
    padding: 16px;
    border-radius: 12px;
  }

  .review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
  }

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

  .review-content h3 {
    font-size: 15px;
    color: var(--accent-gold);
    margin-bottom: 4px;
  }

  .review-content p {
    font-size: 13px;
    color: var(--text-main);
  }

  /* Member Benefits */
  .member-benefits {
    background-color: #1a2a1a;
  }

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

  .benefit-card {
    background-color: #223322;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #334433;
  }

  .benefit-card h3 {
    font-size: 15px;
    color: var(--accent-gold);
    margin-bottom: 6px;
  }

  .benefit-card p {
    font-size: 12px;
    color: var(--text-muted);
  }

  /* Privacy & Feedback & FAQ & Minor Protection */
  .info-section {
    background-color: #1a1a1a;
  }

  .info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .info-item {
    background-color: var(--panel-bg);
    border-radius: 8px;
    padding: 16px;
    border-left: 3px solid var(--accent-blue);
  }

  .info-item h3 {
    font-size: 15px;
    color: var(--text-main);
    margin-bottom: 6px;
  }

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

  /* Schedule */
  .schedule-section {
    background-color: #241a26;
  }

  .timeline {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid #555;
  }

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

  .timeline-item::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent-pink);
    border: 2px solid var(--bg-dark);
  }

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

  .timeline-content {
    font-size: 13px;
    color: var(--text-main);
  }

  /* Download Area */
  .download-section {
    background: linear-gradient(135deg, #1a0a1f, #0a0a0a);
    padding-bottom: 60px;
  }

  .download-box {
    background-color: #222;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
  }

  .download-box img {
    width: 100px;
    border-radius: 8px;
    margin: 0 auto 16px;
  }

  .download-box h2 {
    font-size: 20px;
    color: var(--accent-gold);
    margin-bottom: 12px;
  }

  .download-box p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
  }

  .download-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .download-buttons a {
    display: block;
    background-color: var(--accent-pink);
    color: white;
    padding: 14px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
  }

  .download-buttons a.secondary {
    background-color: #333;
  }

  /* Footer */
  .site-footer {
    background-color: var(--bg-darker);
    padding: 30px 16px;
    text-align: center;
    border-top: 1px solid #222;
    font-size: 12px;
    color: #666;
  }

  .footer-links {
    margin-bottom: 16px;
  }

  .footer-links a {
    margin: 0 8px;
    color: #888;
  }

  .footer-info {
    margin-bottom: 16px;
    line-height: 1.8;
  }

  .footer-bottom {
    color: #444;
  }
  
  .footer-bottom a {
    color: #555;
  }

  /* Floating Download */
  .floating-download {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-pink);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(255, 51, 102, 0.4);
    z-index: 1000;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
  }

  .floating-download img {
    height: 20px;
    margin-right: 8px;
    border-radius: 4px;
  }

  /* Modal */
  .modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .modal-overlay.active {
    display: flex;
  }

  .modal-content {
    background: #222;
    border-radius: 12px;
    padding: 24px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    border: 1px solid var(--border-color);
  }

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

  .modal-input {
    width: 100%;
    padding: 10px;
    background: #111;
    border: 1px solid #444;
    color: #fff;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 13px;
  }

  .modal-btn {
    background: var(--accent-pink);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
  }

  /* Responsive Breakpoints */
  @media (min-width: 768px) {
    .hero h1 {
      font-size: 36px;
    }
    .hero-posters {
      justify-content: center;
      flex-wrap: nowrap;
    }
    .hero-poster-item {
      flex: 0 0 180px;
      max-width: 180px;
    }
    .hero-downloads {
      display: flex;
      flex-direction: row;
      justify-content: center;
      max-width: 100%;
    }
    .hero-downloads a {
      flex: 0 1 140px;
    }
    .drama-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .benefits-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .nav-links {
      display: flex;
    }
    .menu-toggle {
      display: none;
    }
    .mobile-nav {
      display: none !important;
    }
    .download-buttons {
      flex-direction: row;
      justify-content: center;
    }
    .download-buttons a {
      flex: 0 1 160px;
    }
  }

  @media (min-width: 1024px) {
    .drama-grid {
      grid-template-columns: repeat(4, 1fr);
    }
    .benefits-grid {
      grid-template-columns: repeat(4, 1fr);
    }
    .hero-posters {
      gap: 20px;
    }
    .completed-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
    }
    .review-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
    }
  }