/* Awareness Popup Styling */

.awareness-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.awareness-popup-overlay.show {
  opacity: 1;
}

.awareness-popup {
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.95) 0%, rgba(15, 20, 25, 0.98) 100%);
  border: 2px solid rgba(212, 168, 71, 0.4);
  border-radius: 20px;
  padding: 0;
  max-width: 600px;
  width: 100%;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(212, 168, 71, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.awareness-popup-overlay.show .awareness-popup {
  transform: scale(1);
}

/* Glow effect */
.awareness-popup::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 168, 71, 0.08) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.awareness-popup-content {
  position: relative;
  z-index: 1;
  padding: 40px;
}

.awareness-popup-title {
  color: #d4a847;
  font-size: 1.8rem;
  font-weight: 300;
  margin: 0 0 25px 0;
  text-align: center;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(212, 168, 71, 0.3);
}

.awareness-popup-message {
  color: #e0e0e0;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 30px;
  white-space: pre-line;
}

.awareness-popup-message strong {
  color: #d4a847;
  font-weight: 500;
}

.awareness-popup-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.awareness-popup-btn {
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.awareness-popup-btn.primary {
  background: linear-gradient(135deg, #d4a847 0%, #e5b952 100%);
  color: #0f1419;
  box-shadow: 0 4px 15px rgba(212, 168, 71, 0.3);
}

.awareness-popup-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 168, 71, 0.4);
  background: linear-gradient(135deg, #e5b952 0%, #f0c563 100%);
}

.awareness-popup-btn.secondary {
  background: rgba(212, 168, 71, 0.1);
  color: #d4a847;
  border: 1px solid rgba(212, 168, 71, 0.3);
}

.awareness-popup-btn.secondary:hover {
  background: rgba(212, 168, 71, 0.2);
  border-color: rgba(212, 168, 71, 0.5);
  transform: translateY(-2px);
}

.awareness-popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #6b7688;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 5px;
  transition: all 0.2s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.awareness-popup-close:hover {
  color: #d4a847;
  background: rgba(212, 168, 71, 0.1);
  transform: rotate(90deg);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .awareness-popup-content {
    padding: 30px 25px;
  }
  
  .awareness-popup-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }
  
  .awareness-popup-message {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  
  .awareness-popup-buttons {
    flex-direction: column;
  }
  
  .awareness-popup-btn {
    width: 100%;
    padding: 12px 24px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .awareness-popup-overlay,
  .awareness-popup,
  .awareness-popup-btn {
    transition: none;
  }
  
  .awareness-popup::before {
    animation: none;
  }
}

/* Print - hide popup */
@media print {
  .awareness-popup-overlay {
    display: none !important;
  }
}
