.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 600px;
  width: 90%;
  background: linear-gradient(135deg, #1e2a3a 0%, #0f1620 100%);
  border: 2px solid rgba(74, 144, 226, 0.4);
  border-radius: 20px;
  padding: 30px;
  z-index: 10000;
  font-family: "Poppins", sans-serif;
  display: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 
              0 0 40px rgba(74, 144, 226, 0.2);
  backdrop-filter: blur(10px);
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateX(-50%) translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

.cookie-popup.show {
  display: block;
}

.cookie-popup h2 {
  font-size: 1.8em;
  margin: 0 0 15px 0;
  color: #4a90e2;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cookie-popup p {
  font-size: 0.95em;
  color: #e0e0e0;
  margin-bottom: 20px;
  line-height: 1.6;
  text-align: center;
}

.cookie-popup a {
  color: #4a90e2;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.cookie-popup a:hover {
  color: #66a8f0;
  border-bottom-color: #66a8f0;
}

.cookie-popup .buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}

.cookie-popup button {
  padding: 12px 28px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.95em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.cookie-popup button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cookie-popup button:hover::before {
  width: 300px;
  height: 300px;
}

.cookie-popup button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.cookie-popup .accept-all {
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  color: #fff;
  border: 2px solid transparent;
}

.cookie-popup .accept-all:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

.cookie-popup .reject-non-essential {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: #fff;
  border: 2px solid transparent;
}

.cookie-popup .reject-non-essential:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.cookie-popup .customize {
  background: transparent;
  color: #4a90e2;
  border: 2px solid #4a90e2;
}

.cookie-popup .customize:hover {
  background: rgba(74, 144, 226, 0.1);
  border-color: #66a8f0;
  color: #66a8f0;
}

.cookie-settings {
  display: none;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 2px solid rgba(74, 144, 226, 0.3);
}

.cookie-settings.show {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.checkbox__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95em;
  color: #e0e0e0;
  margin-bottom: 15px;
  padding: 12px;
  background: rgba(30, 42, 58, 0.5);
  border-radius: 10px;
  border: 1px solid rgba(74, 144, 226, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.checkbox__label:hover {
  background: rgba(30, 42, 58, 0.7);
  border-color: rgba(74, 144, 226, 0.4);
  transform: translateX(5px);
}

.checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #4a90e2;
}

.cookie-settings button {
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  color: #fff;
  margin-top: 15px;
  width: 100%;
  padding: 14px;
}

.cookie-settings button:hover {
  box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

@media screen and (max-width: 768px) {
  .cookie-popup {
    bottom: 10px;
    padding: 20px;
    width: 95%;
  }
  
  .cookie-popup h2 {
    font-size: 1.4em;
  }
  
  .cookie-popup .buttons {
    flex-direction: column;
  }
  
  .cookie-popup button {
    width: 100%;
  }
}
