/* ================= ROOT ================= */
:root{
  --bg:#0f172a;
  --card:#1e293b;
  --text:#e2e8f0;
  --accent:#38bdf8;
  --accent2:#22d3ee;

  --space-xs:8px;
  --space-sm:12px;
  --space-md:20px;
  --space-lg:30px;
  --space-xl:50px;
}
body.light-mode{
  --bg:#f8fafc;
  --card:#ffffff;
  --text:#0f172a;
  --accent:#0ea5e9;
  --accent2:#38bdf8;
}

/* ================= RESET ================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  -webkit-tap-highlight-color:transparent;
}

html{
  scroll-behavior:smooth;
  overflow-x:hidden;
  height:100%;
}

body{
  font-family:'Poppins',sans-serif;
  color:var(--text);
  overflow-x:hidden;
  background:var(--bg);
  transition:0.3s;
  height:100%;
  position: relative;
  z-index:0;
}
body.menu-open{
  overflow:hidden;
}

/* ================= LOADER WEB3 ================= */
.loader{
  position:fixed;
  inset:0;
  background:radial-gradient(circle,#020617,#000);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:99999;
  overflow:hidden;

  will-change: opacity;
  transform:translateZ(0);
}

/* GRID */
.loader::before{
  content:'';
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(56,189,248,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,0.08) 1px, transparent 1px);
  background-size:40px 40px;
  animation:gridMove 8s linear infinite;
  opacity:0.2;
}

/* SCAN LINE */
.loader::after{
  content:'';
  position:absolute;
  width:100%;
  height:2px;
  top:0;
  background:rgba(56,189,248,0.6);
  box-shadow:0 0 20px #38bdf8;
  animation:scan 3s linear infinite;
}

/* LOGO */
.loader-logo img{
  width:80px;
  filter:
    drop-shadow(0 0 10px #38bdf8)
    drop-shadow(0 0 30px #38bdf8);

  animation:
    glitch 1.5s infinite,
    pulse 2s ease-in-out infinite;
}

/* TEXT INIT */
.loader-init{
  margin-top:15px;
  font-size:11px;
  letter-spacing:3px;
  color:#38bdf8;
  opacity:0.7;
  animation:blink 1.2s infinite;
}

/* BAR */
.loader-bar{
  width:180px;
  height:3px;
  background:rgba(255,255,255,0.1);
  margin-top:20px;
  border-radius:5px;
  overflow:hidden;
}

.loader-progress{
  width:0%;
  height:100%;
  background:linear-gradient(90deg,#38bdf8,#0ea5e9);
  box-shadow:0 0 10px #38bdf8;
  transition:width 0.2s linear;
}

/* TEXT PERCENT */
.loader-text{
  margin-top:10px;
  font-size:12px;
  color:#38bdf8;
  letter-spacing:2px;
}

/* ================= ANIMATION ================= */
@keyframes gridMove{
  from{ transform:translateY(0); }
  to{ transform:translateY(40px); }
}

@keyframes scan{
  0%{ top:0; }
  100%{ top:100%; }
}

@keyframes pulse{
  0%,100%{ transform:scale(1); }
  50%{ transform:scale(1.1); }
}

@keyframes glitch{
  0%{ transform:translate(0); }
  20%{ transform:translate(-2px,2px); }
  40%{ transform:translate(2px,-2px); }
  60%{ transform:translate(-1px,1px); }
  80%{ transform:translate(1px,-1px); }
  100%{ transform:translate(0); }
}

@keyframes blink{
  0%,100%{ opacity:0.8; }
  50%{ opacity:0.3; }
}

/* HIDE */
.loader.hide{
  opacity:0;
  visibility:hidden;
  transition:0.8s ease;
  pointer-events:none;
}

/* ================= LOADER MOBILE OPTIMIZATION ================= */
@media(max-width:768px){

  .loader::before{
    animation:none;
    opacity:0.1;
  }

  .loader::after{
    animation:none;
    opacity:0.3;
  }

  .loader-logo img{
    width:65px;
    animation:pulse 2s infinite;
  }

  .loader-init{
    font-size:10px;
  }

}

/* ================= BACKGROUND ANIMATION ================= */
body::before{
  content:'';
  position:fixed;
  inset:0;

  background:linear-gradient(270deg,#0f172a,#1e293b,#0f172a);
  background-size:400% 400%;
  background-position:center var(--bg-y, 0px);

  animation:bgMove 20s ease infinite;

  z-index:-2;
  pointer-events:none;

  opacity:0.15;     /* 🔥 lebih soft */
  filter:blur(10px); /* 🔥 jangan 20px */
}

body.light-mode::before{
  background:linear-gradient(270deg,#f8fafc,#e2e8f0,#f8fafc);
  opacity:0.12;
  filter:blur(6px);
}

body.light-mode a{
  color:var(--accent);
}

@keyframes bgMove{
  0%{ background-position:0% 50%; }
  50%{ background-position:100% 50%; }
  100%{ background-position:0% 50%; }
}

/* ================= NAVBAR ================= */
.navbar{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 20px;
  background:rgba(15,23,42,0.75);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(56,189,248,0.2);
  z-index:9999;
}

.navbar-inner{
  width:100%;
  max-width:1100px;
  margin:auto;

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

/* shrink saat scroll */
.navbar.scrolled .logo-wrap{
  padding:10px 10%;
  background:rgba(2,6,23,0.85);
  box-shadow:0 10px 30px rgba(0,0,0,0.3);
  transform:scale(0.9);
  transition:0.3s;
}
/* navbar hover crypto */
.navbar:hover{
  border-color:rgba(56,189,248,0.3);
  box-shadow:
    0 0 20px rgba(56,189,248,0.4),
    0 0 40px rgba(56,189,248,0.2);
}
/* ================= NAV OVERLAY ================= */
.nav-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.5);
  backdrop-filter:blur(6px);
  opacity:0;
  pointer-events:none;
  transition:0.3s;
  z-index:3000;
  will-change: opacity;
  transform: translateZ(0);
}

.nav-overlay.active{
  opacity:1;
  pointer-events:auto;
}
/* ================= NAV RIGHT ================= */
.nav-right{
  display:flex;
  align-items:center;
  gap:12px;
}

/* ================= NAV LINKS DESKTOP ================= */
.nav-links{
  display:flex;
  gap:18px;
  align-items:center;
}
.nav-links li{
  list-style:none;
}

/* ================= MOBILE NAV ================= */
@media(max-width:768px){

  .menu-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    cursor:pointer;
    z-index:3000;
    position:relative;
  }

  .nav-links{
    position:fixed;
    top:0;
    right:0;
    width:260px;
    height:100dvh;
    overflow-y:auto;

    display:flex;
    flex-direction:column;
    gap:25px;
    padding:100px 30px;

    background:#0f172a;
    backdrop-filter:blur(20px);

    transform:translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index:9998;
  }
  .nav-links li{
    list-style:none;
    position:relative;
  }
  .nav-links.active{
    transform:translateX(0);
  }
  .nav-links li::after{
  content:'';
  position:absolute;
  bottom:-8px;
  left:0;
  width:100%;
  height:1px;
  background:rgba(255,255,255,0.05);
  }

}
.nav-links a{
  font-size:15px;
  padding:8px 12px;
  border-radius:8px;

  transition:0.25s;
}
.nav-links a:hover{
  background:rgba(56,189,248,0.1);
  transform:none;
  box-shadow:none;
}
.nav-links i{
  color:#38bdf8;
  font-size:16px;
}

/* garis bawah animasi */
.nav-links a::after{
  content:'';
  position:absolute;
  left:0;
  bottom:0;
  width:0%;
  height:2px;
  background:linear-gradient(90deg,#38bdf8,#0ea5e9);
  transition:0.3s;
}
/* hover efek */
.nav-links a:hover::after{
  width:100%;
}

/* ACTIVE LINK */
.nav-links a.active::after{
  width:100%;
}

/* ANIMASI MENU (PREMIUM) */
@media(max-width:768px){

  .nav-links a{
    opacity:0;
    transform:translateX(20px);
    transition:0.3s ease;
  }

  .nav-links.active a{
    opacity:1;
    transform:translateX(0);
  }

  .nav-links.active li:nth-child(1) a{ transition-delay:0.1s }
  .nav-links.active li:nth-child(2) a{ transition-delay:0.2s }
  .nav-links.active li:nth-child(3) a{ transition-delay:0.3s }
  .nav-links.active li:nth-child(4) a{ transition-delay:0.4s }
  .nav-links.active li:nth-child(5) a{ transition-delay:0.5s }

}

/* == Hide on PC ==*/
@media(min-width:769px){
  .menu-toggle{
    display:none;
  }
}

/* ================= LOGO (IMAGE BASED) ================= */
.logo-wrap{
  position:relative;
  width:60px;
  height:60px;
  margin-top:4px;
  display:flex;
  align-items:center;
  justify-content:center;
  isolation:isolate;
  transform:translateY(2px);
}

/* IMAGE */
.logo-img{
  width:60px;
  height:60px;
  object-fit:contain;
  border-radius:50%;
  z-index:2;
  position:relative;

  transition:0.3s;

  /* DARK MODE */
  filter:
    drop-shadow(0 0 6px var(--accent))
    drop-shadow(0 0 20px var(--accent));
}

.logo{
  position:relative;
  display:flex;
  align-items:center;
}

/* glow langsung ke logo */
.logo::before{
  content:'';
  position:absolute;
  inset:-25px;
  border-radius:50%;

  background:radial-gradient(
    circle,
    rgba(56,189,248,0.35),
    transparent 70%
  );

  filter:blur(25px);
  z-index:-1;
}

/* desktop */
@media(min-width:768px){
  .logo-wrap{
    width:70px;
    height:70px;
  }
  .logo-img{
    width:70px;
    height:70px;
  }
}

/* HOVER */
.logo-wrap:hover .logo-img{
  transform:scale(1.1);
  filter:
    drop-shadow(0 0 12px var(--accent))
    drop-shadow(0 0 40px var(--accent));
}

/* ================= LOGO ORBIT ================= */
.logo-wrap .orbit{
  position:absolute;
  border-radius:50%;
  pointer-events:none;
}

/* orbit 1 */
.logo-wrap .orbit1{
  inset:-18px;
  animation:orbitRotate 6s linear infinite;
}

/* orbit 2 */
.logo-wrap .orbit2{
  inset:-28px;
  animation:orbitRotateReverse 10s linear infinite;
}

/* DOT */
.logo-wrap .orbit span{
  position:absolute;
  border-radius:50%;
}

/* posisi */
.logo-wrap .orbit span:nth-child(1){
  top:0;
  left:50%;
  transform:translateX(-50%);
}
.logo-wrap .orbit span:nth-child(2){
  bottom:0;
  left:50%;
  transform:translateX(-50%);
}

/* DARK */
.logo-wrap .orbit1 span{
  width:6px;
  height:6px;
  background:var(--accent);
  box-shadow:
    0 0 6px var(--accent),
    0 0 15px var(--accent);
}

.logo-wrap .orbit2 span{
  width:4px;
  height:4px;
  background:var(--accent2);
  box-shadow:
    0 0 6px var(--accent2),
    0 0 12px var(--accent2);
}

/* ================= LOGO LIGHT MODE ================= */
body.light-mode .logo-img{
  filter:
    drop-shadow(0 0 4px rgba(14,165,233,0.4))
    drop-shadow(0 0 12px rgba(14,165,233,0.3));
}

body.light-mode .logo-wrap .orbit1 span{
  background:var(--accent);
  box-shadow:
    0 0 4px var(--accent),
    0 0 8px var(--accent);
}

body.light-mode .logo-wrap .orbit2 span{
  background:var(--accent2);
  box-shadow:
    0 0 4px var(--accent2),
    0 0 8px var(--accent2);
}

/* ================= LOGO HOVER SPEED ================= */
.logo-wrap:hover .orbit1{
  animation-duration:2.5s;
}
.logo-wrap:hover .orbit2{
  animation-duration:5s;
}

/* ================= LOGO ANIMATION ================= */
@keyframes orbitRotate{
  from{ transform:rotate(0deg); }
  to{ transform:rotate(360deg); }
}

@keyframes orbitRotateReverse{
  from{ transform:rotate(360deg); }
  to{ transform:rotate(0deg); }
}

/* ================= CONTAINER ================= */
.container{
  max-width:900px;
  margin:auto;
  padding:var(--space-lg) var(--space-md);
  display:flex;
  flex-direction:column;
  gap:var(--space-lg);
  position:relative;
}

main{
  position:relative;
  z-index:2;
}

/* ================= HERO CRYPTO SIMPLE ================= */

header{
  width:100%;
  position:relative;
  z-index:2;
  padding-top:80px;
}

header::before{
  content:'';
  position:absolute;
  inset:0;

  background:radial-gradient(
    circle at 15% 20%,
    rgba(56,189,248,0.08),
    transparent 60%
  );

  filter:blur(40px);
  opacity:0.6;

  pointer-events:none;
  z-index:0;
}

/* CONTAINER */
.hero-inner{
  max-width:1100px;
  margin:0 auto;
  padding:60px 20px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}

/* TEXT */
.hero-text{
  flex:1;
  max-width:520px;
}

.hero-text h1{
  font-size:36px;
  font-weight:700;
  line-height:1.3;
}

/* NAMA (crypto glow halus) */
.glow-text{
  color:#38bdf8;
  text-shadow:
    0 0 8px rgba(56,189,248,0.6),
    0 0 20px rgba(56,189,248,0.4);
}

/* DESKRIPSI */
.hero-text p{
  margin-top:12px;
  opacity:0.8;
  line-height:1.6;
}

/* BUTTON */
.buttons{
  margin-top:20px;
  display:flex;
  gap:12px;
}

/* BUTTON CRYPTO STYLE */
.btn{
  background:linear-gradient(135deg,#38bdf8,#0ea5e9);
  color:#fff;
  border:none;
}

.btn:hover{
  box-shadow:0 10px 30px rgba(56,189,248,0.5);
}

.btn-outline{
  border:1px solid #38bdf8;
  color:#38bdf8;
  background:transparent;
}

.btn-outline:hover{
  background:#38bdf8;
  color:#fff;
}

/* IMAGE */
.hero-img{
  flex:1;
  display:flex;
  justify-content:center;
  position:relative;
}

.hero-img img{
  width:100%;
  max-width:260px;
  border-radius:18px;
  object-fit:cover;
  position:relative;
  z-index:2;

  box-shadow:
    0 10px 40px rgba(56,189,248,0.25);
}

/* GLOW BACKGROUND SIMPLE */
.hero-img::before{
  content:'';
  position:absolute;
  width:260px;
  height:260px;
  background:radial-gradient(circle, rgba(56,189,248,0.25), transparent 70%);
  filter:blur(30px);
  z-index:1;
}

/* == HERO HIGHLIGHT == */
.highlight{
  color:#38bdf8;
  font-weight:500;
}

.highlight2{
  color:#22d3ee;
  font-weight:500;
  text-shadow:
    0 0 8px rgba(34,211,238,0.6);
}
/* HERO CURSOR */
.typing::after{
  content:'|';
  margin-left:5px;
  animation:blink 1s infinite;
}

@keyframes blink{
  0%,100%{ opacity:1; }
  50%{ opacity:0; }
}

/* ===== HERO MOBILE ===== */
@media(max-width:768px){

  .hero-inner{
    flex-direction:column;
    text-align:center;
  }

  .hero-text{
    max-width:100%;
  }

  .hero-img img{
    max-width:200px;
  }

  .buttons{
    justify-content:center;
  }
}

/* ================= BUTTON ================= */
.buttons{
  display:flex;
  gap:10px;
  margin-top:15px;
}

.btn{
  padding:10px 15px;
  border-radius:10px;
  background:var(--accent);
  color:#fff;
  text-decoration:none;
}

.btn:hover{
  transform:translateY(-3px) scale(1.03);
  box-shadow:0 10px 30px rgba(56,189,248,0.5);
}

.btn-outline{
  padding:10px 15px;
  border-radius:10px;
  border:1px solid var(--accent);
  color:var(--accent);
}

/* ================= SECTION SPACING ================= */
section{
  margin-bottom: var(--space-xl);
}

/* ================= CARD ================= */
.card{
  background:var(--card);
  padding:var(--space-md);
  border-radius:15px;
  display:flex;
  flex-direction:column;
  gap:var(--space-sm);
  transition:0.3s;
  border:1px solid rgba(255,255,255,0.05);
  box-shadow:0 10px 30px rgba(0,0,0,0.25);
}

.card:hover{
  transform:translateY(-6px) scale(1.01);
  box-shadow:0 20px 60px rgba(0,0,0,0.4);
}
/* CARD BODY LIGHT MODE */
body.light-mode .card{
  position:relative;
  background:#ffffff;
  border:1px solid rgba(0,0,0,0.06);

  box-shadow:
    0 10px 25px rgba(0,0,0,0.08),
    0 2px 8px rgba(0,0,0,0.05);

  backdrop-filter:none;
}

body.light-mode .card::after{
  content:'';
  position:absolute;
  bottom:-10px;
  left:5%;
  width:90%;
  height:1px;
  background:rgba(0,0,0,0.05);
}

body.light-mode .card:hover{
  transform:translateY(-5px);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.12);
}

/* ================= NEW SKILLS ================= */

/* GRID */
.skills-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:18px;
}

/* CARD */
.skill-card{
  position:relative;
  padding:20px;
  border-radius:16px;
  background:rgba(255,255,255,0.02);
  border:1px solid rgba(255,255,255,0.05);
  backdrop-filter:blur(12px);
  overflow:hidden;

  opacity:0;
  transform:translateY(30px);

  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease,
    opacity 0.6s ease;
}

/* 🔥 GRADIENT BORDER GLOW */
.skill-card::before{
  content:'';
  position:absolute;
  inset:-1px;
  border-radius:inherit;

  background:linear-gradient(
    120deg,
    rgba(56,189,248,0.5),
    rgba(14,165,233,0.3),
    transparent,
    rgba(56,189,248,0.5)
  );

  background-size:200% 200%;
  animation:borderMove 6s linear infinite;

  filter:blur(6px);
  opacity:0;
  transition:opacity 0.4s ease;

  z-index:-1;
}

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

/* ICON */
.skill-icon{
  margin-bottom:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  width:46px;
  height:46px;
  border-radius:12px;
  background:rgba(56,189,248,0.1);

  transition: transform 0.3s ease;
}

/* TEXT */
.skill-card h4{
  color:#38bdf8;
  margin-bottom:6px;
}

.skill-card p{
  font-size:13px;
  opacity:0.7;
}

/* HOVER */
.skill-card:hover{
  transform:translateY(-6px) scale(1.01);

  box-shadow:
    0 10px 25px rgba(56,189,248,0.18),
    0 0 12px rgba(56,189,248,0.12);

  border-color:rgba(56,189,248,0.3);

  transition-delay:0s, 0.1s, 0.1s, 0s;
}

/* glow delay */
.skill-card:hover::before{
  opacity:0.7;
  transition-delay:0.1s;
}

/* icon delay */
.skill-card:hover .skill-icon{
  transform:scale(1.1);
  transition-delay:0.15s;
}

/* MOBILE FIX */
@media (hover: none){
  .skill-card:hover{
    transform:scale(0.98);

    box-shadow:
      0 5px 12px rgba(56,189,248,0.12),
      0 0 6px rgba(56,189,248,0.08);
  }

  .skill-card:hover::before{
    opacity:0.4;
  }
}

/* LIGHT MODE */
body.light-mode .skill-card{
  background:#ffffff;
  border:1px solid rgba(0,0,0,0.05);
}

body.light-mode .skill-card:hover{
  box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

/* ================= TYPO ================= */
h2{
  margin-bottom:var(--space-sm);
}

p{
  line-height:1.6;
}

/* ================= TIMELINE ================= */
.timeline{
  border-left:2px solid var(--accent);
  padding-left:20px;
}

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

.timeline-item::before{
  content:'';
  position:absolute;
  left:-11px;
  top:5px;
  width:10px;
  height:10px;
  background:var(--accent);
  border-radius:50%;
}

/* ================= FIX LINK COLOR ================= */
a{
  color:inherit;
  text-decoration:none;
}

a:visited{
  color:inherit;
}

/* ================= CONTACT ================= */
.contact-box{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.contact-btn{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border-radius:14px;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  color:var(--text);
  backdrop-filter:blur(10px);
  transition:0.3s;
}

/* hover premium */
.contact-btn:hover{
  transform:translateY(-4px);
  box-shadow:0 15px 40px rgba(56,189,248,0.2);
  border-color:var(--accent);
  color:var(--accent);
}

.contact-btn.phone:hover{
  color:#22c55e;
  border-color:#22c55e;
  box-shadow:0 10px 25px rgba(34,197,94,0.3);
}

.contact-btn.email:hover{
  color:#ef4444;
  border-color:#ef4444;
  box-shadow:0 10px 25px rgba(239,68,68,0.3);
}

/* CONTACT (tetap soft putih) */
body.light-mode .contact-btn{
  background:#f1f5f9;
  border:1px solid rgba(0,0,0,0.05);
}

/* ================= SOCIAL ================= */
.social-btn{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border-radius:14px;

  background:rgba(255,255,255,0.05); /* 🔥 FIX */
  border:1px solid rgba(255,255,255,0.08);

  color:var(--text);
  text-decoration:none;

  transition:0.3s ease;
  position:relative;
  overflow:hidden;
}

.social-btn.github:hover{
  background:#0f172a;
  color:#fff;
  border-color:#0f172a;

  box-shadow:
    0 10px 25px rgba(0,0,0,0.3),
    0 0 15px rgba(255,255,255,0.2);
}

.social-btn.instagram:hover{
  background:linear-gradient(
    45deg,
    #f58529,
    #dd2a7b,
    #8134af,
    #515bd4
  );

  color:#fff;
  border:none;

  box-shadow:
    0 10px 30px rgba(221,42,123,0.4),
    0 0 20px rgba(131,52,175,0.4);
}
.social-btn::before{
  content:'';
  position:absolute;
  inset:0;
  border-radius:14px;

  opacity:0;
  transition:0.3s;
}

.social-btn.github::before{
  background:radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
}

.social-btn.instagram::before{
  background:radial-gradient(circle, rgba(221,42,123,0.25), transparent 70%);
}

.social-btn:hover::before{
  opacity:1;
}

.social-btn:hover{
  transform:translateY(-4px);
  background:rgba(56,189,248,0.08);
  border-color:rgba(56,189,248,0.4);
}

body.light-mode .social-btn{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border-radius:14px;

  background:#f1f5f9; /* abu soft */
  border:1px solid rgba(0,0,0,0.05);
  color:#0f172a;

  box-shadow:
    0 4px 10px rgba(0,0,0,0.06),
    inset 0 1px 2px rgba(255,255,255,0.8);

  transition:0.25s;
}

body.light-mode .social-btn:hover{
  transform:translateY(-3px);

  background:#ffffff;
  border-color:rgba(0,0,0,0.08);

  box-shadow:
    0 10px 25px rgba(0,0,0,0.12),
    inset 0 1px 2px rgba(255,255,255,1);
}

.social-btn i{
  opacity:0.8;
}

.social-btn:hover i{
  opacity:1;
}

/* ================= TOGGLE ================= */
.menu-toggle{
  display:none;
  font-size:22px;
  cursor:pointer;
  z-index:5000;
  position:relative;
}
/* tampil di mobile */
@media(max-width:768px){
  .menu-toggle{
    display:block;
  }
}

.menu-toggle i{
  color:#fff;
}

.menu-toggle.active i{
  transform:rotate(90deg);
}
/* ================ Dark/Light Button =============== */
.theme-btn{
  width:52px;
  height:26px;
  border-radius:20px;
  border:none;
  cursor:pointer;
  background:rgba(255,255,255,0.1);
  position:relative;
}
/* ================= FIX TOGGLE LIGHT MODE ================= */
body.light-mode .theme-btn{
  background:linear-gradient(135deg,#0ea5e9,#38bdf8);
  box-shadow:
    0 4px 15px rgba(14,165,233,0.4),
    0 0 20px rgba(56,189,248,0.5);
}

/* BULATAN */
body.light-mode .toggle-circle{
  background:#ffffff;
  box-shadow:
    0 0 10px rgba(255,255,255,0.9),
    0 0 20px rgba(56,189,248,0.6);
}
/* ICON DI DALAM TOGGLE */
.theme-btn i{
  position:absolute;
  right:6px;
  top:50%;
  transform:translateY(-50%);
  font-size:12px;
  color:#fff;
}

/* HOVER EFFECT */
.theme-btn:hover{
  transform:scale(1.08);
  box-shadow:
    0 0 15px rgba(56,189,248,0.8),
    0 0 30px rgba(56,189,248,0.5);
  transition:0.3s;
}

.toggle-circle{
  position:absolute;
  width:20px;
  height:20px;
  background:#fff;
  border-radius:50%;
  left:3px;
  top:3px;
  transition:0.3s;
}

body.light-mode .toggle-circle{
  transform:translateX(24px);
}

body.light-mode .menu-toggle i{
  color:#0f172a;
}

/* ================= CURSOR ================= */
.cursor-glow{
  position:fixed;
  width:140px;
  height:140px;
  border-radius:50%;
  filter:blur(20px);
  background:radial-gradient(circle, rgba(56,189,248,0.25), transparent);
  pointer-events:none;
  z-index:9999;
  transition:transform 0.1s;
}

/* ================= FIX BUTTON LIGHT MODE ================= */
body.light-mode .btn{
  background:#0ea5e9; /* biru lebih gelap */
  color:#fff;
}

body.light-mode .btn-outline{
  border:2px solid #0ea5e9;
  color:#0ea5e9;
  background:rgba(14,165,233,0.08);
}

/* hover biar jelas */
body.light-mode .btn:hover{
  box-shadow:0 10px 30px rgba(14,165,233,0.5);
}

body.light-mode .btn-outline:hover{
  background:#0ea5e9;
  color:#fff;
}

body.light-mode .hero-text span{
  -webkit-text-fill-color:unset;
  color:var(--accent);
}

/* ================= CINEMATIC REVEAL ================= */
.reveal{
  opacity:0;
  transform:translateY(60px) scale(0.98);
  transition: all 0.8s ease;
  will-change:transform, opacity;
}
.no-js .reveal{
  opacity:1;
  transform:none;
}
.reveal.active{
  opacity:1;
  transition-delay:0.1s;
  transform:translateY(0) scale(1);
}
.reveal-left{
  opacity:0;
  transform:translateX(-40px);
  transition:0.8s ease;
  will-change:transform, opacity;
}

.reveal-right{
  opacity:0;
  transform:translateX(40px);
  transition:0.8s ease;
  will-change:transform, opacity;
}

.reveal-left.active,
.reveal-right.active{
  opacity:1;
  transform:translateX(0);
}

.reveal:nth-child(2){ transition-delay:0.2s; }
.reveal:nth-child(3){ transition-delay:0.3s; }
.reveal:nth-child(4){ transition-delay:0.4s; }

/* ================= FIX NAVBAR LIGHT MODE ================= */
body.light-mode .navbar{
  background:rgba(255,255,255,0.7);
  border:1px solid rgba(0,0,0,0.05);
  box-shadow:0 8px 20px rgba(0,0,0,0.1);
}

/* logo text biar jelas */
body.light-mode .logo-text{
  color:#0f172a; /* hitam gelap */
  font-weight:600;
}

/* nav menu biar jelas */
body.light-mode .nav-links a{
  color:#0f172a;
}

/* hover tetap biru */
body.light-mode .nav-links a:hover{
  color:var(--accent);
}


/* ================= FOOTER CRYPTO ================= */
.footer{
  position:relative;
  margin-top:100px;
  padding:50px 20px;
  text-align:center;
  font-size:13px;
  overflow:hidden;
  backdrop-filter: blur(10px);
  background:linear-gradient(
    180deg,
    rgba(15,23,42,0.9),
    rgba(15,23,42,1)
  );

  border-top:1px solid rgba(56,189,248,0.2);
}

/* 🔥 animated neon line */
.footer::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:200%;
  height:2px;

  background:linear-gradient(
    90deg,
    transparent,
    #38bdf8,
    #0ea5e9,
    #38bdf8,
    transparent
  );

  animation:cryptoLine 6s linear infinite;
}

/* 🔥 glow aura */
.footer::after{
  content:'';
  position:absolute;
  top:-40px;
  left:50%;
  transform:translateX(-50%);
  width:300px;
  height:120px;

  background:radial-gradient(
    circle,
    rgba(56,189,248,0.25),
    transparent 70%
  );

  filter:blur(40px);
  z-index:-1;
}

/* TEXT */
.footer p{
  opacity:0.7;
  letter-spacing:0.5px;
  transition:0.4s;
}

/* hover neon effect */
.footer:hover p{
  opacity:1;
  color:#38bdf8;
  text-shadow:
    0 0 8px rgba(56,189,248,0.6),
    0 0 20px rgba(56,189,248,0.5);
}

/* ⚡ lightning anim */
.footer p:last-child{
  display:block;
  margin-top:8px;
  animation:blink 2s infinite;
}

/* ================= FOOTER LIGHT MODE (CRYPTO STYLE) ================= */
body.light-mode .footer{
  background:linear-gradient(
    180deg,
    #ffffff,
    #f1f5f9
  );

  border-top:1px solid rgba(14,165,233,0.3);
}

/* neon line tetap hidup */
body.light-mode .footer::before{
  background:linear-gradient(
    90deg,
    transparent,
    #0ea5e9,
    #38bdf8,
    #0ea5e9,
    transparent
  );
}

/* glow dikurangi biar gak pudar */
body.light-mode .footer::after{
  background:radial-gradient(
    circle,
    rgba(14,165,233,0.15),
    transparent 70%
  );
}

/* text fix */
body.light-mode .footer p{
  color:#0f172a;
  opacity:0.85;
}

body.light-mode .footer:hover p{
  color:#0ea5e9;
  text-shadow:none;
}

/* ================= FOOTER ANIMATION ================= */
@keyframes cryptoLine{
  0%{ transform:translateX(-50%); }
  100%{ transform:translateX(0); }
}

@keyframes blink{
  0%,100%{ opacity:1; }
  50%{ opacity:0.5; }
}

/* ============ LIGHT MODE NAV LINK ============ */
/* 🔥 FIX MENU LIGHT MODE */
body.light-mode .nav-links{
  background:#ffffff; /* putih solid */
  color:#0f172a;
}
body.light-mode .nav-links a{
  color:#0f172a;
}
body.light-mode .nav-overlay{
  background:rgba(0,0,0,0.2);
  backdrop-filter:blur(4px);
}
body.light-mode .nav-links{
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.social-btn{
  background:rgba(255,255,255,0.05) !important;
  border:1px solid rgba(255,255,255,0.08) !important;
  color:var(--text) !important;
}

/* ========= Particles ========== */
#particles{
  position:fixed;
  inset: 0;
  width:100%;
  height:100%;
  transform: translateZ(0);
  will-change: transform;

  z-index:-1; /* di belakang konten */
  pointer-events:none;
}
