/* ============================================
   УВЕДОМЛЕНИЕ О COOKIE
   Современное всплывающее окно внизу экрана
   ============================================ */

.cookie_notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 25px 20px;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: none;
  animation: slideUp 0.5s ease-out;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie_notice_container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cookie_notice_icon {
  font-size: 48px;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.cookie_notice_content {
  flex: 1;
  min-width: 250px;
}

.cookie_notice_title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie_notice_text {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  opacity: 0.95;
}

.cookie_notice_buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie_btn {
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cookie_btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cookie_btn:hover::before {
  width: 300px;
  height: 300px;
}

.cookie_btn_accept {
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
  color: #667eea;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4), 0 4px 10px rgba(102, 126, 234, 0.3);
  position: relative;
  z-index: 1;
}

.cookie_btn_accept:hover {
  background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(255, 255, 255, 0.5), 0 6px 15px rgba(102, 126, 234, 0.4);
  color: #5568d3;
  text-decoration: none;
}

.cookie_btn_accept:active {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3), 0 3px 8px rgba(102, 126, 234, 0.3);
}

.cookie_btn_decline {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.cookie_btn_decline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  color: #fff;
  text-decoration: none;
}

.cookie_btn_decline:active {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Адаптив для планшетов */
@media (max-width: 991px) {
  .cookie_notice {
    padding: 20px 15px;
  }

  .cookie_notice_container {
    gap: 20px;
  }

  .cookie_notice_icon {
    font-size: 40px;
  }

  .cookie_notice_title {
    font-size: 18px;
  }

  .cookie_notice_text {
    font-size: 14px;
  }
}

/* Адаптив для мобильных */
@media (max-width: 767px) {
  .cookie_notice {
    padding: 20px 15px;
  }

  .cookie_notice_container {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .cookie_notice_icon {
    font-size: 36px;
  }

  .cookie_notice_content {
    min-width: 100%;
  }

  .cookie_notice_title {
    font-size: 17px;
    justify-content: center;
  }

  .cookie_notice_text {
    font-size: 13px;
  }

  .cookie_notice_buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .cookie_btn {
    width: 100%;
    padding: 12px 20px;
  }
}

/* Малые экраны */
@media (max-width: 480px) {
  .cookie_notice {
    padding: 15px 10px;
  }

  .cookie_notice_icon {
    font-size: 32px;
  }

  .cookie_notice_title {
    font-size: 16px;
  }

  .cookie_notice_text {
    font-size: 12px;
    line-height: 1.5;
  }

  .cookie_btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}
