:root{
  --bg:#05050a;
  --panel:rgba(0,0,0,0.42);
  --border:rgba(255,255,255,0.08);
  --text:rgba(255,255,255,0.92);
  --muted:rgba(255,255,255,0.62);
  --accent:#ff2d6d;
  --accent2:#ff0048;
  --purple:#b980ff;
  --shadow:0 24px 60px rgba(0,0,0,0.65);
  --blur:18px;
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  background:var(--bg);
  font-family:"Inter",sans-serif;
  color:var(--text);
  overflow-x:hidden;
}

/* Sakura Canvas */
#sakuraCanvas{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
}

/* Background */
.bg-overlay{
  position:fixed;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.92) 100%),
    url("bg.jpg");
  background-size:cover;
  background-position:center;
  z-index:-3;
}

.bg-overlay::after{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 40% 30%, rgba(255,45,109,0.28), rgba(0,0,0,0.92));
  z-index:-2;
}

/* Sidebar */
.sidebar{
  position:fixed;
  left:0;
  top:0;
  width:70px;
  height:100vh;
  background:rgba(0,0,0,0.50);
  border-right:1px solid var(--border);
  backdrop-filter:blur(var(--blur));
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:18px 0;
  z-index:70;
}

.logo{
  font-size:22px;
  margin-bottom:40px;
  color:var(--accent);
  text-shadow:0 0 20px rgba(255,45,109,0.6);
}

.side-menu{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.side-menu a,
.side-bottom a{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:12px;
  color:rgba(255,255,255,0.75);
  transition:0.2s;
  text-decoration:none;
}

.side-menu a:hover,
.side-bottom a:hover{
  background:rgba(255,255,255,0.08);
  color:#fff;
}

.side-menu a.active{
  background:rgba(255,45,109,0.16);
  color:var(--accent);
  border:1px solid rgba(255,45,109,0.35);
}

.side-bottom{
  margin-top:auto;
  margin-bottom:15px;
}

/* Main Container */
.container{
  margin-left:70px;
  padding:18px 40px;
}

/* Topbar */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 18px;
  border-radius:18px;
  position:sticky;
  top:12px;
  z-index:60;

  background:rgba(0,0,0,0.25);
  border:1px solid var(--border);
  backdrop-filter:blur(var(--blur));
  transition:0.25s;
}

.topbar.scrolled{
  background:rgba(0,0,0,0.60);
  border-color:rgba(255,45,109,0.18);
  box-shadow:0 18px 55px rgba(0,0,0,0.65);
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:"Cinzel",serif;
  font-weight:600;
}

.brand-icon{
  color:var(--accent);
  text-shadow:0 0 15px rgba(255,45,109,0.75);
}

.nav-links{
  display:flex;
  gap:26px;
}

.nav-links a{
  text-decoration:none;
  color:rgba(255,255,255,0.72);
  font-size:12px;
  letter-spacing:1px;
  transition:0.2s;
}

.nav-links a:hover{color:#fff}

.nav-links a.active{
  color:#fff;
  border-bottom:2px solid var(--accent);
  padding-bottom:6px;
}

.nav-actions{
  display:flex;
  align-items:center;
  gap:12px;
}

.icon-btn{
  width:38px;
  height:38px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(0,0,0,0.35);
  color:rgba(255,255,255,0.82);
  cursor:pointer;
}

.icon-btn:hover{
  border-color:rgba(255,45,109,0.45);
  color:#fff;
}

.avatar{
  width:38px;
  height:38px;
  border-radius:50%;
  background:url("avatar.png");
  background-size:cover;
  background-position:center;
  border:2px solid rgba(255,45,109,0.45);
}

/* Hamburger */
.hamburger{
  display:none;
  width:42px;
  height:42px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(0,0,0,0.45);
  color:#fff;
  cursor:pointer;
}

/* Mobile Menu */
.mobile-menu{
  position:fixed;
  top:0;
  right:-100%;
  width:290px;
  height:100vh;
  background:rgba(0,0,0,0.78);
  border-left:1px solid var(--border);
  backdrop-filter:blur(22px);
  z-index:120;
  padding:22px;
  transition:0.3s;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.mobile-menu.active{
  right:0;
}

.mobile-menu a{
  text-decoration:none;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.06);
  background:rgba(255,255,255,0.03);
  color:rgba(255,255,255,0.82);
  display:flex;
  align-items:center;
  gap:12px;
}

.mobile-menu a.active{
  border-color:rgba(255,45,109,0.4);
  color:#fff;
}

.close-btn{
  margin-left:auto;
  width:45px;
  height:45px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,45,109,0.16);
  color:#fff;
  cursor:pointer;
}

.mobile-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.55);
  z-index:110;
  opacity:0;
  pointer-events:none;
  transition:0.3s;
}

.mobile-overlay.active{
  opacity:1;
  pointer-events:auto;
}

/* Hero */
.hero{
  margin-top:18px;
  position:relative;
  height:420px;
  border-radius:22px;
  overflow:hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.86), rgba(0,0,0,0.25)),
    url("bg.jpg");
  background-size:cover;
  background-position:center;
  border:1px solid rgba(255,255,255,0.06);
  box-shadow:var(--shadow);
}

.hero-content{
  padding:70px;
  max-width:720px;
}

.hero-content h1{
  font-family:"Cinzel",serif;
  font-size:72px;
  font-weight:700;
}

.hero-content h2{
  margin-top:10px;
  font-size:18px;
  color:var(--accent);
  font-weight:500;
  letter-spacing:2px;
}

.hero-content p{
  margin-top:18px;
  color:var(--muted);
  font-size:14px;
  line-height:1.75;
}

.hero-buttons{
  margin-top:28px;
  display:flex;
  gap:14px;
}

/* Buttons */
.btn{
  text-decoration:none;
  font-size:12px;
  padding:12px 18px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  letter-spacing:1px;
  transition:0.25s;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn-primary{
  background:linear-gradient(90deg,var(--accent),var(--accent2));
  color:#fff;
  box-shadow:0 0 25px rgba(255,45,109,0.35);
}

.btn-outline{
  background:rgba(0,0,0,0.42);
  border:1px solid rgba(255,255,255,0.12);
  color:rgba(255,255,255,0.9);
}

.btn.full{
  width:100%;
  justify-content:center;
}

/* Glow Animation */
.glow{animation:pulseGlow 2s infinite ease-in-out}
.glow-soft{animation:pulseGlowSoft 2.2s infinite ease-in-out}

@keyframes pulseGlow{
  0%{box-shadow:0 0 12px rgba(255,45,109,0.25), 0 0 35px rgba(255,45,109,0.35)}
  50%{box-shadow:0 0 22px rgba(255,45,109,0.55), 0 0 65px rgba(255,45,109,0.65)}
  100%{box-shadow:0 0 12px rgba(255,45,109,0.25), 0 0 35px rgba(255,45,109,0.35)}
}

@keyframes pulseGlowSoft{
  0%{box-shadow:0 0 12px rgba(255,45,109,0.18)}
  50%{box-shadow:0 0 26px rgba(255,45,109,0.45)}
  100%{box-shadow:0 0 12px rgba(255,45,109,0.18)}
}

/* Hero Indicator */
.hero-indicator{
  position:absolute;
  right:25px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  gap:14px;
}

.hero-indicator .line{
  width:2px;
  height:140px;
  background:rgba(255,255,255,0.15);
}

.hero-indicator .numbers{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.hero-indicator span{
  font-size:12px;
  color:rgba(255,255,255,0.55);
  letter-spacing:2px;
}

.hero-indicator span.active{
  color:var(--accent);
}

/* Content Grid */
.content-grid{
  display:grid;
  grid-template-columns:1fr 340px;
  gap:22px;
  margin-top:28px;
}

/* Section Title */
.section-title{
  display:flex;
  align-items:baseline;
  gap:14px;
  margin-bottom:18px;
}

.section-title h3{
  font-size:18px;
  font-weight:600;
}

.section-title .jp{
  font-size:12px;
  color:rgba(255,45,109,0.8);
  letter-spacing:1px;
}

.section-title .view-all{
  margin-left:auto;
  font-size:12px;
  text-decoration:none;
  color:rgba(255,255,255,0.6);
}

.section-title .view-all:hover{
  color:#fff;
}

/* Posts */
.posts-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.post-card{
  background:var(--panel);
  border:1px solid rgba(255,255,255,0.06);
  border-radius:18px;
  overflow:hidden;
  backdrop-filter:blur(16px);
  transition:0.25s;
}

.post-card:hover{
  transform:translateY(-6px);
  border-color:rgba(255,45,109,0.25);
  box-shadow:0 20px 45px rgba(0,0,0,0.6);
}

.post-thumb{
  height:155px;
  background-size:cover;
  background-position:center;
  filter:contrast(1.05) brightness(0.92);
}

/* Ganti URL gambar ini kalau sudah punya assets sendiri */
.thumb1{background-image:url("hero-banner.jpg")}
.thumb2{background-image:url("hero-banner.jpg")}
.thumb3{background-image:url("hero-banner.jpg")}
.thumb4{background-image:url("hero-banner.jpg")}

.post-body{
  padding:16px;
}

.tag{
  display:inline-block;
  font-size:10px;
  padding:5px 10px;
  border-radius:999px;
  letter-spacing:1px;
  margin-bottom:10px;
}

.tag.red{
  background:rgba(255,45,109,0.18);
  border:1px solid rgba(255,45,109,0.35);
  color:var(--accent);
}

.tag.purple{
  background:rgba(170,90,255,0.18);
  border:1px solid rgba(170,90,255,0.35);
  color:var(--purple);
}

.post-body h4{
  font-size:15px;
  margin-bottom:8px;
  line-height:1.3;
}

.post-body p{
  font-size:12px;
  color:rgba(255,255,255,0.62);
  line-height:1.65;
}

.post-date{
  margin-top:12px;
  font-size:11px;
  color:rgba(255,255,255,0.5);
  display:flex;
  align-items:center;
  gap:8px;
}

/* Right Panel */
.right-panel{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.panel-card{
  background:var(--panel);
  border:1px solid rgba(255,255,255,0.06);
  border-radius:18px;
  padding:18px;
  backdrop-filter:blur(16px);
}

.panel-card h4{
  font-size:15px;
  margin-bottom:6px;
}

.panel-card .jp{
  font-size:11px;
  color:rgba(255,45,109,0.8);
}

.about-avatar{
  margin-top:15px;
  width:92px;
  height:92px;
  border-radius:50%;
  background:url("avatar.png");
  background-size:cover;
  background-position:center;
  border:2px solid rgba(255,45,109,0.45);
  box-shadow:0 0 25px rgba(255,45,109,0.25);
}

.about-card p{
  margin-top:14px;
  font-size:12px;
  line-height:1.65;
  color:rgba(255,255,255,0.65);
  margin-bottom:14px;
}

/* Social */
.social-icons{
  margin-top:14px;
  display:flex;
  gap:12px;
}

.social-icons a{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.06);
  color:rgba(255,255,255,0.75);
  transition:0.2s;
}

.social-icons a:hover{
  border-color:rgba(255,45,109,0.5);
  color:#fff;
}

/* Categories */
.categories{
  margin-top:30px;
}

.category-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:16px;
}

.category-card{
  background:var(--panel);
  border:1px solid rgba(255,255,255,0.06);
  border-radius:18px;
  padding:16px;
  display:flex;
  align-items:center;
  gap:14px;
  backdrop-filter:blur(16px);
  transition:0.25s;
}

.category-card:hover{
  transform:translateY(-5px);
  border-color:rgba(255,45,109,0.25);
}

.category-card i{
  font-size:20px;
  color:var(--accent);
  text-shadow:0 0 18px rgba(255,45,109,0.45);
}

.category-card h5{
  font-size:14px;
}

.category-card span{
  font-size:11px;
  color:rgba(255,255,255,0.6);
}

/* Newsletter */
.newsletter{
  margin-top:28px;
}

.newsletter-box{
  border-radius:22px;
  padding:48px;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.78), rgba(0,0,0,0.35)),
    url("https://i.pinimg.com/1200x/0d/9b/5e/0d9b5e4a5a4b1e3e74d3f9e5d0dba5c7.jpg");
  background-size:cover;
  background-position:center;
  border:1px solid rgba(255,255,255,0.06);
  box-shadow:var(--shadow);
  text-align:center;
}

.mini-title{
  font-size:11px;
  letter-spacing:2px;
  color:rgba(255,45,109,0.9);
}

.newsletter-box h2{
  margin-top:10px;
  font-family:"Cinzel",serif;
  font-size:34px;
}

.newsletter-box p{
  margin-top:10px;
  color:rgba(255,255,255,0.65);
  font-size:13px;
  line-height:1.7;
}

.newsletter-form{
  margin-top:18px;
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}

.newsletter-form input{
  width:min(420px, 100%);
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(0,0,0,0.55);
  color:#fff;
  outline:none;
}

/* Footer */
.footer-big{
  margin-top:30px;
  border-top:1px solid rgba(255,255,255,0.06);
  padding-top:24px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:18px;
}

.footer-brand h3{
  font-family:"Cinzel",serif;
  font-size:18px;
}

.footer-brand p{
  margin-top:10px;
  color:rgba(255,255,255,0.62);
  font-size:12px;
  line-height:1.7;
}

.footer-links h4,
.footer-social h4{
  font-size:12px;
  letter-spacing:1px;
  margin-bottom:10px;
}

.footer-links a{
  display:block;
  text-decoration:none;
  color:rgba(255,255,255,0.6);
  font-size:12px;
  margin-bottom:10px;
}

.footer-links a:hover{
  color:#fff;
}

.footer-bottom{
  margin-top:20px;
  padding:18px 0;
  text-align:center;
  color:rgba(255,255,255,0.45);
  font-size:12px;
  border-top:1px solid rgba(255,255,255,0.06);
}

/* Scroll Reveal */
.fade-up{
  opacity:0;
  transform:translateY(24px);
  transition:0.8s ease;
}

.fade-up.show{
  opacity:1;
  transform:translateY(0);
}

/* Responsive */
@media(max-width:1200px){
  .posts-grid{grid-template-columns:repeat(2,1fr)}
  .category-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
}

@media(max-width:950px){
  .content-grid{grid-template-columns:1fr}
  .right-panel{flex-direction:row}
  .hero-content h1{font-size:54px}
}

@media(max-width:780px){
  .nav-links{display:none}
  .hamburger{display:grid;place-items:center}
  .container{padding:12px}
  .hero-content{padding:32px}
  .hero-content h1{font-size:42px}
  .hero-indicator{display:none}
  .right-panel{flex-direction:column}
  .posts-grid{grid-template-columns:1fr}
  .category-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}

  .hero-buttons{
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn{
    width: 100%;
    justify-content: center;
  }

  .hero{
    height: auto;
    padding-bottom: 25px;
  }
}