* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.background-image {
  background-image: url("./quietum-plus-desktop.webp");
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: top left;
  background-repeat: no-repeat;
  filter: brightness(0.7);
}

.cookie-popup {
  cursor: auto;
  text-decoration: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease-out;
}

.cookie-popup.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}

.popup-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: slideUp 0.4s ease-out;
  position: relative;
}

.popup-content .close {
  cursor: pointer;
  font-size: 0.9rem;
  color: #4a5568;
  position: absolute;
  top: 12px;
  right: 12px;
}

.popup-content h2 {
  color: #1a1a1a;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.3;
}

.popup-content p {
  color: #4a5568;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.accept-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px 0 rgba(102, 126, 234, 0.3);
  text-decoration: none;
}

.accept-btn.no-ok {
  background: linear-gradient(0deg, #cbcbcb 0%, #d7d7d7 100%);
  color: #4a5568;
  margin-left: 12px;
}

.accept-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px 0 rgba(102, 126, 234, 0.4);
}

.accept-btn:active {
  transform: translateY(0);
}

.accept-btn:focus {
  outline: none;
  box-shadow: 
    0 8px 25px 0 rgba(102, 126, 234, 0.4),
    0 0 0 3px rgba(102, 126, 234, 0.2);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .background-image {
    background-image: url("./quietum-plus.webp");
    background-position: top center;
  }

  .popup-content {
    padding: 32px 24px;
    margin: 20px;
  }
  
  .popup-content h2 {
    font-size: 1.25rem;
  }
  
  .popup-content p {
    font-size: 0.9rem;
  }
  
  .accept-btn {
    width: 100%;
    padding: 16px 24px;
  }
}

@media (max-height: 600px) {
  .popup-content {
    padding: 24px;
  }
  
  .popup-content h2 {
    margin-bottom: 12px;
    font-size: 1.25rem;
  }
  
  .popup-content p {
    margin-bottom: 24px;
    font-size: 0.9rem;
  }
}
