/* ═══════════════════════════════════════════
   LUCKY UBAIDILLAH — PORTFOLIO CSS
   Modern Dark Theme
═══════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --bg: #0a0a0f;
  --bg2: #0f0f18;
  --surface: rgba(255,255,255,0.04);
  --surface2: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --border2: rgba(255,255,255,0.14);

  --accent: #5b8dee;
  --accent2: #7aa3f5;
  --accent3: #3a6bd4;
  --accent-glow: rgba(91,141,238,0.25);

  --text: #f0f0f5;
  --text2: #a0a0b0;
  --text3: #606070;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
  --shadow-sm: 0 4px 20px rgba(0,0,0,0.3);
}

/* ── Reset ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width:100%; display:block; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }

/* ── Custom Cursor ── */
.cursor {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform .1s;
}
.cursor-trail {
  width: 30px; height: 30px;
  border: 1.5px solid rgba(91,141,238,0.4);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: all .15s ease-out;
}
@media (hover:none) { .cursor, .cursor-trail { display:none; } }

/* ── Loader ── */
.loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
.loader.hidden { opacity:0; visibility:hidden; }
.loader-text {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.04em;
}
.loader-text span { color: var(--accent); }

/* ── Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--d, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay { --d: .18s; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset:0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform .3s ease;
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px var(--accent-glow); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border: 1.5px solid var(--border2);
  color: var(--text2);
  border-radius: 50px;
  font-weight: 500;
  font-size: 14px;
  transition: all .3s ease;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  background: rgba(91,141,238,0.06);
}

/* ── Section Layout ── */
.section-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 100px 40px;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1.1;
}
.section-title em {
  font-style: normal;
  color: var(--accent);
}
.section-desc {
  margin-top: 14px;
  font-size: 15px;
  color: var(--text2);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════ NAVBAR ═══════════════════ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  transition: background .4s, box-shadow .4s, padding .4s;
}
header.scrolled {
  background: rgba(10,10,15,0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
  padding: 0 40px;
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.03em;
  flex-shrink: 0;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  border-radius: 50px;
  transition: all .25s ease;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--text);
  background: var(--surface2);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  transition: all .3s ease;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--accent3); transform: translateY(-1px); }
.nav-cta i { font-size: 11px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 40px 24px;
  background: rgba(10,10,15,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text2);
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.mobile-link:hover { color: var(--text); background: var(--surface); }

/* ═══════════════════ HERO ═══════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset:0;
  z-index: 0;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .25;
  animation: blobPulse 8s ease-in-out infinite alternate;
}
.blob-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  top: -150px; right: -100px;
}
.blob-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #a855f7, transparent 70%);
  bottom: -100px; left: -50px;
  animation-delay: -4s;
}
@keyframes blobPulse {
  0% { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.15) translate(20px,-20px); }
}
.grid-lines {
  position: absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  max-width: 1120px;
  margin: 0 auto;
  padding: 130px 40px 80px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(91,141,238,0.1);
  border: 1px solid rgba(91,141,238,0.25);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent2);
  margin-bottom: 24px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: ping 2s ease-in-out infinite;
}
@keyframes ping {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:.6; transform:scale(1.3); }
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.04em;
  color: var(--text);
  margin-bottom: 20px;
}
.name-highlight {
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.title-line { color: var(--text2); }

.hero-role {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.role-tag {
  padding: 5px 14px;
  border: 1px solid var(--border2);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
}
.role-sep { color: var(--text3); }

.hero-desc {
  font-size: 15px;
  color: var(--text2);
  max-width: 440px;
  line-height: 1.75;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-socials {
  display: flex;
  gap: 12px;
}
.hero-socials a {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text3);
  transition: all .3s;
}
.hero-socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(91,141,238,0.08);
  transform: translateY(-2px);
}

/* ── Hero Image ── */
.hero-right { position:relative; }
.hero-img-wrap {
  position: relative;
  width: 340px;
}
.img-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: conic-gradient(var(--accent), #a78bfa, var(--accent));
  animation: spin 8s linear infinite;
  -webkit-mask: radial-gradient(circle, transparent 62%, black 63%);
  mask: radial-gradient(circle, transparent 62%, black 63%);
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-img {
  width: 340px; height: 340px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--bg);
  position: relative;
  z-index: 1;
}
.floating-card {
  position: absolute;
  background: rgba(15,15,24,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}
.fc-1 { bottom: 20px; right: -20px; animation-delay: 0s; }
.fc-2 { top: 30px; left: -30px; animation-delay: -2s; }
.floating-card i { color: var(--accent); font-size: 15px; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.scroll-down {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text3);
  z-index: 1;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%,100% { transform: scaleY(1); opacity:1; }
  50% { transform: scaleY(.6); opacity:.5; }
}

/* ═══════════════════ MARQUEE ═══════════════════ */
.marquee-strip {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text3);
  letter-spacing: .05em;
}
.marquee-track span:nth-child(even) { color: rgba(91,141,238,0.4); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════════════ ABOUT ═══════════════════ */
.about { background: var(--bg2); }

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all .3s ease;
}
.about-card:hover {
  background: var(--surface2);
  border-color: rgba(91,141,238,0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.about-card-icon {
  width: 44px; height: 44px;
  background: rgba(91,141,238,0.1);
  border: 1px solid rgba(91,141,238,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 16px;
}
.about-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}
.about-card ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text2);
  padding: 5px 0;
}
.about-card ul li i {
  font-size: 10px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Skill Bars */
.skills-bar-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.skill-bar-item {}
.skill-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  margin-bottom: 8px;
}
.skill-bar-label span:last-child { color: var(--accent); }
.skill-bar-track {
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent3), var(--accent2));
  border-radius: 100px;
  transition: width 1.2s cubic-bezier(.2,1,.2,1);
}

/* ═══════════════════ COLLECTION ═══════════════════ */
.collection { background: var(--bg); }

.design-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
  align-items: center;
}
.design-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}
.design-card { border-radius: var(--radius); overflow: hidden; }
.design-card.dc-large { grid-row: span 1; }
.dc-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.dc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.design-card:hover .dc-img img { transform: scale(1.06); }
.dc-overlay {
  position: absolute; inset:0;
  background: rgba(10,10,15,0.6);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity .3s;
}
.design-card:hover .dc-overlay { opacity:1; }
.dc-overlay span {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  background: rgba(91,141,238,0.8);
  padding: 4px 12px;
  border-radius: 50px;
}

.design-info {}
.di-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.design-info h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: 20px;
}
.design-info h2 em {
  font-style: normal;
  color: var(--accent);
}
.di-desc {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 28px;
}
.di-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  width: fit-content;
}
.di-author img {
  width: 40px; height: 40px;
  border-radius: 10px;
  object-fit: cover;
}
.di-author small { display:block; font-size:11px; color:var(--text3); }
.di-author strong { font-size:13px; color:var(--text); }

/* ═══════════════════ PROJECTS ═══════════════════ */
.projects { background: var(--bg2); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.pcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.pcard:hover {
  border-color: rgba(91,141,238,0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.pcard-preview {
  position: relative;
  height: 200px;
  background: #090912;
  overflow: hidden;
}
.pcard-preview img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .5s ease;
}
.pcard:hover .pcard-preview img { transform: scale(1.04); }

.pcard-browser {
  position: absolute; top:0; left:0; right:0;
  height: 26px;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  z-index: 2;
}
.bd { width:8px; height:8px; border-radius:50%; }
.bd.red { background:#ff5f57; }
.bd.yellow { background:#ffbd2e; }
.bd.green { background:#28c840; }

.pcard-type {
  position: absolute;
  top: 34px; right: 10px;
  background: rgba(91,141,238,0.85);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  z-index: 2;
  letter-spacing: .04em;
}

.pcard-hover {
  position: absolute; inset:0;
  background: rgba(10,10,20,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity .3s;
  z-index: 3;
}
.pcard:hover .pcard-hover { opacity:1; }
.pcard-hover a {
  background: rgba(255,255,255,0.93);
  color: #111;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  transition: background .15s;
}
.pcard-hover a:hover { background:#fff; }

.pcard-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pcard-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.pcard-top h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.pcard-links {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.pcard-links a {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text3);
  transition: all .25s;
}
.pcard-links a:hover { color: var(--accent); border-color: var(--accent); }

.pcard-body > p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 14px;
}
.pcard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}
.tag {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 5px;
  letter-spacing: .02em;
}
.t-html { background:rgba(227,79,38,0.15); color:#fb923c; }
.t-css { background:rgba(21,114,182,0.15); color:#60a5fa; }
.t-js { background:rgba(247,223,30,0.12); color:#fde047; }
.t-react { background:rgba(97,218,251,0.12); color:#61DAFB; }
.t-tailwind { background:rgba(6,182,212,0.12); color:#22d3ee; }
.t-vite { background:rgba(100,108,255,0.15); color:#a78bfa; }
.t-laravel { background:rgba(255,45,32,0.12); color:#ff9b8e; }
.t-php { background:rgba(136,146,190,0.15); color:#a5b4fc; }
.t-mysql { background:rgba(68,121,161,0.15); color:#7dd3fc; }

.pcard-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
  padding-top: 12px;
}
.pcard-chips span {
  font-size: 11px;
  color: var(--text3);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 4px;
}

.projects-more { text-align:center; }

/* ═══════════════════ TOOLS ═══════════════════ */
.tools-section { background: var(--bg); }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tool-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  transition: all .3s ease;
  cursor: default;
}
.tool-item i { font-size: 32px; transition: transform .3s; }
.tool-item:hover {
  background: var(--surface2);
  border-color: var(--border2);
  transform: translateY(-4px);
  color: var(--text);
}
.tool-item:hover i { transform: scale(1.15); }

/* ═══════════════════ FOOTER ═══════════════════ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 24px 40px;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.03em;
}
.footer-logo span { color: var(--accent); }
.footer-inner p { font-size: 13px; color: var(--text3); }
.footer-socials { display:flex; gap:12px; }
.footer-socials a {
  font-size: 16px;
  color: var(--text3);
  transition: color .25s;
}
.footer-socials a:hover { color: var(--accent); }

/* ═══════════════════ TOAST ═══════════════════ */
.toast {
  position: fixed;
  bottom: 32px; right: 32px;
  background: #1a1a2e;
  color: var(--text);
  border: 1px solid var(--border2);
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow);
  transform: translateY(80px);
  opacity: 0;
  transition: all .4s cubic-bezier(.34,1.56,.64,1);
  z-index: 5000;
  pointer-events: none;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .design-layout { grid-template-columns: 1fr; gap: 40px; }
  .design-info { order: -1; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display:none; }
  .burger { display:flex; }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 110px 24px 60px;
    gap: 50px;
    text-align: center;
  }
  .hero-right { display:flex; justify-content:center; order:-1; }
  .hero-img-wrap, .hero-img { width:220px; height:220px; }
  .img-ring { inset:-8px; }
  .fc-1 { right: -10px; bottom: 10px; }
  .fc-2 { left: -10px; top: 20px; }
  .hero-badge, .hero-role, .hero-actions, .hero-socials {
    justify-content: center;
  }
  .hero-desc { margin: 0 auto 32px; }
  .scroll-down { display:none; }

  .section-container { padding: 70px 24px; }
  .about-grid { grid-template-columns: 1fr; }
  .skills-bar-wrap { padding: 24px; }

  .design-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }

  .footer { padding: 20px 24px; }
  .footer-inner { flex-direction: column; text-align:center; gap: 12px; }

  header { padding: 0 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; }
  .design-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .btn-primary, .btn-ghost { padding: 11px 22px; font-size: 13px; }
}

/* ═══════════════════════════════════════════════════
   ABOUT NEW — Farabi-style section
   Tambahkan CSS ini ke bagian BAWAH index.css kamu
   ═══════════════════════════════════════════════════ */

/* ── Section wrapper ── */
.about-new {
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

/* ── Decorative BG ── */
.about-new__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.about-new__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91,141,238,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,141,238,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}
.about-new__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .15;
}
.ab-blob-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #5b8dee, transparent 70%);
  top: -80px; left: -80px;
}
.ab-blob-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #a78bfa, transparent 70%);
  bottom: -60px; right: -60px;
}

/* ── section-container override for z-index ── */
.about-new .section-container {
  position: relative;
  z-index: 1;
}

/* ══ TOP ROW: Photo + Intro ══ */
.abn-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

/* subtle accent strip on left edge */
.abn-top::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--accent), #a78bfa);
  border-radius: 24px 0 0 24px;
}

/* ── Photo block ── */
.abn-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
}
.abn-photo-ring {
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: conic-gradient(var(--accent), #a78bfa, #5b8dee, var(--accent));
  animation: spin 10s linear infinite;
  -webkit-mask: radial-gradient(circle, transparent 58%, black 59%);
  mask: radial-gradient(circle, transparent 58%, black 59%);
  top: -8px;
}
.abn-photo {
  width: 200px; height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--bg);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 40px rgba(91,141,238,0.2);
}
.abn-badge-name {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(91,141,238,0.08);
  border: 1px solid rgba(91,141,238,0.2);
  border-radius: 50px;
  padding: 8px 14px;
  z-index: 1;
}
.abn-badge-avatar {
  width: 30px; height: 30px;
  border-radius: 8px;
  object-fit: cover;
}
.abn-badge-name strong {
  display: block;
  font-size: 12px;
  color: var(--text);
  font-weight: 600;
}
.abn-badge-name span {
  font-size: 10px;
  color: var(--accent);
}

/* ── Intro text ── */
.abn-label-wrap { margin-bottom: 8px; }
.abn-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 0;
}
.abn-heading em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.abn-divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #a78bfa);
  border-radius: 100px;
  margin: 16px 0;
}
.abn-sub {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -.01em;
}
.abn-text {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 10px;
}
.abn-text strong { color: var(--text); font-weight: 600; }

/* ── Stats strip ── */
.abn-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 28px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 14px;
  overflow: hidden;
  width: fit-content;
}
.abn-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 28px;
}
.abn-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}
.abn-stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -.03em;
}
.abn-stat-lbl {
  font-size: 11px;
  color: var(--text3);
  margin-top: 2px;
  white-space: nowrap;
}

/* ══ BOTTOM ROW: 4 columns grid ══ */
.abn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.abn-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.abn-col::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #a78bfa);
  transform: scaleX(0);
  transition: transform .35s ease;
  transform-origin: left;
}
.abn-col:hover {
  background: var(--surface2);
  border-color: rgba(91,141,238,0.25);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.abn-col:hover::after { transform: scaleX(1); }

.abn-col-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.abn-col-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(91,141,238,0.1);
  border: 1px solid rgba(91,141,238,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--accent);
  flex-shrink: 0;
}
.abn-col-header h4 {
  font-family: 'Syne', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text2);
  line-height: 1.2;
}
.abn-col-header h4 span {
  display: block;
  color: var(--text);
}

/* ── Lists ── */
.abn-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.abn-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text2);
  transition: color .2s;
}
.abn-list li i.fa-chevron-right {
  font-size: 9px;
  color: var(--accent);
  flex-shrink: 0;
}
.abn-col:hover .abn-list li { color: var(--text); }

/* Info list variant */
.abn-list--info li {
  gap: 10px;
}
.abn-list--info li i {
  font-size: 14px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  color: var(--accent);
}
.abn-list--info li span {
  flex: 1;
}

/* Status badge */
.abn-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.abn-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: ping 2s ease-in-out infinite;
  flex-shrink: 0;
}
.abn-status span:last-child {
  color: #4ade80;
  font-weight: 500;
  font-size: 12px;
}

/* Email row with copy button */
.abn-email-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.abn-email-row span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.abn-copy-btn {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text3);
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  flex-shrink: 0;
}
.abn-copy-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(91,141,238,0.08);
}

/* Services list variant */
.abn-list--services {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.abn-list--services li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.abn-srv-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(91,141,238,0.1);
  border: 1px solid rgba(91,141,238,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--accent);
  flex-shrink: 0;
}
.abn-srv-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.abn-srv-text strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.abn-srv-text span {
  font-size: 11px;
  color: var(--text3);
  line-height: 1.4;
}

/* Fun Facts grid */
.abn-fun-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.abn-fun-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  transition: all .25s ease;
  cursor: default;
}
.abn-fun-item:hover {
  border-color: rgba(91,141,238,0.3);
  transform: translateY(-3px);
  background: rgba(91,141,238,0.06);
}
.abn-fun-item i {
  font-size: 18px;
  color: var(--accent);
}
.abn-fun-item span {
  font-size: 11px;
  font-weight: 500;
  color: var(--text2);
}

/* Learning tags */
.abn-learning-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.abn-learning-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: rgba(91,141,238,0.08);
  border: 1px solid rgba(91,141,238,0.2);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  transition: all .25s ease;
}
.abn-learning-tag:hover {
  background: rgba(91,141,238,0.15);
  border-color: rgba(91,141,238,0.4);
  transform: translateY(-2px);
}
.abn-learning-tag i {
  font-size: 11px;
}

/* last column accent */
.abn-col--learning {
  border-color: rgba(91,141,238,0.15);
  background: rgba(91,141,238,0.03);
}

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .abn-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .abn-top {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 24px;
    gap: 36px;
  }
  .abn-top::before { display: none; }
  .abn-heading { font-size: 2.4rem; }
  .abn-divider { margin: 16px auto; }
  .abn-stats { margin: 24px auto 0; }
  .abn-col-header { justify-content: center; flex-direction: column; text-align: center; }
  .abn-col-header h4 { text-align: center; }
  .abn-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

@media (max-width: 480px) {
  .abn-grid { grid-template-columns: 1fr; }
  .abn-stats { flex-direction: column; width: 100%; }
  .abn-stat-divider { width: 60px; height: 1px; }
}

/* ═══════════════════════════════════════════════════
   LIGHT / DARK MODE — Tambahkan ke PALING BAWAH index.css
   ═══════════════════════════════════════════════════ */



/* ═══════════════════════════════════════════════════
   FEATURES.CSS — Lucky Ubaidillah Portfolio
   Semua style untuk fitur-fitur baru
   ═══════════════════════════════════════════════════ */

/* ── Smooth global transition for theme switch ── */
*, *::before, *::after {
  transition: background-color .35s ease, border-color .35s ease,
              color .35s ease, box-shadow .35s ease;
}

/* ═══════════════════════════════════
   1. SCROLL PROGRESS BAR
   ═══════════════════════════════════ */
.scroll-progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #a78bfa, var(--accent));
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
  z-index: 10001;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════
   2. BACK TO TOP BUTTON
   ═══════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg2);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 500;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: opacity .4s ease, transform .4s cubic-bezier(.34,1.56,.64,1);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.back-to-top:hover { transform: translateY(-3px) scale(1.08); }

.btt-ring {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.btt-ring-track {
  fill: none;
  stroke: var(--border2);
  stroke-width: 2.5;
}
.btt-ring-fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 106.81;
  stroke-dashoffset: 106.81;
  transition: stroke-dashoffset .15s linear;
}
.btt-icon {
  font-size: 14px;
  color: var(--accent);
  position: relative; z-index: 1;
}

/* ═══════════════════════════════════
   3. TYPING ANIMATION
   ═══════════════════════════════════ */
.hero-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 12px 0 16px;
  font-size: 14px;
  color: var(--text2);
  min-height: 22px;
}
.typing-prefix { color: var(--text3); }
.typing-text {
  color: var(--accent);
  font-weight: 600;
}
.typing-cursor {
  color: var(--accent);
  font-weight: 300;
  font-size: 16px;
  animation: blink .75s step-end infinite;
  line-height: 1;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0; }
}


/* (uses existing .nav-link.active from index.css) */

/* ═══════════════════════════════════
   5. PROJECT FILTER
   ═══════════════════════════════════ */
.filter-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  justify-content: center;
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  cursor: pointer;
  transition: all .25s ease;
}
.filter-btn i { font-size: 12px; }
.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(91,141,238,0.07);
}
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px var(--accent-glow);
}

/* Filtered-out card animation */
.pcard.hidden {
  display: none;
}
.pcard.fade-in {
  animation: cardFadeIn .4s ease forwards;
}
@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

/* ═══════════════════════════════════
   6. TIMELINE
   ═══════════════════════════════════ */
.timeline-section {
  background: var(--bg2);
  position: relative;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Center vertical line */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--accent), #a78bfa, transparent);
  transform: translateX(-50%);
}

.tl-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 48px;
  position: relative;
  gap: 0;
}

/* Left items: content left, dot right-center */
.tl-left  { flex-direction: row; }
.tl-right { flex-direction: row-reverse; }

.tl-left  .tl-content { margin-right: 50px; text-align: right; }
.tl-right .tl-content { margin-left:  50px; text-align: left;  }

.tl-left  .tl-content { width: calc(50% - 50px); }
.tl-right .tl-content { width: calc(50% - 50px); margin-left: calc(50% + 50px); }

/* Timeline dot */
.tl-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--accent);
  z-index: 2;
  transition: all .3s ease;
  box-shadow: 0 0 0 6px var(--bg), 0 0 20px var(--accent-glow);
}
.tl-item:hover .tl-dot {
  background: var(--accent);
  color: #fff;
  transform: translateX(-50%) scale(1.15);
}

/* Content card */
.tl-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: all .3s ease;
  position: relative;
}
.tl-item:hover .tl-content {
  border-color: rgba(91,141,238,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  transform: translateY(-3px);
}

.tl-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.tl-left .tl-header  { justify-content: flex-end; }
.tl-right .tl-header { justify-content: flex-start; }

.tl-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tl-tag--edu    { background: rgba(16,185,129,.15); color: #10b981; }
.tl-tag--project{ background: rgba(91,141,238,.15); color: var(--accent); }
.tl-tag--collab { background: rgba(167,139,250,.15); color: #a78bfa; }

.tl-year {
  font-size: 12px;
  color: var(--text3);
  font-weight: 500;
}

.tl-content h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.tl-role {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}
.tl-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tl-list li {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.5;
  position: relative;
  padding-left: 14px;
}
.tl-right .tl-list li { text-align: left; }
.tl-left  .tl-list li { text-align: right; padding-left: 0; padding-right: 14px; }
.tl-list li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 700;
}
.tl-left .tl-list li::before { left: auto; right: 4px; }

/* ═══════════════════════════════════
   7. TESTIMONIAL
   ═══════════════════════════════════ */
.testimonial-section { background: var(--bg); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.testi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #a78bfa);
  transform: scaleX(0);
  transition: transform .4s ease;
  transform-origin: left;
}
.testi-card:hover {
  border-color: rgba(91,141,238,0.25);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
}
.testi-card:hover::before { transform: scaleX(1); }

.testi-quote i {
  font-size: 28px;
  color: var(--accent);
  opacity: .4;
}
.testi-text {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.8;
  flex: 1;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 14px; color: var(--text); font-weight: 600; }
.testi-author span   { font-size: 11px; color: var(--text3); }

.testi-stars { display: flex; gap: 3px; }
.testi-stars i { font-size: 12px; color: #f59e0b; }

/* ═══════════════════════════════════
   9. LIGHTBOX
   ═══════════════════════════════════ */
.lightbox {
  position: fixed; inset: 0;
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(5,5,10,0.92);
  backdrop-filter: blur(12px);
}

.lb-img-wrap {
  position: relative;
  z-index: 1;
  max-width: 85vw;
  max-height: 85vh;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transform: scale(.9);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.lightbox.open .lb-img-wrap { transform: scale(1); }

.lb-img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  display: block;
}

.lb-caption {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  text-align: center;
}

.lb-close {
  position: absolute;
  top: 20px; right: 24px;
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
  backdrop-filter: blur(8px);
}
.lb-close:hover { background: rgba(255,255,255,.2); transform: rotate(90deg); }

.lb-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 2;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
  backdrop-filter: blur(8px);
}
.lb-nav:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

.lb-dots {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.lb-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: all .2s;
  border: none;
}
.lb-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* Zoom icon on gallery cards */
.dc-zoom {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 14px;
  color: #fff;
  background: rgba(91,141,238,.7);
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.lb-trigger { cursor: zoom-in; }

/* ═══════════════════════════════════
   10. COUNTER ANIMATION
   ═══════════════════════════════════ */
.abn-stat-num-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
}
.counter {
  display: inline-block;
  transition: none;
}

/* ═══════════════════════════════════
   11. LIGHT MODE OVERRIDES (features)
   ═══════════════════════════════════ */
html[data-theme="light"] .lb-backdrop    { background: rgba(230,230,245,0.95); }
html[data-theme="light"] .lb-close,
html[data-theme="light"] .lb-nav        { background: rgba(0,0,0,.08); border-color: rgba(0,0,0,.15); color: #111; }
html[data-theme="light"] .lb-close:hover,
html[data-theme="light"] .lb-nav:hover  { background: rgba(0,0,0,.15); }
html[data-theme="light"] .lb-caption    { color: rgba(0,0,0,.6); }
html[data-theme="light"] .lb-dot        { background: rgba(0,0,0,.2); }
html[data-theme="light"] .timeline-section  { background: var(--bg2); }
html[data-theme="light"] .testimonial-section { background: var(--bg); }

html[data-theme="light"] .tl-dot { background: var(--bg); box-shadow: 0 0 0 6px var(--bg), 0 0 20px var(--accent-glow); }
html[data-theme="light"] .scroll-progress-bar { box-shadow: 0 0 8px var(--accent-glow); }

/* ═══════════════════════════════════
   12. RESPONSIVE
   ═══════════════════════════════════ */
@media (max-width: 1024px) {
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Timeline: single column */
  .timeline::before { left: 20px; }
  .tl-item { flex-direction: column !important; padding-left: 52px; }
  .tl-dot  {
    left: 20px !important;
    top: 0;
    transform: translateX(-50%) !important;
    width: 36px; height: 36px;
    font-size: 13px;
  }
  .tl-item:hover .tl-dot { transform: translateX(-50%) scale(1.15) !important; }
  .tl-left  .tl-content,
  .tl-right .tl-content {
    width: 100%;
    margin: 0 !important;
    text-align: left !important;
  }
  .tl-left  .tl-header,
  .tl-right .tl-header { justify-content: flex-start; }
  .tl-left  .tl-list li { text-align: left; padding-left: 14px; padding-right: 0; }
  .tl-left  .tl-list li::before { left: 4px; right: auto; }

  .testimonial-grid { grid-template-columns: 1fr; }

  .back-to-top { bottom: 20px; right: 20px; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lb-img-wrap { max-width: 95vw; }
}

@media (max-width: 480px) {
  .filter-wrap { gap: 8px; }
  .filter-btn  { padding: 7px 14px; font-size: 12px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════
   CERTIFICATE CARDS
   ═══════════════════════════════════════════════ */
.cert-card .pcard-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 0;
}
.cert-card .pcard-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.cert-card:hover .pcard-preview img {
  transform: scale(1.06);
}
.cert-badge {
  background: rgba(245,158,11,0.85) !important;
}

/* ═══════════════════════════════════════════════
   FAVORITE — MUSIC PLAYER & PLAYLIST
   ═══════════════════════════════════════════════ */
.favorite-section { background: var(--bg2); }

.music-player-wrap {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  align-items: start;
}

/* Player Card */
.music-player {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.music-player::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(91,141,238,0.08), transparent 60%);
  pointer-events: none;
}

/* Album Art / Disc */
.music-album-art {
  position: relative;
  width: 180px; height: 180px;
  flex-shrink: 0;
}
.album-disc {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: conic-gradient(var(--accent), #a78bfa, var(--accent));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 40px rgba(91,141,238,0.25);
  transition: transform .3s ease;
}
.album-disc.spin {
  animation: discSpin 6s linear infinite;
}
@keyframes discSpin {
  to { transform: rotate(360deg); }
}
.album-disc-center {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--accent);
}
.album-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  z-index: 1;
}
.album-glow {
  position: absolute; inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,141,238,0.15), transparent 70%);
  z-index: -1;
  filter: blur(20px);
  opacity: .6;
}

/* Song Info */
.music-info {
  text-align: center;
  z-index: 1;
}
.music-info h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.music-info p {
  font-size: 13px;
  color: var(--text3);
}

/* Progress Bar */
.music-progress-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1;
}
.music-progress-wrap span {
  font-size: 11px;
  color: var(--text3);
  min-width: 32px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.music-progress-bar {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  cursor: pointer;
  position: relative;
}
.music-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #a78bfa);
  border-radius: 100px;
  transition: width .1s linear;
}
.music-progress-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 12px; height: 12px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(91,141,238,0.5);
  opacity: 0;
  transition: opacity .2s, left .1s linear;
}
.music-progress-bar:hover .music-progress-handle { opacity: 1; }

/* Controls */
.music-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 1;
}
.music-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border2);
  background: transparent;
  color: var(--text2);
  font-size: 14px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s ease;
}
.music-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.1);
}
.music-btn.music-play {
  width: 56px; height: 56px;
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 8px 24px var(--accent-glow);
}
.music-btn.music-play:hover {
  background: var(--accent2);
  border-color: var(--accent2);
  transform: scale(1.08);
}
.music-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(91,141,238,0.1);
}

/* Volume */
.music-volume {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  z-index: 1;
}
.music-volume i {
  font-size: 10px;
  color: var(--text3);
}
.music-volume input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  outline: none;
  cursor: pointer;
}
.music-volume input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
  cursor: pointer;
}
.music-volume input[type="range"]::-moz-range-thumb {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  box-shadow: 0 0 6px var(--accent-glow);
  cursor: pointer;
}

/* Playlist Wrap */
.playlist-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.playlist-header {
  padding: 18px 24px;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.playlist-header span {
  margin-left: auto;
  font-size: 11px;
  color: var(--text3);
  font-weight: 500;
}
.playlist {
  list-style: none;
  max-height: 320px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border2) transparent;
}
.playlist::-webkit-scrollbar { width: 4px; }
.playlist::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 4px; }

.playlist-item {
  display: grid;
  grid-template-columns: 36px 1fr 50px 24px;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .2s, padding-left .2s;
}
.playlist-item:last-child { border-bottom: none; }
.playlist-item:hover {
  background: rgba(91,141,238,0.04);
}
.playlist-item.active {
  background: rgba(91,141,238,0.08);
  border-left: 3px solid var(--accent);
}

.pl-num {
  font-size: 12px;
  color: var(--text3);
  font-variant-numeric: tabular-nums;
}
.pl-info { min-width: 0; }
.pl-info strong {
  display: block;
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pl-info span {
  font-size: 11px;
  color: var(--text3);
}
.pl-duration {
  font-size: 11px;
  color: var(--text3);
  text-align: right;
}
.pl-playing {
  font-size: 12px;
  color: var(--accent);
  opacity: 0;
  text-align: right;
}
.playlist-item.active .pl-playing { opacity: 1; }
.playlist-item.active .pl-num {
  color: var(--accent);
  font-weight: 700;
}

.playlist-vibe {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(90deg, rgba(91,141,238,0.05), transparent);
}
.eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}
.eq-bars span {
  display: block;
  width: 3px;
  background: linear-gradient(to top, var(--accent), #a78bfa);
  border-radius: 2px;
  animation: eqJump 1s ease-in-out infinite alternate;
}
.eq-bars span:nth-child(1) { height: 8px; animation-delay: 0s; }
.eq-bars span:nth-child(2) { height: 14px; animation-delay: .15s; }
.eq-bars span:nth-child(3) { height: 10px; animation-delay: .3s; }
.eq-bars span:nth-child(4) { height: 16px; animation-delay: .1s; }
.eq-bars span:nth-child(5) { height: 6px; animation-delay: .25s; }
@keyframes eqJump {
  0%   { transform: scaleY(1); opacity: .6; }
  100% { transform: scaleY(1.6); opacity: 1; }
}
.playlist-vibe p {
  font-size: 12px;
  color: var(--text2);
  font-style: italic;
  letter-spacing: .02em;
  margin: 0;
}

/* Light mode overrides for music */
html[data-theme="light"] .music-btn { color: var(--text2); border-color: var(--border2); }
html[data-theme="light"] .music-btn:hover { color: var(--accent); border-color: var(--accent); }
html[data-theme="light"] .music-progress-bar { background: rgba(0,0,0,0.08); }
html[data-theme="light"] .music-volume input[type="range"] { background: rgba(0,0,0,0.08); }

/* Responsive */
@media (max-width: 960px) {
  .music-player-wrap { grid-template-columns: 1fr; }
  .music-player { max-width: 420px; margin: 0 auto; width: 100%; }
}

/* ═══════════════════════════════════════════════
   CONTACT NEW — Tambahkan CSS ini ke bagian
   PALING BAWAH file index.css atau features.css
   ═══════════════════════════════════════════════ */

/* ── Section wrapper ── */
.contact-new {
  background: var(--bg2);
}

/* ── 2-column grid ── */
.cn-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 20px;
  align-items: start;
}

/* ── Left column stack ── */
.cn-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Generic Card ── */
.cn-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color .3s;
}
.cn-card:hover {
  border-color: var(--border2);
}

/* ── Card header ── */
.cn-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 22px 0;
  margin-bottom: 20px;
}
.cn-card-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -.02em;
  line-height: 1.2;
}
.cn-card-sub {
  font-size: 12.5px;
  color: var(--text3);
  margin-top: 5px;
  line-height: 1.55;
  max-width: 260px;
}

/* Share button */
.cn-share-btn {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: var(--text3);
  text-decoration: none;
  flex-shrink: 0;
  transition: all .25s;
}
.cn-share-btn:hover {
  color: var(--accent);
  border-color: rgba(91,141,238,0.35);
  background: rgba(91,141,238,0.07);
}

 /* ── Form ── */
.cn-form { padding: 0 18px 20px; }

.cn-input-wrap {
  position: relative;
  margin-bottom: 10px;
}
.cn-input-icon {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--text3);
  pointer-events: none;
  transition: color .2s;
}
.cn-input-icon--top {
  top: 14px;
  transform: none;
}
.cn-input-wrap:focus-within .cn-input-icon { color: var(--accent); }

.cn-input {
  width: 100%;
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 12px 11px 34px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  color: var(--text);
  outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
html[data-theme="light"] .cn-input {
  background: rgba(0,0,0,0.035);
}
.cn-input::placeholder { color: var(--text3); }
.cn-input:focus {
  border-color: rgba(91,141,238,0.55);
  background: rgba(91,141,238,0.04);
  box-shadow: 0 0 0 3px rgba(91,141,238,0.1);
}

.cn-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
  padding-top: 11px;
}

/* Kirim Pesan button */
.cn-btn-send {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #6c5ce7, #5b8dee);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 4px;
  transition: all .3s;
  position: relative; overflow: hidden;
}
.cn-btn-send::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform .3s;
}
.cn-btn-send:hover::before { transform: translateX(0); }
.cn-btn-send:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(108,92,231,0.4); }
.cn-btn-send:active { transform: translateY(0); }

/* ── Connect Card ── */
.cn-connect-card { padding: 18px; }

.cn-connect-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 14px;
}
.cn-connect-title span {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* LinkedIn row */
.cn-linkedin {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  margin-bottom: 10px;
  transition: all .25s;
}
.cn-linkedin:hover {
  border-color: rgba(10,102,194,0.35);
  background: rgba(10,102,194,0.07);
}
.cn-linkedin-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(10,102,194,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: #0a66c2;
  flex-shrink: 0;
}
.cn-linkedin strong { display:block; font-size:13px; font-weight:600; }
.cn-linkedin span   { font-size:11px; color:var(--text3); }

/* Social 2×2 grid */
.cn-socials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cn-social-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text2);
  font-size: 12.5px;
  transition: all .25s;
}
.cn-social-item:hover {
  background: var(--surface2);
  border-color: var(--border2);
  transform: translateY(-2px);
  color: var(--text);
}
.cn-social-item i { font-size: 17px; flex-shrink: 0; }
.cn-social-item strong { display:block; font-size:12px; font-weight:600; line-height:1.3; }
.cn-social-item span   { font-size:10px; color:var(--text3); }

/* ── Comments Card ── */
.cn-comments-card {
  display: flex;
  flex-direction: column;
}

.cn-count-badge {
  background: rgba(91,141,238,0.12);
  border: 1px solid rgba(91,141,238,0.25);
  border-radius: 50px;
  padding: 3px 11px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

/* ── Comment form ── */
.cn-comment-form {
  padding: 0 20px 4px;
}
.cn-field-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 7px;
}
.cn-req { color: var(--accent); font-weight: 700; }
.cn-opt { font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 10.5px; }

/* Override: no left padding for comment form inputs */
.cn-comment-form .cn-input {
  padding-left: 14px;
  margin-bottom: 14px;
}

/* Photo upload button */
.cn-photo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px;
  background: linear-gradient(135deg, rgba(108,92,231,0.2), rgba(91,141,238,0.2));
  border: 1.5px solid rgba(91,141,238,0.35);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  transition: all .25s;
}
.cn-photo-btn:hover {
  background: linear-gradient(135deg, rgba(108,92,231,0.3), rgba(91,141,238,0.3));
  border-color: var(--accent);
}
.cn-photo-btn i { font-size: 14px; }

.cn-photo-hint {
  font-size: 10.5px;
  color: var(--text3);
  text-align: center;
  margin: 6px 0 14px;
}

/* Post Comment button */
.cn-btn-post {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #6c5ce7, #5b8dee);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 18px;
  transition: all .3s;
}
.cn-btn-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(108,92,231,0.4);
}
.cn-btn-post:active { transform: translateY(0); }

/* ── Comments scrollable list ── */
.cn-comments-list {
  border-top: 1px solid var(--border);
  max-height: 340px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border2) transparent;
}
.cn-comments-list::-webkit-scrollbar { width: 4px; }
.cn-comments-list::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 4px; }

/* Single comment */
.cn-comment {
  display: flex;
  gap: 11px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
  position: relative;
}
.cn-comment:last-child { border-bottom: none; }
.cn-comment:hover { background: rgba(255,255,255,0.02); }
html[data-theme="light"] .cn-comment:hover { background: rgba(0,0,0,0.02); }

.cn-comment--pinned {
  background: rgba(91,141,238,0.04);
}
html[data-theme="light"] .cn-comment--pinned {
  background: rgba(91,141,238,0.05);
}

.cn-pin-badge {
  position: absolute;
  top: 9px; left: 20px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex; align-items: center; gap: 4px;
}
.cn-pin-badge i { font-size: 8px; }
.cn-comment--pinned .cn-comment-body { margin-top: 14px; }

.cn-avatar {
  width: 34px; height: 34px;
  border-radius: 9px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
  overflow: hidden;
}
.cn-avatar img { width:100%; height:100%; object-fit:cover; border-radius:9px; }
.cn-avatar span { line-height: 1; }

.cn-comment-body { flex: 1; min-width: 0; }
.cn-comment-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.cn-comment-name { font-size: 13px; font-weight: 600; color: var(--text); }
.cn-admin-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(91,141,238,0.14);
  color: var(--accent);
}
.cn-comment-time { font-size: 11px; color: var(--text3); margin-left: auto; }
.cn-comment-text { font-size: 13px; color: var(--text2); line-height: 1.6; word-break: break-word; }

/* ── Toast notification ── */
.cn-toast {
  position: fixed;
  bottom: 28px; right: 28px;
  background: rgba(15,15,24,0.96);
  color: var(--text);
  border: 1px solid var(--border2);
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 500;
  backdrop-filter: blur(12px);
  display: flex; align-items: center; gap: 9px;
  transform: translateY(70px);
  opacity: 0;
  transition: all .4s cubic-bezier(.34,1.56,.64,1);
  z-index: 5000;
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.cn-toast--show { transform: translateY(0); opacity: 1; }
.cn-toast i { color: #4ade80; font-size: 15px; }
html[data-theme="light"] .cn-toast { background: rgba(255,255,255,0.97); box-shadow: 0 8px 32px rgba(0,0,0,0.15); }

/* ── Responsive ── */
@media (max-width: 960px) {
  .cn-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .cn-card-head { padding: 18px 16px 0; }
  .cn-form { padding: 0 14px 18px; }
  .cn-connect-card { padding: 14px; }
  .cn-comment-form { padding: 0 14px 4px; }
  .cn-comment { padding: 12px 14px; }
  .cn-comments-list { max-height: 280px; }
  .cn-socials-grid { grid-template-columns: 1fr 1fr; }
}

/* =========================
   COMMENT WRAPPER (Updated)
========================= */
.cn-comments-list, #cnCommentsList {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 6px;
}

/* SCROLLBAR */
.cn-comments-list::-webkit-scrollbar {
  width: 5px;
}
.cn-comments-list::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
}

/* =========================
   COMMENT CARD (Updated)
========================= */
.cn-comment-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;

  transition: all 0.3s ease;
  animation: fadeInUp 0.4s ease;
}

.cn-comment-item:hover {
  background: var(--surface2);
  border-color: rgba(91,141,238,0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* =========================
   AVATAR (Updated)
========================= */
.cn-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  
  border: 2px solid var(--accent);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);

  flex-shrink: 0;
}

/* =========================
   CONTENT (Updated)
========================= */
.cn-comment-content {
  flex-grow: 1;
}

/* HEADER */
.cn-comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.cn-comment-name, .cn-comment-content strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

/* TIME */
.cn-comment-time, .cn-time {
  font-size: 0.75rem;
  color: var(--text3);
}

/* TEXT */
.cn-comment-message, .cn-comment-content p {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.4;
  margin: 0;
  word-break: break-word;
}

/* =========================
   EMPTY STATE
========================= */
.empty-comment {
  text-align: center;
  font-size: 13px;
  opacity: 0.5;
  padding: 12px;
  color: var(--text3);

/* Container Utama List Komentar */
#cnCommentsList {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

/* Item Komentar */
.cn-comment-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.cn-comment-item:hover {
    background: #f1f1f1;
}

/* Avatar Pengunjung */
.cn-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0; /* Agar foto tidak gepeng */
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Isi Konten Komentar */
.cn-comment-content {
    flex-grow: 1;
}

/* Baris Nama & Waktu */
.cn-comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.cn-comment-name {
    font-weight: bold;
    color: #333;
    font-size: 0.95rem;
}

.cn-comment-time {
    font-size: 0.75rem;
    color: #999;
}

/* Teks Pesan */
.cn-comment-message {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
    margin: 0;
} }