/* extras for 609nj template — missing utilities + ABABSEO */

.nj-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 8px;
}

.nj-pager__btn,
.nj-pager__num {
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.nj-pager__btn:hover:not(:disabled),
.nj-pager__num:hover {
  border-color: #0284c7;
  color: #0284c7;
  background: #eff6ff;
}

.nj-pager__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.nj-pager__num.is-active {
  background: #0284c7;
  border-color: #0284c7;
  color: #fff;
}

.nj-pager__pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.nj-pager__ellipsis {
  min-width: 24px;
  text-align: center;
  color: #9ca3af;
}

@media (max-width: 640px) {
  .nj-pager__btn,
  .nj-pager__num {
    min-width: 36px;
    min-height: 36px;
    padding: 0 10px;
    font-size: 13px;
  }
}

.bg-yellow-400 {
  background-color: #facc15;
}
.text-yellow-900 {
  color: #713f12;
}
.text-yellow-300 {
  color: #fde047;
}
.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.gap-3 {
  gap: 0.75rem;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-auto {
  margin-top: auto;
}
.max-w-md {
  max-width: 28rem;
}
.bg-gradient-to-l {
  background-image: linear-gradient(to left, var(--tw-gradient-stops));
}
.top-1\/2 {
  top: 50%;
}
.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.w-28 {
  width: 7rem;
}
.h-7 {
  height: 1.75rem;
}
.border-gray-100 {
  border-color: #f3f4f6;
}
.hover\:underline:hover {
  text-decoration: underline;
}
.pb-4 {
  padding-bottom: 1rem;
}
.pt-3 {
  padding-top: 0.75rem;
}
.shrink-0 {
  flex-shrink: 0;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.leading-snug {
  line-height: 1.375;
}
.whitespace-nowrap {
  white-space: nowrap;
}
.fill-current {
  fill: currentColor;
}

/* Play page mobile + responsive utilities */
.nj-player {
  min-height: 200px;
}

@media (max-width: 640px) {
  .nj-player {
    max-height: none;
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 640px) {
  .sm\:p-4 {
    padding: 1rem;
  }
  .sm\:p-6 {
    padding: 1.5rem;
  }
  .sm\:py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .sm\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  .sm\:gap-4 {
    gap: 1rem;
  }
  .sm\:mb-4 {
    margin-bottom: 1rem;
  }
  .sm\:space-x-4 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(1rem * var(--tw-space-x-reverse));
    margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
  }
}

/* ABABSEO footer mark */
.ababseo-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  user-select: none;
}

.ababseo-mark__plane-wrap {
  position: relative;
  width: 36px;
  height: 28px;
  flex-shrink: 0;
}

.ababseo-mark__plane {
  position: absolute;
  left: 0;
  top: 4px;
  width: 22px;
  height: 22px;
  color: #60a5fa;
  animation: ababseo-fly 3.6s ease-in-out infinite;
}

.ababseo-mark__plane svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ababseo-mark__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.05;
}

.ababseo-mark__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #94a3b8;
}

.ababseo-mark__name {
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.14em;
  background: linear-gradient(105deg, #60a5fa 0%, #fff 40%, #38bdf8 70%, #fff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ababseo-shimmer 5s ease-in-out infinite;
}

@keyframes ababseo-fly {
  0% {
    transform: translate(0, 2px) rotate(-8deg);
  }
  20% {
    transform: translate(8px, -6px) rotate(4deg);
  }
  45% {
    transform: translate(16px, 1px) rotate(-2deg);
  }
  70% {
    transform: translate(6px, -8px) rotate(10deg);
  }
  100% {
    transform: translate(0, 2px) rotate(-8deg);
  }
}

@keyframes ababseo-shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ababseo-mark__plane,
  .ababseo-mark__name {
    animation: none;
  }
}
