/* ============================================
   Shared Component: Red Cyberk
   Signature brand mark square (#D9212E)
   ============================================ */

.red-cyberk {
  display: inline-block;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  background-color: var(--red-cyberk, #d9212e);
  animation: red-cyberk-pulse 2.2s ease-in-out infinite;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow, opacity;
}

.red-cyberk:hover {
  transform: scale(1.35);
  box-shadow: 0 0 12px rgba(217, 33, 46, 0.7);
}

/* Size Variants */
.red-cyberk--sm {
  width: 8px;
  height: 8px;
  flex-basis: 8px;
}

.red-cyberk--md {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
}

.red-cyberk--lg {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

/* Breathing & Blinking Pulse Animation */
@keyframes red-cyberk-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(217, 33, 46, 0.45);
  }
  50% {
    opacity: 0.35;
    transform: scale(1.08);
    box-shadow: 0 0 8px 2px rgba(217, 33, 46, 0.6);
  }
}

@media (prefers-reduced-motion: reduce) {
  .red-cyberk {
    animation: none;
    transition: none;
  }
}
