body, html {
  margin:0; padding:0;
  font-family:'Arial',sans-serif;
  background:#0a1628;
  color:#fff;
  overflow-x:hidden;
  scroll-behavior: smooth;
}
/* ===== Rainbow / Neon Text Animation ===== */
@keyframes rainbow {
  0%{background-position:0% 50%;}
  50%{background-position:100% 50%;}
  100%{background-position:0% 50%;}
}
.rainbow-text{
  background: linear-gradient(90deg, #00d9ff, #00ffff, #00ff00, #ffff00, #ff0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size:200% 200%;
  animation: rainbow 4s linear infinite;
  font-weight:bold;
  font-size:32px;
  margin:20px 0;
  text-shadow:0 0 5px #00d9ff;
}

/* ===== Main Profile Section ===== */
.main-content{
  display:flex; flex-direction:column; align-items:stretch;
  justify-content:center;
  margin-top:80px; padding:20px; gap:20px;
  text-align:center;
}
.main-content > *:not(#about):not(.skillcard-wrap):not(.whatido-wrap) {
  align-self: center;
}
#about {
  text-align: left !important;
  width: calc(100% + 40px) !important;
  margin-left: -20px !important;
  margin-right: -20px !important;
  max-width: none !important;
  border-radius: 16px !important;
  box-sizing: border-box;
  border-left: 3px solid #00d9ff !important;
  border-right: 3px solid #00d9ff !important;
  border-top: 1px solid rgba(0,217,255,0.3) !important;
  border-bottom: 1px solid rgba(0,217,255,0.3) !important;
}
.logo-circle{
  width:200px; height:200px; border-radius:50%;
  overflow:hidden; box-shadow:0 0 30px #00d9ff;
  border:3px solid #00d9ff;
}
.logo-circle img{ width:100%; height:100%; object-fit:cover; }

/* ===== Typing SVG Centered ===== */
.typing{
  display:block;
  margin:15px 0 25px;
filter: drop-shadow(0 0 6px #00d9ff);
}

/* ===== Stats Section ===== */
.stats-container{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:25px;
  margin-top:20px;
}
.stat-box{
  background: rgba(10, 30, 50, 0.7);
  backdrop-filter: blur(12px);
  padding:15px 25px;
  border-radius:15px;
  text-align:center;
  box-shadow:0 0 15px #00d9ff;
  min-width:120px;
  transition:0.3s;
}
.stat-number{
  font-size:clamp(20px,5vw,32px);
  font-weight:bold;
  color:#00d9ff;
  text-shadow:0 0 5px #00d9ff;
}
.stat-label{
  font-size:14px;
  color:#fff;
  opacity:0.85;
}
.stat-box:hover{
  transform:translateY(-3px) scale(1.05);
  box-shadow:0 0 25px #00d9ff;
}

/* ===== About Section ===== */
#about{
  max-width:800px; margin:50px auto;
  background: rgba(10, 30, 50, 0.7);
  backdrop-filter: blur(12px);
  padding:25px 20px; border-radius:20px;
  box-shadow:0 0 20px #00d9ff;
  line-height:1.8; text-align:left;
  font-size:16px;
}
#about p{
  margin-bottom:15px;
  text-indent: 1.5em;
}

/* ===== Skills Section ===== */
#featured-projects{
  width: calc(100% + 40px);
  margin-left: -20px;
  margin-right: -20px;
  margin-top: 50px;
  margin-bottom: 50px;
  padding: 0 12px;
  box-sizing: border-box;
}
#featured-projects h2{
  text-align:center;
  font-size:28px;
  margin-bottom:30px;
  background: #ffffff;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
.skills-grid{
  display:flex;
  flex-direction:column;
  gap:20px;
  margin-top:25px;
}
.skill-category{
  backdrop-filter: blur(12px);
  padding:25px;
  border-radius:20px;
  box-shadow:0 0 15px rgba(0, 217, 255, 0.3);
  transition:0.3s;
  border: 1px solid rgba(255,255,255,0.1);
}
.skill-category:hover{
  transform:translateY(-3px);
}
.skill-category-header{
  display:flex;
  align-items:center;
  gap:15px;
  margin-bottom:15px;
}
.skill-category-icon{
  font-size:40px;
  transition:0.3s;
  flex-shrink:0;
}
.skill-category:hover .skill-category-icon{
  transform:scale(1.1);
}
.skill-category h3{
  font-size:22px;
  font-weight:bold;
  color:#fff;
  margin:0;
}
.skill-category p{
  font-size:14px;
  color:rgba(255,255,255,0.85);
  margin-bottom:15px;
  line-height:1.6;
}
.skill-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.skill-tag{
  background:rgba(0, 0, 0, 0.3);
  color:#fff;
  padding:8px 16px;
  border-radius:25px;
  font-size:13px;
  border:1px solid rgba(255, 255, 255, 0.2);
  transition:0.3s;
}
.skill-tag:hover{
  background:rgba(255, 255, 255, 0.1);
  transform:scale(1.05);
  border-color:rgba(255, 255, 255, 0.4);
}

/* Background warna berbeda untuk setiap kategori */
.skill-category:nth-child(1){
  background: rgba(0, 100, 120, 0.4);
}
.skill-category:nth-child(1) .skill-category-icon{
  color:#00d9ff;
}
.skill-category:nth-child(1):hover{
  box-shadow:0 0 25px rgba(0, 217, 255, 0.5);
}

.skill-category:nth-child(2){
  background: rgba(60, 40, 100, 0.4);
}
.skill-category:nth-child(2) .skill-category-icon{
  color:#a78bfa;
}
.skill-category:nth-child(2):hover{
  box-shadow:0 0 25px rgba(167, 139, 250, 0.5);
}

.skill-category:nth-child(3){
  background: rgba(100, 80, 20, 0.4);
}
.skill-category:nth-child(3) .skill-category-icon{
  color:#fbbf24;
}
.skill-category:nth-child(3):hover{
  box-shadow:0 0 25px rgba(251, 191, 36, 0.5);
}

.skill-category:nth-child(4){
  background: rgba(20, 80, 60, 0.4);
}
.skill-category:nth-child(4) .skill-category-icon{
  color:#34d399;
}
.skill-category:nth-child(4):hover{
  box-shadow:0 0 25px rgba(52, 211, 153, 0.5);
}

.skill-category:nth-child(5){
  background: rgba(80, 40, 80, 0.4);
}
.skill-category:nth-child(5) .skill-category-icon{
  color:#c084fc;
}
.skill-category:nth-child(5):hover{
  box-shadow:0 0 25px rgba(192, 132, 252, 0.5);
}

.skill-category:nth-child(6){
  background: rgba(20, 60, 100, 0.4);
}
.skill-category:nth-child(6) .skill-category-icon{
  color:#60a5fa;
}
.skill-category:nth-child(6):hover{
  box-shadow:0 0 25px rgba(96, 165, 250, 0.5);
}

.skill-category:nth-child(7){
  background: rgba(100, 30, 60, 0.4);
}
.skill-category:nth-child(7) .skill-category-icon{
  color:#f472b6;
}
.skill-category:nth-child(7):hover{
  box-shadow:0 0 25px rgba(244, 114, 182, 0.5);
}

.skill-category:nth-child(8){
  background: rgba(20, 80, 100, 0.4);
}
.skill-category:nth-child(8) .skill-category-icon{
  color:#22d3ee;
}
.skill-category:nth-child(8):hover{
  box-shadow:0 0 25px rgba(34, 211, 238, 0.5);
}

.skill-category:nth-child(9){
  background: rgba(70, 20, 100, 0.4);
}
.skill-category:nth-child(9) .skill-category-icon{
  color:#a855f7;
}
.skill-category:nth-child(9):hover{
  box-shadow:0 0 25px rgba(168, 85, 247, 0.5);
}

/* ===== Projects Section ===== */



/* ===== Projects Slider (Horizontal Scroll) ===== */
.projects {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  padding: 20px 15px 25px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

/* Scrollbar yang lebih stylish */
.projects::-webkit-scrollbar {
  height: 8px;
}
.projects::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #00d9ff, #00b8d4);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}
.projects::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #00ffff, #00d9ff);
}
.projects::-webkit-scrollbar-track {
  background: rgba(0, 217, 255, 0.1);
  border-radius: 10px;
}

/* Project Card */


/* Glow effect di atas card */



  100% { background-position: -200% 0; }
}



/* Gradient overlay saat hover */




/* Image Container dengan efek */


/* Project Info */




/* Button/Tag dengan efek keren */








/* Hover Effect pada Card */




/* Mobile optimization */
@media (max-width: 600px) {
  
  
  
  
}
/* ===== Contact Section ===== */
.site-footer{
  background: transparent; color:#00d9ff; text-align:center;
  padding:0rem 0.5rem; margin-top:0rem; 
}
.site-footer a{
  margin:0 10px; color:#00d9ff; font-size:22px; transition:0.3s;
}
.site-footer a:hover{ color:#0ab8d1; transform:scale(1.2); }

/* ===== Responsive ===== */
@media(max-width:500px){
  .logo-circle{ width:150px; height:150px; }
  .rainbow-text{ font-size:24px; }
  .typing{ width:100%; }
  #about{ font-size:14px; padding:20px; }
  .stat-box{ padding:12px 18px; min-width:100px; }
}
/* ===== Hamburger Button ===== */
.menu-btn{
  position:fixed;
  top:15px; right:15px;
  background:rgba(10, 30, 50, 0.8);
  padding:12px 15px;
  border-radius:12px;
  box-shadow:0 0 12px #00d9ff;
  cursor:pointer;
  z-index:9999;
  transition:0.3s;
}
.menu-btn i{
  font-size:22px;
  color:#00d9ff;
}
.menu-btn:hover{
  transform:scale(1.1);
  box-shadow:0 0 18px #00d9ff;
}

/* ===== Side Menu ===== */

.side-menu a{
  color:#00d9ff;
  font-size:18px;
  text-decoration:none;
  padding:10px 20px;
  transition:0.3s;
}
.side-menu a:hover{
  background:#00d9ff;
  color:#0a1628;
  border-radius:10px;
}

/* Menu active */
.side-menu.active{
  right:0;
}
.skill-box {
  margin-bottom: 20px;
}

.skill-title {
  margin-bottom: 5px;
  font-weight: bold;
  color: #00d9ff;
  text-shadow: 0 0 6px #00d9ff;
}

.skill-bar {
  width: 100%;
  height: 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg,#00d9ff,#ff00ff);
  box-shadow: 0 0 10px #00d9ff;
  animation: grow 1.5s ease-out forwards;
}

@keyframes grow {
  from { width: 0; }
}
  .apk-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-height: 65vh; /* scrollable list */
  overflow-y: auto;
  padding-right: 6px;
}

.apk-list::-webkit-scrollbar {
  width: 6px;
}
.apk-list::-webkit-scrollbar-thumb {
  background: #00d9ff;
  border-radius: 10px;
}
.apk-list::-webkit-scrollbar-track {
  background: transparent;
}
.apk-item {
  display:flex;align-items:center;gap:15px;background:rgba(0,0,0,0.6);backdrop-filter:blur(10px);padding:15px 5px;border-radius:14px;
}

.apk-item img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
}

.apk-item .apk-info b {
  color: #00d9ff;
  display: block;
}
.apk-item .apk-info small {
  opacity: 0.8;
  font-size: 12px;
}

/* Modal Scroll & Style */




.panel-handle{
  width:50px;height:5px;
  background:#00d9ff;
  border-radius:10px;
  margin:0 auto 15px;
}
.panel-scroll::-webkit-scrollbar{
  width:5px;
}
.panel-scroll::-webkit-scrollbar-thumb{
  background:#00d9ff;
  border-radius:10px;
}
.panel-scroll::-webkit-scrollbar-track{
  background:transparent;
}
.panel-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
}
.panel-header span{color:#00d9ff;font-size:20px}
.panel-header button{
  background:none;border:none;
  color:#fff;font-size:22px;
  cursor:pointer;
}

.panel-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
  margin-top: 15px;
  
}
/* ===== PANEL ITEM FLAT + SHADOW ===== */
.panel-item{
  position:relative;
  background:rgba(255,255,255,0.06);
  border-radius:16px;
  padding:22px 10px;
  cursor:pointer;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;

  /* BAYANGAN BALIK */
  box-shadow:
    0 0 14px rgba(0,255,255,.35);

  transition: background .2s ease, box-shadow .2s ease;
}

/* ICON */
.panel-item i{
  font-size:26px;
  color:#00d9ff;
  text-shadow:0 0 8px #00d9ff;
}

/* TEXT */
.panel-item span{
  font-size:14px;
  font-weight:600;
  letter-spacing:.4px;
  opacity:.95;
}

/* HOVER → BAYANGAN LEBIH TERANG (TETAP RATA) */
.panel-item:hover{
  background:rgba(0,255,255,.12);
  box-shadow:
    0 0 22px rgba(0,255,255,.6);
}

/* KLIK → BAYANGAN MASUK (BUKAN NONJOL) */
.panel-item:active{
  background:rgba(0,255,255,.18);
  box-shadow:
    inset 0 0 18px rgba(0,255,255,.8);
}

.panel-footer{
  margin-top:25px;
  text-align:center;
  font-size:13px;
  opacity:.85;
}
.online{
  display:inline-block;
  width:8px;height:8px;
  background:#00ff6a;
  border-radius:50%;
  margin-right:6px;
}
#panelMenu{
  box-shadow:0 -10px 40px rgba(0,255,255,.35);
}

.panel-item{
  position:relative;
  overflow:hidden;
}

.panel-item::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,transparent,#00d9ff,transparent);
  opacity:.15;
  transform:translateX(-100%);
}

.panel-item:hover::after{
  animation:shine .8s;
}
/* EFFECT SCAN LIGHT */
.panel-item::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    120deg,
    transparent,
    rgba(0,255,255,.6),
    transparent
  );
  opacity:.2;
  transform:translateX(-100%);
}

.panel-item:hover::after{
  animation:scan .8s linear;
}
/* HOVER → GERAK SEDIKIT AJA */
.panel-item:hover{
  transform:translateY(-2px);
  box-shadow:
    0 0 22px rgba(0,255,255,.65),
    inset 0 0 16px rgba(255,255,255,.12);
}

/* TEKAN → MASUK KE DALAM (BUKAN GEDE) */
.panel-item:active{
  transform:translateY(0) scale(0.98);
  box-shadow:
    inset 0 0 28px rgba(0,255,255,.9);
}
.panel-item:hover{
  transform:translateY(-1px);
}

.panel-item:active{
  transform:scale(0.97);
}
@keyframes scan{
  to{ transform:translateX(100%); }
}
@keyframes shine{
  to{transform:translateX(100%)}
}
.top-bar{
  position:fixed;
  top:15px;
  left:50%;
  transform:translateX(-50%);
  width:90%;
  max-width:420px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  background:rgba(0,0,0,0.25);
  backdrop-filter:blur(14px);
  border-radius:18px;
  padding:12px 16px;

  box-shadow:0 0 18px rgba(0,255,255,.35);
  z-index:10002;
}

/* Jam */
.time-box{
  display:flex;
  align-items:center;
  gap:8px;
  color:#00d9ff;
  font-size:18px;
  font-weight:600;
}

.time-box i{
  font-size:18px;
}

/* Tombol menu */
.menu-toggle{
  background:rgba(255,255,255,0.08);
  border:none;
  width:42px;
  height:42px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:.3s;
}

.menu-toggle i{
  font-size:20px;
  color:#00d9ff;
}

.menu-toggle:hover{
  background:rgba(0,255,255,0.2);
  box-shadow:0 0 12px #00d9ff;
}
.project-video{
display: flex;
justify-content: center;
width:100%;

border-radius:14px;
overflow:hidden;
box-shadow:0 0 18px rgba(0,255,255,.45);
}

.project-video video{
width:100%;
height:100%;
display:block;
object-fit:cover;
pointer-events:none; /* TANPA CONTROL */
}


.video-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    to top,
    rgba(0,0,0,.55),
    transparent 60%
  );
  pointer-events:none;
}

.project-video span{
  position:absolute;
  bottom:10px;
  left:12px;
  font-weight:600;
  color:#00d9ff;
  text-shadow:0 0 8px #000;
}
/* CARD */
    .card{
      background:linear-gradient(180deg, rgba(16,23,34,.95), rgba(16,23,34,.75));
      border:1px solid var(--border);
      border-radius:14px;
      padding:22px;
    }
    /* PROJECT CARD */
    

    

    

    

    

    

    

    footer{
      text-align:center;
      padding:40px 20px;
      color:var(--muted);
      border-top:1px solid var(--border);
    }
    .project-video video{
  width:100%;
  height:180px;
  border-radius:14px;
  object-fit:cover;
  box-shadow:0 0 12px rgba(0,255,255,.45);
}
.profile-banner {
  width: 100%;             /* lebar banner */
  max-width: 400px;
  height: 200px;          /* tinggi banner */
  margin: 0 auto 30px;
  background: url('https://raw.githubusercontent.com/PretyFX69/music-files2/refs/heads/main/coding.jpg') center/cover no-repeat; /* gambar background */
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 5px #00d9ff;
  border:1px solid #00d9ff;
}

/* Foto profil lingkaran menonjol */
.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border:1px solid #00d9ff;
  box-shadow: 0 0 12px #00d9ff;
  position: absolute;
  bottom: -20px; /* sedikit menonjol keluar */
  overflow:hidden; box-shadow:0 0 5px #00d9ff;
  
}






  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 10px;
  }

  .product-card {
    position: relative;
    background: linear-gradient(145deg, rgba(15,35,60,0.9), rgba(10,25,45,0.9));
    backdrop-filter: blur(15px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,217,255,0.15), 
                inset 0 1px 0 rgba(255,255,255,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,217,255,0.2);
  }

  .product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00d9ff, #00ffff, #00d9ff);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
  }

  @keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }

  .product-card:hover::before {
    opacity: 1;
  }

  .product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 45px rgba(0,217,255,0.3),
                0 0 60px rgba(0,217,255,0.1),
                inset 0 1px 0 rgba(255,255,255,0.2);
    border-color: rgba(0,217,255,0.5);
  }

  .product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    border-bottom: 2px solid rgba(0,217,255,0.3);
    transition: all 0.4s ease;
  }

  .product-card:hover img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.05);
  }

  .product-info {
    padding: 25px;
    text-align: left;
  }

  .product-info h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0,217,255,0.3);
    line-height: 1.3;
  }

  .product-info p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin: 0 0 20px 0;
    text-align: justify;
  }

  .product-info 

  .product-info 

  .product-info 

  .product-info 

  .product-info 

  /* Lightbox overlay */
  

  



  @media (max-width: 500px) {
    .product-card img {
      height: 140px;
    }
  }
  /* ===== STORE PRODUCT CARD ===== */


/* IMAGE */




/* INFO */





/* BUTTON */















/* Card tetap ukuran sama */

/* OVERLAY */
#panelOverlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

/* POPUP MENU */
#panelMenu{
  width: 90%;
  max-width: 420px;
  max-height: 80vh;     /* sedikit dipendekin */

  background: rgba(0,0,0,0.95);
  border-radius: 24px;

  padding: 26px 22px;
  margin-top: 80px;    /* ⬅️ INI KUNCINYA */

  overflow-y: auto;
  box-shadow: 0 0 40px rgba(0,255,255,.45);
  animation: pop .35s ease;
}
/* animasi muncul */
@keyframes pop{
  from{
    transform: scale(.85);
    opacity: 0;
  }
  to{
    transform: scale(1);
    opacity: 1;
  }
}
@media (min-width: 1024px){
  .top-bar{
    max-width: 900px;
    padding: 14px 20px;
  }
}
/* ===== GAMING HAMBURGER BUTTON ===== */
.gaming-toggle{
  width:44px;
  height:44px;
  background:rgba(0,255,255,.12);
  border:none;
  border-radius:14px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  cursor:pointer;
  box-shadow:0 0 15px rgba(0,255,255,.45);
  transition:.3s;
}

.gaming-toggle span{
  width:22px;
  height:3px;
  background:#00d9ff;
  border-radius:6px;
  box-shadow:0 0 10px #00d9ff;
  transition:.35s;
}

/* Hover efek gaming */
.gaming-toggle:hover{
  transform:scale(1.1);
  box-shadow:0 0 25px #00d9ff;
}

/* ===== AKTIF → JADI X ===== */
.gaming-toggle.active span:nth-child(1){
  transform:translateY(9px) rotate(45deg);
}
.gaming-toggle.active span:nth-child(2){
  opacity:0;
}
.gaming-toggle.active span:nth-child(3){
  transform:translateY(-9px) rotate(-45deg);
}

.page-section.active {
  display: block;
}
#Product h2 {
  margin-top: 100px; /* turunin judul biar gak ketutup panel */
}
#projects h2 {
 margin-top: 100px; 
}


/* Garis bawah neon animasi */


@keyframes glow-line {
  0% { box-shadow: 0 0 10px #00d9ff, 0 0 20px #00d9ff; transform: translateX(-50%) scaleX(1); }
  50% { box-shadow: 0 0 15px #00ff00, 0 0 25px #ffff00; transform: translateX(-50%) scaleX(1.05); }
  100% { box-shadow: 0 0 10px #00d9ff, 0 0 20px #00ffff; transform: translateX(-50%) scaleX(1); }
}

/* Deskripsi tetap di bawah */

/* Garis bawah panjang neon */


@keyframes glow-line-long {
  0% { box-shadow: 0 0 10px #00d9ff, 0 0 20px #00d9ff; transform: scaleX(1); }
  50% { box-shadow: 0 0 15px #00ff00, 0 0 25px #ffff00; transform: scaleX(1.05); }
  100% { box-shadow: 0 0 10px #00d9ff, 0 0 20px #00ffff; transform: scaleX(1); }
}
    .bg {
        position: fixed;
        inset: 0;
        background: url("https://raw.githubusercontent.com/NdikzDatabase/Database/main/Database/1762559143736-x3crbj.jpg") 
        center/cover no-repeat;
        mix-blend-mode: screen;
        opacity: 0.35;
        z-index: -3;
    }
    .grid {
        position: fixed;
        width: 200%;
        height: 200%;
        top: -20%;
        left: -50%;
        background:
          repeating-linear-gradient(#ffffff05 0px,#ffffff05 2px,transparent 2px,transparent 60px),
          repeating-linear-gradient(90deg,#ffffff05 0px,#ffffff05 2px,transparent 2px,transparent 60px);
        animation: gridmove 18s linear infinite;
        z-index: -2;
        opacity: 0.18;
    }
    @keyframes gridmove { from {transform: translateY(0);} to {transform: translateY(-300px);} }

    .container {
        width: 100%;
        max-width: 920px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 360px;
        gap: 18px;
    }

    .player {
        padding: 24px 20px 20px;
        border-radius: 24px;
        background: linear-gradient(160deg, rgba(0,30,50,0.95) 0%, rgba(0,10,30,0.98) 100%);
        border: 1px solid rgba(0,217,255,0.2);
        backdrop-filter: blur(16px);
        box-shadow: 0 0 40px rgba(0,217,255,0.15), 0 8px 32px rgba(0,0,0,0.5);
    }

    .brand { 
       text-align:center; 
       margin-top: 100px;
       margin-bottom:14px; 
       font-weight:700;
       font-size:26px; 
       color:transparent;
       display:block;
       background:linear-gradient(90deg,#ff4da6,#ffd54a,#4df5ff,#7d6bff,#ff6b6b);
      background-clip:
      text;-webkit-background-clip:text;
      animation:rainbow 6s linear infinite;background-size:300% 100%;
    }
    @keyframes rainbow { 0%{background-position:0%}50%{background-position:100%}100%{background-position:0%} }

    /* Animasi masuk musik */
    @keyframes musicSlideDown {
        from { opacity:0; transform: translateY(-30px); }
        to   { opacity:1; transform: translateY(0); }
    }
    @keyframes musicSlideUp {
        from { opacity:0; transform: translateY(40px); }
        to   { opacity:1; transform: translateY(0); }
    }
    @keyframes musicZoomIn {
        from { opacity:0; transform: scale(0.75); }
        to   { opacity:1; transform: scale(1); }
    }
    @keyframes musicFadeLeft {
        from { opacity:0; transform: translateX(-30px); }
        to   { opacity:1; transform: translateX(0); }
    }

    .music-anim-brand   { animation: musicSlideDown 0.45s cubic-bezier(.22,1,.36,1) both; }
    .music-anim-cd      { animation: musicZoomIn    0.5s  cubic-bezier(.22,1,.36,1) 0.1s both; }
    .music-anim-visual  { animation: musicSlideUp   0.4s  cubic-bezier(.22,1,.36,1) 0.18s both; }
    .music-anim-info    { animation: musicSlideUp   0.4s  cubic-bezier(.22,1,.36,1) 0.24s both; }
    .music-anim-bar     { animation: musicSlideUp   0.4s  cubic-bezier(.22,1,.36,1) 0.3s  both; }
    .music-anim-ctrl    { animation: musicSlideUp   0.4s  cubic-bezier(.22,1,.36,1) 0.36s both; }
    .music-anim-search  { animation: musicSlideUp   0.4s  cubic-bezier(.22,1,.36,1) 0.42s both; }
    .music-anim-list    { animation: musicFadeLeft  0.45s cubic-bezier(.22,1,.36,1) 0.48s both; }

    .cd-box { 
      text-align:center; 
      margin: 10px 0 20px;
      position: relative;
    }

    .cd {
        width: 160px !important;
        height: 160px !important;
        border-radius: 50% !important;
        margin: 0 auto;
        background-size: cover;
        background-position: center;
        border: 4px solid #00d9ff;
        box-shadow: 0 0 0 12px rgba(0,217,255,0.12), 0 0 35px rgba(0,217,255,0.6), 0 0 60px rgba(0,217,255,0.25);
        transform-origin: center;
        transition: box-shadow .35s ease;
        animation: spin 12s linear infinite;
        animation-play-state: paused;
        cursor: pointer;
        position: relative;
        clip-path: none !important;
        -webkit-tap-highlight-color: transparent;
        outline: none;
    }
    .cd::after {
      content: none;
    }
    @keyframes spin { 
      from {transform:rotate(0deg)} to {transform:rotate(360deg)} }
    .cd.playing { 
      animation-play-state: running;
      box-shadow: 0 0 0 8px rgba(0,217,255,0.12), 0 0 50px rgba(0,217,255,0.5);
      border-color: #00d9ff;
    }

    .visualizer { 
      display:flex; 
      justify-content:center;
      gap:4px; 
      margin-top:12px; 
      height:36px; align-items:flex-end; }
    .bar { 
      width:6px; 
      height:6px; 
      background:linear-gradient(135deg,#00d9ff,#00d9ff); 
      border-radius:3px; 
      transition:height .12s linear;
    }

    .side {
        padding: 18px;
        border-radius: 18px;
        background: rgba(0,0,0,0.18);
        border: 1px solid rgba(255,255,255,0.04);
        backdrop-filter: blur(6px);
    }

    select, input[type="text"] {
        width:100%; 
        padding:10px 12px; 
        border-radius:10px; 
        border:none;
        background: rgba(255,255,255,0.06); 
        color:white; 
        font-size:15px; margin-bottom:12px;
    }

    .btn {
        width:100%; 
        padding:12px; 
        border-radius:10px; 
        border:none; 
        cursor:pointer;
        font-size:16px; 
        background:linear-gradient(135deg,#00CED1,#9900ff); 
        color:white; 
        box-shadow:0 0 5px #00CED1;
    }
    .controls { 
      display: flex; 
      gap: 16px; 
      margin: 16px 0 10px; 
      align-items: center; 
      justify-content: center;
    }
    .controls button { 
      background: rgba(0,217,255,0.08);
      border: 1px solid rgba(0,217,255,0.2);
      color: white;
      font-size: 20px; 
      cursor: pointer; 
      padding: 12px 16px; 
      border-radius: 50%;
      transition: all 0.2s ease;
      display: flex; align-items: center; justify-content: center;
      width: 48px; height: 48px;
    }
    .controls button:hover {
      background: rgba(0,217,255,0.2);
      border-color: #00d9ff;
      box-shadow: 0 0 12px rgba(0,217,255,0.3);
      transform: scale(1.08);
    }
    .controls button:active { transform: scale(0.95); }
    #playBtn {
      width: 64px !important;
      height: 64px !important;
      font-size: 26px !important;
      background: linear-gradient(135deg, rgba(0,217,255,0.25), rgba(0,100,180,0.3)) !important;
      border: 2px solid #00d9ff !important;
      box-shadow: 0 0 20px rgba(0,217,255,0.3) !important;
    }
    #playBtn:hover {
      box-shadow: 0 0 30px rgba(0,217,255,0.6) !important;
    }

    .yt-info { 
      text-align: center; 
      margin-top: 12px;
      padding: 0 8px;
    }
    .yt-info h2 { 
      font-size: 17px;
      font-weight: 700;
      margin-bottom: 4px; 
      white-space: nowrap; 
      overflow: hidden; 
      text-overflow: ellipsis;
      color: #fff;
      letter-spacing: 0.3px;
    }
    .yt-info p { 
      font-size: 13px; 
      color: rgba(0,217,255,0.8);
      margin: 0;
      font-weight: 500;
    }

    .yt-bar { 
      width: 100%; 
      height: 5px; 
      background: rgba(255,255,255,0.1); 
      border-radius: 10px; 
      position: relative; 
      cursor: pointer; 
      margin-top: 14px;
      transition: height 0.2s ease;
    }
    .yt-bar:hover {
      height: 7px;
    }
    .yt-bar:hover #seekThumb {
      opacity: 1;
    }
    #progress { 
      width: 0%; 
      height: 100%; 
      background: linear-gradient(90deg, #00d9ff, #00aaff); 
      border-radius: 10px; 
      transition: width .1s linear;
      box-shadow: 0 0 8px rgba(0,217,255,0.6);
      position: relative;
    }
    #seekThumb {
      position: absolute;
      right: -6px;
      top: 50%;
      transform: translateY(-50%);
      width: 14px; height: 14px;
      background: #00d9ff;
      border-radius: 50%;
      box-shadow: 0 0 8px #00d9ff;
      opacity: 0;
      transition: opacity 0.2s;
      pointer-events: none;
    }
    .time-row { 
      display: flex; 
      justify-content: space-between; 
      font-size: 12px; 
      color: rgba(255,255,255,0.6); 
      margin-top: 8px;
      padding: 0 2px;
    }
    .time-row span { font-variant-numeric: tabular-nums; }

    .playlist { 
      max-height:300px; 
      overflow:auto; 
      margin-top:12px;
      border-top:1px solid #333; 
      padding-top:10px;
      }
    .song-item { 
      padding:10px; 
      background:#111; 
      margin-bottom:8px; 
      border-radius:8px; 
      cursor:pointer; 
      display:flex; 
      justify-content:space-between; 
      align-items:center;
      }
    .song-item:hover { background:#222; }
    .song-meta { 
      display:flex; 
      flex-direction:column; 
      gap:2px; }
    .song-title { font-size:15px; }
    .song-artist { font-size:12px; opacity:0.65; }

    @media (max-width:880px){
      .container{grid-template-columns:1fr; 
      padding-bottom:40px;}
      .side{order:2;margin-top:10px;}
    }
    .playlist { height: calc(100vh - 250px); }
.menu-panel {
    position: absolute;
    top: 60px;      
    left: 12px;       /* biar nempel kiri */
    width: 150px;
    background: rgba(0,0,0,0.48);
    backdrop-filter: blur(10px);
    border-radius: 14px;

    /* GARIS PEMBATAS MENU */
    border: 1px solid rgba(255,255,255,0.2);

    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    padding: 8px 0;
    display: none;
    z-index: 9999;
}

.menu-item {
    padding: 12px 16px;
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
    border-bottom: 1px solid rgba(255,255,255,0.15); /* GARIS ANTAR ITEM */
}

.menu-item:last-child {
    border-bottom: none; /* item terakhir tanpa garis */
}

.menu-item:hover {
    background: rgba(255,255,255,0.10);
}
.menu-btn {
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: white;
    font-size: 25px;
    cursor: pointer;
    padding: 6px;
}

.menu-btn:focus,
.menu-btn:active {
    outline: none !important;
    background: none !important;
    box-shadow: none !important;
}
.submenu {
        position: absolute;
    top: 80px;        /* supaya dekat tombol */
    left: 150px;       /* biar nempel kiri */
    width: 150px;
    background: rgba(0,0,0,0.48);
    backdrop-filter: blur(10px);
    border-radius: 14px;

    /* GARIS PEMBATAS MENU */
    border: 1px solid rgba(255,255,255,0.2);

    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    padding: 8px 0;
    display: none;
    z-index: 9999;
}

.submenu-item {
    padding: 12px 16px;
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.submenu-item:hover {
    background: rgba(255,255,255,0.1);
}
.title-wrap {
  width: 100%;
  max-width: 260px;   /* <— batas lebar text, aman buat player kamu */
  margin: 0 auto;
  overflow: hidden;
  white-space: nowrap;
  text-align: center;
  position: relative;
}

.title-scroll {
  display: inline-block;
  white-space: nowrap;
}

.scrolling {
  animation: scroll-title 20s linear infinite;
  padding-left: 100%;
}

@keyframes scroll-title {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.page-section { display:none; }
.page-section.active { display:block; }
#ai iframe {
  background: #000;
}
/* sembunyikan footer hanya saat page AI aktif */
.page.no-footer ~ .site-footer {
  display: none !important;
}

#ai iframe {
  height: calc(100vh - 80px);
}
/* MENU AI FULL LAYAR */
/* MENU AI FULL FRAME */
#ai {
  height: 100vh;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: #070f1a;
}

/* IFRAME FULL */
#ai iframe,
.ai-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  margin-top: 1.9px;
}

/* HILANGKAN FOOTER DI AI */
#ai.active ~ .site-footer,
#ztools.active ~ .site-footer,
#music.active ~ .site-footer {
  display: none;
}

/* Jarak antara top-bar (jam+hamburger) dan konten music */
#music .czm-topbar {
  margin-top: 72px !important;
}
/* KHUSUS SAAT MENU AI AKTIF */
/* KHUSUS SAAT MENU AI AKTIF */

/* ===== SECTION BREAK ===== */

.hobi-section {
  width: calc(100% + 40px);
  margin-left: -20px;
  margin-top: 24px;
  margin-bottom: 10px;
  padding: 0;
  box-sizing: border-box;
}
.hobi-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.hobi-icon-box {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: rgba(0,217,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: #00d9ff;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(0,217,255,0.2);
}
.hobi-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.hobi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hobi-card {
  background: rgba(10, 30, 50, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,217,255,0.15);
  border-radius: 16px;
  padding: 20px 18px;
  transition: 0.3s;
  box-shadow: 0 0 12px rgba(0,217,255,0.1);
}
.hobi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 22px rgba(0,217,255,0.3);
  border-color: rgba(0,217,255,0.4);
}
.hobi-card-icon {
  display: block;
  font-size: 28px;
  color: #00d9ff;
  text-shadow: 0 0 8px rgba(0,217,255,0.5);
  margin: 0 0 12px 0;
  line-height: 1;
}
.hobi-card-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 5px 0;
}
.hobi-card-desc {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  margin: 0;
}

/* ===== SECTION BREAK ===== */

.skillcard {
  background: rgba(10,30,50,0.7);
  backdrop-filter: blur(12px);
  border-left: 3px solid #00d9ff !important;
  border-right: 3px solid #00d9ff !important;
  border-top: 1px solid rgba(0,217,255,0.3) !important;
  border-bottom: 1px solid rgba(0,217,255,0.3) !important;
  border-radius: 20px;
  padding: 24px 20px;
  width: calc(100% + 40px);
  margin-left: -20px;
  box-sizing: border-box;
  box-shadow: 0 0 15px rgba(0,217,255,0.15);
}
.skillcard-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.skillcard-icon-box {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: rgba(0,217,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: #00d9ff;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(0,217,255,0.2);
}
.skillcard-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.skillcard-item {
  margin-bottom: 16px;
}
.skillcard-item:last-child { margin-bottom: 0; }
.skillcard-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}
.skillcard-item-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  color: #e2e8f0;
  font-weight: 500;
}
.skillcard-item-label i {
  font-size: 14px;
  color: #00d9ff;
  width: 18px;
  text-align: center;
}
.skillcard-item-pct {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}
.skillcard-bar-bg {
  width: 100%;
  height: 7px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
}
.skillcard-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #00d9ff, #7c3aed, #a855f7);
}
.skillcard-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00d9ff, #a855f7, transparent);
  margin: 14px 0;
}
#ai * {
    box-sizing: border-box;
}

#ai {
    --primary-cyan: #00fff6;
    --primary-dark: #0099cc;
    --bg-dark: #0a1628;
    --bg-darker: #070f1a;
    --bg-light: #1a2942;
    --text-primary: #ffffff;
    --text-secondary: #b0c4de;
    --text-muted: #6b7c93;
    --border-color: rgba(0, 217, 255, 0.2);
    --shadow-color: rgba(0, 217, 255, 0.3);
    --success: #00ff88;
    --danger: #ff4444;
}

/* ANGRY THEME - Tampilan Merah Semua */
#ai.angry-theme {
    background: linear-gradient(135deg, #1a0000 0%, #2a0000 50%, #3a0000 100%);
    animation: angryPulseBody 3s infinite;
}

@keyframes angryPulseBody {
    0%, 100% { background: linear-gradient(135deg, #1a0000 0%, #2a0000 50%, #3a0000 100%); }
    50% { background: linear-gradient(135deg, #2a0000 0%, #3a0000 50%, #4a0000 100%); }
}
/* angry theme: make #ai cover full viewport when active */
#ai.angry-theme {
    position: fixed;
    inset: 0;
    z-index: 1;
}

#ai.angry-theme .logo-text {
    color: #fff;
    text-shadow: 0 0 10px #ff0000;
}

#ai.angry-theme .beta-badge {
    background: rgba(255, 0, 0, 0.3);
    border: 1px solid #ff0000;
}

#ai.angry-theme .btn-icon {
    border-color: rgba(255, 0, 0, 0.5);
    background: rgba(255, 0, 0, 0.1);
}

#ai.angry-theme .btn-icon:hover {
    background: rgba(255, 0, 0, 0.3);
    border-color: #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

#ai.angry-theme .input-area {
    background: rgba(30, 0, 0, 0.97);
    border-top: 2px solid rgba(255, 0, 0, 0.6);
    box-shadow: 0 -4px 20px rgba(255, 0, 0, 0.3);
}

#ai.angry-theme .input-container {
    background: rgba(255, 0, 0, 0.06);
    border-color: rgba(255, 0, 0, 0.3);
    box-shadow: 0 4px 24px rgba(255, 0, 0, 0.12), 0 2px 8px rgba(0,0,0,0.4);
}

#ai.angry-theme .input-container:focus-within {
    border-color: #ff0000;
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.15), 0 6px 28px rgba(255, 0, 0, 0.2);
}

#ai.angry-theme #userInput {
    background: transparent;
    border-color: transparent;
}

#ai.angry-theme #userInput:focus {
    border-color: transparent;
    box-shadow: none;
}

#ai.angry-theme #userInput::-webkit-scrollbar-thumb {
    background: #ff0000;
}

#ai.angry-theme .help-feat-card { border-color:rgba(255,0,0,0.1); }
#ai.angry-theme .help-feat-card:hover { background:rgba(255,0,0,0.05);border-color:rgba(255,0,0,0.2); }
#ai.angry-theme .help-feat-desc code { background:rgba(255,0,0,0.1);color:#ff4444; }
#ai.angry-theme #helpBtn { color:#ff4444 !important; border-color:rgba(255,0,0,0.3) !important; background:rgba(255,0,0,0.08) !important; }
#ai.angry-theme #helpModal .modal-title { color:#ffffff !important; }
#ai.angry-theme #helpModal .modal-title + * i,
#ai.angry-theme #helpModal .modal-header i.fa-robot { color:#ff3333 !important; }
#ai #helpModalClose { background:rgba(0,217,255,0.08) !important; border:1px solid rgba(0,217,255,0.25) !important; color:var(--primary-cyan) !important; }
#ai #helpModalClose:hover { background:rgba(0,217,255,0.18) !important; }
#ai.angry-theme #helpModalClose { background:rgba(255,0,0,0.12) !important; border:1px solid rgba(255,0,0,0.3) !important; color:#ff4444 !important; }
#ai.angry-theme #helpModal .modal-close { background:rgba(255,0,0,0.12) !important; border:1px solid rgba(255,0,0,0.3) !important; color:#ff4444 !important; }
#ai.angry-theme #helpModal .modal-close:hover { background:rgba(255,0,0,0.25) !important; }
#ai.angry-theme .send-btn {
    background: linear-gradient(135deg, #8b0000 0%, #ff0000 100%);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.5);
}

#ai.angry-theme .send-btn:hover {
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.7);
}

#ai.angry-theme #sendBtn {
    background: linear-gradient(135deg, #8b0000 0%, #ff0000 100%) !important;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.5) !important;
}

#ai.angry-theme #sendBtn:hover:not(:disabled) {
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.7) !important;
}

#ai.angry-theme .message.ai .message-bubble {
    background: transparent;
    border: none;
    box-shadow: none;
}

#ai.angry-theme .message.user .message-bubble {
    background: rgba(120, 0, 0, 0.6);
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

#ai.angry-theme .ai-avatar {
    background: linear-gradient(135deg, #8b0000 0%, #ff0000 100%);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    animation: angryAvatarPulse 2s infinite;
}

#ai.angry-theme .user-avatar {
    background: linear-gradient(135deg, #8b0000 0%, #ff0000 100%);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

@keyframes angryAvatarPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(255, 0, 0, 0.5); }
    50% { transform: scale(1.1); box-shadow: 0 0 30px rgba(255, 0, 0, 0.8); }
}

#ai.angry-theme .chat-container::-webkit-scrollbar-thumb {
    background: #ff0000;
}

#ai.angry-theme .feature-card {
    border-color: rgba(255, 0, 0, 0.2);
}

#ai.angry-theme .feature-card:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: #ff0000;
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.3);
}

#ai.angry-theme .feature-icon {
    color: #ff0000;
}

#ai.angry-theme .hero-icon {
    background: linear-gradient(135deg, #ff0000 0%, #ff6666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.5));
}

/* Modal styling untuk angry theme */
#ai.angry-theme .modal-content {
    background: linear-gradient(135deg, #1a0000 0%, #2a0000 100%);
    border-color: #ff0000;
    box-shadow: 0 20px 60px rgba(255, 0, 0, 0.5);
}

#ai.angry-theme .modal-header {
    border-bottom-color: rgba(255, 0, 0, 0.3);
}

#ai.angry-theme .modal-title {
    color: #ff0000;
}

#ai.angry-theme .modal-title i {
    color: #ff0000;
}

#ai.angry-theme .close-btn {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.3);
    color: #ff6666;
}

#ai.angry-theme .close-btn:hover {
    background: #ff0000;
    color: #fff;
    border-color: #ff0000;
}

#ai.angry-theme .modal-body::-webkit-scrollbar {
    width: 4px;
}

#ai.angry-theme .modal-body::-webkit-scrollbar-thumb {
    background: #ff0000;
}

#ai.angry-theme .modal-footer {
    border-top-color: rgba(255, 0, 0, 0.3);
}

#ai.angry-theme .settings-label {
    color: #ffcccc;
}

#ai.angry-theme .settings-label i {
    color: #ff0000;
}

#ai.angry-theme .settings-input, #ai.angry-theme .settings-select {
    border-color: rgba(255, 0, 0, 0.3);
    background: rgba(255, 0, 0, 0.05);
    color: #ffcccc;
}

#ai.angry-theme .settings-input:focus, #ai.angry-theme .settings-select:focus {
    border-color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
}

#ai.angry-theme .toggle-password {
    color: #ff6666;
}

#ai.angry-theme .toggle-password:hover {
    color: #ff0000;
}

#ai.angry-theme .settings-hint {
    color: #ff6666;
}

#ai.angry-theme .settings-hint a {
    color: #ff0000;
}

#ai.angry-theme .btn-primary {
    background: linear-gradient(135deg, #8b0000 0%, #ff0000 100%);
    border-color: #ff0000;
}

#ai.angry-theme .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
}

#ai.angry-theme .btn-secondary {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.3);
    color: #ff6666;
}

#ai.angry-theme .btn-secondary:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: #ff0000;
    color: #fff;
}

#ai.angry-theme .response-card {
    border-color: rgba(255, 0, 0, 0.2);
    background: rgba(255, 0, 0, 0.05);
}

#ai.angry-theme .response-card:hover {
    border-color: rgba(255, 0, 0, 0.4);
    background: rgba(255, 0, 0, 0.1);
}

#ai.angry-theme .response-card.active {
    border-color: #ff0000;
    background: rgba(255, 0, 0, 0.15);
}

#ai.angry-theme .response-card-icon {
    color: #ff0000;
}

#ai.angry-theme .response-card-title {
    color: #ffcccc;
}

#ai.angry-theme .response-card-desc {
    color: #ff6666;
}

#ai.angry-theme .response-card-desc {
    color: #ff6666;
}

#ai.angry-theme .info-item {
    border-color: rgba(255, 0, 0, 0.2);
    background: rgba(255, 0, 0, 0.05);
}

#ai.angry-theme .info-icon {
    color: #ff0000;
}

#ai.angry-theme .info-title {
    color: #ffcccc;
}

#ai.angry-theme .info-desc {
    color: #ff6666;
}

#ai.angry-theme .response-card:hover {
    border-color: rgba(255, 0, 0, 0.4);
}

#ai.angry-theme .response-card.active {
    background: rgba(255, 0, 0, 0.15);
    border-color: #ff0000;
    box-shadow: 0 4px 16px rgba(255, 0, 0, 0.3);
}

#ai.angry-theme .response-card.active .response-card-title {
    color: #ff0000;
}

#ai.angry-theme .response-card.active .response-card-icon {
    color: #ff0000;
}

#ai.angry-theme .response-card[data-length].active .response-card-title, #ai.angry-theme .response-card[data-length].active .response-card-icon {
    color: #ff0000 !important;
}

#ai.angry-theme .slider-value {
    color: #ff0000;
}

#ai.angry-theme .sett-pill {
    border-color: rgba(255,0,0,0.2);
    background: rgba(255,0,0,0.05);
    color: #ff6666;
}

#ai.angry-theme .sett-pill:hover {
    border-color: rgba(255,0,0,0.4);
    background: rgba(255,0,0,0.1);
    color: #ffaaaa;
}

#ai.angry-theme .sett-pill.active {
    border-color: #ff0000;
    background: rgba(255,0,0,0.15);
    color: #ff0000;
}

#ai.angry-theme .info-item i {
    color: #ff0000;
}

#ai.angry-theme .info-item strong {
    color: #ff4444;
}

#ai.angry-theme .info-logo {
    color: #ff0000;
}

#ai.angry-theme .info-item i {
    color: #ff0000;
}

#ai.angry-theme .info-item strong {
    color: #ff0000;
}

/* Loading spinner untuk mode switch */
@keyframes wormLoading {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#ai .worm-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 0, 0, 0.3);
    border-top: 3px solid #ff0000;
    border-radius: 50%;
    animation: wormLoading 0.8s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

/* Container */
#ai .container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-width: 100%;
    margin: 0 auto;
    background: #0a1628;
}

/* Header */
#ai .header {
    background: linear-gradient(135deg, var(#00D9FF) 0%, var(#00D9FF) 100%);
    padding: 16px 24px;
    box-shadow: 0 4px 20px var(#00D9FF);
    position: relative;
    z-index: 100;
    margin-top: 40px;
}

#ai .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

#ai .logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

#ai .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--text-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary-cyan);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#ai .logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

#ai .beta-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

#ai .header-actions {
    display: flex;
    gap: 8px;
}

#ai .btn-icon {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

#ai .btn-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#ai .btn-icon:active {
    transform: translateY(0);
}

/* Chat Container */
#ai .chat-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 24px;
    padding-bottom: 70px;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Welcome Screen */
#ai .welcome-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 20px;
    gap: 16px;
}

/* ===== ZainAI Entrance Animations ===== */
@keyframes zainFadeSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-40px) scale(0.8);
        filter: blur(8px);
    }
    60% {
        filter: blur(0px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

@keyframes zainFadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

@keyframes zainCardPop {
    0% {
        opacity: 0;
        transform: translateY(25px) scale(0.85);
    }
    70% {
        transform: translateY(-4px) scale(1.03);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes zainGlowPulse {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 217, 255, 0.5), 0 0 40px rgba(139, 92, 246, 0.3);
    }
    50% {
        text-shadow: 0 0 40px rgba(0, 217, 255, 0.9), 0 0 80px rgba(139, 92, 246, 0.6);
    }
}

@keyframes zainLineReveal {
    0% {
        opacity: 0;
        width: 0;
    }
    100% {
        opacity: 1;
        width: 80px;
    }
}

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

#ai .welcome-hero {
    text-align: center;
    max-width: 700px;
}

#ai .hero-icon {
    font-size: 80px;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: 
        zainFadeSlideDown 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both,
        float 3s ease-in-out 1s infinite;
}

#ai .hero-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    animation: zainFadeSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
    position: relative;
}

#ai .hero-title::after {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), #8b5cf6, transparent);
    margin: 8px auto 0;
    border-radius: 2px;
    animation: zainLineReveal 0.6s ease 1.1s both;
}

#ai .hero-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    animation: zainFadeSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both;
}

#ai .features-section {
    width: 100%;
    max-width: 900px;
}

#ai .section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
    text-align: center;
    animation: zainFadeSlideUp 0.6s ease 0.85s both;
}

#ai .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
}

#ai .feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    animation: zainCardPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

#ai .feature-card:nth-child(1) { animation-delay: 1.0s; }
#ai .feature-card:nth-child(2) { animation-delay: 1.12s; }
#ai .feature-card:nth-child(3) { animation-delay: 1.24s; }
#ai .feature-card:nth-child(4) { animation-delay: 1.36s; }
#ai .feature-card:nth-child(5) { animation-delay: 1.48s; }
#ai .feature-card:nth-child(6) { animation-delay: 1.60s; }

#ai .feature-card:hover {
    background: rgba(0, 217, 255, 0.08);
    border-color: var(--primary-cyan);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow-color);
}

#ai .feature-icon {
    font-size: 22px;
    color: var(--primary-cyan);
    margin-bottom: 7px;
}

#ai .feature-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

#ai .feature-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Messages */
#ai .message {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    animation: fadeInUp 0.3s ease;
    max-width: 100%;
}

#ai .message.ai {
    max-width: 100%;
}

#ai .message.ai .message-content {
    max-width: 90%;
}

/* GPT-style separator line after AI response */
#ai .ai-separator {
    display: none;
}

/* Action buttons row */
#ai .msg-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    align-items: center;
}

/* Speaker button */
#ai .speak-btn {
    background: rgba(128, 128, 128, 0.2);
    border: 1px solid rgba(128, 128, 128, 0.4);
    color: #a0a0a0;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

#ai .speak-btn:hover {
    background: rgba(0, 217, 255, 0.15);
    border-color: rgba(0, 217, 255, 0.5);
    color: #00d9ff;
    transform: translateY(-2px);
}

#ai .speak-btn.speaking {
    background: rgba(0, 217, 255, 0.2);
    border-color: #00d9ff;
    color: #00d9ff;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.4);
    animation: speakPulse 1.2s ease-in-out infinite;
}

@keyframes speakPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(0, 217, 255, 0.4); }
    50% { box-shadow: 0 0 18px rgba(0, 217, 255, 0.8); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#ai .message.user {
    flex-direction: row-reverse;
}

#ai .avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#ai .avatar.user-avatar {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-dark) 100%);
    color: var(--text-primary);
}

#ai .avatar.ai-avatar {
    background: linear-gradient(135deg, #8b5cf6 0%, var(--primary-cyan) 100%);
    color: var(--text-primary);
}

#ai .message-content {
    flex: 1;
    max-width: 75%;
}

@keyframes zainMsgSlideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes zainMsgSlideInRight {
    0% {
        opacity: 0;
        transform: translateX(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

#ai .message.ai {
    animation: zainMsgSlideInLeft 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#ai .message.user {
    animation: zainMsgSlideInRight 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#ai .message-bubble {
    padding: 14px 18px;
    border-radius: 18px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.6;
    font-size: 15px;
}

#ai .message.user .message-bubble {
    background: linear-gradient(135deg, rgba(0, 180, 210, 0.55) 0%, rgba(0, 100, 160, 0.65) 100%);
    border: 1px solid rgba(0, 217, 255, 0.25);
    color: var(--text-primary);
    border-bottom-right-radius: 4px;
}

/* User message content aligned right */
#ai .message.user .message-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#ai .message.ai .message-bubble {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 0;
    position: relative;
}

#ai .copy-btn {
    background: rgba(128, 128, 128, 0.2);
    border: 1px solid rgba(128, 128, 128, 0.4);
    color: #a0a0a0;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    width: fit-content;
}

#ai .copy-btn:hover {
    background: rgba(128, 128, 128, 0.3);
    border-color: rgba(128, 128, 128, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(128, 128, 128, 0.3);
}

#ai .copy-btn:active {
    transform: translateY(0);
}

#ai .copy-btn.copied {
    background: rgba(0, 255, 136, 0.2);
    border-color: var(--success);
    color: var(--success);
}


#ai .message-time {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
    padding-left: 4px;
}

/* Typing Indicator */
#ai .typing-indicator {
    display: flex;
    gap: 5px;
    padding: 12px 4px;
}

#ai .typing-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-cyan);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

#ai .typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

#ai .typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Input Area */
#ai .input-area {
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    background: #070f1a;
    border-top: 2px solid rgba(0, 217, 255, 0.6);
    box-shadow: 0 -4px 20px rgba(0, 217, 255, 0.3);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
}


#ai .gear-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid transparent;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0;
    margin-right: -46px;
    pointer-events: none;
    transition: opacity 0.3s ease, margin-right 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s ease, border-color 0.3s ease, background 0.2s;
    z-index: 2;
    align-self: flex-end;
}

#ai .input-container {
    display: flex;
    gap: 6px;
    align-items: center;
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0 4px 0 16px;
    height: 46px;
    box-shadow: 0 4px 24px rgba(0, 217, 255, 0.12), 0 2px 8px rgba(0,0,0,0.4);
    backdrop-filter: blur(12px);
    transition: box-shadow 0.35s ease, border-color 0.35s ease, border-radius 0.3s ease, height 0.3s ease;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

#ai .input-container.multiline {
    border-radius: 20px;
    height: auto;
    min-height: 46px;
    padding: 10px 6px 10px 16px;
    align-items: flex-end;
}

#ai .input-row {
    display: flex;
    align-items: flex-end;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

#ai .gear-inside {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    opacity: 1;
    margin: 0;
    padding: 0;
    transition: opacity 0.3s ease, width 0.3s ease, margin 0.3s ease;
    overflow: hidden;
    align-self: center;
}

#ai .gear-inside.hidden {
    opacity: 0;
    width: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

#ai .input-container {
    display: flex;
    gap: 6px;
    align-items: center;
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 8px 6px 8px 16px;
    min-height: 46px;
    box-shadow: 0 4px 24px rgba(0, 217, 255, 0.12), 0 2px 8px rgba(0,0,0,0.4);
    backdrop-filter: blur(12px);
    transition: box-shadow 0.35s ease, border-color 0.35s ease, border-radius 0.3s ease;
    min-width: 0;
    box-sizing: border-box;
}

#ai .input-container.multiline {
    border-radius: 20px;
    align-items: flex-end;
}

#ai .input-container.focused {
    box-shadow: 0 0 12px rgba(0, 217, 255, 0.6), 0 0 24px rgba(0, 217, 255, 0.3);
    border-color: var(--primary-cyan);
}

#ai.angry-theme .input-container.focused {
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.6), 0 0 24px rgba(255, 0, 0, 0.3);
    border-color: #ff0000;
}

#ai .gear-btn.visible {
    opacity: 1;
    margin-right: 8px;
    border-color: var(--border-color);
    pointer-events: all;
    box-shadow: 0 4px 24px rgba(0, 217, 255, 0.12), 0 2px 8px rgba(0,0,0,0.4);
}

#ai .gear-btn.visible.focused {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 12px rgba(0, 217, 255, 0.6), 0 0 24px rgba(0, 217, 255, 0.3);
}

#ai.angry-theme .gear-btn.visible.focused {
    border-color: #ff0000;
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.6), 0 0 24px rgba(255, 0, 0, 0.3);
}
#ai.angry-theme .gear-btn.visible {
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5), 0 0 20px rgba(255, 0, 0, 0.25);
}

#ai .gear-inside:hover {
    background: rgba(255,255,255,0.08);
    color: var(--primary-cyan);
}

#ai .gear-btn:hover {
    background: rgba(255,255,255,0.12);
    color: var(--primary-cyan);
}

#ai.angry-theme .gear-btn {
    border-color: rgba(255,0,0,0.3);
}

#ai.angry-theme .gear-btn:hover {
    color: #ff4444;
}

#ai .input-container:focus-within {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 2px rgba(0, 217, 255, 0.15), 0 6px 28px rgba(0, 217, 255, 0.2);
}

#ai .attach-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

#ai .attach-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--primary-cyan);
}

#ai .input-wrapper {
    flex: 1;
    position: relative;
    min-width: 0;
    overflow: hidden;
}

#ai #userInput {
    width: 100%;
    padding: 0;
    border-radius: 0;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    resize: none;
    height: auto;
    max-height: 120px;
    overflow-y: auto;
    overflow-x: hidden;
    transition: none;
    line-height: 1.5;
    outline: none;
    text-align: left;
    align-self: center;
    word-break: break-word;
    white-space: pre-wrap;
    box-sizing: border-box;
}

#ai #userInput:focus {
    outline: none;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

#ai #userInput::placeholder {
    color: var(--text-muted);
}

#ai #userInput::-webkit-scrollbar {
    display: none;
}

#ai #userInput::-webkit-scrollbar-thumb {
    display: none;
}

#ai .chat-container::-webkit-scrollbar {
    display: none;
}

#ai .chat-container::-webkit-scrollbar-track {
    display: none;
}

#ai .chat-container::-webkit-scrollbar-thumb {
    display: none;
}

#ai .chat-container::-webkit-scrollbar-thumb:hover {
    display: none;
}

#ai .char-counter {
    display: none;
}

#ai #sendBtn {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-dark) 100%);
    border: none;
    color: #0a1628;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 217, 255, 0.4);
    flex-shrink: 0;
    align-self: center;
    position: relative;
    z-index: 1;
}

#ai #sendBtn:hover:not(:disabled) {
    transform: scale(1.08);
    box-shadow: 0 4px 18px rgba(0, 217, 255, 0.6);
}

#ai #sendBtn:active:not(:disabled) {
    transform: scale(0.96);
}

#ai #sendBtn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
}

/* Modal */
#ai .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#ai .modal.active {
    display: flex;
}

#ai .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

#ai .modal-content {
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid #00d9ff;
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    max-height: 88vh;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 16px rgba(0,217,255,0.25), 0 0 0 1px rgba(0,217,255,0.15);
    position: relative;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

#ai .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 22px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

#ai .modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 9px;
    letter-spacing: 0.01em;
}

#ai .modal-title i {
    color: var(--primary-cyan);
    font-size: 15px;
}

#ai .close-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.4);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
}

#ai .close-btn:hover {
    background: rgba(255,68,68,0.12);
    color: #ff4444;
    border-color: rgba(255,68,68,0.2);
}

#ai .modal-body { overflow-y:auto; max-height:70vh;
    padding: 20px 22px;
    overflow-y: auto;
    flex: 1;
}

#ai .modal-body::-webkit-scrollbar { width: 3px; }
#ai .modal-body::-webkit-scrollbar-thumb {
    background: rgba(0,217,255,0.3);
    border-radius: 3px;
}

#ai .modal-footer {
    padding: 16px 22px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Settings */
#ai .settings-group {
    margin-bottom: 22px;
}

#ai .settings-label {
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 7px;
}

#ai .settings-label i {
    color: var(--primary-cyan);
    font-size: 11px;
}

#ai .input-with-icon { position: relative; }

#ai .settings-input, #ai .settings-select {
    width: 100%;
    padding: 11px 44px 11px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: #fff;
    font-size: 13px;
    font-family: inherit;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

#ai .settings-input:focus, #ai .settings-select:focus {
    outline: none;
    border-color: rgba(0,217,255,0.4);
    background: rgba(0,217,255,0.04);
}

#ai .toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.25);
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    transition: color 0.2s;
}

#ai .toggle-password:hover { color: var(--primary-cyan); }

#ai .settings-hint {
    display: block;
    margin-top: 7px;
    font-size: 11px;
    color: rgba(255,255,255,0.25);
}

#ai .settings-hint a {
    color: var(--primary-cyan);
    text-decoration: none;
    opacity: 0.8;
}

#ai .settings-hint a:hover { opacity: 1; }

/* Response Cards */
#ai .response-length-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 8px;
}

#ai .response-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 14px 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    position: relative;
}

#ai .response-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(0,217,255,0.2);
}

#ai .response-card.active {
    background: rgba(0,217,255,0.07);
    border-color: rgba(0,217,255,0.4);
}

#ai .response-card[data-style="angry"].active {
    background: rgba(255,60,60,0.08);
    border-color: rgba(255,60,60,0.35);
    animation: angryPulse 2s infinite;
}

@keyframes angryPulse {
    0%, 100% { border-color: rgba(255,60,60,0.35); }
    50% { border-color: rgba(255,60,60,0.6); }
}

#ai .response-card[data-style="angry"].active .response-card-title { color: #ff5555; }
#ai .response-card[data-style="angry"].active .response-card-icon {
    color: #ff5555;
    animation: angryShake 0.6s infinite;
}

@keyframes angryShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-4deg); }
    75% { transform: rotate(4deg); }
}

#ai .response-card-icon {
    font-size: 22px;
    margin-bottom: 7px;
    color: rgba(255,255,255,0.4);
    transition: color 0.2s;
}

#ai .response-card-title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    margin-bottom: 3px;
}

#ai .response-card-desc {
    font-size: 10px;
    color: rgba(255,255,255,0.3);
    line-height: 1.4;
}

#ai .response-card.active .response-card-title { color: var(--primary-cyan); }
#ai .response-card.active .response-card-icon { color: var(--primary-cyan); }

@media (max-width: 768px) {
    #ai .response-length-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    #ai .response-card { padding: 12px 8px; }
}

/* Buttons */
#ai .btn-primary, #ai .btn-secondary {
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.2s ease;
}

#ai .btn-primary {
    background: var(--primary-cyan);
    color: #000;
    box-shadow: 0 4px 14px rgba(0,217,255,0.25);
}

#ai .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,217,255,0.4);
}

#ai .btn-secondary {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.45);
}

#ai .btn-secondary:hover {
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.7);
}

#ai .btn-danger-full {
    width: 100%;
    padding: 11px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,68,68,0.15);
    background: rgba(255,68,68,0.05);
    color: rgba(255,100,100,0.7);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
}

#ai .btn-danger-full:hover {
    background: rgba(255,68,68,0.1);
    border-color: rgba(255,68,68,0.3);
    color: #ff6464;
}

#ai .btn-danger-full:active { transform: scale(0.98); }
/* Sett Pills */
#ai .sett-row {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

#ai .sett-pill {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.45);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

#ai .sett-pill:hover {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
}

#ai .sett-pill.active {
    background: rgba(0,217,255,0.1);
    border-color: rgba(0,217,255,0.35);
    color: var(--primary-cyan);
}

#ai .sett-pill-danger.active {
    background: rgba(255,60,60,0.1);
    border-color: rgba(255,60,60,0.35);
    color: #ff6060;
}

#ai .sett-pill i { font-size: 12px; }


/* Info Modal */
#ai .info-section {
    text-align: center;
    padding: 16px 0 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 16px;
}

#ai .info-logo {
    font-size: 40px;
    color: var(--primary-cyan);
    margin-bottom: 10px;
}

#ai .info-section h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-weight: 700;
}

#ai .version {
    color: rgba(255,255,255,0.3);
    font-size: 11px;
    letter-spacing: 0.05em;
}

#ai .info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

#ai .info-item:last-child { border-bottom: none; }

#ai .info-item i {
    font-size: 16px;
    color: var(--primary-cyan);
    margin-top: 2px;
    width: 18px;
    flex-shrink: 0;
}

#ai .info-item strong {
    color: rgba(255,255,255,0.5);
    display: block;
    margin-bottom: 2px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

#ai .info-item p {
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    line-height: 1.4;
}

#ai .feature-list {
    margin-top: 4px;
    padding-left: 14px;
}

#ai .feature-list li {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    margin-bottom: 3px;
}

/* Responsive */
@media (max-width: 768px) {

    #ai .header {
        padding: 14px 16px;
    }

    #ai .logo-text {
        font-size: 20px;
    }

    #ai .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    #ai .btn-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    #ai .chat-container {
        padding: 16px 12px;
    }

    #ai .hero-title {
        font-size: 26px;
    }

    #ai .hero-subtitle {
        font-size: 14px;
    }

    #ai .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    #ai .feature-card {
        padding: 12px 8px;
    }

    #ai .message-content {
        max-width: 82%;
    }

    #ai .input-area {
        padding: 16px 12px;
    }

    #ai #userInput {
        font-size: 14px;
        padding: 10px 50px 10px 14px;
    }

    #ai .attach-btn, #ai #sendBtn {
        width: 40px;
        height: 40px;
    }

    #ai .modal-content {
        border-radius: 20px;
    }

    #ai .modal-header, #ai .modal-body, #ai .modal-footer {
        padding: 20px;
    }

}

@media (max-width: 480px) {

    #ai .feature-grid {
        grid-template-columns: 1fr;
    }
    
    #ai .header-actions {
        gap: 6px;
    }
    
    #ai .btn-icon {
        width: 34px;
        height: 34px;
    }

}

/* ===== SECTION BREAK ===== */

.contact-section {
  width: calc(100% + 40px);
  margin-left: -20px;
  margin-top: 30px;
  margin-bottom: 20px;
  padding: 0;
  box-sizing: border-box;
}
.contact-box {
  background: rgba(10, 30, 50, 0.85);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(0,217,255,0.4);
  border-radius: 28px;
  padding: 28px 24px;
  box-shadow: 0 0 25px rgba(0,217,255,0.2), inset 0 0 30px rgba(0,217,255,0.03);
  box-sizing: border-box;
  width: 100%;
}
.contact-box h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px 0;
  text-align: left;
}
.contact-field {
  margin-bottom: 16px;
  text-align: left;
}
.contact-field label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 7px;
  text-align: left;
}
.contact-field input,
.contact-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(0,217,255,0.2);
  border-radius: 12px;
  padding: 12px 14px;
  color: #fff;
  font-size: 16px;
  outline: none;
  box-sizing: border-box;
  transition: 0.3s;
  font-family: Arial, sans-serif;
  text-align: left;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(0,217,255,0.6);
  background: rgba(0,217,255,0.06);
  box-shadow: 0 0 10px rgba(0,217,255,0.15);
}
.contact-field textarea {
  height: 120px;
  resize: vertical;
}
.contact-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #1a0a3e, #7c3aed);
  border: none;
  border-radius: 14px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(124,58,237,0.4);
  margin-top: 8px;
}
.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(124,58,237,0.6);
  background: linear-gradient(135deg, #2d0f60, #9333ea);
}

/* ===== SECTION BREAK ===== */

/* ===== Scroll Reveal Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.from-left {
  transform: translateX(-50px);
}
.reveal.from-right {
  transform: translateX(50px);
}
.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}
@keyframes helpModalIn {
    from { opacity:0; transform:scale(0.94) translateY(16px); }
    to   { opacity:1; transform:scale(1) translateY(0); }
}
/* Help feature cards */
.help-feat-card {
    display:flex;gap:12px;align-items:flex-start;
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.06);
    border-radius:14px;padding:12px 14px;
    transition:background 0.2s, border-color 0.2s;
}
.help-feat-card:hover {
    background:rgba(0,217,255,0.05);
    border-color:rgba(0,217,255,0.15);
}
.help-feat-icon {
    width:38px;height:38px;border-radius:10px;
    display:flex;align-items:center;justify-content:center;
    font-size:16px;flex-shrink:0;
}
.help-feat-body { flex:1;min-width:0; }
.help-feat-title { font-size:13px;font-weight:700;color:rgba(255,255,255,0.9);margin-bottom:4px; }
.help-feat-desc { font-size:11.5px;color:rgba(255,255,255,0.45);line-height:1.55; }
.help-feat-desc code { background:rgba(0,217,255,0.1);color:var(--primary-cyan);padding:1px 5px;border-radius:4px;font-size:11px; }

/* Khusus web rekomendasi - cepat */
.reveal.fast {
  transform: translateY(15px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.reveal.fast.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ===== RESET scope: hanya berlaku di dalam #music ===== */
#music { padding:0!important; background:#0f2035!important; min-height:unset!important; height:auto!important; position:relative; font-family:'Arial',sans-serif; }

/* Rainbow animation untuk CyberZain */
@keyframes czm-rainbow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
#music .czm-rainbow {
  background: linear-gradient(90deg, #ff0000, #ff7700, #ffff00, #00ff00, #00d9ff, #aa00ff, #ff0077, #ff0000);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: czm-rainbow 3s linear infinite;
  font-weight: 800 !important;
}

/* Views */
#music .czm-view { display:none!important; }
#music .czm-view.czm-on { display:block!important; }

/* ===== PLAYER: flex column agar tab bar bisa pinned bawah ===== */
#music #czm-player {
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1), visibility 0s linear 0.38s;
  display: flex !important;
  flex-direction: column;
  pointer-events: none;
  visibility: hidden;
  position: fixed !important;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10003;
  overflow: hidden;
  background: #0f2035;
  width: 100%;
  height: 100% !important;
  min-height: unset !important;
}
#music #czm-player::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--czm-bg-img, none);
  background-size: cover;
  background-position: center;
  filter: blur(50px) saturate(2) brightness(1.4);
  opacity: 0.5;
  pointer-events: none;
  transition: background-image 1.2s ease;
  transform: scale(1.1);
}
#music #czm-player.czm-on {
  transform: translateY(0);
  transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1), visibility 0s linear 0s;
  pointer-events: auto;
  visibility: visible;
}

/* Scroll area: mengisi sisa ruang, overflow scroll */
#music .czm-scroll-area {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 1;
  overscroll-behavior: none;
}
#music:not(.has-tab) .czm-scroll-area {
  overflow-y: hidden;
}

/* Tab bar: flex-shrink:0, selalu nempel di bawah */
#music .czm-tab-bar {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  border-top: 1px solid rgba(255,255,255,.1);
  background: #0f2035;
  box-sizing: border-box;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  position: relative;
  z-index: 10;
}
#music #czm-home.czm-on {
  display: block !important;
}

/* ===== TOPBAR ===== */
#music .czm-topbar {
  position:sticky; top:0; z-index:200;
  background:rgba(15,32,53,0.88); backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  padding:12px 16px; display:flex; align-items:center; justify-content:space-between;
  border-bottom:1px solid rgba(255,255,255,0.07);
}
#music .czm-logo { display:flex; align-items:center; gap:8px; text-decoration:none; }
#music .czm-yt-icon {
  width:32px; height:22px; background:#00fff6; border-radius:6px;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
#music .czm-yt-icon svg { width:16px; fill:#fff; }
#music .czm-logo-title { font-size:16px; font-weight:700; color:#fff; }
#music .czm-logo-sub   { font-size:16px; font-weight:400; color:#aaa; }
#music .czm-topbar-right { display:flex; align-items:center; gap:14px; }
#music .czm-icon-btn { background:none; border:none; color:#aaa; font-size:20px; cursor:pointer; padding:4px; transition:color .2s; }
#music .czm-icon-btn:hover { color:#fff; }
#music .czm-profile { width:32px; height:32px; border-radius:50%; background:linear-gradient(135deg,#00fff6,#00fff6); display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700; color:#fff; cursor:pointer; flex-shrink:0; border:none; }

/* ===== MOOD PILLS ===== */
#music .czm-pills {
  padding:10px 16px; display:flex; gap:8px; overflow-x:auto; scrollbar-width:none;
  border-bottom:1px solid rgba(255,255,255,0.05);
}
#music .czm-pills::-webkit-scrollbar { display:none; }
#music .czm-pill {
  padding:8px 18px; border-radius:20px; background:#152840; border:1px solid #363636;
  color:#aaa; font-size:13px; font-weight:500; white-space:nowrap; cursor:pointer;
  transition:all .18s; flex-shrink:0;
}
#music .czm-pill.active { background:#fff; color:#000; border-color:#fff; }
#music .czm-pill:not(.active):hover { background:#152840; color:#fff; }

/* ===== HOME SCROLL ===== */
#music .czm-home-body { padding-bottom:16px; transition: padding-bottom 0.28s ease; }
#music.has-npbar .czm-home-body { padding-bottom: 80px; }

/* ===== HERO SLIDER (YT Music style) ===== */
#music .czm-hero {
  position:relative; width:100%; overflow:hidden;
  margin-bottom:8px;
}
#music .czm-hero-track {
  display:flex; transition:transform .42s cubic-bezier(.4,0,.2,1);
  will-change:transform;
}
#music .czm-hero-slide {
  flex-shrink:0; width:100%; position:relative;
  cursor:pointer; -webkit-tap-highlight-color:transparent;
}
#music .czm-hero-img {
  width:100%; height:220px; object-fit:cover; display:block;
  filter:brightness(0.72);
}
@media(max-width:400px){
  #music .czm-hero-img { height:190px; }
}
#music .czm-hero-overlay {
  position:absolute; top:0; bottom:0; left:0; right:0;
  background:linear-gradient(to top, rgba(15,32,53,0.82) 0%, rgba(15,32,53,0.5) 35%, transparent 65%);
  display:flex; flex-direction:column; justify-content:flex-end;
  padding:0 16px 16px;
  box-sizing:border-box;
}
#music .czm-hero-text {
  flex:1; min-width:0;
}
#music .czm-hero-bottom {
  display:flex; flex-direction:row; align-items:flex-end; justify-content:space-between; width:100%;
}
#music .czm-hero-title {
  font-size:20px; font-weight:800; color:#fff; line-height:1.2;
  overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  text-shadow:0 2px 8px rgba(15,32,53,0.5);
}
#music .czm-hero-artist {
  font-size:13px; color:rgba(255,255,255,.7); margin-top:4px;
}
#music .czm-hero-play {
  flex-shrink:0; margin-left:12px;
  width:44px; height:44px; border-radius:50%;
  background:rgba(255,255,255,.18); backdrop-filter:blur(8px);
  border:1.5px solid rgba(255,255,255,.35);
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:16px;
  transition:background .2s, transform .15s;
  position:static; align-self:flex-end;
}
#music .czm-hero-play:active { transform:scale(.92); background:rgba(255,255,255,.3); }
/* Dots */
#music .czm-hero-dots {
  position:absolute; bottom:14px; left:50%; transform:translateX(-50%);
  display:flex; gap:5px; align-items:center;
}
#music .czm-hero-dot {
  width:6px; height:6px; border-radius:3px;
  background:rgba(255,255,255,.35); transition:all .3s;
}
#music .czm-hero-dot.active {
  width:20px; background:#00fff6;
}

/* ===== SECTION HEADER ===== */
#music .czm-sec-head {
  padding:22px 16px 10px; display:flex; align-items:center; justify-content:space-between;
}
#music .czm-sec-title { font-size:16px; font-weight:700; color:#fff; }
#music .czm-sec-link  { font-size:13px; color:#666; cursor:pointer; transition:color .2s; }
#music .czm-sec-link:hover { color:#aaa; }
#music .czm-play-all {
  display:flex; align-items:center; gap:8px; background:none;
  border:1px solid rgba(255,255,255,0.18); color:#fff; border-radius:20px;
  padding:7px 18px; font-size:13px; font-weight:600; cursor:pointer; transition:background .2s;
}
#music .czm-play-all:hover { background:rgba(255,255,255,0.08); }
#music .czm-play-all i { font-size:10px; }

/* ===== QUICK PICKS SLIDER (YT Music style) ===== */
#music .czm-qslider-wrap {
  position:relative; overflow:hidden; padding:0 16px;
}
#music .czm-qslider-track {
  display:flex; gap:0; transition:transform .38s cubic-bezier(.4,0,.2,1);
  will-change:transform;
}
/* Setiap "slide" = 1 kolom berisi 5 lagu (1 layar penuh) */
#music .czm-qslide {
  flex-shrink:0; width:100%; display:flex; flex-direction:column; gap:0;
}
/* Setiap item dalam kolom */
#music .czm-qitem {
  display:flex; align-items:center; gap:12px; padding:9px 0;
  cursor:pointer; border-radius:8px; transition:background .15s; -webkit-tap-highlight-color:transparent;
  position:relative;
}
#music .czm-qitem:active { background:rgba(255,255,255,0.05); padding-left:8px; margin-left:-8px; }
#music .czm-q-thumb { width:54px; height:54px; border-radius:5px; object-fit:cover; flex-shrink:0; background:#242424; }
#music .czm-q-info  { flex:1; min-width:0; }
#music .czm-q-title { font-size:14px; font-weight:600; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#music .czm-q-sub   { font-size:12px; color:#aaa; margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#music .czm-q-dots  { color:#555; font-size:20px; padding:4px 10px; cursor:pointer; flex-shrink:0; line-height:1; }
/* Nav arrows kanan kiri */
#music .czm-qnav {
  position:absolute; top:50%; transform:translateY(-50%);
  width:32px; height:32px; border-radius:50%;
  background:rgba(30,30,30,.92); border:1px solid rgba(255,255,255,.12);
  color:#fff; font-size:14px; display:flex; align-items:center; justify-content:center;
  cursor:pointer; z-index:10; transition:background .2s;
}
#music .czm-qnav:active { background:rgba(60,60,60,.95); }
#music .czm-qnav-l { left:2px; }
#music .czm-qnav-r { right:2px; }
/* Dots */
#music .czm-qdots {
  display:flex; justify-content:center; gap:5px; margin-top:12px;
}
#music .czm-qdot {
  width:6px; height:6px; border-radius:3px;
  background:rgba(255,255,255,.25); transition:all .3s;
}
#music .czm-qdot.active {
  width:18px; background:#00fff6;
}
/* FALLBACK list (pencarian & semua lagu tetap pakai qlist lama) */
#music .czm-qlist { padding:0 16px; }
#music .czm-qlist .czm-qitem {
  display:flex; align-items:center; gap:12px; padding:8px 0;
  cursor:pointer; border-radius:8px; transition:background .15s; -webkit-tap-highlight-color:transparent;
}
#music .czm-qlist .czm-qitem:active { background:rgba(255,255,255,0.05); }

/* ===== SHORTCUT GRID ===== */
#music .czm-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; padding:0 16px; }
#music .czm-gcard { position:relative; border-radius:8px; overflow:hidden; aspect-ratio:1; cursor:pointer; background:#242424; -webkit-tap-highlight-color:transparent; }
#music .czm-gcard img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .25s; }
#music .czm-gcard:active img { transform:scale(1.04); }
#music .czm-glabel { position:absolute; bottom:0; left:0; right:0; padding:24px 8px 8px; background:linear-gradient(0,rgba(15,32,53,0.78),transparent); font-size:11px; font-weight:700; color:#fff; }

/* ===== HORIZONTAL ROW ===== */
#music .czm-hrow { display:flex; gap:12px; padding:0 16px; overflow-x:auto; scrollbar-width:none; }
#music .czm-hrow::-webkit-scrollbar { display:none; }
#music .czm-hcard { flex-shrink:0; width:140px; cursor:pointer; -webkit-tap-highlight-color:transparent; }
#music .czm-h-img  { width:140px; height:140px; border-radius:8px; object-fit:cover; display:block; transition:transform .2s; }
#music .czm-hcard:active .czm-h-img { transform:scale(0.97); }
#music .czm-h-title { font-size:13px; font-weight:600; margin-top:8px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#fff; }
#music .czm-h-sub   { font-size:11px; color:#aaa; margin-top:2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* ===== NOW PLAYING BAR ===== */
.czm-npbar {
  position:fixed; bottom:0; left:0; right:0; z-index:99999;
  background:rgba(15,32,53,0.88); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px);
  border-top:1px solid rgba(255,255,255,0.09);
  padding:10px 16px;
  display:none; align-items:center; gap:12px; cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:transform 0.28s cubic-bezier(0.32,0.72,0,1);
}
.czm-npbar.czm-vis { display:flex!important; }
.czm-np-prog { position:absolute; top:0; left:0; right:0; height:2px; background:rgba(255,255,255,0.1); }
.czm-np-fill { height:100%; background:#00fff6; width:0%; transition:width .8s linear; }
.czm-np-thumb { width:44px; height:44px; border-radius:4px; object-fit:cover; flex-shrink:0; background:#242424; }
.czm-np-info { flex:1; min-width:0; overflow:hidden; }
.czm-np-title-clip { overflow:hidden; width:100%; display:block; }
.czm-np-title  { font-size:13px; font-weight:600; white-space:nowrap; color:#fff; display:inline-block; }
.czm-np-title.czm-np-scroll {
  animation: czm-np-marquee var(--np-dur, 8s) linear infinite;
  will-change: transform;
}
@keyframes czm-np-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(var(--np-ex, -200px)); }
}
.czm-np-artist { font-size:11px; color:#aaa; margin-top:1px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.czm-np-ctrl   { display:flex; align-items:center; gap:16px; }
.czm-np-btn { background:none; border:none; color:#fff; font-size:22px; cursor:pointer; padding:4px; }



/* Sedikit lightening di area bawah (controls) */
#music .czm-player-body {
  position: relative;
  z-index: 1;
}
#music .czm-player-body::after {
  content: none;
}

/* ===== PLAYER VIEW ===== */
#music #czm-player-inner { background:#0f2035; padding-top:0; }
/* ===== PLAYER TOPBAR ===== */
#music .czm-player-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10005;
  background: rgba(15,32,53,0.98);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
}
#music .czm-back {
  background: none; border: none; color: #fff; font-size: 18px;
  cursor: pointer; padding: 6px; flex-shrink: 0;
}
#music .czm-topbar-center {
  flex: 1; min-width: 0; text-align: center;
}
#music .czm-topbar-label {
  font-size: 11px; color: #aaa; text-transform: uppercase; letter-spacing: .5px;
}
#music .czm-topbar-source {
  font-size: 13px; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Topbar saat tab terbuka: tengah jadi thumbnail + judul */
#music .czm-topbar-mini {
  display: none; align-items: center; gap: 10px;
  flex: 1; min-width: 0;
}
#music #czm-player.czm-tab-open .czm-topbar-center { display: none; }
#music #czm-player.czm-tab-open .czm-topbar-mini   { display: flex; }
/* Swap tombol kanan: titik tiga ↔ play/pause */
#music #czm-player.czm-tab-open #czm-more-toggle  { display: none; }
#music #czm-player.czm-tab-open #czm-mini-play-btn { display: flex !important; }
#music .czm-topbar-mini-art {
  width: 34px; height: 34px; border-radius: 4px;
  object-fit: cover; flex-shrink: 0; background: #152840;
}
#music .czm-topbar-mini-info { min-width: 0; flex: 1; }
#music .czm-topbar-mini-title {
  font-size: 13px; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden;
}
#music .czm-topbar-mini-title span {
  display: inline-block;
  animation: czm-topbar-marquee var(--tb-dur, 8s) linear infinite;
}
@keyframes czm-topbar-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(var(--tb-ex, -200px)); }
}
#music .czm-topbar-mini-artist {
  font-size: 11px; color: #aaa;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== PLAYER BODY ===== */
#music .czm-player-body {
  padding: 0 20px 0;
  display: flex; flex-direction: column; align-items: center;
  background: #0f2035;
}

/* Nutupin gap transparan antara waveform dan tab bar */
#music .czm-full-view::after {
  content: '';
  display: block;
  width: calc(100% + 40px);
  margin-left: -20px;
  background: #0f2035;
  flex: 1;
  min-height: 140px;
}

/* === FULL VIEW (normal): art besar === */
#music .czm-full-view {
  width: 100%;
  display: flex; flex-direction: column; align-items: center;
  padding: 58px 0 20px; box-sizing: border-box;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
#music .czm-full-view.czm-hidden {
  display: none;
  opacity: 0;
  transform: translateY(-12px);
}

/* Album art */
#music .czm-art-wrap {
  width: min(280px, 78vw); height: min(280px, 78vw);
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(15,32,53,0.7);
  margin: 12px 0 20px; flex-shrink: 0;
  position: relative;
  transition: height 0.4s cubic-bezier(.4,0,.2,1);
}
#music .czm-art-wrap.czm-video-mode {
  width: min(340px, 94vw);
  height: min(191px, 53vw);
  border-radius: 12px;
  margin-top: 48px;   /* jarak atas video dari topbar */
  margin-bottom: 48px; /* jarak bawah video ke judul */
}
#music #czm-art { width:100%; height:100%; object-fit:cover; display:block; }
#music #czm-video { display:none; width:100%; height:100%; object-fit:cover; }

/* MV toggle badge */
#music .czm-mv-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(15,32,53,0.62);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,217,255,0.5);
  border-radius: 20px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
  color: #00d9ff;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.25s;
  z-index: 10;
  user-select: none;
  box-shadow: 0 0 10px rgba(0,217,255,0.3);
}
#music .czm-mv-badge:hover {
  background: rgba(0,217,255,0.2);
  box-shadow: 0 0 16px rgba(0,217,255,0.5);
}
#music .czm-mv-badge.czm-mv-on {
  background: rgba(0,217,255,0.22);
  border-color: #00d9ff;
  color: #fff;
  box-shadow: 0 0 16px rgba(0,217,255,0.6);
}
#music .czm-mv-badge i { font-size: 11px; }

/* Song title + artist (tanpa like/dislike di sebelah) */
#music .czm-info-row {
  width: 100%; display: flex; align-items: center;
  gap: 12px; margin-bottom: 4px;
}
/* Khusus video mode: kasih jarak antara video dan judul seperti YT Music */
#music .czm-art-wrap.czm-video-mode ~ .czm-info-row {
  margin-top: 24px;
}
#music .czm-info-text { flex: 1; min-width: 0; width: 0; }
#music .czm-title-clip { overflow: hidden; min-width: 0; width: 100%; }
#music .czm-title-clip {
  overflow: hidden;
  min-width: 0;
  width: 100%;
  display: flex;
}
#music .czm-stitle {
  font-size: 20px; font-weight: 700; color: #fff;
  white-space: nowrap; display: inline-block;
  flex-shrink: 0;
}
#music .czm-stitle.czm-scroll {
  animation: czm-marquee var(--czm-dur, 8s) linear infinite;
  will-change: transform;
}
@keyframes czm-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(var(--czm-ex, -300px)); }
}
#music .czm-sartist { font-size: 14px; color: #aaa; margin-top: 3px; }

/* Like / Dislike pill (tetap ada di info-row) */
#music .czm-ld-group { display: none; } /* tidak dipakai lagi */

/* Like/Dislike state saat aktif */
#music #czm-like-btn.liked { background: rgba(0,217,255,0.15); color: #00d9ff; border: 1px solid rgba(0,217,255,0.4); }
#music #czm-like-btn.liked i { color: #00d9ff !important; }
#music #czm-dislike-btn.disliked { background: rgba(255,100,100,0.12); color: #ff6b6b; border: 1px solid rgba(255,100,100,0.3); }
#music #czm-dislike-btn.disliked i { color: #ff6b6b !important; }

/* Action pills row: Simpan, Share, Download */
#music .czm-action-row {
  width: 100%; display: flex; gap: 10px;
  margin: 14px 0 18px; flex-wrap: nowrap; overflow-x: auto;
  scrollbar-width: none;
}
#music .czm-action-row::-webkit-scrollbar { display: none; }
#music .czm-action-pill {
  display: flex; align-items: center; gap: 8px;
  background: #152840; border: 1px solid transparent; color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 10px 18px; border-radius: 50px;
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s;
}
#music .czm-action-pill:active { background: #152840; }
#music .czm-action-pill i { font-size: 15px; color: #ccc; }

/* Progress / Seekbar */
#music .czm-seekbar-wrap { width: 100%; margin-bottom: 4px; }
#music .czm-seekbar {
  width: 100%; height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 3px; cursor: pointer; position: relative;
}
#music .czm-seekbar:hover { height: 4px; }
#music #czm-prog {
  height: 100%; background: #00fff6;
  border-radius: 3px; width: 0%; pointer-events: none;
}
#music .czm-seek-thumb { display: none !important; }
#music .czm-times {
  display: flex; justify-content: space-between;
  font-size: 11px; color: #777; margin-top: 6px;
}

/* Controls: shuffle | prev | play | next | repeat */
#music .czm-ctrl {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 14px 0 10px;
}
#music .czm-cbtn {
  background: none; border: none; color: #aaa; font-size: 22px;
  cursor: pointer; padding: 8px; border-radius: 50%;
  transition: color .18s; -webkit-tap-highlight-color: transparent;
}
#music .czm-cbtn:active { color: #fff; }
#music .czm-cbtn.active { color: #00d9ff; }
#music .czm-playbtn {
  width: 64px; height: 64px; border-radius: 50%;
  background: #fff; border: none; color: #000;
  font-size: 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .1s;
}
#music .czm-playbtn:active { transform: scale(0.93); }

/* Playlist items */
#music .czm-plitem {
  display: flex; align-items: center; gap: 12px; padding: 10px 0;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
#music .czm-plitem:active { opacity: .7; }
#music .czm-pl-num { font-size: 13px; color: #777; width: 22px; text-align: center; flex-shrink: 0; }
#music .czm-pl-img { width: 46px; height: 46px; border-radius: 4px; object-fit: cover; flex-shrink: 0; background: #152840; }
#music .czm-pl-t-wrap { overflow: hidden; min-width: 0; flex: 1; display: block; }
#music .czm-pl-t {
  font-size: 14px; font-weight: 500; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; color: #fff; display: block;
}
#music .czm-plitem.czm-cur .czm-pl-t {
  color: #00fff6; font-weight: 700;
  text-overflow: clip; display: inline-block;
  overflow: visible;
  animation: czm-pl-marquee var(--pl-dur, 8s) linear infinite;
  will-change: transform;
}
@keyframes czm-pl-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(var(--pl-ex, -200px)); }
}
#music .czm-pl-s   { font-size: 12px; color: #aaa; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#music .czm-dot    { display: inline-block; width: 8px; height: 8px; background: #00fff6; border-radius: 50%; animation: czm-pulse 1s ease-in-out infinite; }
@keyframes czm-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }

/* Visualizer */
#music .czm-vis {
  display: flex; align-items: flex-end; gap: 3px;
  height: 24px; margin: 8px 0 0;
}
#music .czm-vbar {
  width: 3px; height: 3px; background: #00fff6;
  border-radius: 2px; transition: height .13s;
}

/* ===== STICKY HEADER: hanya untuk collapsed view (topbar info) ===== */
#music .czm-sticky-header {
  display: none; /* tidak dipakai lagi */
}

/* Tab bar — FIXED di bawah layar, hanya tampil saat #czm-player aktif */
#music .czm-tab-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: flex;
  border-top: 1px solid rgba(255,255,255,.1);
  background: #0f2035;
  z-index: 10004;
  box-sizing: border-box;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* ===== COLLAPSED VIEW ===== */
#music .czm-collapsed-view {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 20px 20px;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
}
#music .czm-collapsed-view.czm-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#music .czm-tab {
  flex: 1; background: none; border: none;
  color: #666; font-size: 13px; font-weight: 700;
  letter-spacing: .5px; padding: 12px 0;
  cursor: pointer; border-bottom: 2px solid transparent;
  transition: color .18s, border-color .18s;
  -webkit-tap-highlight-color: transparent;
}
#music .czm-tab.active {
  color: #fff; border-bottom-color: #fff;
}

/* Tab content */
#music .czm-tab-content { width: 100%; padding-top: 4px; padding-bottom: 40px; }
#music .czm-tab-hidden  { display: none; }

/* ===== TAB: BERIKUTNYA ===== */

/* From row */
#music .czm-from-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0 10px; gap: 12px;
}
#music .czm-from-label { font-size: 12px; color: #aaa; }
#music .czm-from-name  { font-size: 14px; font-weight: 700; color: #fff; margin-top: 2px; }
#music .czm-save-btn {
  background: #152840; border: none; color: #fff;
  font-size: 13px; font-weight: 600; padding: 9px 18px;
  border-radius: 20px; cursor: pointer; display: flex;
  align-items: center; gap: 7px; white-space: nowrap; flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
#music .czm-save-btn:active { background: #152840; }

/* Now playing highlighted row */
#music .czm-now-playing-row {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.08);
  border-radius: 6px; padding: 10px 12px;
  margin-bottom: 4px; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
#music .czm-np-row-img {
  width: 46px; height: 46px; border-radius: 4px;
  object-fit: cover; flex-shrink: 0; background: #152840;
}
#music .czm-np-row-info { flex: 1; min-width: 0; }
#music .czm-np-row-title {
  font-size: 14px; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#music .czm-np-row-sub {
  font-size: 12px; color: #aaa; margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* Animasi bars sedang diputar */
#music .czm-np-row-bars {
  display: flex; align-items: flex-end; gap: 2px;
  height: 18px; flex-shrink: 0; margin: 0 4px;
}
#music .czm-np-row-bars span {
  width: 3px; background: #fff; border-radius: 2px;
  animation: czm-npbar 0.8s ease-in-out infinite alternate;
}
#music .czm-np-row-bars span:nth-child(1) { height: 6px;  animation-delay: 0s; }
#music .czm-np-row-bars span:nth-child(2) { height: 14px; animation-delay: 0.2s; }
#music .czm-np-row-bars span:nth-child(3) { height: 9px;  animation-delay: 0.4s; }
@keyframes czm-npbar {
  from { transform: scaleY(0.4); }
  to   { transform: scaleY(1); }
}
#music .czm-np-row-menu {
  background: none; border: none; color: #777;
  font-size: 18px; cursor: pointer; padding: 4px 6px;
  flex-shrink: 0;
}

/* Playlist items */
#music .czm-plitem {
  display: flex; align-items: center; gap: 12px; padding: 10px 0;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
#music .czm-plitem:active { opacity: .7; }
#music .czm-pl-num { font-size: 13px; color: #777; width: 22px; text-align: center; flex-shrink: 0; }
#music .czm-pl-img { width: 46px; height: 46px; border-radius: 4px; object-fit: cover; flex-shrink: 0; background: #152840; }
#music .czm-pl-t-wrap { overflow: hidden; min-width: 0; flex: 1; display: block; }
#music .czm-pl-t {
  font-size: 14px; font-weight: 500; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; color: #fff; display: block;
}
#music .czm-plitem.czm-cur .czm-pl-t {
  color: #00fff6; font-weight: 700;
  text-overflow: clip; display: inline-block;
  overflow: visible;
  animation: czm-pl-marquee var(--pl-dur, 8s) linear infinite;
  will-change: transform;
}
@keyframes czm-pl-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(var(--pl-ex, -200px)); }
}
#music .czm-pl-s   { font-size: 12px; color: #aaa; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#music .czm-dot    { display: inline-block; width: 8px; height: 8px; background: #00fff6; border-radius: 50%; animation: czm-pulse 1s ease-in-out infinite; }
@keyframes czm-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }

/* ===== FILTER CHIPS (BERIKUTNYA tab) ===== */
#music .czm-filter-bar {
  display: flex; gap: 8px; padding: 10px 0 12px;
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch; flex-shrink: 0;
}
#music .czm-filter-bar::-webkit-scrollbar { display: none; }
#music .czm-filter-chip {
  flex-shrink: 0;
  background: #152840; border: none; color: #fff;
  font-size: 13px; font-weight: 500; padding: 8px 16px;
  border-radius: 20px; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
#music .czm-filter-chip.active {
  background: #fff; color: #000; font-weight: 700;
}
#music .czm-filter-chip:active { opacity: 0.7; }
/* Pastikan from-row selalu terlihat */
#music #czm-tab-content-next { padding-top: 0 !important; }
#music .czm-from-row { border-bottom: 1px solid rgba(255,255,255,0.08); }

/* ===== TAB: TERKAIT ===== */
#music #czm-related-box { padding: 8px 0 120px; }

/* Section title */
#music .czm-rel-section { margin-bottom: 4px; }
#music .czm-rel-title {
  font-size: 18px; font-weight: 700; color: #fff;
  padding: 16px 0 10px;
}

/* List items (Anda mungkin juga suka) */
#music .czm-rel-item {
  display: flex; align-items: center; gap: 14px;
  padding: 9px 0; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
#music .czm-rel-item:active { opacity: .7; }
#music .czm-rel-img {
  width: 48px; height: 48px; border-radius: 4px;
  object-fit: cover; flex-shrink: 0; background: #152840;
}
#music .czm-rel-info { flex: 1; min-width: 0; }
#music .czm-rel-t {
  font-size: 14px; font-weight: 500; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#music .czm-rel-s { font-size: 12px; color: #aaa; margin-top: 2px; }
#music .czm-rel-dots {
  background: none; border: none; color: #777;
  font-size: 18px; cursor: pointer; padding: 4px 6px; flex-shrink: 0;
}

/* Grid playlist rekomendasi */
#music .czm-rel-grid-title {
  font-size: 18px; font-weight: 700; color: #fff;
  padding: 20px 0 12px;
}
#music .czm-rel-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px;
}
#music .czm-rel-grid-item {
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
#music .czm-rel-grid-item:active { opacity: .7; }
#music .czm-rel-grid-mosaic {
  width: 100%; aspect-ratio: 1;
  border-radius: 8px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr; gap: 1px;
  background: #0f2035;
  margin-bottom: 8px;
}
#music .czm-rel-grid-mosaic img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
#music .czm-rel-grid-name {
  font-size: 13px; font-weight: 600; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#music .czm-rel-grid-sub {
  font-size: 11px; color: #aaa; margin-top: 2px;
}

/* ===== SEARCH OVERLAY ===== */
#music .czm-search-ov { display:none!important; position:fixed; inset:0; z-index:10003; background:#0f2035; flex-direction:column;  }
#music .czm-search-ov.czm-on { display:flex!important; }
#music .czm-search-bar { padding:12px 16px; display:flex; align-items:center; gap:10px; border-bottom:1px solid rgba(255,255,255,0.09); }
#music .czm-search-input-wrap { flex:1; display:flex; align-items:center; gap:10px; background:#152840; border-radius:24px; padding:10px 16px; }
#music .czm-search-input-wrap i { color:#555; font-size:14px; }
#music #czm-search-inp { flex:1; background:none; border:none; color:#fff; font-size:15px; outline:none; }
#music .czm-search-res { flex:1; overflow-y:auto; padding:16px; }

/* ===== BOTTOM SHEET ===== */
#music .czm-bs-ov   { display:none; position:fixed; inset:0; background:rgba(15,32,53,0.5); z-index:600; }
#music .czm-bs-menu {
  display:none; position:fixed; bottom:0; left:0; right:0; z-index:700;
  background:#1a2d42; border-radius:16px 16px 0 0; overflow:hidden;
  transform:translateY(100%); transition:transform .28s cubic-bezier(.32,.72,0,1);
}
#music .czm-bs-handle { display:flex; justify-content:center; padding:10px 0 4px; }
#music .czm-bs-handle span { width:36px; height:4px; background:rgba(255,255,255,.18); border-radius:2px; display:block; }
#music .czm-bs-head { display:flex; align-items:center; gap:12px; padding:10px 18px 14px; border-bottom:1px solid rgba(255,255,255,.07); }
#music .czm-bs-actions { display:flex; justify-content:space-around; padding:16px 8px; border-bottom:1px solid rgba(255,255,255,.07); }
#music .czm-bs-act { display:flex; flex-direction:column; align-items:center; gap:8px; cursor:pointer; flex:1; -webkit-tap-highlight-color:transparent; }
#music .czm-bs-act-ico { width:52px; height:52px; background:#1e4a7a; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:20px; color:#00d9ff; box-shadow:0 0 14px rgba(0,217,255,0.2); }
#music .czm-bs-act-lbl { font-size:11px; color:#aaa; text-align:center; line-height:1.3; }
#music .czm-bs-list { max-height:38vh; overflow-y:auto; }
#music .czm-bsi { display:flex; align-items:center; gap:16px; padding:15px 20px; font-size:14px; color:#fff; cursor:pointer; transition:background .13s; }
#music .czm-bsi:hover { background:rgba(255,255,255,.05); }

/* ===== PLAYLIST MODAL ===== */
#music .czm-plm-detail { display:none; position:fixed; inset:0; z-index:10027; background:#0f2035; flex-direction:column; }

/* more menu player */
#music .czm-more-menu {
  display:none; position:fixed; top:60px; right:16px; z-index:10010;
  background:#1a2d42;
  border:1px solid rgba(0,217,255,0.18);
  border-radius:16px; padding:6px 0;
  min-width:200px;
  box-shadow:0 12px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,217,255,0.08);
  backdrop-filter:blur(12px);
}
#music .czm-more-menu.open { display:block; }
#music .czm-mi {
  padding:13px 18px; font-size:14px; cursor:pointer;
  display:flex; align-items:center; gap:14px;
  color:#e0eaf5; transition:background .13s;
  border-bottom:1px solid rgba(255,255,255,.04);
}
#music .czm-mi:last-child { border-bottom:none; }
#music .czm-mi:hover, #music .czm-mi:active { background:rgba(0,217,255,0.08); color:#fff; }
#music .czm-mi i { width:16px; color:#00d9ff; opacity:0.8; }


/* ===== RELATED TAB EXTRAS ===== */
#music .czm-rel-section-title {
  font-size: 18px; font-weight: 700; color: #fff;
  padding: 16px 0 12px;
}
#music .czm-tab-content { padding-bottom: 80px; }




/* ═══════════════════════════════════════════
   Z-TOOLS
═══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&display=swap');

#ztools { padding: 100px 16px 80px; max-width: 740px; margin: 0 auto; }
.zt-wrap { width: 100%; position: relative; }

/* ─── HEADER ─── */
.zt-header { text-align: center; margin-bottom: 28px; }
.zt-title { font-family:'Rajdhani',sans-serif; font-size:32px; font-weight:700; letter-spacing:3px; background:linear-gradient(135deg,#00d9ff,#a855f7,#00d9ff); background-size:200% auto; -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; animation:ztTitleShine 4s linear infinite; margin-bottom:6px; }
@keyframes ztTitleShine { 0%{background-position:0%} 100%{background-position:200%} }
.zt-title i { margin-right:10px; }
.zt-subtitle { color:#888; font-size:12px; letter-spacing:2px; text-transform:uppercase; }

/* ─── TABS ─── */
.zt-tabs { display:flex; gap:0; margin-bottom:24px; background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); border-radius:16px; padding:5px; overflow-x:auto; scrollbar-width:none; flex-wrap:nowrap; backdrop-filter:blur(12px); box-shadow:inset 0 1px 0 rgba(255,255,255,0.07); }
.zt-tabs::-webkit-scrollbar { display:none; }

/* Tab scroll arrows */
.zt-tabs-wrap { position:relative; }

/* Fade gradient kiri & kanan — overlay di atas tab */
.zt-tabs-fade-left,
.zt-tabs-fade-right {
  position:absolute; top:0; bottom:0; width:44px;
  pointer-events:none; z-index:2; transition:opacity .25s;
}
.zt-tabs-fade-left  { left:0;  background:linear-gradient(90deg, rgba(5,10,20,0.85), transparent); border-radius:16px 0 0 16px; opacity:0; }
.zt-tabs-fade-right { right:0; background:linear-gradient(270deg, rgba(5,10,20,0.85), transparent); border-radius:0 16px 16px 0; }
.zt-tabs-fade-left.show  { opacity:1; }
.zt-tabs-fade-right.hide { opacity:0; }

/* Arrow buttons — absolute overlay */
.zt-tab-arr {
  position:absolute; top:50%; transform:translateY(-50%);
  width:auto; height:100%; padding:0 10px;
  border-radius:0; background:none; border:none;
  color:#00d9ff; font-size:14px; font-weight:900; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:all .2s; z-index:5;
  text-shadow:0 0 8px rgba(0,217,255,0.6);
}
.zt-tab-arr-left  { left:0; background:linear-gradient(90deg, rgba(5,10,20,0.7), transparent); border-radius:16px 0 0 16px; }
.zt-tab-arr-right { right:0; background:linear-gradient(270deg, rgba(5,10,20,0.7), transparent); border-radius:0 16px 16px 0; }
.zt-tab-arr:hover { color:#fff; text-shadow:0 0 14px rgba(0,217,255,1); }
.zt-tab-arr.hidden { opacity:0; pointer-events:none; }
@keyframes ztArrPulse {
  0%,100% { text-shadow:0 0 6px rgba(0,217,255,0.4); }
  50%      { text-shadow:0 0 14px rgba(0,217,255,0.9); }
}
.zt-tab { flex:0 0 auto; padding:10px 16px; border:none; background:transparent; color:#666; border-radius:11px; cursor:pointer; transition:all .25s; display:flex; align-items:center; justify-content:center; gap:7px; white-space:nowrap; font-family:'Rajdhani',sans-serif; font-size:13px; font-weight:600; letter-spacing:0.5px; }
.zt-tab i { font-size:14px; }
.zt-tab.active { background:linear-gradient(135deg,rgba(0,217,255,0.2),rgba(168,85,247,0.14)); color:#00d9ff; box-shadow:0 0 20px rgba(0,217,255,0.15),inset 0 1px 0 rgba(0,217,255,0.2); border:1px solid rgba(0,217,255,0.25); }
.zt-tab.active.zt-tab-ngaji { background:linear-gradient(135deg,rgba(0,217,255,0.2),rgba(14,165,233,0.12)); color:#00d9ff; box-shadow:0 0 20px rgba(0,217,255,0.15),inset 0 1px 0 rgba(0,217,255,0.2); border-color:rgba(0,217,255,0.25); }
.zt-tab:hover:not(.active) { color:#bbb; background:rgba(255,255,255,0.08); }

/* ─── PANELS ─── */
.zt-panel { display:none; }
.zt-panel.active { display:block; animation:ztFadeIn .3s ease; }
@keyframes ztFadeIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
.zt-result-area { min-height:40px; }

/* ─── SEARCH BOX (shared) ─── */
.zt-search-box { display:flex; gap:8px; margin-bottom:14px; }
.zt-search-box input { flex:1; background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.14); border-radius:12px; padding:13px 18px; color:#fff; font-size:14px; outline:none; transition:all .2s; }
.zt-search-box input:focus { border-color:rgba(0,217,255,0.5); background:rgba(0,217,255,0.06); box-shadow:0 0 0 3px rgba(0,217,255,0.07); }
.zt-search-box button { background:linear-gradient(135deg,rgba(0,217,255,0.22),rgba(168,85,247,0.16)); border:1px solid rgba(0,217,255,0.3); color:#00d9ff; border-radius:12px; padding:13px 20px; cursor:pointer; font-size:16px; transition:all .2s; }
.zt-search-box button:hover { transform:translateY(-1px); box-shadow:0 0 20px rgba(0,217,255,0.25); }

/* ─── LANG TOGGLE ─── */
.zt-lang-toggle { display:flex; gap:16px; margin-bottom:16px; font-size:13px; color:#777; }
.zt-lang-toggle label { cursor:pointer; display:flex; align-items:center; gap:6px; }
.zt-lang-toggle input { accent-color:#00d9ff; }

/* ─── LOADING / EMPTY ─── */
.zt-loading { text-align:center; padding:48px 20px; color:#666; font-size:14px; display:flex; flex-direction:column; align-items:center; gap:12px; }
.zt-loading i { font-size:28px; color:#00d9ff; }
@keyframes ztPulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.4;transform:scale(0.85);} }
.zt-pulse-icon { animation:ztPulse 1s ease-in-out infinite; }
@keyframes ztDot1 { 0%,80%,100%{opacity:0} 20%{opacity:1} }
@keyframes ztDot2 { 0%,80%,100%{opacity:0} 40%{opacity:1} }
@keyframes ztDot3 { 0%,80%,100%{opacity:0} 60%{opacity:1} }
.zt-dot { opacity:0; }
.zt-dot1 { animation:ztDot1 1.2s ease-in-out infinite; }
.zt-dot2 { animation:ztDot2 1.2s ease-in-out infinite; }
.zt-dot3 { animation:ztDot3 1.2s ease-in-out infinite; }
.zt-empty { text-align:center; padding:48px 20px; color:#555; display:flex; flex-direction:column; align-items:center; gap:10px; border:1px dashed rgba(255,255,255,0.08); border-radius:16px; background:rgba(255,255,255,0.02); }
.zt-empty i { font-size:32px; color:#444; }

/* ════════════════════════
   WIKIPEDIA
════════════════════════ */
.zt-wiki-card {
  background:linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border:1px solid rgba(255,255,255,0.12); border-radius:18px; overflow:hidden;
  margin-bottom:16px; box-shadow:0 8px 32px rgba(15,32,53,0.5), inset 0 1px 0 rgba(255,255,255,0.07);
}
.zt-wiki-thumb { width:100%; max-height:220px; object-fit:cover; display:block; }
.zt-wiki-body { padding:20px; }
.zt-wiki-title { font-family:'Rajdhani',sans-serif; font-size:22px; font-weight:700; color:#fff; margin-bottom:4px; }
.zt-wiki-desc-label { font-size:11px; color:#00d9ff; margin-bottom:12px; letter-spacing:1.5px; text-transform:uppercase; background:rgba(0,217,255,0.08); display:inline-block; padding:3px 10px; border-radius:20px; border:1px solid rgba(0,217,255,0.2); }
.zt-wiki-extract { font-size:14px; color:#bbb; line-height:1.8; margin-bottom:16px; display:-webkit-box; -webkit-line-clamp:6; -webkit-box-orient:vertical; overflow:hidden; }
.zt-wiki-link { display:inline-flex; align-items:center; gap:8px; padding:9px 20px; background:linear-gradient(135deg,rgba(0,217,255,0.12),rgba(168,85,247,0.08)); border:1px solid rgba(0,217,255,0.25); border-radius:20px; color:#00d9ff; font-size:13px; text-decoration:none; font-weight:600; transition:all .2s; }
.zt-wiki-link:hover { box-shadow:0 0 18px rgba(0,217,255,0.2); transform:translateY(-1px); }
.zt-wiki-others { margin-top:14px; }
.zt-wiki-others p { font-size:11px; color:#555; margin-bottom:8px; text-transform:uppercase; letter-spacing:1px; }
.zt-wiki-other { padding:11px 16px; margin-bottom:6px; font-size:13px; color:#999; cursor:pointer; transition:all .2s; background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08); border-radius:10px; display:flex; align-items:center; gap:8px; }
.zt-wiki-other:hover { background:rgba(0,217,255,0.07); color:#fff; border-color:rgba(0,217,255,0.2); }

/* ════════════════════════
   ANIME
════════════════════════ */
.zt-anime-cats { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:18px; }
.zt-cat-btn { padding:7px 15px; border:1px solid rgba(255,255,255,0.1); background:rgba(255,255,255,0.05); color:#666; border-radius:20px; font-size:12px; cursor:pointer; transition:all .2s; font-weight:600; }
.zt-cat-btn.active { border-color:rgba(255,100,200,0.5); background:rgba(255,100,200,0.12); color:#ff64c8; box-shadow:0 0 16px rgba(255,100,200,0.15); }
.zt-cat-btn:hover:not(.active) { color:#ccc; border-color:rgba(255,255,255,0.18); background:rgba(255,255,255,0.07); }
.zt-anime-placeholder { text-align:center; padding:60px 20px; color:#555; border:1px dashed rgba(255,100,200,0.12); border-radius:16px; background:rgba(255,100,200,0.02); }
.zt-anime-placeholder i { font-size:44px; margin-bottom:12px; display:block; color:#444; }
.zt-anime-result { min-height:200px; margin-bottom:16px; border-radius:18px; overflow:hidden; }
.zt-anime-img-wrap { position:relative; border-radius:18px; overflow:hidden; }
.zt-anime-img { width:100%; border-radius:18px; display:block; cursor:pointer; max-height:480px; object-fit:contain; background:#0d0d0d; transition:transform .3s; }
.zt-anime-img:hover { transform:scale(1.01); }
.zt-anime-actions { display:flex; gap:10px; margin-top:12px; }
.zt-anime-actions button,.zt-anime-actions a { flex:1; padding:12px; border-radius:12px; font-size:13px; font-weight:600; cursor:pointer; text-align:center; text-decoration:none; display:flex; align-items:center; justify-content:center; gap:6px; transition:all .2s; }
.zt-anime-actions button { background:rgba(255,100,200,0.1); border:1px solid rgba(255,100,200,0.25); color:#ff64c8; }
.zt-anime-actions button:hover { background:rgba(255,100,200,0.2); box-shadow:0 0 14px rgba(255,100,200,0.2); }
.zt-anime-actions a { background:rgba(0,217,255,0.08); border:1px solid rgba(0,217,255,0.22); color:#00d9ff; }
.zt-anime-actions a:hover { background:rgba(0,217,255,0.15); }
.zt-gen-btn { width:100%; padding:15px; background:linear-gradient(135deg,rgba(255,100,200,0.15),rgba(168,85,247,0.15),rgba(0,217,255,0.1)); border:1px solid rgba(255,100,200,0.25); color:#fff; border-radius:14px; font-size:15px; font-weight:700; cursor:pointer; transition:all .25s; display:flex; align-items:center; justify-content:center; gap:10px; font-family:'Rajdhani',sans-serif; letter-spacing:1px; }
.zt-gen-btn:hover { transform:translateY(-2px); box-shadow:0 8px 30px rgba(255,100,200,0.2); }

/* ════════════════════════
   CEK NOMOR HP
════════════════════════ */
.zt-phone-card {
  background:linear-gradient(145deg,rgba(255,255,255,0.07),rgba(255,255,255,0.03));
  border:1px solid rgba(255,255,255,0.11); border-radius:18px; padding:22px;
  box-shadow:0 8px 32px rgba(15,32,53,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
}
.zt-phone-badge { display:flex; align-items:center; gap:14px; padding:14px 18px; border-radius:14px; border:1px solid; margin-bottom:18px; }
.zt-phone-logo { font-size:32px; }
.zt-phone-opname { font-size:18px; font-weight:700; font-family:'Rajdhani',sans-serif; }
.zt-phone-rows { display:flex; flex-direction:column; gap:8px; margin-bottom:18px; }
.zt-phone-row { display:flex; justify-content:space-between; align-items:center; font-size:13px; padding:11px 15px; background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.08); border-radius:10px; transition:background .2s; }
.zt-phone-row:hover { background:rgba(255,255,255,0.09); }
.zt-phone-row span { color:#777; }
.zt-phone-row b { color:#e8e8e8; font-family:'Rajdhani',sans-serif; font-size:14px; }
.zt-wa-btn { display:flex; align-items:center; justify-content:center; gap:10px; padding:14px; background:linear-gradient(135deg,rgba(37,211,102,0.12),rgba(37,211,102,0.06)); border:1px solid rgba(37,211,102,0.3); color:#25d366; border-radius:14px; text-decoration:none; font-size:15px; font-weight:700; transition:all .2s; font-family:'Rajdhani',sans-serif; }
.zt-wa-btn:hover { background:rgba(37,211,102,0.2); box-shadow:0 0 20px rgba(37,211,102,0.2); transform:translateY(-1px); }

/* ════════════════════════
   DOWNLOADER (TikTok / IG)
════════════════════════ */
.zt-dl-box { text-align:center; padding:10px 0; }
.zt-dl-icon { width:70px; height:70px; border-radius:20px; background:rgba(255,255,255,0.09); display:flex; align-items:center; justify-content:center; font-size:32px; color:#fff; margin:0 auto 16px; box-shadow:0 8px 24px rgba(15,32,53,0.5),inset 0 1px 0 rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.12); }
.zt-dl-title { font-family:'Rajdhani',sans-serif; font-size:22px; font-weight:700; color:#fff; margin-bottom:4px; letter-spacing:1px; }
.zt-dl-desc { font-size:13px; color:#666; margin-bottom:20px; }
.zt-fmt-btns { display:flex; gap:10px; margin-bottom:16px; }
.zt-fmt { flex:1; padding:11px; border-radius:11px; border:1px solid rgba(255,255,255,0.12); background:rgba(255,255,255,0.05); color:#777; font-size:13px; font-weight:600; cursor:pointer; transition:all .2s; }
.zt-fmt.active { border-color:rgba(0,217,255,0.4); background:rgba(0,217,255,0.1); color:#00d9ff; box-shadow:0 0 12px rgba(0,217,255,0.12); }
.zt-fmt:hover:not(.active) { border-color:rgba(255,255,255,0.2); color:#aaa; background:rgba(255,255,255,0.08); }
.zt-dl-result-card { background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.1); border-radius:14px; padding:18px; margin-top:16px; text-align:left; }
.zt-dl-result-card a { display:flex; align-items:center; justify-content:center; gap:8px; padding:13px; background:linear-gradient(135deg,rgba(0,217,255,0.14),rgba(168,85,247,0.09)); border:1px solid rgba(0,217,255,0.3); border-radius:12px; color:#00d9ff; text-decoration:none; font-size:14px; font-weight:700; margin-top:12px; transition:all .2s; font-family:'Rajdhani',sans-serif; }
.zt-dl-result-card a:hover { box-shadow:0 0 20px rgba(0,217,255,0.2); transform:translateY(-1px); }

/* ─── PROXY BAR ─── */
/* Scrolling ticker */
@keyframes ztTickerScroll { 0%{transform:translateX(100%)} 100%{transform:translateX(-100%)} }

/* ════════════════════════════════════════
   NGAJI — CYAN EDITION (brighter bg)
════════════════════════════════════════ */
:root { --cq:#00d9ff; --cq2:#0ea5e9; --cq-dim:rgba(0,217,255,0.1); --cq-border:rgba(0,217,255,0.18); }

.zt-ngaji-wrap { display:flex; flex-direction:column; gap:0; }

/* Header */
.zt-ngaji-top {
  text-align:center; padding:16px 16px 12px;
  background:transparent;
  border:none; border-radius:0; margin-bottom:0; position:relative; overflow:hidden;
  display:none;
}
.zt-ngaji-top.visible { display:block; animation:ztFadeIn .3s ease; }
.zt-ngaji-top::before { content:''; position:absolute; top:0; left:0; right:0; height:1px; background:linear-gradient(90deg,transparent,rgba(0,217,255,0.6),transparent); }
/* Kalau player tidak ada, tutup border bawah dengan radius penuh */
.zt-ngaji-top.rounded-full { border-radius:0; }
.zt-ngaji-top-arabic { font-size:24px; color:rgba(0,217,255,0.55); letter-spacing:6px; margin-bottom:4px; font-family:serif; }
.zt-ngaji-top-title { font-family:'Rajdhani',sans-serif; font-size:18px; font-weight:700; color:var(--cq); letter-spacing:3px; text-transform:uppercase; text-shadow:0 0 20px rgba(0,217,255,0.3); }
.zt-ngaji-top-sub { font-size:10px; color:rgba(0,217,255,0.45); letter-spacing:1px; margin-top:3px; }

/* Player */
.zt-ngaji-player {
  border:1px solid var(--cq-border); border-radius:18px; margin-bottom:14px;
  background:linear-gradient(180deg, rgba(0,40,60,0.55) 0%, rgba(0,25,40,0.6) 100%);
  backdrop-filter:blur(16px);
  display:none;
}
.zt-ngaji-player.visible { display:block; animation:ztFadeIn .3s ease; }
.zt-ngp-inner { padding:16px 16px 14px; }

/* Now playing row */
.zt-ngp-now { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.zt-ngp-disc {
  width:48px; height:48px; border-radius:50%; flex-shrink:0;
  background:radial-gradient(circle at 35% 35%, rgba(0,217,255,0.35), rgba(0,100,150,0.25));
  border:2px solid rgba(0,217,255,0.4);
  display:flex; align-items:center; justify-content:center; font-size:18px; color:var(--cq);
  box-shadow:0 0 24px rgba(0,217,255,0.25), inset 0 0 12px rgba(0,217,255,0.08);
}
.zt-ngp-disc.spinning { animation:ztDisc 5s linear infinite; }
@keyframes ztDisc { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }

.zt-ngp-txt { flex:1; min-width:0; }
.zt-ngp-surah-name { font-family:'Rajdhani',sans-serif; font-size:18px; font-weight:700; color:#fff; letter-spacing:0.5px; word-break:break-word; }
.zt-ngp-surah-arab { font-size:15px; color:rgba(0,217,255,0.7); font-family:serif; }
.zt-ngp-meta { font-size:11px; color:rgba(0,217,255,0.4); letter-spacing:0.5px; margin-top:1px; }

/* Equalizer */
.zt-eq { display:flex; align-items:flex-end; gap:2px; height:18px; padding:0 2px; }
.zt-eq-bar { width:3px; background:var(--cq); border-radius:2px; box-shadow:0 0 5px rgba(0,217,255,0.7); animation:ztEq 0.7s ease-in-out infinite alternate; }
.zt-eq-bar:nth-child(1){animation-delay:0s;height:5px}
.zt-eq-bar:nth-child(2){animation-delay:0.12s;height:14px}
.zt-eq-bar:nth-child(3){animation-delay:0.25s;height:8px}
.zt-eq-bar:nth-child(4){animation-delay:0.38s;height:16px}
.zt-eq-bar:nth-child(5){animation-delay:0.5s;height:6px}
@keyframes ztEq { from{transform:scaleY(0.25)} to{transform:scaleY(1)} }
.zt-eq.paused .zt-eq-bar { animation-play-state:paused; opacity:0.35; }

/* Custom progress */
.zt-ngp-progress-wrap { margin-bottom:12px; }
.zt-ngp-time-row { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.zt-ngp-time-cur { font-family:'Rajdhani',sans-serif; font-size:16px; font-weight:700; color:var(--cq); letter-spacing:1.5px; text-shadow:0 0 10px rgba(0,217,255,0.4); }
.zt-ngp-time-dur { font-family:'Rajdhani',sans-serif; font-size:13px; color:rgba(0,217,255,0.45); letter-spacing:1px; }
.zt-ngp-track { width:100%; height:5px; background:rgba(0,217,255,0.12); border-radius:5px; position:relative; cursor:pointer; transition:height .15s; }
.zt-ngp-track:hover { height:7px; }
.zt-ngp-fill { height:100%; background:linear-gradient(90deg,#0ea5e9,#00d9ff); border-radius:5px; width:0%; transition:width .4s linear; box-shadow:0 0 10px rgba(0,217,255,0.5); position:relative; }
.zt-ngp-fill::after { content:''; position:absolute; right:-6px; top:50%; transform:translateY(-50%); width:12px; height:12px; border-radius:50%; background:var(--cq); box-shadow:0 0 10px rgba(0,217,255,0.9); opacity:0; transition:opacity .2s; }
.zt-ngp-track:hover .zt-ngp-fill::after { opacity:1; }

/* Controls */
.zt-ngp-controls { display:flex; align-items:center; gap:8px; }
.zt-ngp-btn { padding:10px 18px; border-radius:10px; border:1px solid rgba(0,217,255,0.2); background:rgba(0,217,255,0.08); color:rgba(0,217,255,0.8); font-size:12px; font-weight:600; cursor:pointer; transition:all .2s; display:flex; align-items:center; justify-content:center; gap:6px; font-family:'Rajdhani',sans-serif; letter-spacing:0.5px; white-space:nowrap; }
.zt-ngp-btn:hover { background:rgba(0,217,255,0.16); border-color:rgba(0,217,255,0.4); box-shadow:0 0 14px rgba(0,217,255,0.15); }
.zt-ngp-btn:disabled { opacity:0.2; cursor:not-allowed; }
.zt-ngp-playpause { width:44px; height:44px; border-radius:50%; flex-shrink:0; background:linear-gradient(135deg,rgba(0,217,255,0.22),rgba(14,165,233,0.18)); border:1px solid rgba(0,217,255,0.45); color:var(--cq); font-size:16px; cursor:pointer; transition:all .2s; display:flex; align-items:center; justify-content:center; box-shadow:0 0 18px rgba(0,217,255,0.2); }
.zt-ngp-playpause:hover { box-shadow:0 0 28px rgba(0,217,255,0.35); transform:scale(1.05); }
#zt-ngaji-audio { display:none; }

/* Search bar */
.zt-ngaji-search-wrap { background:transparent; padding:14px 0 10px; border:none; }
.zt-ngaji-search { display:flex; gap:8px; }
.zt-ngaji-search input { flex:1; background:rgba(255,255,255,0.07); border:1px solid rgba(0,217,255,0.18); border-radius:12px; padding:11px 16px; color:#ccc; font-size:13px; outline:none; transition:all .2s; }
.zt-ngaji-search input::placeholder { color:rgba(255,255,255,0.2); }
.zt-ngaji-search input:focus { border-color:rgba(0,217,255,0.45); background:rgba(0,217,255,0.07); box-shadow:0 0 0 3px rgba(0,217,255,0.07); }
.zt-ngaji-search-clear { background:rgba(0,217,255,0.08); border:1px solid rgba(0,217,255,0.2); color:rgba(0,217,255,0.7); border-radius:12px; padding:11px 16px; cursor:pointer; font-size:12px; transition:all .2s; white-space:nowrap; font-family:'Rajdhani',sans-serif; font-weight:600; }
.zt-ngaji-search-clear:hover { background:rgba(0,217,255,0.16); color:var(--cq); }

/* Section label */
.zt-surah-section-label {
  font-family:'Rajdhani',sans-serif; font-size:11px; font-weight:700;
  color:rgba(0,217,255,0.4); letter-spacing:2px; text-transform:uppercase;
  margin-bottom:10px; display:flex; align-items:center; gap:10px;
}
.zt-surah-section-label::after { content:''; flex:1; height:1px; background:linear-gradient(90deg,rgba(0,217,255,0.15),transparent); }

/* Surah list — NO outer card box, full width floating rows */
.zt-surah-list-wrap {
  background:transparent;
  max-height:calc(100vh - 280px);
  min-height:200px;
  overflow-y:auto;
  overflow-x:visible;
  display:flex; flex-direction:column; gap:6px;
  padding:0 3px 16px 1px;
  scrollbar-width:thin;
  scrollbar-color:rgba(0,217,255,0.2) transparent;
}
.zt-surah-list-wrap::-webkit-scrollbar { width:3px; }
.zt-surah-list-wrap::-webkit-scrollbar-thumb { background:rgba(0,217,255,0.25); border-radius:4px; }

.zt-surah-item {
  display:flex; align-items:center; gap:14px;
  padding:10px 14px; cursor:pointer; transition:all .2s cubic-bezier(.4,0,.2,1);
  border-radius:14px; position:relative; overflow:hidden;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.07);
  box-shadow: 0 2px 8px rgba(15,32,53,0.5);
  min-height:50px;
}
.zt-surah-item::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg, rgba(0,217,255,0.08) 0%, transparent 60%);
  opacity:0; transition:opacity .2s;
}
.zt-surah-item:hover { border-color:rgba(0,217,255,0.28); transform:translateY(-1px); box-shadow:0 6px 20px rgba(15,32,53,0.5), 0 0 0 1px rgba(0,217,255,0.12); }
.zt-surah-item:hover::before { opacity:1; }
.zt-surah-item.playing {
  border-color:rgba(0,217,255,0.45);
  background:rgba(0,217,255,0.08);
  box-shadow:0 0 24px rgba(0,217,255,0.12), 0 4px 16px rgba(15,32,53,0.5);
}
.zt-surah-item.playing::before { opacity:1; background:linear-gradient(135deg, rgba(0,217,255,0.12) 0%, transparent 60%); }

/* Left accent line when playing */
.zt-surah-item.playing::after {
  content:''; position:absolute; left:0; top:20%; bottom:20%;
  width:3px; background:linear-gradient(180deg,transparent,var(--cq),transparent);
  border-radius:0 3px 3px 0; box-shadow:0 0 8px var(--cq);
}

.zt-surah-nomor {
  width:32px; height:32px; border-radius:50%; flex-shrink:0;
  background:rgba(0,217,255,0.08); border:1px solid rgba(0,217,255,0.18);
  display:flex; align-items:center; justify-content:center;
  font-family:'Rajdhani',sans-serif; font-size:12px; font-weight:700;
  color:rgba(0,217,255,0.7); transition:all .2s;
}
.zt-surah-item:hover .zt-surah-nomor { background:rgba(0,217,255,0.14); border-color:rgba(0,217,255,0.4); color:var(--cq); }
.zt-surah-item.playing .zt-surah-nomor { background:rgba(0,217,255,0.2); border-color:var(--cq); color:var(--cq); box-shadow:0 0 12px rgba(0,217,255,0.25); }

.zt-surah-info-col { flex:1; min-width:0; }
.zt-surah-nama { font-size:13px; font-weight:600; color:#ccc; transition:color .2s; }
.zt-surah-item:hover .zt-surah-nama { color:#fff; }
.zt-surah-item.playing .zt-surah-nama { color:var(--cq); font-weight:700; }
.zt-surah-keterangan { font-size:11px; color:#555; margin-top:2px; }
.zt-surah-item.playing .zt-surah-keterangan { color:rgba(0,217,255,0.4); }

.zt-surah-arab-col { text-align:right; flex-shrink:0; }
.zt-surah-arab-text { font-size:15px; color:rgba(0,217,255,0.3); font-family:serif; transition:color .2s; }
.zt-surah-item:hover .zt-surah-arab-text { color:rgba(0,217,255,0.55); }
.zt-surah-item.playing .zt-surah-arab-text { color:rgba(0,217,255,0.7); }

.zt-surah-play-icon {
  width:30px; height:30px; border-radius:50%; flex-shrink:0;
  background:rgba(0,217,255,0.1); border:1px solid rgba(0,217,255,0.2);
  display:flex; align-items:center; justify-content:center;
  font-size:10px; color:var(--cq); transition:all .2s;
  opacity:0; transform:scale(0.7);
}
.zt-surah-item:hover .zt-surah-play-icon { opacity:1; transform:scale(1); }
.zt-surah-item.playing .zt-surah-play-icon { opacity:1; transform:scale(1); background:rgba(0,217,255,0.2); box-shadow:0 0 10px rgba(0,217,255,0.3); }

.zt-surah-empty { text-align:center; padding:40px 20px; color:rgba(0,217,255,0.25); font-size:13px; }
.zt-ngaji-bottom-cap { display:none; }


/* ── IP & LOKASI ── */
.zt-ip-wrap { width:100%; }
.zt-ip-mycard { background:linear-gradient(135deg,rgba(0,40,80,0.8),rgba(0,20,50,0.9)); border:1px solid rgba(0,217,255,0.25); border-radius:18px; padding:20px; margin-bottom:20px; box-shadow:0 4px 24px rgba(0,217,255,0.08); }
.zt-ip-mycard-header { display:flex; align-items:center; gap:10px; font-size:13px; color:#00d9ff; font-weight:700; margin-bottom:16px; text-transform:uppercase; letter-spacing:0.05em; }
.zt-ip-pulse { width:10px; height:10px; background:#00d9ff; border-radius:50%; animation:ztIpPulse 1.5s infinite; flex-shrink:0; }
@keyframes ztIpPulse { 0%{box-shadow:0 0 0 0 rgba(0,217,255,0.5)} 70%{box-shadow:0 0 0 10px rgba(0,217,255,0)} 100%{box-shadow:0 0 0 0 rgba(0,217,255,0)} }
.zt-ip-section-label { font-size:12px; color:#555; text-transform:uppercase; letter-spacing:0.08em; font-weight:700; margin-bottom:12px; }
.zt-ip-card { background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08); border-radius:16px; padding:18px; }
.zt-ip-address { font-size:26px; font-weight:800; color:#00d9ff; font-family:monospace; margin-bottom:16px; word-break:break-all; }
.zt-ip-org-badge { display:inline-flex; align-items:center; gap:6px; padding:5px 12px; background:rgba(168,85,247,0.12); border:1px solid rgba(168,85,247,0.25); border-radius:50px; font-size:12px; color:#a855f7; font-weight:700; margin-bottom:12px; }
.zt-ip-rows { display:flex; flex-direction:column; gap:8px; }
.zt-ip-row { display:flex; justify-content:space-between; align-items:center; padding:10px 14px; background:rgba(255,255,255,0.03); border-radius:10px; font-size:13px; }
.zt-ip-row span { color:#666; display:flex; align-items:center; gap:7px; }
.zt-ip-row b { color:#fff; font-weight:600; text-align:right; max-width:60%; word-break:break-word; }
.zt-ip-map-btn { display:flex; align-items:center; justify-content:center; gap:8px; padding:12px; background:rgba(0,217,255,0.1); border:1px solid rgba(0,217,255,0.25); border-radius:12px; color:#00d9ff; text-decoration:none; font-size:13px; font-weight:700; margin-top:14px; transition:all .2s; }
.zt-ip-map-btn:hover { background:rgba(0,217,255,0.2); }


.zt-ip-gps-badge { display:inline-flex; align-items:center; gap:6px; padding:5px 12px; background:rgba(0,217,255,0.1); border:1px solid rgba(0,217,255,0.25); border-radius:50px; font-size:11px; color:#00d9ff; font-weight:700; margin-bottom:10px; }
.zt-ip-gps-off { background:rgba(255,255,255,0.04); border-color:rgba(255,255,255,0.1); color:#555; }


.zt-ip-section-title { font-size:11px; color:#555; text-transform:uppercase; letter-spacing:0.08em; font-weight:700; padding:14px 0 6px; display:flex; align-items:center; gap:7px; }
.zt-ip-bat-wrap { background:rgba(255,255,255,0.04); border-radius:12px; padding:12px 14px; margin-bottom:14px; }
.zt-ip-bat-header { display:flex; align-items:center; gap:8px; font-size:13px; color:#aaa; margin-bottom:8px; }
.zt-ip-bat-header b { margin-left:auto; font-size:16px; font-weight:800; }
.zt-ip-charging { font-size:11px; color:#f59e0b; background:rgba(245,158,11,0.12); padding:2px 8px; border-radius:50px; font-weight:700; }
.zt-ip-bat-bar { height:8px; background:rgba(255,255,255,0.08); border-radius:50px; overflow:hidden; }
.zt-ip-bat-fill { height:100%; border-radius:50px; transition:width .5s ease; }


.zt-phone-actions { display:flex; gap:8px; margin-top:14px; }
.zt-wa-btn { flex:2; display:flex; align-items:center; justify-content:center; gap:8px; padding:13px; background:rgba(37,211,102,0.12); border:1px solid rgba(37,211,102,0.3); color:#25d366; border-radius:12px; text-decoration:none; font-size:14px; font-weight:700; transition:all .2s; }
.zt-wa-btn:hover { background:rgba(37,211,102,0.22); }
.zt-phone-call-btn { flex:1; display:flex; align-items:center; justify-content:center; gap:6px; padding:13px; background:rgba(34,197,94,0.1); border:1px solid rgba(34,197,94,0.25); color:#22c55e; border-radius:12px; text-decoration:none; font-size:13px; font-weight:700; transition:all .2s; }
.zt-phone-sms-btn { flex:1; display:flex; align-items:center; justify-content:center; gap:6px; padding:13px; background:rgba(59,130,246,0.1); border:1px solid rgba(59,130,246,0.25); color:#3b82f6; border-radius:12px; text-decoration:none; font-size:13px; font-weight:700; transition:all .2s; }

/* WIKI LANGS */
.zt-wiki-langs-wrap { position:relative; margin-bottom:14px; }
.zt-wiki-langs { display:flex; gap:6px; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; padding-bottom:2px; }
.zt-wiki-langs::-webkit-scrollbar { display:none; }
.zt-wiki-lang-btn { flex:0 0 auto; padding:8px 14px; border:1px solid rgba(255,255,255,0.1); background:rgba(255,255,255,0.04); color:#888; border-radius:10px; font-size:13px; font-weight:700; cursor:pointer; transition:all .2s; display:flex; align-items:center; gap:7px; white-space:nowrap; }
.zt-wiki-lang-btn .zt-flag { font-size:16px; line-height:1; }
.zt-wiki-lang-btn.active { border-color:rgba(0,217,255,0.4); background:rgba(0,217,255,0.12); color:#00d9ff; box-shadow:0 0 12px rgba(0,217,255,0.15); }
/* WIKI READER */
.zt-wiki-reader { position:fixed; inset:0; z-index:9999; background:#0a0f1e; display:flex; flex-direction:column; }
.zt-wiki-reader-header { display:flex; align-items:center; gap:12px; padding:80px 16px 16px; border-bottom:1px solid rgba(255,255,255,0.08); background:#0d1427; flex-shrink:0; position:sticky; top:0; z-index:10; }
.zt-wiki-reader-back { background:rgba(0,217,255,0.15) !important; border:1px solid rgba(0,217,255,0.4) !important; color:#00d9ff !important; width:42px !important; height:42px !important; border-radius:12px !important; font-size:16px !important; display:flex; align-items:center; justify-content:center; }
.zt-wiki-reader-header button { background:rgba(255,255,255,0.07); border:1px solid rgba(255,255,255,0.12); color:#fff; width:36px; height:36px; border-radius:10px; cursor:pointer; font-size:14px; }
.zt-wiki-reader-header span { flex:1; font-size:15px; font-weight:700; color:#fff; }
.zt-wiki-reader-header a { color:#00d9ff; font-size:16px; }
.zt-wiki-reader-body { flex:1; overflow-y:auto; padding:20px 16px 40px; }
.zt-wiki-reader-body h1,.zt-wiki-reader-body h2,.zt-wiki-reader-body h3 { color:#fff; margin:20px 0 10px; font-family:'Rajdhani',sans-serif; }
.zt-wiki-reader-body p { color:#bbb; line-height:1.8; font-size:14px; margin-bottom:14px; }
.zt-wiki-reader-body img { max-width:100%; border-radius:10px; margin:10px 0; }
.zt-wiki-reader-body table { width:100%; font-size:12px; color:#aaa; border-collapse:collapse; margin:12px 0; }
.zt-wiki-reader-body td,.zt-wiki-reader-body th { border:1px solid rgba(255,255,255,0.08); padding:6px 8px; }
.zt-wiki-reader-body a { color:#00d9ff; }
/* WIKI READ MORE btn */
.zt-wiki-read-full { display:flex; align-items:center; gap:8px; padding:10px 18px; background:rgba(168,85,247,0.1); border:1px solid rgba(168,85,247,0.25); border-radius:12px; color:#a855f7; font-size:13px; font-weight:700; cursor:pointer; margin-top:10px; width:100%; justify-content:center; transition:all .2s; }
.zt-wiki-read-full:hover { background:rgba(168,85,247,0.18); }
/* Expand extract */
.zt-wiki-extract { font-size:14px; color:#bbb; line-height:1.8; margin-bottom:12px; }
/* More results */
.zt-wiki-more-btn { width:100%; padding:12px; background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08); border-radius:12px; color:#666; font-size:13px; font-weight:700; cursor:pointer; margin-top:10px; transition:all .2s; }
.zt-wiki-more-btn:hover { background:rgba(255,255,255,0.08); color:#fff; }


/* ── SPEED TEST ── */
.zt-speed-wrap { width:100%; padding-bottom:20px; }
.zt-speed-hero { text-align:center; margin-bottom:28px; }
.zt-speed-hero-icon { width:72px; height:72px; border-radius:22px; background:linear-gradient(135deg,rgba(0,217,255,0.2),rgba(0,100,180,0.15)); border:1px solid rgba(0,217,255,0.3); display:flex; align-items:center; justify-content:center; font-size:30px; color:#00d9ff; margin:0 auto 16px; box-shadow:0 0 30px rgba(0,217,255,0.2); }
.zt-speed-hero-title { font-size:22px; font-weight:800; color:#fff; margin-bottom:6px; }
.zt-speed-hero-desc { font-size:13px; color:#555; }
.zt-speed-gauges-wrap { display:flex; align-items:stretch; background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.07); border-radius:18px; padding:20px 10px; margin-bottom:20px; }
.zt-speed-gauge-box { flex:1; text-align:center; padding:0 8px; }
.zt-speed-gauge-sep { width:1px; background:rgba(255,255,255,0.07); flex-shrink:0; margin:0 4px; }
.zt-speed-gauge-icon { font-size:16px; margin-bottom:8px; }
.zt-speed-gauge-val { font-size:34px; font-weight:800; color:#fff; font-family:'Rajdhani',sans-serif; line-height:1; transition:color .3s; }
.zt-speed-gauge-unit { font-size:11px; color:#555; margin:3px 0 6px; }
.zt-speed-gauge-label { font-size:11px; color:#666; font-weight:700; text-transform:uppercase; letter-spacing:0.05em; }
.zt-speed-bar-outer { margin-bottom:16px; }
.zt-speed-bar-track { height:8px; background:rgba(255,255,255,0.07); border-radius:50px; overflow:hidden; }
.zt-speed-bar-fill { height:100%; width:0%; background:linear-gradient(90deg,#00d9ff,#22c55e); border-radius:50px; transition:width .25s ease; }
.zt-speed-status-text { font-size:13px; color:#888; text-align:center; min-height:20px; margin-bottom:16px; }
.zt-speed-start-btn { width:100%; padding:16px; background:linear-gradient(135deg,rgba(0,217,255,0.18),rgba(0,120,200,0.12)); border:1px solid rgba(0,217,255,0.35); color:#00d9ff; border-radius:16px; font-size:15px; font-weight:800; cursor:pointer; transition:all .25s; display:flex; align-items:center; justify-content:center; gap:12px; letter-spacing:0.5px; box-shadow:0 0 20px rgba(0,217,255,0.1); }
.zt-speed-start-btn:hover { transform:translateY(-2px); box-shadow:0 4px 24px rgba(0,217,255,0.25); }
.zt-speed-start-btn:disabled { opacity:0.5; cursor:not-allowed; transform:none; box-shadow:none; }
.zt-speed-rating { margin-top:16px; padding:16px; border-radius:14px; text-align:center; font-size:14px; font-weight:700; }
.zt-speed-history { margin-top:16px; }
.zt-speed-history-title { font-size:11px; color:#555; text-transform:uppercase; letter-spacing:.08em; font-weight:700; margin-bottom:10px; }
.zt-speed-history-item { display:flex; justify-content:space-between; align-items:center; padding:10px 14px; background:rgba(255,255,255,0.03); border-radius:10px; margin-bottom:6px; font-size:13px; color:#888; }
.zt-speed-history-item b { color:#fff; }



/* ── IMAGE SEARCH ── */
.zt-img-wrap { width:100%; }
.zt-img-placeholder { text-align:center; padding:50px 20px; color:#444; background:rgba(255,255,255,0.02); border-radius:16px; border:1px dashed rgba(255,255,255,0.07); }
.zt-img-placeholder i { font-size:40px; color:#a855f7; opacity:0.4; margin-bottom:14px; display:block; }
.zt-img-result { width:100%; }
.zt-img-grid { columns:2; gap:8px; }
@media(min-width:480px){ .zt-img-grid { columns:3; } }
.zt-img-item { break-inside:avoid; margin-bottom:8px; border-radius:12px; overflow:hidden; position:relative; cursor:pointer; background:rgba(255,255,255,0.04); }
.zt-img-item img { width:100%; display:block; border-radius:12px; transition:transform .3s; }
.zt-img-item:hover img { transform:scale(1.04); }
.zt-img-overlay { position:absolute; inset:0; background:linear-gradient(to top,rgba(0,0,0,0.7),transparent 50%); border-radius:12px; opacity:0; transition:opacity .2s; display:flex; align-items:flex-end; padding:8px; }
.zt-img-item:hover .zt-img-overlay { opacity:1; }
.zt-img-actions { display:flex; gap:6px; width:100%; }
.zt-img-actions a { flex:1; padding:7px; background:rgba(168,85,247,0.8); border-radius:8px; color:#fff; font-size:11px; font-weight:700; text-align:center; text-decoration:none; display:flex; align-items:center; justify-content:center; gap:4px; backdrop-filter:blur(4px); }
.zt-img-actions a.zt-img-open { background:rgba(255,255,255,0.2); }
.zt-img-more-btn { width:100%; padding:13px; background:rgba(168,85,247,0.1); border:1px solid rgba(168,85,247,0.3); color:#a855f7; border-radius:14px; font-size:14px; font-weight:800; cursor:pointer; margin-top:12px; transition:all .2s; display:flex; align-items:center; justify-content:center; gap:8px; }
.zt-img-more-btn:hover { background:rgba(168,85,247,0.18); }
.zt-img-count { font-size:12px; color:#555; margin-bottom:10px; text-align:center; }

/* ── Lightbox ── */
.zt-lightbox { position:fixed; inset:0; z-index:99999; display:none; align-items:center; justify-content:center; flex-direction:column; }
.zt-lightbox.open { display:flex; }
.zt-lightbox-overlay { position:absolute; inset:0; background:rgba(0,0,0,0.92); backdrop-filter:blur(8px); }
.zt-lightbox-inner { position:relative; z-index:1; width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:60px 16px 80px; box-sizing:border-box; }
.zt-lightbox-img { max-width:100%; max-height:100%; object-fit:contain; border-radius:14px; box-shadow:0 8px 40px rgba(0,0,0,0.8); transition:transform .3s; user-select:none; }
.zt-lightbox-img.zoomed { transform:scale(1.8); cursor:zoom-out; }
.zt-lightbox-close { position:fixed; top:16px; right:16px; z-index:2; background:rgba(255,255,255,0.12); border:none; color:#fff; width:40px; height:40px; border-radius:50%; font-size:18px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:.2s; }
.zt-lightbox-close:hover { background:rgba(255,255,255,0.25); }
.zt-lightbox-nav { position:fixed; top:50%; transform:translateY(-50%); z-index:2; background:rgba(255,255,255,0.1); border:none; color:#fff; width:44px; height:44px; border-radius:50%; font-size:18px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:.2s; }
.zt-lightbox-nav:hover { background:rgba(255,255,255,0.22); }
.zt-lightbox-prev { left:10px; }
.zt-lightbox-next { right:10px; }
.zt-lightbox-nav.hidden { opacity:0; pointer-events:none; }
.zt-lightbox-bottom { position:fixed; bottom:0; left:0; right:0; z-index:2; display:flex; gap:10px; padding:14px 16px 28px; background:linear-gradient(to top, rgba(0,0,0,0.85), transparent); justify-content:center; }
.zt-lightbox-btn { flex:1; max-width:180px; padding:12px; border-radius:14px; border:none; font-size:14px; font-weight:700; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px; transition:.2s; }
.zt-lightbox-btn.save { background:rgba(0,217,255,0.15); border:1px solid rgba(0,217,255,0.4); color:#00d9ff; }
.zt-lightbox-btn.save:hover { background:rgba(0,217,255,0.25); }
.zt-lightbox-btn.open { background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.2); color:#fff; }
.zt-lightbox-btn.open:hover { background:rgba(255,255,255,0.14); }
.zt-lightbox-counter { position:fixed; top:20px; left:16px; z-index:2; font-size:13px; color:rgba(255,255,255,0.6); font-weight:600; }


/* ── Z-Tools Floating Settings ── */


/* ── API Server Notice Marquee ── */
.api-server-notice {
  width: 100%;
  overflow: hidden;
  background: rgba(0, 217, 255, 0.06);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 12px;
  padding: 12px 0;
  margin-bottom: 6px;
}
.api-marquee-wrap {
  overflow: hidden;
  width: 100%;
}
.api-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: apiMarquee 7s linear infinite;
}
.api-marquee-track span {
  font-size: 13px;
  color: #00d9ff;
  font-weight: 600;
  white-space: nowrap;
  padding: 0 16px;
  display: inline-block;
  flex-shrink: 0;
}
@keyframes apiMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ═══════════════════════════════════════
   APK DOWNLOAD PAGE — Full Redesign
═══════════════════════════════════════ */
.apk-page {
  padding: 0 0 60px !important;
  max-width: 100% !important;
  margin: 0 !important;
  background: transparent;
}

/* Header */
.apk-header {
  position: relative;
  padding: 110px 20px 32px;
  text-align: center;
  overflow: hidden;
  margin-bottom: 8px;
}
.apk-header-glow {
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 200px;
  background: radial-gradient(ellipse, rgba(0,217,255,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.apk-header-content { position: relative; z-index: 1; }
.apk-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,217,255,0.1);
  border: 1px solid rgba(0,217,255,0.35);
  color: #00d9ff; font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 14px;
  animation: apkBadgePulse 2s ease-in-out infinite;
}
@keyframes apkBadgePulse {
  0%,100% { box-shadow: 0 0 0 rgba(0,217,255,0); }
  50% { box-shadow: 0 0 12px rgba(0,217,255,0.3); }
}
.apk-title {
  font-size: clamp(28px, 7vw, 44px);
  font-weight: 900; color: #fff; margin: 0 0 10px;
  letter-spacing: -0.5px; line-height: 1.1;
}
.apk-title-accent {
  background: linear-gradient(90deg, #00d9ff, #00ffcc);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.apk-subtitle {
  font-size: 13px; color: rgba(255,255,255,0.5);
  margin: 0 auto 20px; max-width: 280px; line-height: 1.6;
}
.apk-stats {
  display: inline-flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 12px 20px;
}
.apk-stat { text-align: center; }
.apk-stat span {
  display: block; font-size: 18px; font-weight: 800;
  color: #00d9ff; line-height: 1;
}
.apk-stat small {
  font-size: 10px; color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 1px;
}
.apk-stat-div {
  width: 1px; height: 30px;
  background: rgba(255,255,255,0.1);
}

/* Search */
.apk-search-wrap {
  position: relative; margin: 0 16px 20px;
}
.apk-search-icon {
  position: absolute; left: 16px; top: 50%;
  transform: translateY(-50%);
  color: #00d9ff; font-size: 14px; pointer-events: none;
}
.apk-search-input {
  width: 100%; box-sizing: border-box;
  background: rgba(0,217,255,0.05);
  border: 1px solid rgba(0,217,255,0.2);
  border-radius: 14px; padding: 14px 16px 14px 44px;
  color: #fff; font-size: 14px; outline: none;
  transition: all 0.3s;
}
.apk-search-input::placeholder { color: rgba(255,255,255,0.3); }
.apk-search-input:focus {
  border-color: rgba(0,217,255,0.6);
  background: rgba(0,217,255,0.08);
  box-shadow: 0 0 20px rgba(0,217,255,0.15);
}

/* Filter Tabs */
.apk-filter-tabs {
  display: flex; gap: 8px; padding: 0 16px 20px;
  overflow-x: auto; scrollbar-width: none;
}
.apk-filter-tabs::-webkit-scrollbar { display: none; }
.apk-filter-btn {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 20px; font-size: 12px; font-weight: 700;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.5);
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.apk-filter-btn.active, .apk-filter-btn:hover {
  background: rgba(0,217,255,0.12);
  border-color: rgba(0,217,255,0.4);
  color: #00d9ff;
}

/* Grid */
.apk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px; padding: 0 16px;
}
@media(min-width: 480px) {
  .apk-grid { grid-template-columns: repeat(3, 1fr); }
}
@media(min-width: 700px) {
  .apk-grid { grid-template-columns: repeat(4, 1fr); }
}

/* APK Card */
.apk-card {
  position: relative; border-radius: 18px; overflow: hidden;
  background: rgba(10,22,40,0.8);
  border: 1px solid rgba(255,255,255,0.07);
  cursor: pointer; transition: all 0.3s;
  display: flex; flex-direction: column;
  animation: apkCardIn 0.4s ease backwards;
}
@keyframes apkCardIn {
  from { opacity:0; transform: translateY(16px) scale(0.96); }
  to   { opacity:1; transform: translateY(0) scale(1); }
}
.apk-card:hover {
  border-color: rgba(0,217,255,0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,217,255,0.15);
}
.apk-card-img-wrap {
  position: relative; aspect-ratio: 1;
  background: rgba(0,0,0,0.3); overflow: hidden;
}
.apk-card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.apk-card:hover .apk-card-img-wrap img { transform: scale(1.08); }
.apk-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
}
.apk-card-tag {
  position: absolute; top: 8px; right: 8px;
  background: rgba(0,217,255,0.2); border: 1px solid rgba(0,217,255,0.4);
  color: #00d9ff; font-size: 9px; font-weight: 800;
  padding: 3px 8px; border-radius: 20px; text-transform: uppercase;
  letter-spacing: 1px; backdrop-filter: blur(4px);
}
.apk-card-body { padding: 12px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.apk-card-name {
  font-size: 13px; font-weight: 700; color: #fff;
  line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.apk-card-meta {
  display: flex; align-items: center; justify-content: space-between;
}
.apk-card-ver {
  font-size: 10px; color: rgba(255,255,255,0.4);
}
.apk-card-size {
  font-size: 10px; background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5); padding: 2px 7px; border-radius: 20px;
}
.apk-card-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px; border-radius: 10px; margin-top: auto;
  background: linear-gradient(135deg, rgba(0,217,255,0.15), rgba(0,180,210,0.1));
  border: 1px solid rgba(0,217,255,0.3);
  color: #00d9ff; font-size: 12px; font-weight: 800;
  transition: all 0.2s; text-transform: uppercase; letter-spacing: 0.5px;
}
.apk-card-btn:hover {
  background: rgba(0,217,255,0.25);
  box-shadow: 0 4px 16px rgba(0,217,255,0.3);
}

/* Empty state */
.apk-empty {
  text-align: center; padding: 60px 20px;
  color: rgba(255,255,255,0.3);
}
.apk-empty i { font-size: 40px; margin-bottom: 12px; display: block; }
.apk-empty p { font-size: 14px; }

/* Modal */
.apk-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.88); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.apk-modal-box {
  position: relative; background: linear-gradient(135deg, #0a1628, #050d1a);
  border: 1px solid rgba(0,217,255,0.25); border-radius: 20px;
  padding: 28px 24px; max-width: 420px; width: 100%;
  box-shadow: 0 0 40px rgba(0,217,255,0.15);
}
.apk-modal-close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,0.08); border: none;
  color: #aaa; width: 32px; height: 32px; border-radius: 8px;
  cursor: pointer; font-size: 14px; display: flex;
  align-items: center; justify-content: center; transition: 0.2s;
}
.apk-modal-close:hover { background: rgba(255,255,255,0.15); color: #fff; }
.apk-modal-title { color: #00d9ff; font-size: 18px; font-weight: 800; margin: 0 0 12px; }
.apk-modal-desc { color: rgba(255,255,255,0.8); font-size: 14px; line-height: 1.7; margin: 0 0 20px; white-space: pre-line; }
.apk-modal-btn {
  width: 100%; padding: 13px; background: rgba(0,217,255,0.12);
  border: 1px solid rgba(0,217,255,0.3); color: #00d9ff;
  border-radius: 12px; font-size: 14px; font-weight: 700; cursor: pointer;
  transition: 0.2s;
}
.apk-modal-btn:hover { background: rgba(0,217,255,0.22); }

/* Fix search icon */
.apk-search-wrap { position: relative; margin: 0 16px 20px; display: flex; align-items: center; }
.apk-search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #00d9ff; font-size: 14px; pointer-events: none; z-index: 1; line-height: 1; }
.apk-search-input { padding-left: 44px !important; }

/* Card zoom icon */
.apk-card-zoom {
  position: absolute; bottom: 8px; right: 8px;
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 11px;
  opacity: 0; transition: opacity 0.2s;
}
.apk-card:hover .apk-card-zoom { opacity: 1; }
.apk-card-img-wrap { cursor: pointer; }

/* Pagination */
.apk-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; padding: 20px 16px 8px; flex-wrap: wrap;
}
.apk-pg-btn {
  min-width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.7);
  font-size: 13px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; padding: 0 10px;
}
.apk-pg-btn:hover:not(.disabled):not(.active) {
  background: rgba(0,217,255,0.12);
  border-color: rgba(0,217,255,0.35);
  color: #00d9ff;
}
.apk-pg-btn.active {
  background: rgba(0,217,255,0.2);
  border-color: rgba(0,217,255,0.5);
  color: #00d9ff;
  box-shadow: 0 0 12px rgba(0,217,255,0.2);
}
.apk-pg-btn.disabled { opacity: 0.3; cursor: not-allowed; }
.apk-pg-dots {
  color: rgba(255,255,255,0.4); font-size: 13px;
  display: flex; align-items: center; padding: 0 4px;
}

/* Lightbox */
.apk-img-lightbox {
  position: fixed; inset: 0; z-index: 99999;
  display: none; align-items: center; justify-content: center;
}
.apk-img-lightbox.open { display: flex; }
.apk-lb-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.92); backdrop-filter: blur(10px);
}
.apk-lb-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; padding: 60px 20px 40px; max-width: 90vw;
}
.apk-lb-close {
  position: fixed; top: 16px; right: 16px;
  background: rgba(255,255,255,0.1); border: none;
  color: #fff; width: 40px; height: 40px; border-radius: 50%;
  font-size: 16px; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: 0.2s; z-index: 2;
}
.apk-lb-close:hover { background: rgba(255,255,255,0.2); }
.apk-lb-img {
  max-width: 85vw; max-height: 70vh;
  border-radius: 18px; object-fit: contain;
  box-shadow: 0 0 40px rgba(0,217,255,0.25);
  animation: apkLbIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes apkLbIn {
  from { opacity:0; transform: scale(0.85); }
  to   { opacity:1; transform: scale(1); }
}
.apk-lb-nama {
  color: #fff; font-size: 16px; font-weight: 700;
  text-align: center; text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.apk-lb-hint {
  color: rgba(255,255,255,0.35); font-size: 12px; margin: 0;
}

/* Stop button mode - default cyan */
#sendBtn.stop-mode {
    background: rgba(0, 217, 255, 0.15) !important;
    border-color: rgba(0, 217, 255, 0.5) !important;
    color: #00d9ff !important;
    animation: stopPulseCyan 1.2s ease-in-out infinite;
}
#sendBtn.stop-mode:hover {
    background: rgba(0, 217, 255, 0.28) !important;
}
@keyframes stopPulseCyan {
    0%, 100% { box-shadow: 0 0 0 rgba(0,217,255,0); }
    50% { box-shadow: 0 0 12px rgba(0,217,255,0.4); }
}
/* Stop button mode - worm AI merah */
#ai.angry-theme #sendBtn.stop-mode {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.5) !important;
    color: #ef4444 !important;
    animation: stopPulseRed 1.2s ease-in-out infinite;
}
#ai.angry-theme #sendBtn.stop-mode:hover {
    background: rgba(239, 68, 68, 0.28) !important;
}
@keyframes stopPulseRed {
    0%, 100% { box-shadow: 0 0 0 rgba(239,68,68,0); }
    50% { box-shadow: 0 0 12px rgba(239,68,68,0.4); }
}


/* ═══════════════════════════════════
   CPANEL SECTION
═══════════════════════════════════ */
.cpanel-page {
  padding: 0 0 80px !important;
  max-width: 100% !important;
  margin: 0 !important;
}
.cpanel-header {
  position: relative;
  text-align: center;
  padding: 110px 20px 28px;
  overflow: hidden;
}
.cpanel-header-glow {
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 280px; height: 180px;
  background: radial-gradient(ellipse, rgba(0,217,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cpanel-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,217,255,0.1);
  border: 1px solid rgba(0,217,255,0.3);
  color: #00d9ff; font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 14px;
}
.cpanel-title {
  font-size: clamp(28px,7vw,42px); font-weight: 900;
  color: #fff; margin: 0 0 8px; line-height: 1.1;
}
.cpanel-accent {
  background: linear-gradient(90deg,#00d9ff,#00ffcc);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cpanel-subtitle {
  font-size: 13px; color: rgba(255,255,255,0.45);
  margin: 0; line-height: 1.6;
}

/* Form Box */
.cpanel-form-box {
  margin: 0 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px; padding: 20px;
  box-sizing: border-box;
  overflow: hidden;
}
.cpanel-form-box input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,217,255,0.2);
  border-radius: 10px; padding: 11px 14px;
  color: #fff; font-size: 13px; outline: none;
  transition: border-color 0.2s;
}
.cpanel-form-box input[type="text"]:focus {
  border-color: rgba(0,217,255,0.5);
}

/* Plans */
.cpanel-username-label {
  font-size: 12px; color: rgba(255,255,255,0.5);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.cpanel-plan-label {
  font-size: 12px; color: rgba(255,255,255,0.5);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
}
.cpanel-plans {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px; margin-bottom: 20px;
}
.cpanel-plan {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 12px 8px;
  text-align: center; cursor: pointer;
  transition: all 0.2s;
}
.cpanel-plan:hover {
  border-color: rgba(0,217,255,0.3);
  background: rgba(0,217,255,0.06);
}
.cpanel-plan.selected {
  background: rgba(0,217,255,0.12);
  border-color: rgba(0,217,255,0.5);
  box-shadow: 0 0 12px rgba(0,217,255,0.2);
}
.cpanel-plan-unli {
  grid-column: 1 / -1;
  background: rgba(255,170,0,0.06);
  border-color: rgba(255,170,0,0.2);
}
.cpanel-plan-unli:hover, .cpanel-plan-unli.selected {
  background: rgba(255,170,0,0.14);
  border-color: rgba(255,170,0,0.5);
  box-shadow: 0 0 12px rgba(255,170,0,0.2);
}
.cp-plan-name {
  font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 3px;
}
.cpanel-plan.selected .cp-plan-name { color: #00d9ff; }
.cpanel-plan-unli.selected .cp-plan-name { color: #ffaa00 !important; }
.cpanel-plan-unli .cp-plan-name { color: #fff; }
.cpanel-plan-unli.selected .cp-plan-name { color: #ffaa00; }
.cp-plan-specs { font-size: 10px; color: rgba(255,255,255,0.4); }

/* Create Button */
.cpanel-create-btn {
  width: 100%; padding: 15px;
  background: linear-gradient(135deg,rgba(0,217,255,0.15),rgba(0,180,210,0.1));
  border: 1px solid rgba(0,217,255,0.35);
  color: #00d9ff; border-radius: 14px;
  font-size: 15px; font-weight: 800;
  cursor: pointer; display: flex;
  align-items: center; justify-content: center; gap: 10px;
  transition: all 0.2s; margin-bottom: 16px;
}
.cpanel-create-btn:hover {
  background: rgba(0,217,255,0.22);
  box-shadow: 0 4px 20px rgba(0,217,255,0.25);
}
.cpanel-create-btn:disabled {
  opacity: 0.5; cursor: not-allowed;
}

/* Result */
.cpanel-result {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(0,217,255,0.2);
  border-radius: 12px; padding: 16px;
  font-size: 13px; line-height: 1.8;
  font-family: monospace;
}
.cpanel-result.success { border-color: rgba(34,197,94,0.4); }
.cpanel-result.error { border-color: rgba(239,68,68,0.4); color: #ef4444; }
.cpanel-result-title {
  font-size: 14px; font-weight: 800; margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.cpanel-result-row {
  display: flex; justify-content: space-between;
  padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cpanel-result-row:last-child { border-bottom: none; }
.cpanel-result-key { color: rgba(255,255,255,0.5); font-size: 12px; }
.cpanel-result-val { color: #00d9ff; font-weight: 700; word-break: break-all; text-align: right; max-width: 60%; }

/* Sembunyikan footer & typing saat cpanel aktif */
#contact.cpanel-active .site-footer,
#contact.cpanel-active .typing,
#contact.cpanel-active .profile-banner {
  display: none !important;
}



/* ── Arrow + Token System ── */


/* Token input */
.cpanel-token-wrap {
  background: rgba(255,170,0,0.04);
  border: 1px solid rgba(255,170,0,0.2);
  border-radius: 14px; padding: 16px;
  margin: 8px 0; animation: fadeIn 0.3s ease;
}
@keyframes fadeIn { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
.cpanel-token-header {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: #fff;
  margin-bottom: 12px;
}
.cpanel-lock-input-wrap { display: flex; gap: 8px; margin-bottom: 8px; }
.cpanel-lock-input {
  flex: 1; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,170,0,0.25);
  border-radius: 10px; padding: 11px 14px;
  color: #fff; font-size: 13px; outline: none; transition: 0.2s;
}
.cpanel-lock-input:focus { border-color: rgba(255,170,0,0.6); }
.cpanel-lock-submit {
  background: rgba(255,170,0,0.15);
  border: 1px solid rgba(255,170,0,0.35);
  color: #ffaa00; border-radius: 10px;
  padding: 11px 16px; font-size: 15px;
  cursor: pointer; transition: 0.2s;
}
.cpanel-lock-submit:hover { background: rgba(255,170,0,0.28); }
.cpanel-code-status { font-size: 12px; min-height: 16px; margin-bottom: 8px; }
.cpanel-lock-divider {
  font-size: 11px; color: rgba(255,255,255,0.3);
  text-align: center; margin: 10px 0 8px;
}
.cpanel-wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.3);
  color: #25d366; border-radius: 10px;
  padding: 10px; font-size: 13px;
  font-weight: 700; text-decoration: none; transition: 0.2s;
}
.cpanel-wa-btn:hover { background: rgba(37,211,102,0.2); }

/* Arrow card */
.cpanel-plan-arrow {
  display: flex; align-items: center; justify-content: center;
  border-color: rgba(255,170,0,0.3) !important;
  background: rgba(255,170,0,0.06) !important;
  cursor: pointer;
}
.cpanel-plan-arrow:hover {
  background: rgba(255,170,0,0.14) !important;
  border-color: rgba(255,170,0,0.5) !important;
  box-shadow: 0 0 12px rgba(255,170,0,0.2) !important;
}
.cpanel-arrow-icon {
  font-size: 22px; color: #ffaa00;
  transition: transform 0.3s, color 0.3s;
}
.cpanel-plan-arrow.open .cpanel-arrow-icon {
  transform: rotate(90deg);
}
.cpanel-plan-arrow.unlocked .cpanel-arrow-icon {
  transform: rotate(90deg);
  color: #22c55e;
}
.cpanel-plan-arrow.unlocked {
  border-color: rgba(34,197,94,0.4) !important;
  background: rgba(34,197,94,0.08) !important;
}

/* ── Result Panel ── */
.cpanel-result-plan-badge {
  display: inline-block;
  background: rgba(0,217,255,0.12);
  border: 1px solid rgba(0,217,255,0.3);
  color: #00d9ff; font-size: 12px; font-weight: 800;
  padding: 4px 14px; border-radius: 20px;
  margin-bottom: 14px; letter-spacing: 1px;
  text-transform: uppercase;
}
.cpanel-result-divider {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: rgba(255,255,255,0.35);
  text-align: center; margin: 14px 0 10px;
  position: relative;
}
.cpanel-result-divider::before, .cpanel-result-divider::after {
  content: ''; position: absolute; top: 50%;
  width: 30%; height: 1px; background: rgba(255,255,255,0.08);
}
.cpanel-result-divider::before { left: 0; }
.cpanel-result-divider::after { right: 0; }
.cpanel-result-specs {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 8px; margin-bottom: 14px;
}
.cpanel-spec-box {
  background: rgba(0,217,255,0.06);
  border: 1px solid rgba(0,217,255,0.15);
  border-radius: 10px; padding: 10px 6px;
  text-align: center;
}
.cpanel-spec-val {
  font-size: 13px; font-weight: 800; color: #00d9ff;
  margin-bottom: 4px; word-break: break-all;
}
.cpanel-spec-label {
  font-size: 10px; color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.cpanel-copy-btn {
  width: 100%; padding: 12px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #22c55e; border-radius: 10px;
  font-weight: 700; font-size: 13px;
  cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  gap: 8px; transition: 0.2s;
}
.cpanel-copy-btn:hover { background: rgba(34,197,94,0.2); }

/* Result link & improved layout */
.cpanel-result-link {
  color: #00d9ff; font-size: 12px; font-weight: 600;
  text-decoration: none; word-break: break-all;
  text-align: right; max-width: 60%;
  border-bottom: 1px solid rgba(0,217,255,0.3);
  transition: color 0.2s;
}
.cpanel-result-link:hover { color: #fff; }
.cpanel-result-val { font-size: 13px; }
.cpanel-spec-val { font-size: 16px !important; }

/* ── Riwayat Panel ── */
.cpanel-history-wrap {
  margin: 16px 16px 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; overflow: hidden;
}
.cpanel-history-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 13px; font-weight: 700; color: #00d9ff;
}
.cpanel-history-clear {
  background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.25);
  color: #ef4444; border-radius: 8px; padding: 4px 10px;
  font-size: 11px; font-weight: 700; cursor: pointer; transition: 0.2s;
  display: flex; align-items: center; gap: 5px;
}
.cpanel-history-clear:hover { background: rgba(239,68,68,0.2); }
.cpanel-history-list { max-height: 320px; overflow-y: auto; }
.cpanel-history-item {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s;
}
.cpanel-history-item:last-child { border-bottom: none; }
.cpanel-history-item:hover { background: rgba(255,255,255,0.03); }
.cpanel-history-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.cpanel-history-name {
  font-size: 13px; font-weight: 800; color: #fff;
  display: flex; align-items: center; gap: 6px;
}
.cpanel-history-badge {
  font-size: 10px; background: rgba(0,217,255,0.1);
  border: 1px solid rgba(0,217,255,0.25);
  color: #00d9ff; padding: 2px 8px; border-radius: 20px;
  font-weight: 700;
}
.cpanel-history-date { font-size: 10px; color: rgba(255,255,255,0.3); }
.cpanel-history-info {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4px 12px; font-size: 11px; color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.cpanel-history-info span { color: rgba(255,255,255,0.8); }
.cpanel-history-actions {
  display: flex; gap: 6px;
}
.cpanel-history-btn {
  flex: 1; padding: 6px; border-radius: 8px;
  font-size: 11px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  transition: 0.2s; border: 1px solid;
}
.cpanel-history-btn.copy {
  background: rgba(0,217,255,0.08); border-color: rgba(0,217,255,0.25); color: #00d9ff;
}
.cpanel-history-btn.copy:hover { background: rgba(0,217,255,0.18); }
.cpanel-history-btn.del {
  background: rgba(239,68,68,0.08); border-color: rgba(239,68,68,0.2); color: #ef4444;
}
.cpanel-history-btn.del:hover { background: rgba(239,68,68,0.18); }
.cpanel-history-empty {
  text-align: center; padding: 20px; font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ── Result Baru ── */
.cpanel-result { padding: 0 !important; overflow: hidden; background: #0d1f35 !important; }
.cpr-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px; background: rgba(34,197,94,0.06);
  border-bottom: 1px solid rgba(34,197,94,0.15);
}
.cpr-icon-ok { font-size: 28px; color: #22c55e; }
.cpr-title { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 3px; }
.cpr-plan {
  display: inline-block; font-size: 11px; font-weight: 700;
  background: rgba(0,217,255,0.12); border: 1px solid rgba(0,217,255,0.25);
  color: #00d9ff; padding: 2px 10px; border-radius: 20px;
}
.cpr-section { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.cpr-section:last-of-type { border-bottom: none; }
.cpr-section-title {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: rgba(255,255,255,0.3);
  margin-bottom: 10px;
}
.cpr-login-url {
  display: block; color: #00d9ff; font-size: 12px; font-weight: 600;
  text-decoration: none; margin-bottom: 10px; word-break: break-all;
  padding: 8px 10px; background: rgba(0,217,255,0.06);
  border: 1px solid rgba(0,217,255,0.15); border-radius: 8px;
  transition: 0.2s;
}
.cpr-login-url:hover { background: rgba(0,217,255,0.12); }
.cpr-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 13px;
}
.cpr-row:last-child { border-bottom: none; }
.cpr-row span { color: rgba(255,255,255,0.45); }
.cpr-row strong { color: #fff; font-weight: 700; }
.cpr-specs {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 8px;
}
.cpr-spec {
  display: flex; align-items: center; gap: 8px;
  padding: 10px; border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}
.cpr-spec i { font-size: 16px; color: #00d9ff; }
.cpr-spec b { display: block; font-size: 12px; color: #fff; font-weight: 800; }
.cpr-spec small { font-size: 10px; color: rgba(255,255,255,0.35); text-transform: uppercase; }
.cpr-copy-btn {
  width: 100%; padding: 13px; margin: 0;
  background: rgba(34,197,94,0.08);
  border: none; border-top: 1px solid rgba(34,197,94,0.15);
  color: #22c55e; font-size: 13px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center;
  justify-content: center; gap: 8px; transition: 0.2s;
}
.cpr-copy-btn:hover { background: rgba(34,197,94,0.16); }

/* History item preview & clickable */
.cpanel-history-item { cursor: pointer; }
.cpanel-history-item:hover { background: rgba(0,217,255,0.04) !important; }
.cpanel-history-preview {
  font-size: 11px; color: rgba(255,255,255,0.35);
  margin: 4px 0 8px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}

/* ── Result Modal Mengambang ── */
.cpanel-result-modal {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(6px);
  display: flex; align-items: flex-end; justify-content: center;
  animation: fadeIn 0.2s ease;
}
.cpanel-result-modal .cpanel-result {
  width: 100%; max-width: 500px;
  border-radius: 20px 20px 0 0 !important;
  border-left: none; border-right: none; border-bottom: none;
  max-height: 85vh; overflow-y: auto;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}