/* Обновленные стили для CTA баннера - гармония с фоном #d4f1ff → #a8e6cf → #dcedc8 */
.kioria-cta-banner {
    background: linear-gradient(135deg, 
        rgba(30, 70, 90, 0.95) 0%,
        rgba(20, 55, 75, 0.95) 50%,
        rgba(40, 85, 105, 0.95) 100%
    );
    border-radius: 14px;
    padding: 40px;
    margin: 40px auto;
    max-width: 900px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(168, 230, 207, 0.25);
    box-shadow: 
        0 15px 35px rgba(30, 70, 90, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    z-index: 1; 
}
/* Тонкая текстура с нотками мятного */
.kioria-cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image: 
        radial-gradient(
            circle at 25% 25%,
            rgba(168, 230, 207, 0.05) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 75% 75%,
            rgba(212, 241, 255, 0.05) 0%,
            transparent 50%
        );
    opacity: 0.6;
    pointer-events: none;
}

/* Светлая полоска сверху для объема */
.kioria-cta-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, 
        transparent, 
        rgba(212, 241, 255, 0.4), 
        rgba(168, 230, 207, 0.4), 
        transparent
    );
    box-shadow: 0 0 10px rgba(212, 241, 255, 0.1);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Заголовок - светлый мятный с тенью */
.cta-title {
    color: #d4f1ff; /* Используем светлый голубой из градиента */
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 0px;
    text-shadow: 
        0 2px 4px rgba(30, 70, 90, 0.4),
        0 0 20px rgba(168, 230, 207, 0.2);
}

/* Описание - более темный мятный оттенок */
.cta-description {
    color: #a8e6cf; /* Основной мятный из градиента фона */
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Кнопки с полупрозрачностью */
.btn-play, .btn-comment {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    overflow: hidden;
}

/* Основная кнопка - светлый голубой */
.btn-play {
    background: rgba(212, 241, 255, 0.12);
    color: #d4f1ff;
    border: 1px solid rgba(212, 241, 255, 0.35);
}

/* Эффект свечения при наведении */
.btn-play:hover {
    background: rgba(212, 241, 255, 0.18);
    border-color: rgba(212, 241, 255, 0.6);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(30, 70, 90, 0.3),
        0 0 0 1px rgba(212, 241, 255, 0.2),
        0 0 20px rgba(212, 241, 255, 0.1);
}

/* Вторичная кнопка - мятная */
.btn-comment {
    background: rgba(168, 230, 207, 0.1);
    color: #a8e6cf;
    border: 1px solid rgba(168, 230, 207, 0.4);
}

.btn-comment:hover {
    background: rgba(168, 230, 207, 0.15);
    border-color: rgba(168, 230, 207, 0.7);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(30, 70, 90, 0.25),
        0 0 0 1px rgba(168, 230, 207, 0.2),
        0 0 15px rgba(168, 230, 207, 0.1);
}

/* Эффект перелива на кнопках */
.btn-play::before, .btn-comment::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.7s ease;
}

.btn-play:hover::before, .btn-comment:hover::before {
    left: 100%;
}

/* Адаптивность */
@media (max-width: 768px) {
    .kioria-cta-banner {
        padding: 30px 20px;
        margin: 30px 15px;
        border-radius: 12px;
    }
    
    .cta-title {
        font-size: 1.7rem;
        margin-bottom: 15px;
    }
    
    .cta-description {
        font-size: 1.05rem;
        margin-bottom: 25px;
        padding: 0 10px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 18px;
    }
    
    .btn-play, .btn-comment {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        padding: 16px 28px;
        font-size: 0.9rem;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .kioria-cta-banner {
        padding: 25px 15px;
        margin: 25px 10px;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-description {
        font-size: 1rem;
        line-height: 21px;
    }
    
    .btn-play, .btn-comment {
        max-width: 100%;
        padding: 15px 20px;
    }
}

/* Плавное появление баннера */
@keyframes gentleFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.kioria-cta-banner {
    animation: gentleFadeIn 0.6s ease-out 0.3s both;
}

/* Плавный переход при скролле к комментариям */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}




/* ====================== */
/* СТИЛИ ДЛЯ КНОПКИ "ВСЕ КЛИПЫ" */
/* ====================== */

.all-clips-container {
  text-align: center;
  margin-top: 21px;
  padding-top: 15px;
  border-top: 1px solid rgba(165, 210, 255, 0.2);
}

/* Основные стили кнопки */
.btn-all-clips {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 42px;
  background: linear-gradient(135deg, 
      rgba(0, 37, 68, 0.85) 0%,
      rgba(45, 119, 180, 0.85) 50%,
      rgba(0, 37, 68, 0.85) 100%
  );
  color: #a5d2ff;
  border: 1px solid rgba(165, 210, 255, 0.4);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 
      0 5px 15px rgba(0, 37, 68, 0.3),
      0 0 0 1px rgba(165, 210, 255, 0.15);
}

/* Текстовая часть */
.btn-all-clips span {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

/* Иконка */
.btn-icon {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

/* Фоновый слой для эффекта градиента */
.btn-all-clips::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
      rgba(0, 37, 68, 0.95) 0%,
      rgba(45, 119, 180, 0.95) 50%,
      rgba(165, 210, 255, 0.2) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

/* Эффект перелива */
.btn-all-clips::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.15),
      transparent
  );
  transition: left 0.8s ease;
  z-index: 1;
}

/* Состояние hover */
.btn-all-clips:hover {
  color: #ffffff;
  border-color: rgba(165, 210, 255, 0.7);
  transform: translateY(-3px);
  box-shadow: 
      0 10px 25px rgba(0, 37, 68, 0.4),
      0 0 0 1px rgba(165, 210, 255, 0.3),
      0 0 25px rgba(165, 210, 255, 0.2);
}

.btn-all-clips:hover::before {
  opacity: 1;
}

.btn-all-clips:hover::after {
  left: 100%;
}

.btn-all-clips:hover .btn-icon {
  transform: translateX(3px);
}

.btn-all-clips:hover span {
  transform: translateX(2px);
}

/* Состояние active */
.btn-all-clips:active {
  transform: translateY(-1px);
  box-shadow: 
      0 5px 15px rgba(0, 37, 68, 0.3),
      0 0 0 1px rgba(165, 210, 255, 0.2);
}

/* Анимация появления */
@keyframes fadeInUpBtn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.all-clips-container {
  animation: fadeInUpBtn 0.6s ease-out 0.5s both;
}

.btn-all-clips {
  animation: fadeInUpBtn 0.6s ease-out 0.7s both;
}

/* ====================== */
/* АДАПТИВНОСТЬ */
/* ====================== */

@media (max-width: 992px) {
  .all-clips-container {
    margin-top: 5px;
    padding-top: 18px;
  }
  
  .btn-all-clips {
    padding: 15px 36px;
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .all-clips-container {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(165, 210, 255, 0.08);
  }
  
  .btn-all-clips {
    padding: 14px 32px;
    font-size: 0.9rem;
    width: 100%;
    max-width: 280px;
  }
  
  .btn-all-clips:hover {
    transform: translateY(-2px);
  }
}

@media (max-width: 480px) {
  .all-clips-container {
    margin-top: 25px;
    padding-top: 12px;
  }
  
  .btn-all-clips {
    padding: 13px 28px;
    font-size: 0.85rem;
    max-width: 100%;
    gap: 10px;
  }
  
  .btn-icon {
    width: 18px;
    height: 18px;
  }
}

/* ====================== */
/* ДОПОЛНИТЕЛЬНЫЕ ЭФФЕКТЫ */
/* ====================== */

/* Эффект пульсации при загрузке */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 
        0 5px 15px rgba(0, 37, 68, 0.3),
        0 0 0 1px rgba(165, 210, 255, 0.15);
  }
  50% {
    box-shadow: 
        0 5px 20px rgba(0, 37, 68, 0.4),
        0 0 0 1px rgba(165, 210, 255, 0.25),
        0 0 15px rgba(165, 210, 255, 0.1);
  }
}

.btn-all-clips.loading {
  animation: pulseGlow 2s infinite ease-in-out;
}

/* Эффект успешного нажатия */
@keyframes successPulse {
  0%, 100% {
    box-shadow: 
        0 5px 15px rgba(0, 37, 68, 0.3),
        0 0 0 1px rgba(165, 210, 255, 0.15);
  }
  50% {
    box-shadow: 
        0 5px 25px rgba(45, 119, 180, 0.5),
        0 0 0 1px rgba(165, 210, 255, 0.4),
        0 0 30px rgba(165, 210, 255, 0.3);
  }
}

.btn-all-clips.success {
  animation: successPulse 1s ease-in-out;
}

/* ====================== */
/* ТЕМНАЯ ТЕМА (опционально) */
/* ====================== */
@media (prefers-color-scheme: dark) {
  .btn-all-clips {
    background: linear-gradient(135deg, 
        rgba(0, 37, 68, 0.9) 0%,
        rgba(45, 119, 180, 0.9) 50%,
        rgba(0, 37, 68, 0.9) 100%
    );
    border-color: rgba(165, 210, 255, 0.3);
  }
  
  .btn-all-clips:hover {
    border-color: rgba(165, 210, 255, 0.6);
    box-shadow: 
        0 10px 25px rgba(0, 37, 68, 0.6),
        0 0 0 1px rgba(165, 210, 255, 0.4),
        0 0 30px rgba(165, 210, 255, 0.25);
  }
}

/* ====================== */
/* ДОСТУПНОСТЬ */
/* ====================== */
.btn-all-clips:focus {
  outline: 2px solid rgba(165, 210, 255, 0.6);
  outline-offset: 2px;
}

.btn-all-clips:focus:not(:focus-visible) {
  outline: none;
}

/* Для пользователей, предпочитающих уменьшенное движение */
@media (prefers-reduced-motion: reduce) {
  .btn-all-clips,
  .btn-all-clips:hover,
  .btn-all-clips:active,
  .all-clips-container,
  .btn-all-clips {
    transition: none;
    animation: none;
  }
  
  .btn-all-clips:hover::after {
    display: none;
  }
}