:root{
  --bg:#0C1A15;
  --bg-dark:#0E201A;
  --panel:#17302A;
  --panel-light:#204438;
  --primary:#3FD3A6;
  --secondary:#1E8F72;
  --gold:#EBCB7A;
  --text:#EAF7F0;
  --text-muted:#8FB3A6;
  --border:rgba(160,235,215,.10);
  --border-strong:rgba(160,235,215,.20);
  --gradient:linear-gradient(135deg, #3FD3A6 0%, #EBCB7A 100%);
  --gradient-text:linear-gradient(135deg, #EBCB7A 0%, #3FD3A6 100%);
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  overflow-x:hidden;
  padding-bottom:80px;
}
a{text-decoration:none;color:inherit;}
img{display:block;max-width:100%;}

/* Header */
header{
  position:fixed;
  top:0;left:0;width:100%;
  background:rgba(12,26,21,.9);
  backdrop-filter:blur(10px);
  z-index:1000;
  border-bottom:1px solid var(--border);
}
.header-container{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
  height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:20px;
  font-weight:700;
  color:var(--text);
}
.brand img{
  height:34px;
  width:auto;
  border-radius:6px;
}
.nav-menu{
  display:flex;
  gap:20px;
  list-style:none;
}
.nav-menu li a{
  font-size:14px;
  color:var(--text-muted);
  transition:color .3s;
  padding:6px 0;
  position:relative;
}
.nav-menu li a:hover{
  color:var(--primary);
}
.nav-menu li a::after{
  content:'';
  position:absolute;
  bottom:0;left:0;
  width:0;height:2px;
  background:var(--gradient);
  transition:width .3s;
}
.nav-menu li a:hover::after{
  width:100%;
}
.mobile-toggle{
  display:none;
  background:none;
  border:none;
  color:var(--primary);
  font-size:24px;
  cursor:pointer;
}

/* Hero */
.hero{
  padding:120px 20px 40px;
  position:relative;
  overflow:hidden;
  background:radial-gradient(ellipse at top right, rgba(63,211,166,.12), transparent 60%);
}
.hero-inner{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:40px;
  align-items:center;
}
.hero-content h1{
  font-size:clamp(26px, 4vw, 42px);
  line-height:1.3;
  margin-bottom:16px;
  background:var(--gradient-text);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  font-weight:800;
}
.hero-desc{
  font-size:15px;
  color:var(--text-muted);
  margin-bottom:24px;
  max-width:520px;
}
.download-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:12px;
  max-width:420px;
}
.dl-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 10px;
  background:var(--panel);
  border:1px solid var(--border-strong);
  border-radius:8px;
  color:var(--text);
  font-size:15px;
  font-weight:600;
  transition:all .3s;
}
.dl-btn:hover{
  background:var(--gradient);
  color:#0C1A15;
  border-color:transparent;
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(63,211,166,.2);
}
.hero-gallery{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:12px;
}
.hero-gallery img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:10px;
  border:1px solid var(--border);
  transition:transform .4s;
}
.hero-gallery img:hover{
  transform:scale(1.03);
}

/* Marquee */
.marquee-wrap{
  margin-top:32px;
  overflow:hidden;
  white-space:nowrap;
  background:var(--bg-dark);
  padding:10px 0;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.marquee-content{
  display:inline-block;
  animation:scroll-left 25s linear infinite;
  font-size:14px;
  font-weight:600;
}
.marquee-content span{
  margin-right:40px;
  background:var(--gradient);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
@keyframes scroll-left{
  0%{transform:translateX(0);}
  100%{transform:translateX(-50%);}
}

/* Common Section */
section{
  padding:60px 20px;
  max-width:1200px;
  margin:0 auto;
}
.sec-title{
  font-size:28px;
  font-weight:700;
  margin-bottom:12px;
  color:var(--text);
}
.sec-title span{
  color:var(--primary);
}
.sec-sub{
  font-size:15px;
  color:var(--text-muted);
  margin-bottom:32px;
}

/* Real Drama (Grid) */
.drama-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(180px, 1fr));
  gap:20px;
}
.drama-card{
  background:var(--panel);
  border-radius:12px;
  overflow:hidden;
  border:1px solid var(--border);
  transition:all .3s;
}
.drama-card:hover{
  border-color:var(--primary);
  transform:translateY(-4px);
  box-shadow:0 10px 24px rgba(0,0,0,.4);
}
.drama-card img{
  width:100%;
  height:260px;
  object-fit:cover;
}
.drama-info{
  padding:12px;
}
.drama-info h3{
  font-size:16px;
  margin-bottom:6px;
  color:var(--text);
}
.drama-tags{
  display:flex;
  gap:6px;
  margin-bottom:8px;
  flex-wrap:wrap;
}
.tag{
  font-size:11px;
  padding:2px 8px;
  background:rgba(63,211,166,.15);
  color:var(--primary);
  border-radius:4px;
}
.drama-date{
  font-size:12px;
  color:var(--text-muted);
}

/* Complete Drama (Vertical Timeline) */
.timeline{
  position:relative;
  padding-left:24px;
  border-left:2px solid var(--border-strong);
}
.timeline-item{
  margin-bottom:24px;
  position:relative;
}
.timeline-item::before{
  content:'';
  position:absolute;
  left:-30px;
  top:6px;
  width:10px;height:10px;
  background:var(--gradient);
  border-radius:50%;
}
.timeline-title{
  font-size:16px;
  font-weight:600;
  color:var(--primary);
  margin-bottom:4px;
}
.timeline-desc{
  font-size:14px;
  color:var(--text-muted);
}

/* Hot Ranking */
.rank-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.rank-item{
  display:flex;
  align-items:center;
  gap:16px;
  background:var(--panel);
  padding:14px 20px;
  border-radius:8px;
  border:1px solid var(--border);
}
.rank-num{
  font-size:20px;
  font-weight:800;
  color:var(--gold);
  width:36px;
}
.rank-info{
  flex:1;
}
.rank-info h3{
  font-size:16px;
  margin-bottom:2px;
}
.rank-info p{
  font-size:13px;
  color:var(--text-muted);
}
.rank-score{
  font-size:15px;
  font-weight:700;
  color:var(--primary);
}

/* Reviews (QA Style) */
.qa-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
.qa-card{
  background:var(--panel-light);
  padding:20px;
  border-radius:10px;
  border-left:4px solid var(--primary);
}
.qa-user{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}
.qa-user img{
  width:36px;height:36px;
  border-radius:50%;
  object-fit:cover;
}
.qa-user span{
  font-weight:600;
  font-size:14px;
}
.qa-text{
  font-size:14px;
  color:var(--text);
  margin-bottom:8px;
}
.qa-reply{
  font-size:13px;
  color:var(--text-muted);
  background:rgba(0,0,0,.2);
  padding:8px 12px;
  border-radius:6px;
}

/* VIP (Cards) */
.vip-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(240px, 1fr));
  gap:20px;
}
.vip-card{
  background:var(--bg-dark);
  border:1px solid var(--border-strong);
  padding:24px 20px;
  border-radius:12px;
  text-align:center;
}
.vip-card h3{
  font-size:18px;
  color:var(--gold);
  margin-bottom:12px;
}
.vip-card ul{
  list-style:none;
  font-size:14px;
  color:var(--text-muted);
  line-height:2;
  text-align:left;
}

/* Privacy & Security */
.security-row{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
}
.security-item{
  flex:1 1 200px;
  background:var(--panel);
  padding:20px;
  border-radius:10px;
  border:1px solid var(--border);
}
.security-item h3{
  font-size:16px;
  color:var(--primary);
  margin-bottom:8px;
}
.security-item p{
  font-size:13px;
  color:var(--text-muted);
}

/* FAQ (Accordion) */
.faq-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.faq-item{
  background:var(--panel);
  border-radius:8px;
  border:1px solid var(--border);
  overflow:hidden;
}
.faq-q{
  padding:16px;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.faq-a{
  padding:0 16px 16px;
  font-size:14px;
  color:var(--text-muted);
  display:block;
}

/* Minor Protection */
.minor-wrap{
  background:rgba(63,211,166,.05);
  border:1px dashed var(--primary);
  padding:24px;
  border-radius:12px;
}
.minor-wrap h3{
  color:var(--primary);
  margin-bottom:12px;
}
.minor-wrap ul{
  padding-left:20px;
  color:var(--text-muted);
  font-size:14px;
}

/* Download Section (Bottom) */
.download-area{
  background:var(--bg-dark);
  border-radius:16px;
  padding:40px 20px;
  border:1px solid var(--border);
  display:flex;
  gap:40px;
  align-items:center;
}
.download-area img{
  width:200px;
  height:260px;
  object-fit:cover;
  border-radius:10px;
  flex-shrink:0;
}
.download-info{
  flex:1;
}
.download-info h2{
  font-size:24px;
  margin-bottom:12px;
}
.download-info p{
  font-size:14px;
  color:var(--text-muted);
  margin-bottom:20px;
}
.dl-btns-lg{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.dl-btns-lg a{
  padding:12px 24px;
  background:var(--gradient);
  color:#0C1A15;
  font-weight:700;
  border-radius:8px;
  font-size:15px;
}
.dl-btns-lg a:hover{
  opacity:.9;
}

/* Footer */
footer{
  background:var(--bg-dark);
  padding:40px 20px 20px;
  text-align:center;
  font-size:13px;
  color:var(--text-muted);
  border-top:1px solid var(--border);
}
.footer-links{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:16px;
  margin-bottom:16px;
}
.footer-links a{
  color:var(--text-muted);
}
.footer-links a:hover{
  color:var(--primary);
}
.footer-copy{
  margin-bottom:8px;
}

/* Floating Download */
.float-dl{
  position:fixed;
  bottom:20px;
  left:50%;
  transform:translateX(-50%);
  background:rgba(23,48,42,.95);
  backdrop-filter:blur(6px);
  border:1px solid var(--primary);
  border-radius:30px;
  padding:8px 20px;
  display:flex;
  align-items:center;
  gap:10px;
  z-index:999;
  box-shadow:0 4px 20px rgba(0,0,0,.5);
}
.float-dl img{
  width:28px;height:28px;
  border-radius:50%;
}
.float-dl-text{
  font-size:13px;
  line-height:1.3;
}
.float-dl-text strong{
  color:var(--primary);
  display:block;
}

/* Modal */
.modal-mask{
  position:fixed;
  top:0;left:0;width:100%;height:100%;
  background:rgba(0,0,0,.7);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:2000;
}
.modal-mask.active{
  display:flex;
}
.modal-box{
  background:var(--panel);
  border-radius:12px;
  padding:24px;
  max-width:340px;
  width:90%;
  text-align:center;
}
.modal-box p{
  font-size:14px;
  margin-bottom:16px;
}
.modal-box input{
  width:100%;
  padding:10px;
  background:var(--bg);
  border:1px solid var(--border-strong);
  color:var(--text);
  border-radius:6px;
  margin-bottom:16px;
  text-align:center;
}
.modal-box button{
  padding:10px 24px;
  background:var(--gradient);
  border:none;
  color:#0C1A15;
  font-weight:700;
  border-radius:6px;
  cursor:pointer;
}

/* Mobile Responsive */
@media (max-width: 768px){
  .nav-menu{
    display:none;
    flex-direction:column;
    position:absolute;
    top:64px;left:0;width:100%;
    background:var(--bg-dark);
    padding:20px;
    border-bottom:1px solid var(--border);
  }
  .nav-menu.active{
    display:flex;
  }
  .mobile-toggle{
    display:block;
  }
  .hero-inner{
    grid-template-columns:1fr;
  }
  .hero-content h1{
    font-size:24px;
  }
  .hero-gallery img{
    height:160px;
  }
  .qa-grid{
    grid-template-columns:1fr;
  }
  .download-area{
    flex-direction:column;
    padding:24px 16px;
  }
  .download-area img{
    width:100%;
    height:200px;
  }
  .drama-card img{
    height:200px;
  }
}
@media (min-width: 769px) and (max-width: 1024px){
  .hero-inner{
    grid-template-columns:1fr;
  }
  .drama-grid{
    grid-template-columns:repeat(3, 1fr);
  }
}