/* ===================== GLOBAL ===================== */
    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

    html {
      font-family: 'Plus Jakarta Sans', sans-serif;
      scroll-behavior: smooth;
      overflow-x: hidden;
      max-width: 100vw;
    }

    body {
      overflow-x: hidden;
      cursor: none;
      transition: background .4s, color .4s;
      max-width: 100vw;
      width: 100%;
    }

    /* Disable custom cursor on touch devices */
    @media (hover: none) and (pointer: coarse) {
      body { cursor: auto !important; }
      #cur, #cur-ring, .cur-trail { display: none !important; }
      a, button, [class*="cursor-none"] { cursor: auto !important; }
      .dm-toggle { cursor: pointer !important; }
      .porto-item { cursor: pointer !important; }
    }

    ::selection {
      background: #A3E635;
      color: #0A0A0A;
    }

    .material-symbols-outlined {
      font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
      user-select: none;
    }

    /* ===================== DARK MODE ===================== */
    html[data-theme="light"] body {
      background: #f9f9f9;
      color: #1a1c1c;
    }

    html[data-theme="dark"] body {
      background: #0d0d0f;
      color: #e8e8e8;
    }

    html[data-theme="dark"] .bg-white {
      background: #161618 !important;
    }

    html[data-theme="dark"] .bg-surface {
      background: #0d0d0f !important;
    }

    html[data-theme="dark"] .bg-surface-low {
      background: #111113 !important;
    }

    html[data-theme="dark"] .text-ink {
      color: #f0f0f0 !important;
    }

    html[data-theme="dark"] .text-on-muted {
      color: #8b8fa8 !important;
    }

    html[data-theme="dark"] .text-on-surface {
      color: #e8e8e8 !important;
    }

    html[data-theme="dark"] .shadow-ambient {
      box-shadow: 0 12px 48px -8px rgba(0, 0, 0, .5) !important;
    }

    html[data-theme="dark"] .border-outline-dim {
      border-color: #2a2a2e !important;
    }

    html[data-theme="dark"] .skill-bar {
      background: #2a2a2e !important;
    }

    html[data-theme="dark"] .wave-fill-surface {
      fill: #0d0d0f !important;
    }

    html[data-theme="dark"] .wave-fill-surface-low {
      fill: #111113 !important;
    }

    html[data-theme="dark"] .service-card {
      background: #161618 !important;
      border: 1px solid #2a2a2e;
    }

    html[data-theme="dark"] .about-card-inner {
      background: #161618 !important;
      border: 1px solid #2a2a2e;
    }

    html[data-theme="dark"] .achieve-card {
      background: #161618 !important;
      border: 1px solid #2a2a2e;
    }

    html[data-theme="dark"] .tool-pill {
      background: #1e1e20 !important;
      border: 1px solid #2a2a2e !important;
      color: #e8e8e8 !important;
    }

    /* ===================== CURSOR ===================== */
    #cur {
      position: fixed;
      top: 0;
      left: 0;
      width: 10px;
      height: 10px;
      background: #A3E635;
      border-radius: 50%;
      pointer-events: none;
      z-index: 9999;
      transform: translate(-50%, -50%);
      transition: width .2s, height .2s;
      mix-blend-mode: difference;
    }

    #cur-ring {
      position: fixed;
      top: 0;
      left: 0;
      width: 36px;
      height: 36px;
      border: 1.5px solid rgba(163, 230, 53, .5);
      border-radius: 50%;
      pointer-events: none;
      z-index: 9998;
      transform: translate(-50%, -50%);
      transition: border-color .2s;
    }

    .cur-big #cur {
      width: 24px;
      height: 24px;
    }

    .cur-big #cur-ring {
      width: 60px;
      height: 60px;
      border-color: #A3E635;
    }

    /* cursor trail */
    .cur-trail {
      position: fixed;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #A3E635;
      pointer-events: none;
      z-index: 9990;
      transform: translate(-50%, -50%);
      opacity: 0;
      transition: opacity .4s;
    }

    /* ===================== LOADER ===================== */
    #loader {
      position: fixed;
      inset: 0;
      background: #0A0A0A;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10000;
      transition: opacity .7s, visibility .7s;
    }

    #loader.out {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }

    .loader-bar {
      width: 220px;
      height: 2px;
      background: rgba(255, 255, 255, .1);
      border-radius: 99px;
      overflow: hidden;
      margin: 1.5rem auto 0;
    }

    .loader-fill {
      height: 100%;
      background: linear-gradient(90deg, #0040FF, #A3E635);
      width: 0;
      border-radius: 99px;
      animation: lf 2s cubic-bezier(.7, 0, .3, 1) forwards;
    }

    @keyframes lf {
      to {
        width: 100%;
      }
    }

    /* ===================== NAV ===================== */
    #prog {
      position: fixed;
      top: 0;
      left: 0;
      height: 2.5px;
      background: linear-gradient(90deg, #0040FF, #A3E635);
      z-index: 200;
      width: 0;
      pointer-events: none;
    }

    nav {
      transition: background .4s, box-shadow .4s, backdrop-filter .4s;
    }

    nav.sticky {
      background: rgba(0, 64, 255, .93);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      box-shadow: 0 4px 32px rgba(0, 0, 0, .25);
    }

    html[data-theme="dark"] nav.sticky {
      background: rgba(10, 10, 30, .93);
    }

    .nav-link {
      position: relative;
    }

    .nav-link::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: #A3E635;
      border-radius: 99px;
      transition: width .3s;
    }

    .nav-link:hover::after {
      width: 100%;
    }

    .ham span {
      display: block;
      width: 24px;
      height: 2px;
      background: #fff;
      border-radius: 99px;
      transition: all .35s;
    }

    .ham.open span:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
    }

    .ham.open span:nth-child(2) {
      opacity: 0;
      transform: scaleX(0);
    }

    .ham.open span:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
    }

    .mob-menu {
      transform: translateX(100%);
      transition: transform .55s cubic-bezier(.7, 0, .3, 1);
    }

    .mob-menu.open {
      transform: translateX(0);
    }

    /* dark mode toggle */
    .dm-toggle {
      width: 48px;
      height: 26px;
      background: #2a2a2e;
      border-radius: 99px;
      position: relative;
      cursor: none;
      transition: background .3s;
      border: none;
      outline: none;
    }

    .dm-toggle.on {
      background: #0040FF;
    }

    .dm-toggle::before {
      content: '';
      position: absolute;
      left: 3px;
      top: 3px;
      width: 20px;
      height: 20px;
      background: #A3E635;
      border-radius: 50%;
      transition: transform .3s, background .3s;
    }

    .dm-toggle.on::before {
      transform: translateX(22px);
    }

    /* ===================== HERO ===================== */
    .hero-grid {
      background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
      background-size: 50px 50px;
    }

    .glass-card {
      background: rgba(255, 255, 255, .1);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, .2);
    }

    .dark-glass {
      background: rgba(10, 10, 10, .45);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid rgba(163, 230, 53, .18);
    }

    .text-neon-glow {
      text-shadow: 0 0 60px rgba(163, 230, 53, .4), 0 0 120px rgba(163, 230, 53, .15);
    }

    .tw-cursor {
      display: inline-block;
      width: 3px;
      height: 1.1em;
      background: #A3E635;
      vertical-align: middle;
      border-radius: 1px;
      animation: blink 1s step-end infinite;
    }

    @keyframes blink {
      50% {
        opacity: 0;
      }
    }

    /* ===================== GLITCH ===================== */
    .glitch {
      position: relative;
    }

    .glitch::before,
    .glitch::after {
      content: attr(data-text);
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
    }

    .glitch:hover::before {
      opacity: .7;
      color: #A3E635;
      clip-path: polygon(0 25%, 100% 25%, 100% 45%, 0 45%);
      transform: translateX(-4px);
      animation: g1 .5s steps(2) forwards;
    }

    .glitch:hover::after {
      opacity: .7;
      color: #0040FF;
      clip-path: polygon(0 60%, 100% 60%, 100% 78%, 0 78%);
      transform: translateX(4px);
      animation: g2 .5s steps(2) forwards;
    }

    @keyframes g1 {
      0% {
        transform: translateX(-4px)
      }

      50% {
        transform: translateX(4px)
      }

      100% {
        transform: translateX(-1px)
      }
    }

    @keyframes g2 {
      0% {
        transform: translateX(4px)
      }

      50% {
        transform: translateX(-4px)
      }

      100% {
        transform: translateX(1px)
      }
    }

    /* ===================== TILT CARD ===================== */
    .tilt {
      transform-style: preserve-3d;
      transition: transform .1s ease;
    }

    .tilt-inner {
      transform: translateZ(20px);
    }

    /* ===================== WAVES ===================== */
    .wave-fill-surface {
      fill: #f9f9f9;
    }

    .wave-fill-blue {
      fill: #0040FF;
    }

    .wave-fill-ink {
      fill: #0A0A0A;
    }

    /* ===================== REVEAL ===================== */
    .reveal {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity .9s cubic-bezier(.5, 0, 0, 1), transform .9s cubic-bezier(.5, 0, 0, 1);
    }

    .reveal.from-l {
      transform: translateX(-60px);
    }

    .reveal.from-r {
      transform: translateX(60px);
    }

    .reveal.from-scale {
      transform: scale(.92);
    }

    .reveal.active {
      opacity: 1;
      transform: none;
    }

    .d1 {
      transition-delay: .12s;
    }

    .d2 {
      transition-delay: .24s;
    }

    .d3 {
      transition-delay: .36s;
    }

    .d4 {
      transition-delay: .48s;
    }

    .d5 {
      transition-delay: .60s;
    }

    /* ===================== SERVICE CARDS ===================== */
    .service-card {
      transition: transform .5s cubic-bezier(.5, 0, 0, 1), box-shadow .5s;
      position: relative;
      overflow: hidden;
    }

    .service-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, #0040FF, #A3E635);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform .5s cubic-bezier(.7, 0, .3, 1);
    }

    .service-card:hover::before {
      transform: scaleX(1);
    }

    .service-card:hover {
      transform: translateY(-18px);
      box-shadow: 0 28px 70px -12px rgba(0, 64, 255, .22);
    }

    .service-icon-wrap {
      transition: transform .4s;
    }

    .service-card:hover .service-icon-wrap {
      transform: scale(1.1) rotate(6deg);
    }

    /* ===================== SKILL BARS ===================== */
    .skill-bar {
      height: 6px;
      background: #e8e8e8;
      border-radius: 99px;
      overflow: hidden;
    }

    .skill-bar-fill {
      height: 100%;
      background: linear-gradient(90deg, #0040FF, #A3E635);
      border-radius: 99px;
      width: 0;
      transition: width 1.6s cubic-bezier(.7, 0, .3, 1);
    }

    /* ===================== MARQUEE ===================== */
    .mq-track {
      display: flex;
      width: max-content;
      animation: marquee 28s linear infinite;
    }

    /* ===================== TIMELINE ===================== */
    .tl-line {
      background: linear-gradient(to bottom, #A3E635, transparent);
      background-size: 100% 200%;
      background-position: 0 100%;
      transition: background-position 1.8s ease;
    }

    .tl-line.go {
      background-position: 0 0;
    }

    .tl-dot {
      box-shadow: 0 0 18px rgba(163, 230, 53, .8);
    }

    /* ===================== PORTFOLIO ===================== */
    .porto-grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      grid-auto-rows: 240px;
      gap: 18px;
    }

    .porto-item {
      border-radius: 22px;
      overflow: hidden;
      position: relative;
      cursor: none;
    }

    .porto-item:nth-child(1) {
      grid-column: span 4;
      grid-row: span 2;
    }

    .porto-item:nth-child(2) {
      grid-column: span 8;
    }

    .porto-item:nth-child(3) {
      grid-column: span 4;
      grid-row: span 2;
    }

    .porto-item:nth-child(4) {
      grid-column: span 4;
    }

    .porto-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .7s cubic-bezier(.5, 0, 0, 1);
    }

    .porto-item:hover img {
      transform: scale(1.08);
    }

    .porto-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(10, 10, 10, .96) 0%, rgba(10, 10, 10, .3) 45%, transparent 100%);
      opacity: 0;
      transition: opacity .5s;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 1.75rem;
    }

    .porto-item:hover .porto-overlay {
      opacity: 1;
    }

    .porto-overlay h4,
    .porto-overlay p,
    .porto-overlay .pt {
      transform: translateY(18px);
      transition: transform .45s cubic-bezier(.5, 0, 0, 1);
    }

    .porto-overlay p {
      transition-delay: .05s;
    }

    .porto-overlay .pt {
      transition-delay: .1s;
    }

    .porto-item:hover .porto-overlay h4,
    .porto-item:hover .porto-overlay p,
    .porto-item:hover .porto-overlay .pt {
      transform: translateY(0);
    }

    /* click to expand */
    .porto-item {
      cursor: none;
    }

    /* ===================== LIGHTBOX ===================== */
    #lightbox {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, .92);
      backdrop-filter: blur(16px);
      z-index: 8000;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: opacity .35s, visibility .35s;
      padding: 2rem;
    }

    #lightbox.open {
      opacity: 1;
      visibility: visible;
    }

    #lightbox img {
      max-width: 90vw;
      max-height: 80vh;
      border-radius: 16px;
      object-fit: contain;
      transform: scale(.92);
      transition: transform .35s cubic-bezier(.5, 0, 0, 1);
    }

    #lightbox.open img {
      transform: scale(1);
    }

    #lb-close {
      position: absolute;
      top: 1.5rem;
      right: 1.5rem;
      width: 44px;
      height: 44px;
      background: rgba(255, 255, 255, .1);
      border: 1px solid rgba(255, 255, 255, .2);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: none;
      transition: background .3s;
    }

    #lb-close:hover {
      background: #A3E635;
    }

    #lb-info {
      position: absolute;
      bottom: 2rem;
      left: 50%;
      transform: translateX(-50%);
      text-align: center;
      color: #fff;
    }

    #lb-info h4 {
      font-size: 1.1rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .06em;
    }

    #lb-info p {
      font-size: .8rem;
      color: rgba(255, 255, 255, .6);
      margin-top: .25rem;
    }

    /* ===================== FORM ===================== */
    .neon-input {
      background: rgba(255, 255, 255, .04);
      border: 1px solid rgba(255, 255, 255, .12);
      color: #fff;
      transition: border-color .3s, box-shadow .3s;
    }

    .neon-input::placeholder {
      color: rgba(255, 255, 255, .3);
    }

    .neon-input:focus {
      outline: none;
      border-color: #A3E635;
      box-shadow: 0 0 0 3px rgba(163, 230, 53, .12);
    }

    /* Fix browser autofill changing background to white */
    .neon-input:-webkit-autofill,
    .neon-input:-webkit-autofill:hover, 
    .neon-input:-webkit-autofill:focus, 
    .neon-input:-webkit-autofill:active {
      -webkit-box-shadow: 0 0 0 30px #16161a inset !important;
      -webkit-text-fill-color: #ffffff !important;
      transition: background-color 5000s ease-in-out 0s;
    }

    /* ===================== BTN NEON ===================== */
    .btn-neon {
      position: relative;
      overflow: hidden;
      transition: all .35s;
    }

    .btn-neon::before {
      content: '';
      position: absolute;
      inset: 0;
      background: #fff;
      transform: scaleX(0);
      transform-origin: left;
      transition: transform .45s cubic-bezier(.7, 0, .3, 1);
      z-index: 0;
    }

    .btn-neon:hover::before {
      transform: scaleX(1);
    }

    .btn-neon:hover {
      box-shadow: 0 0 35px rgba(163, 230, 53, .55);
    }

    .btn-neon>* {
      position: relative;
      z-index: 1;
    }

    /* ===================== SIDEBAR ===================== */
    .sidebar-link {
      position: relative;
      transition: all .3s;
    }

    .sidebar-link .tip {
      position: absolute;
      left: calc(100% + 10px);
      top: 50%;
      transform: translateY(-50%);
      background: #0A0A0A;
      color: #A3E635;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .06em;
      padding: 4px 10px;
      border-radius: 6px;
      white-space: nowrap;
      opacity: 0;
      pointer-events: none;
      transition: opacity .2s;
    }

    .sidebar-link:hover .tip {
      opacity: 1;
    }

    /* ===================== BTT ===================== */
    #btt {
      transform: translateY(80px);
      opacity: 0;
      transition: transform .4s, opacity .4s;
    }

    #btt.show {
      transform: translateY(0);
      opacity: 1;
    }

    /* ===================== TOOLS ===================== */
    .tool-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 18px;
      border-radius: 99px;
      font-size: 12px;
      font-weight: 700;
      background: #f3f3f4;
      border: 1px solid #e8e8e8;
      color: #1a1c1c;
      transition: all .3s;
      cursor: none;
    }

    .tool-pill:hover {
      background: #0040FF;
      border-color: #0040FF;
      color: #fff;
      transform: translateY(-3px);
    }

    .tool-pill .t-icon {
      width: 22px;
      height: 22px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
    }


    /* ===================== ACHIEVEMENT ===================== */
    .achieve-card {
      background: #fff;
      border-radius: 20px;
      padding: 1.5rem;
      transition: transform .4s, box-shadow .4s;
      cursor: none;
    }

    .achieve-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 50px -10px rgba(0, 64, 255, .15);
    }

    /* ===================== MEDIA ===================== */
    @media(max-width:1024px) {
      .desktop-only {
        display: none !important;
      }

      .porto-grid {
        grid-auto-rows: 200px;
      }
    }

    @media(max-width:768px) {
      /* ── Section padding ── */
      section { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
      nav { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
      footer { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
      #achievement { padding-left: 0 !important; padding-right: 0 !important; }
      #achievement .max-w-\[1280px\] { padding-left: 1.25rem; padding-right: 1.25rem; }

      /* ── Porto grid single column ── */
      .porto-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
        gap: 12px;
      }
      .porto-item:nth-child(n) {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
      }

      /* ── Hero section ── */
      #hero { padding-top: 5rem !important; }

      /* ── Hero floating cards: ensure they scale from correct origin ── */
      #hero .glass-card {
        /* Clamp size so content never wraps wider than viewport */
        max-width: calc(40vw);
      }

      /* ── About section ── */
      #about .grid { gap: 3rem !important; }

      /* ── Contact section ── */
      #kontak .grid { gap: 3rem !important; }

      /* ── Achievement wrapper ── */
      #achieve-wrapper { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }

      /* ── Timeline left-only on mobile ── */
      #tll { left: 1.25rem !important; transform: none !important; }
    }

    @media(max-width:480px) {
      /* ── Extra small screens ── */
      .porto-grid { grid-auto-rows: 200px; }
      #hero { padding-top: 4.5rem !important; }

      /* Reduce section top/bottom padding */
      #skills, #about, #achievement, #pengalaman, #kontak {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
      }

      /* Footer flex column */
      footer .flex { flex-direction: column !important; align-items: center !important; text-align: center !important; }
    }

    /* ===================== GRADIENTS ===================== */
    .grad-pengalaman {
      background: linear-gradient(to bottom, #f3f3f4 0%, #0040FF 10%, #0040FF 85%, #f9f9f9 100%);
    }
    html[data-theme="dark"] .grad-pengalaman {
      background: linear-gradient(to bottom, #121214 0%, #0040FF 10%, #0040FF 85%, #0d0d0f 100%);
    }

    .grad-portfolio {
      background: linear-gradient(to bottom, #f9f9f9 0%, #f9f9f9 25%, #0A0A0A 100%);
    }
    html[data-theme="dark"] .grad-portfolio {
      background: linear-gradient(to bottom, #0d0d0f 0%, #0d0d0f 25%, #0A0A0A 100%);
    }

    /* ===================== SERVICE CARDS CAROUSEL (mobile) ===================== */
    .sc-carousel {
      position: relative;
      overflow: hidden;
      padding-bottom: 60px; /* space for dots */
      /* subtle side fade hints next card */
      -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
      mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    }

    .sc-track {
      display: flex;
      gap: 16px;
      /* smooth slide animation */
      transition: transform .45s cubic-bezier(.5, 0, 0, 1);
      will-change: transform;
      /* peek 10% of next card on either side, larger vertical padding to prevent clipping */
      padding: 24px 10% 24px;
    }

    .sc-slide {
      /* each card takes the full visible area minus peek gaps */
      flex: 0 0 80%;
      min-width: 0;
    }

    @media (min-width: 768px) {
      .sc-carousel {
        -webkit-mask-image: none;
        mask-image: none;
        padding-left: 12px;
        padding-right: 12px;
      }
      .sc-track {
        padding: 24px 0;
      }
      .sc-slide {
        /* 3 cards per view, gap 16px: calc((100% - 32px) / 3) */
        flex: 0 0 calc((100% - 32px) / 3);
      }
      .sc-btn {
        width: 48px;
        height: 48px;
      }
      .sc-prev { left: -8px; }
      .sc-next { right: -8px; }
    }

    /* arrow buttons */
    .sc-btn {
      position: absolute;
      top: 50%;
      transform: translateY(calc(-50% - 30px)); /* offset for dots */
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #ffffff;
      border: 1.5px solid rgba(116,118,137,.2);
      box-shadow: 0 4px 18px rgba(0,64,255,.12);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 10;
      transition: background .25s, box-shadow .25s, opacity .25s, transform .25s;
      color: #0040FF;
    }

    .sc-btn:hover {
      background: #0040FF;
      color: #A3E635;
      box-shadow: 0 6px 24px rgba(0,64,255,.35);
    }

    .sc-btn:active {
      transform: translateY(calc(-50% - 30px)) scale(.92);
    }

    .sc-prev { left: 2px; }
    .sc-next { right: 2px; }

    .sc-btn.sc-hidden {
      opacity: 0;
      pointer-events: none;
    }

    html[data-theme="dark"] .sc-btn {
      background: #161618;
      border-color: #2a2a2e;
      color: #A3E635;
    }

    html[data-theme="dark"] .sc-btn:hover {
      background: #0040FF;
      color: #A3E635;
    }

    /* dot indicators */
    .sc-dots {
      position: absolute;
      bottom: 18px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 8px;
      align-items: center;
    }

    .sc-dot {
      width: 8px;
      height: 8px;
      border-radius: 99px;
      background: rgba(116,118,137,.3);
      border: none;
      cursor: pointer;
      transition: width .35s cubic-bezier(.5,0,0,1), background .35s;
      padding: 0;
    }

    .sc-dot.active {
      width: 24px;
      background: #0040FF;
    }

    html[data-theme="dark"] .sc-dot { background: rgba(255,255,255,.2); }
    html[data-theme="dark"] .sc-dot.active { background: #A3E635; }
