/* KlipKu: tema gelap bergaya streamer. Hanya memakai grid/utilitas Bootstrap 5.1; sisanya komponen k-*. */

:root {
  --bg: #07070d;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-2: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.09);
  --text: #eeeef8;
  --muted: #9b9bb8;
  --violet: #9147ff;
  --violet-2: #b794ff;
  --pink: #ff2e93;
  --cyan: #00e5ff;
  --green: #2bff88;
  --red: #ff3b5c;
  --amber: #ffc83d;
  --grad: linear-gradient(135deg, #9147ff 0%, #ff2e93 100%);
  --glow: 0 0 0 1px rgba(145, 71, 255, 0.5), 0 8px 32px rgba(145, 71, 255, 0.35);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(145, 71, 255, 0.30), transparent 60%),
    radial-gradient(720px 520px at 100% 6%, rgba(255, 46, 147, 0.18), transparent 55%),
    radial-gradient(600px 400px at 50% 110%, rgba(0, 229, 255, 0.08), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  font-family: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* kisi tipis di latar, memudar ke bawah */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 72%);
}

main { flex: 1 0 auto; }

a { color: var(--violet-2); text-decoration: none; }
a:hover { color: #fff; }

h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.text-muted, .k-muted { color: var(--muted) !important; }
.k-grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.container { max-width: 1140px; }

/* ===== Navigasi ===== */
.k-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 7, 13, 0.72);
  border-bottom: 1px solid var(--line);
}
.k-nav-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 68px; }
.k-brand { display: flex; align-items: center; gap: 0.6rem; font-size: 1.35rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.k-brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.k-brand-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad);
  display: grid; place-items: center; box-shadow: 0 0 22px rgba(145, 71, 255, 0.55);
}
.k-brand-mark svg { width: 16px; height: 16px; fill: #fff; margin-left: 2px; }
.k-links { display: flex; align-items: center; gap: 0.35rem; flex: 1; }
.k-link { color: var(--muted); font-weight: 600; padding: 0.5rem 0.8rem; border-radius: 10px; }
.k-link:hover { color: #fff; background: var(--panel-2); }
.k-spacer { flex: 1; }
.k-user { display: flex; align-items: center; gap: 0.55rem; font-weight: 600; margin-right: 0.4rem; }
.k-user i {
  font-style: normal; width: 30px; height: 30px; border-radius: 50%; background: var(--grad);
  display: grid; place-items: center; font-size: 0.85rem; font-weight: 800;
}
.k-links form { margin: 0; }
.k-burger { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.k-burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: 0.2s; }

@media (max-width: 767.98px) {
  .k-burger { display: block; }
  .k-links {
    display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch;
    padding: 1rem; background: rgba(10, 10, 20, 0.97); border-bottom: 1px solid var(--line);
  }
  .k-links.open { display: flex; }
  .k-spacer { display: none; }
  .k-links .k-btn { justify-content: center; }
}

/* ===== Tombol ===== */
.k-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.4rem; border-radius: 12px;
  border: 1px solid transparent; font-weight: 700; font-size: 1rem; cursor: pointer; color: #fff;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease; text-decoration: none;
}
.k-btn:hover { color: #fff; transform: translateY(-2px); }
.k-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.k-btn--primary { background: var(--grad); box-shadow: 0 6px 26px rgba(145, 71, 255, 0.45); }
.k-btn--primary:hover { box-shadow: 0 10px 34px rgba(255, 46, 147, 0.5); }
.k-btn--ghost { background: var(--panel); border-color: var(--line); }
.k-btn--ghost:hover { background: var(--panel-2); border-color: rgba(255, 255, 255, 0.2); }
.k-btn--danger { background: rgba(255, 59, 92, 0.1); border-color: rgba(255, 59, 92, 0.4); color: #ff8da1; }
.k-btn--danger:hover { background: rgba(255, 59, 92, 0.2); color: #fff; }
.k-btn--sm { padding: 0.45rem 0.9rem; font-size: 0.9rem; border-radius: 10px; }
.k-btn--lg { padding: 1rem 1.8rem; font-size: 1.1rem; border-radius: 14px; }

/* ===== Kartu ===== */
.k-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.k-card h2, .k-card h3 { font-size: 1.1rem; margin: 0 0 0.9rem; }
.k-glow { border-color: rgba(145, 71, 255, 0.45); box-shadow: var(--glow); }

.k-pill {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.85rem; border-radius: 999px;
  background: rgba(145, 71, 255, 0.14); border: 1px solid rgba(145, 71, 255, 0.4);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--violet-2);
}
.k-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: k-pulse 1.4s infinite; }

@keyframes k-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.75); } }
@keyframes k-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes k-sweep { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }

/* ===== Status ===== */
.k-status {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.22rem 0.7rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; border: 1px solid var(--line);
}
.k-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-uploading { color: var(--cyan); background: rgba(0, 229, 255, 0.08); border-color: rgba(0, 229, 255, 0.35); }
.st-uploaded { color: var(--violet-2); background: rgba(145, 71, 255, 0.12); border-color: rgba(145, 71, 255, 0.4); }
.st-processing { color: var(--red); background: rgba(255, 59, 92, 0.1); border-color: rgba(255, 59, 92, 0.45); }
.st-processing::before { box-shadow: 0 0 10px var(--red); animation: k-pulse 1.2s infinite; }
.st-ready { color: var(--green); background: rgba(43, 255, 136, 0.08); border-color: rgba(43, 255, 136, 0.4); }
.st-failed { color: var(--amber); background: rgba(255, 200, 61, 0.08); border-color: rgba(255, 200, 61, 0.4); }

/* ===== Form ===== */
.k-label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--muted); margin-bottom: 0.4rem; }
.k-input {
  width: 100%; padding: 0.8rem 1rem; border-radius: 12px; color: #fff; background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line); outline: none; font-size: 1rem; transition: 0.2s;
}
.k-input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(145, 71, 255, 0.25); background: rgba(255, 255, 255, 0.07); }
.k-field { margin-bottom: 1.1rem; }
.k-error, .field-validation-error, .validation-summary-errors { color: #ff8da1; font-size: 0.85rem; }
.validation-summary-errors ul { margin: 0 0 1rem; padding-left: 1.1rem; }

.k-alert { padding: 0.9rem 1.1rem; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 1.1rem; }
.k-alert--warn { background: rgba(255, 200, 61, 0.08); border-color: rgba(255, 200, 61, 0.35); color: #ffe39a; }
.k-alert--bad { background: rgba(255, 59, 92, 0.09); border-color: rgba(255, 59, 92, 0.4); color: #ffb3c0; }
.k-alert--live { display: flex; align-items: center; gap: 1rem; background: rgba(255, 59, 92, 0.07); border-color: rgba(255, 59, 92, 0.4); }

/* ===== Progress ===== */
.k-bar { height: 10px; background: rgba(255, 255, 255, 0.08); border-radius: 999px; overflow: hidden; }
.k-bar > span {
  display: block; height: 100%; width: 0; border-radius: 999px; transition: width 0.4s ease;
  background: linear-gradient(90deg, #9147ff, #ff2e93, #9147ff); background-size: 200% 100%; animation: k-sweep 2.2s linear infinite;
}

.k-ring {
  --p: 0; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: conic-gradient(var(--violet) 0, var(--pink) calc(var(--p) * 1%), rgba(255, 255, 255, 0.08) 0);
  box-shadow: 0 0 34px rgba(145, 71, 255, 0.25);
}
.k-ring-inner { width: 104px; height: 104px; border-radius: 50%; background: #0c0c17; display: grid; place-content: center; text-align: center; }
.k-ring-inner strong { font-size: 1.7rem; line-height: 1; }
.k-ring-inner span { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ===== Dropzone ===== */
.k-drop {
  position: relative; display: block; text-align: center; padding: 2rem 1rem; border-radius: 16px; cursor: pointer;
  border: 2px dashed rgba(145, 71, 255, 0.5); background: rgba(145, 71, 255, 0.06); transition: 0.2s;
}
.k-drop:hover, .k-drop.over { background: rgba(145, 71, 255, 0.14); border-color: var(--violet); box-shadow: var(--glow); }
.k-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.k-drop svg { width: 38px; height: 38px; stroke: var(--violet-2); margin-bottom: 0.5rem; }
.k-drop strong { display: block; }
.k-drop small { color: var(--muted); }
#drop-name { display: block; margin-top: 0.5rem; color: var(--cyan); font-weight: 700; word-break: break-all; }

/* ===== Hero (landing) ===== */
.k-hero { padding: 4.5rem 0 3.5rem; }
.k-hero h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); margin: 1.2rem 0; }
.k-hero p.lead { color: var(--muted); font-size: 1.2rem; max-width: 560px; }
.k-trust { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 1.8rem; color: var(--muted); font-size: 0.9rem; }
.k-trust span::before { content: "\2713"; color: var(--green); font-weight: 800; margin-right: 0.45rem; }

.k-stage { position: relative; display: flex; justify-content: center; padding: 1.5rem 0; }
.k-phone {
  position: relative; width: 250px; aspect-ratio: 9 / 16; border-radius: 34px; padding: 9px;
  background: linear-gradient(160deg, #2a2a40, #121220); border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 80px rgba(145, 71, 255, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.04); animation: k-float 6s ease-in-out infinite;
}
.k-phone-screen {
  position: relative; height: 100%; border-radius: 26px; overflow: hidden;
  background:
    radial-gradient(120px 140px at 30% 30%, rgba(0, 229, 255, 0.5), transparent 70%),
    radial-gradient(160px 200px at 75% 65%, rgba(255, 46, 147, 0.55), transparent 70%),
    linear-gradient(160deg, #3b1d8f, #0d0d1c 80%);
}
.k-phone-top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; }
.k-live { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.2rem 0.55rem; border-radius: 6px; background: var(--red); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; }
.k-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: k-pulse 1.2s infinite; }
.k-chip-score { padding: 0.2rem 0.5rem; border-radius: 6px; background: rgba(0, 0, 0, 0.55); font-size: 0.68rem; font-weight: 800; color: var(--green); }
.k-phone-sub { position: absolute; left: 12px; right: 12px; bottom: 26%; text-align: center; font-weight: 900; font-size: 1.35rem; line-height: 1.1; text-transform: uppercase;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000, 0 4px 14px rgba(0, 0, 0, 0.6); }
.k-phone-sub em { font-style: normal; color: var(--amber); }
.k-phone-wm { position: absolute; top: 46px; right: 14px; font-size: 0.7rem; font-weight: 800; opacity: 0.6; }
.k-float {
  position: absolute; padding: 0.45rem 0.85rem; border-radius: 12px; font-weight: 800; font-size: 0.85rem;
  background: rgba(14, 14, 26, 0.85); border: 1px solid var(--line); backdrop-filter: blur(8px); animation: k-float 5s ease-in-out infinite;
}
.k-float--a { top: 12%; left: 4%; color: var(--cyan); animation-delay: -1s; }
.k-float--b { top: 40%; right: 0; color: var(--green); animation-delay: -2.5s; }
.k-float--c { bottom: 10%; left: 6%; color: var(--amber); animation-delay: -4s; }

/* ===== Seksi ===== */
.k-section { padding: 3.2rem 0; }
.k-section h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 0.5rem; }
.k-section .sub { color: var(--muted); margin-bottom: 2rem; }

.k-step { position: relative; height: 100%; overflow: hidden; }
.k-step .num {
  font-size: 3.4rem; font-weight: 900; line-height: 1; margin-bottom: 0.6rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.k-step h3 { font-size: 1.2rem; }
.k-step p { color: var(--muted); margin: 0; }

.k-sub-preview { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 14px; background: linear-gradient(160deg, #26124f, #0c0c18); padding: 1rem; text-align: center; }
.k-sub-preview span { font-weight: 900; text-transform: uppercase; font-size: 1.25rem; }
.sub-bold span { color: #fff; text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000; }
.sub-yellow span { color: #ffe600; text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000; }
.sub-clean span { color: #fff; text-transform: none; font-weight: 700; font-size: 1.05rem; background: rgba(0, 0, 0, 0.6); padding: 0.35rem 0.7rem; border-radius: 6px; }

/* ===== Harga ===== */
.k-plan { height: 100%; display: flex; flex-direction: column; position: relative; }
.k-plan h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.k-price { font-size: 2rem; font-weight: 900; letter-spacing: -0.03em; margin: 0.4rem 0 1rem; }
.k-price small { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.k-plan ul { list-style: none; padding: 0; margin: 0 0 1.4rem; color: var(--muted); flex: 1; }
.k-plan li { padding: 0.32rem 0; }
.k-plan li::before { content: "\2713"; color: var(--green); font-weight: 800; margin-right: 0.55rem; }
.k-plan li.no::before { content: "\2013"; color: var(--muted); }
.k-plan .k-btn { justify-content: center; }
.k-plan--pop { border-color: rgba(255, 46, 147, 0.55); box-shadow: 0 0 0 1px rgba(255, 46, 147, 0.4), 0 14px 44px rgba(255, 46, 147, 0.25); }
.k-plan-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 0.2rem 0.8rem; border-radius: 999px;
  background: var(--grad); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}

.k-cta { text-align: center; padding: 3rem 1.5rem; border-radius: 24px; background: linear-gradient(135deg, rgba(145, 71, 255, 0.25), rgba(255, 46, 147, 0.2)); border: 1px solid rgba(145, 71, 255, 0.4); }
.k-cta h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }

/* ===== Auth ===== */
.k-auth { max-width: 440px; margin: 3rem auto; }
.k-auth h1 { font-size: 1.9rem; margin-bottom: 0.3rem; }

/* ===== Studio ===== */
.k-page-title { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; margin: 1.8rem 0 1.4rem; }
.k-page-title h1 { font-size: 1.9rem; margin: 0; }

.k-video {
  display: block; height: 100%; color: var(--text); border-radius: 16px; overflow: hidden; background: var(--panel);
  border: 1px solid var(--line); transition: 0.2s;
}
.k-video:hover { color: var(--text); transform: translateY(-3px); border-color: rgba(145, 71, 255, 0.6); box-shadow: var(--glow); }
.k-video-thumb {
  position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center;
  background: radial-gradient(160px 100px at 20% 20%, rgba(0, 229, 255, 0.25), transparent 70%), linear-gradient(135deg, #2a1163, #0d0d1c);
}
.k-video-thumb svg { width: 40px; height: 40px; fill: rgba(255, 255, 255, 0.85); }
.k-video-thumb .dur { position: absolute; right: 10px; bottom: 8px; padding: 0.1rem 0.45rem; border-radius: 6px; background: rgba(0, 0, 0, 0.7); font-size: 0.75rem; font-weight: 700; }
.k-video-thumb .k-status { position: absolute; left: 10px; top: 10px; background: rgba(7, 7, 13, 0.8); }
.k-video-body { padding: 0.85rem 1rem 1rem; }
.k-video-body .t { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k-video-body .m { font-size: 0.82rem; color: var(--muted); }

.k-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); border: 2px dashed var(--line); border-radius: var(--radius); }

/* ===== Klip ===== */
.k-clip { height: 100%; overflow: hidden; padding: 0; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); transition: 0.2s; }
.k-clip:hover { border-color: rgba(145, 71, 255, 0.55); box-shadow: var(--glow); }
.k-clip-frame { position: relative; aspect-ratio: 9 / 16; background: #000; display: grid; place-items: center; color: var(--muted); font-size: 0.85rem; }
.k-lock { display: grid; place-items: center; gap: 0.4rem; color: var(--muted); font-weight: 700; }
.k-lock svg { width: 34px; height: 34px; }
.k-clip-frame video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.k-score {
  position: absolute; top: 10px; left: 10px; z-index: 2; padding: 0.2rem 0.55rem; border-radius: 8px; font-weight: 900; font-size: 0.8rem;
  background: rgba(7, 7, 13, 0.82); border: 1px solid currentColor; pointer-events: none;
}
.k-score.hot { color: var(--green); box-shadow: 0 0 14px rgba(43, 255, 136, 0.4); }
.k-score.warm { color: var(--amber); }
.k-score.cool { color: var(--muted); }
.k-clip-body { padding: 0.85rem 1rem 1rem; }
.k-clip-body .t { font-weight: 700; font-size: 0.95rem; line-height: 1.3; }
.k-clip-body .m { font-size: 0.8rem; color: var(--muted); margin-top: 0.15rem; }
.k-clip-body .why { font-size: 0.8rem; color: var(--muted); font-style: italic; margin-top: 0.4rem; }
.k-clip-body .k-btn { margin-top: 0.7rem; }
.k-colors { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.k-swatch-wrap { position: relative; margin: 0; cursor: pointer; }
.k-swatch-wrap input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.k-swatch { display: block; width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.25); transition: 0.15s; }
.k-swatch-wrap:hover .k-swatch { transform: scale(1.12); }
.k-swatch-wrap input:checked + .k-swatch { border-color: #fff; box-shadow: 0 0 0 3px var(--violet); }
.k-swatch-wrap input:focus-visible + .k-swatch { outline: 2px solid var(--cyan); outline-offset: 3px; }
.k-styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-bottom: 1rem; }
.k-style-wrap { position: relative; margin: 0; cursor: pointer; }
.k-style-wrap input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.k-style { display: block; height: 100%; padding: 0.6rem 0.7rem; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); transition: 0.15s; }
.k-style b { display: block; font-size: 0.9rem; }
.k-style small { display: block; color: var(--muted); font-size: 0.72rem; line-height: 1.25; margin-top: 0.15rem; }
.k-style-wrap input:checked + .k-style { border-color: var(--violet); background: rgba(145, 71, 255, 0.16); box-shadow: 0 0 0 1px var(--violet); }
.k-style-wrap input:focus-visible + .k-style { outline: 2px solid var(--cyan); outline-offset: 2px; }
.k-colorlabel { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.5rem; display: block; }

/* SweetAlert2: sesuaikan dengan tema gelap */
.swal2-popup { background: #12121c !important; color: var(--text) !important; border: 1px solid var(--line); border-radius: 18px !important; font-family: inherit; }
.swal2-title, .swal2-html-container { color: var(--text) !important; }
.swal2-styled.swal2-confirm { background: var(--grad) !important; border-radius: 12px !important; font-weight: 800; box-shadow: none !important; }
.swal2-styled.swal2-confirm.k-danger { background: var(--red) !important; }
.swal2-styled.swal2-cancel { background: var(--panel-2) !important; color: var(--text) !important; border-radius: 12px !important; }
.swal2-timer-progress-bar { background: rgba(255, 255, 255, 0.35) !important; }

.k-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; padding: 1.4rem 0; margin-top: 3rem; }

/* ===== Animasi muncul saat scroll (hanya bila JS aktif) ===== */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ===== Ajakan upgrade ===== */
.k-upsell {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem;
  border-radius: var(--radius); border: 1px solid rgba(255, 46, 147, 0.5);
  background: linear-gradient(135deg, rgba(145, 71, 255, 0.18), rgba(255, 46, 147, 0.14));
  box-shadow: 0 8px 30px rgba(255, 46, 147, 0.15);
}
.k-upsell strong { display: block; font-size: 1.05rem; }
.k-upsell span { color: var(--muted); font-size: 0.9rem; }
