.boosty-cta {
  /* Контейнер — как свиток */
  display: inline-flex;
  align-items: center;
  background: #f7ecc1; /* Цвет старой бумаги */
  color: #5c4a3a; /* Тёмно-коричневый — чернила */
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 4px;
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  min-width: 200px;
  max-width: max-content;
  gap: 12px;
  font-family: 'Noto Serif JP', 'Georgia', serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: transform 0.2s;
  overflow: visible;
  border: 1px solid #d4c9a8;
}

/* Левая "деревянная" планка (ролик свитка) */
.boosty-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 6.997 3.134 6.997 7 0 3.867-3.13 7-6.997 7-3.866 0-6.997-3.133-6.997-7 0-3.866 3.13-7 6.997-7zm31 0c3.866 0 6.997 3.134 6.997 7 0 3.867-3.13 7-6.997 7-3.866 0-6.997-3.133-6.997-7 0-3.866 3.13-7 6.997-7zm31 0c3.866 0 6.997 3.134 6.997 7 0 3.867-3.13 7-6.997 7-3.866 0-6.997-3.133-6.997-7 0-3.866 3.13-7 6.997-7zm11 20c3.866 0 6.997 3.134 6.997 7 0 3.867-3.13 7-6.997 7-3.866 0-6.997-3.133-6.997-7 0-3.866 3.13-7 6.997-7zm-42 0c3.866 0 6.997 3.134 6.997 7 0 3.867-3.13 7-6.997 7-3.866 0-6.997-3.133-6.997-7 0-3.866 3.13-7 6.997-7zm-11 20c3.866 0 6.997 3.134 6.997 7 0 3.867-3.13 7-6.997 7-3.866 0-6.997-3.133-6.997-7 0-3.866 3.13-7 6.997-7zm31 0c3.866 0 6.997 3.134 6.997 7 0 3.867-3.13 7-6.997 7-3.866 0-6.997-3.133-6.997-7 0-3.866 3.13-7 6.997-7zm11 20c3.866 0 6.997 3.134 6.997 7 0 3.867-3.13 7-6.997 7-3.866 0-6.997-3.133-6.997-7 0-3.866 3.13-7 6.997-7zm-72-70c3.866 0 6.997 3.134 6.997 7 0 3.867-3.13 7-6.997 7-3.866 0-6.997-3.133-6.997-7 0-3.866 3.13-7 6.997-7z' fill='%23d9d0c5' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.6;
  z-index: -1;
  border-radius: 4px;
}

.boosty-cta::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 60%;
  background: #8b5a2b;
  border-radius: 2px;
  box-shadow: 
    inset 0 0 8px rgba(0, 0, 0, 0.3),
    0 1px 3px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

/* Левая планка — отдельный элемент, чтобы обойти ограничение ::before/after */
/* Решение: добавим <div class="scroll-roller left"></div> */
/* Эффект старой бумаги */
.boosty-cta::backdrop {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("https://i.pinimg.com/originals/1e/f8/03/1ef8032d40b00a76120985e3b41f9658.jpg");
  opacity: 0.6;
  z-index: 1;
  border-radius: 4px;
}

/* Лента сверху (как у запечатанного свитка) */
.boosty-cta span.ribbon {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: #f08f18;
  color: white;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 10px;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 3;
  white-space: nowrap;
}

/* Иконка — как печать шиноби */
.boosty-icon {
  width: 32px;
  height: 32px;
  background: #f08f18; /* Красная печать */
  border: 2px solid #5c4a3a;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.boosty-letter {
  color: white;
  font-weight: bold;
  font-size: 18px;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}

/* Текст — как каллиграфия */
.boosty-text {
  color: #5c4a3a;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Noto Serif JP', 'Georgia', serif;
  z-index: 2;
}

/* Эффект при наведении — будто свиток разворачивается */
.boosty-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 6px 12px rgba(0, 0, 0, 0.3),
    inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Активное состояние — будто активирована печать */
.boosty-cta:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.scroll2 {
  position: absolute;
  width: 45px;
  height: 105%;
  background: #77120c;
  border-radius: 3px;
  box-shadow: 
    inset 0 0 8px rgba(0, 0, 0, 0.6),
    0 1px 3px rgba(0, 0, 0, 0.2);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.scroll2.right {
  right: -2px;
}
.scroll2.left {
    left: -38px;
}

.scroll-roller {
  position: absolute;
  width: 6px;
  height: 60%;
  background: #8b5a2b;
  border-radius: 2px;
  box-shadow: 
    inset 0 0 8px rgba(0, 0, 0, 0.3),
    0 1px 3px rgba(0, 0, 0, 0.2);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.scroll-roller.left {
  left: -8px;
}

.scroll-roller.right {
  right: -8px;
}
.boosty-icon-wrapper {
  position: relative;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.boosty-icon-wrapper::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid #e63946;
  border-radius: 50%;
  opacity: 0.6;
  animation: pulse-chakra 1.5s infinite ease-in-out;
  box-shadow: 0 0 8px #ff6b6b;
}

@keyframes pulse-chakra {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.9;
  }
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
}

.ninja-widget {
  width: 320px;
  background: #f5f0e1;
  border: 1px solid #d4c9a8;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  font-family: 'Noto Serif JP', 'Georgia', serif;
  position: relative;
  margin: auto;
}

    /* Текстура старой бумаги */
.ninja-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 6.997 3.134 6.997 7 0 3.867-3.13 7-6.997 7-3.866 0-6.997-3.133-6.997-7 0-3.866 3.13-7 6.997-7zm31 0c3.866 0 6.997 3.134 6.997 7 0 3.867-3.13 7-6.997 7-3.866 0-6.997-3.133-6.997-7 0-3.866 3.13-7 6.997-7zm31 0c3.866 0 6.997 3.134 6.997 7 0 3.867-3.13 7-6.997 7-3.866 0-6.997-3.133-6.997-7 0-3.866 3.13-7 6.997-7zm11 20c3.866 0 6.997 3.134 6.997 7 0 3.867-3.13 7-6.997 7-3.866 0-6.997-3.133-6.997-7 0-3.866 3.13-7 6.997-7zm-42 0c3.866 0 6.997 3.134 6.997 7 0 3.867-3.13 7-6.997 7-3.866 0-6.997-3.133-6.997-7 0-3.866 3.13-7 6.997-7zm-11 20c3.866 0 6.997 3.134 6.997 7 0 3.867-3.13 7-6.997 7-3.866 0-6.997-3.133-6.997-7 0-3.866 3.13-7 6.997-7zm31 0c3.866 0 6.997 3.134 6.997 7 0 3.867-3.13 7-6.997 7-3.866 0-6.997-3.133-6.997-7 0-3.866 3.13-7 6.997-7zm11 20c3.866 0 6.997 3.134 6.997 7 0 3.867-3.13 7-6.997 7-3.866 0-6.997-3.133-6.997-7 0-3.866 3.13-7 6.997-7zm-72-70c3.866 0 6.997 3.134 6.997 7 0 3.867-3.13 7-6.997 7-3.866 0-6.997-3.133-6.997-7 0-3.866 3.13-7 6.997-7z' fill='%23d9d0c5' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
  border-radius: 12px;
}

.ninja-widget-content {
  position: relative;
  z-index: 1;
  padding: 16px;
}

.ninja-header {
  text-align: center;
  color: #5c4a3a;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.ninja-online {
  color: #e63946;
  font-weight: bold;
  text-align: center;
  margin-bottom: 16px;
}

    .ninja-members {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 16px;
    }

    .ninja-avatar {
      position: relative;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      overflow: hidden;
      border: 2px solid #8b5a2b;
      box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
    }

    .ninja-avatar::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: radial-gradient(circle, rgba(230, 57, 70, 0.3) 0%, transparent 70%);
      z-index: 1;
    }

    .ninja-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .ninja-join-btn {
      display: block;
      width: 100%;
      background: #db8d2e;
      color: white;
      text-align: center;
      padding: 10px;
      font-weight: bold;
      text-decoration: none;
      border-radius: 6px;
      transition: background 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      font-size: 14px;
    }

    .ninja-join-btn:hover {
      background: #4553c2;
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }