@property --dj-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: -75deg;
}

:root {
  --basalt-0: #000;
  --basalt-1: #0a0b0c;
  --basalt-2: #121316;
  --basalt-3: #1a1c1f;
  --basalt-4: #24272b;
  --veil-1: #d6ebfd0d;
  --veil-2: #d6ebfd17;
  --veil-3: #d6ebfd24;
  --veil-4: #d6ebfd30;
  --steam-0: #fff;
  --steam-1: #f0f0f0;
  --steam-2: #a0a0a0;
  --spring: #a5f3fc;
  --iris: #c4b5fd;
  --sulfur: #fcd9a8;
  --mist: linear-gradient(104deg, var(--spring) 0%, var(--iris) 52%, var(--sulfur) 100%);
  --r-pill: 999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-press: cubic-bezier(0.25, 1, 0.5, 1);
  --column: 1120px;
  --gutter: 24px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--basalt-0); }

body {
  margin: 0;
  padding-top: 88px;
  background:
    radial-gradient(900px 420px at 0 0, rgba(165, 243, 252, 0.08), transparent 60%),
    radial-gradient(800px 480px at 100% 0, rgba(196, 181, 253, 0.08), transparent 55%),
    var(--basalt-0);
  color: var(--steam-0);
  font-family: Geist, system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

.dj-nav {
  z-index: 50;
  pointer-events: none;
  position: fixed;
  inset-inline: 0;
  top: 16px;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}

.dj-nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  height: 56px;
  padding: 5px 8px 5px 18px;
  border: 1px solid var(--veil-3);
  border-radius: var(--r-pill);
  background: linear-gradient(160deg, var(--veil-2), var(--veil-1)), #0a0b0cbd;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px #0000008c, inset 0 1px 0 var(--veil-3);
}

.dj-nav-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  text-decoration: none;
}

.dj-nav-mark {
  display: block;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.dj-nav-word {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  transition: grid-template-columns 0.5s var(--ease), opacity 0.35s var(--ease);
}

.dj-nav-word > span {
  overflow: hidden;
  min-width: 0;
  color: var(--steam-1);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.dj-nav-pill.turun .dj-nav-word {
  opacity: 0;
  grid-template-columns: 0fr;
}

.dj-nav-sisa { flex: 1; min-width: 8px; }

.dj-nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dj-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  color: var(--steam-2);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s var(--ease-soft), background 0.2s var(--ease-soft);
}

.dj-nav-link:hover,
.dj-nav-link[aria-current="page"] {
  color: var(--steam-0);
  background: var(--veil-1);
}

.dj-btn {
  --dj-rim: 1.5px;
  isolation: isolate;
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: none;
  border-radius: var(--r-pill);
  background: linear-gradient(-75deg, var(--basalt-3), var(--basalt-2) 46%, var(--basalt-1));
  color: var(--steam-0);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 var(--veil-3), inset 0 -1px 0 #00000080, 0 10px 28px #00000080;
}

.dj-btn-sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 13px;
  box-shadow: inset 0 1px 0 var(--veil-3), inset 0 -1px 0 #00000080;
}

.dj-btn > * { position: relative; z-index: 3; }

.dj-btn::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: calc(0% - var(--dj-rim) / 2);
  left: calc(0% - var(--dj-rim) / 2);
  width: calc(100% + var(--dj-rim));
  height: calc(100% + var(--dj-rim));
  box-sizing: border-box;
  padding: var(--dj-rim);
  border-radius: var(--r-pill);
  pointer-events: none;
  background:
    conic-gradient(from var(--dj-angle) at 50% 50%, var(--spring) 0, transparent 6% 38%, var(--iris) 50%, transparent 62% 94%, var(--sulfur) 100%),
    linear-gradient(180deg, var(--veil-3), var(--veil-2));
  mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  mask-clip: content-box, border-box;
  mask-composite: exclude;
  animation: dj-rim 4.5s linear infinite;
}

@keyframes dj-rim { to { --dj-angle: 285deg; } }

@media (prefers-reduced-motion: reduce) {
  .dj-btn::after { animation: none; }
}

@media (max-width: 719px) {
  .dj-nav-pill { gap: 6px; padding-left: 12px; }
  .dj-nav-word { display: none; }
  .dj-nav-link { padding: 8px 9px; font-size: 13px; }
}

.kotak {
  padding: 8px 0 88px;
}

.kotak [data-djeonail-buku] {
  min-width: 360px;
  max-width: var(--column);
  margin-inline: auto;
}

@media (min-width: 900px) {
  .kotak { padding-bottom: 120px; }
}
