@import "_variables.css";

.popup-overlay {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 9999;
  overflow: hidden;
}

.popup-overlay.active {
  transform: scale(1);
  opacity: 1;
  width: 360px;
  height: 220px;
  border-radius: var(--border-radius-12);
  background: #111;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 2px solid #e63946;
}

.popup-content {
  position: relative;
  width: 100%;
  height: 100%;
  padding: var(--mp20);
  box-sizing: border-box;
  text-align: center;
  color: #fff;
  background: linear-gradient(252.65deg, #44383a 8.18%, #250E45 91.82%);
}

.popup-text h3 {
  font-weight: var(--font-weight-500);
  font-size: var(--font-size-22);
  line-height: 1.3;
  color: white;
  padding-bottom: var(--mp12);
}

.popup-text p {
  font-weight: var(--font-weight-400);
  font-size: var(--font-size-14);
  line-height: 1.2;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.popup-actions {
  margin: var(--mp20);
}

.popup-actions button {
  margin: 0 8px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s;
}

.popup-actions button:hover {
  background: rgba(255, 255, 255, 0.3);
}

.popup-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 20px;
  text-decoration: none;  
  transition: background 0.3s;
  margin:6px;
}

.popup-action-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  color: white;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

.floating-buttons {
  position: fixed;
  bottom: var(--mp20);
  right: var(--mp20);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--mp12);
  z-index: 999;
}

.btn-oval {
  width: 6.1538rem;
  height: 9rem;
  border-radius: 3.846rem;
  border: 2px solid #e63946;
  overflow: hidden;
  padding: 0;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

.btn-oval:hover {
  transform: scale(1.1);
}

.btn-oval img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-top {
  width: 3.8461rem;
  height: 3.8461rem;
  border-radius: 1.4rem;
  border: none;
  background: rgba(51, 51, 51, 0);
  color: #fff;
  font-size: var(--font-size-22);
  cursor: pointer;
  transition: background 0.3s, opacity 0.3s;
  opacity: 0.2;
}

.btn-top:hover {
  background: rgba(51, 51, 51, 1);
  opacity: 1;
}

.floating-hidden {
  display: none !important;
}