:root {
  /* Warna tema (biru / ice) */
  --bg1: #06273a;
  --bg2: #0a4a61;
  --edge1: #5ef6ff;
  --edge2: #8ff6ff;
  --edge3: #b6feff;
  --text: #e9fbff;
  --muted: #cff5ff;
  --border: rgba(255, 255, 255, .14);
  --glass1: rgba(255, 255, 255, .06);
  --glass2: rgba(255, 255, 255, .03);
  --accent: #86fff7;
  --cta1: linear-gradient(90deg, #ff3b3b, #ff5ea8, #86fff7);
  --shadow: 0 28px 80px rgba(0, 0, 0, .5);
  --radius: 24px;
}

/* Reset */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  background: linear-gradient(180deg, var(--bg1), var(--bg2));
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  transition: opacity .45s, transform .45s cubic-bezier(.2, .8, .2, 1);
}

body.pre-enter {
  opacity: 0;
  transform: translateY(8px) scale(.992);
}

body.page-enter {
  opacity: 1;
  transform: none;
}

body.page-leave {
  opacity: 0;
  transform: translateY(10px) scale(.985);
}

/* Lapisan visual */
.canvas-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  display: block;
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(800px 400px at 10% 10%, rgba(94, 246, 255, 0.08), transparent 30%),
    radial-gradient(700px 350px at 85% 15%, rgba(140, 255, 230, 0.06), transparent 30%);
  filter: blur(20px) saturate(120%);
  mix-blend-mode: screen;
  opacity: .9;
}

/* Layout utama */
.wrap {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 18px;
  position: relative;
  z-index: 1;
}

.card {
  width: min(1100px, 94vw);
  max-width: 1200px;
  background: linear-gradient(180deg, var(--glass1), var(--glass2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px 36px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 26px;
  z-index: -1;
  background: conic-gradient(from 200deg, var(--edge1), var(--edge2), var(--edge3), var(--edge1));
  filter: blur(10px) saturate(150%);
  opacity: .18;
  mix-blend-mode: screen;
}

/* Header */
.h {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.b {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #053243;
  font-weight: 900;
  background: linear-gradient(135deg, #bffff2, #86fff7);
  box-shadow: 0 12px 28px rgba(134, 255, 247, .45);
}

.t {
  margin: 0;
  font-weight: 1000;
  font-size: clamp(30px, 5.2vw, 54px);
  position: relative;
  letter-spacing: 1px;
}

.t::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .65), transparent);
  transform: skewX(-22deg) translateX(-120%);
  mix-blend-mode: screen;
  filter: blur(1px);
  animation: shine 3.8s ease-in-out infinite 1s;
}

@keyframes shine {
  to {
    transform: skewX(-22deg) translateX(120%);
  }
}

/* Subtitle dan pembatas */
.s {
  margin: 8px 0 16px;
  text-align: center;
  font-weight: 900;
  opacity: .92;
}

.divider {
  height: 1px;
  margin: 12px auto 18px;
  width: min(920px, 92%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
}

/* Daftar item */
.list {
  width: min(920px, 95%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: clamp(14px, 1.6vw, 17px);
}

.li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  opacity: 0;
  transform: translateY(10px) scale(.98);
  border-radius: 12px;
  padding: 10px;
}

.li.show {
  opacity: 1;
  transform: none;
  transition: opacity .45s ease, transform .6s cubic-bezier(.2, .8, .2, 1);
}

.ic {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #04323d;
  font-weight: 900;
  background: linear-gradient(135deg, #cffff5, #86fff7);
  box-shadow: 0 8px 16px rgba(134, 255, 247, .35);
}

/* Tombol aksi */
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.btn {
  border: none;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 900;
  letter-spacing: .2px;
  color: #fff;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-width: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.ghost {
  background: rgba(0, 0, 0, .28);
  border: 1px solid var(--border);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
}

.btn.pri {
  background: var(--cta1);
  box-shadow: 0 10px 26px rgba(134, 255, 247, .25);
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: rgba(255, 255, 255, .35);
  animation: ripple .6s ease-out;
}

@keyframes ripple {
  from {
    width: 0;
    height: 0;
    opacity: .45;
  }
  to {
    width: 600px;
    height: 600px;
    opacity: 0;
  }
}

/* Footer */
.cpy {
  opacity: .85;
  text-align: center;
  margin-top: 18px;
  font-size: .95rem;
}

/* Responsif */
@media (max-width: 720px) {
  .card {
    padding: 20px;
    border-radius: 18px;
  }

  .b {
    width: 48px;
    height: 48px;
  }

  .t {
    font-size: clamp(24px, 7.6vw, 36px);
  }

  .actions {
    gap: 10px;
  }

  .btn {
    min-width: 44%;
  }

  .list {
    font-size: 14px;
  }
}

/* Interaksi hover */
.card:hover {
  transform: translateY(-6px) scale(1.002);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}

.li:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .01));
  transform: translateY(-4px);
  transition: transform .25s, background .25s;
}
