* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

html,
body {
  width: 100%;
  min-height: 100%;
  overflow: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  background-image: url("bg1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: filter 0.25s ease;
  z-index: 1;
}

.bg.blur {
  filter: blur(5px);
}

@media (max-width: 768px) {
  .bg {
    background-image: url("bg2.png");
  }
}

.loader {
  position: fixed;
  inset: 0;
  background: transparent;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  pointer-events: none;
}

.loader.show {
  display: flex;
}

.spinner {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 7px solid rgba(255, 255, 255, 0.25);
  border-top-color: #ffffff;
  border-right-color: rgba(255, 255, 255, 0.65);
  animation: spin 0.85s linear infinite;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.45));
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 999;
}

.overlay.show {
  display: flex;
}

.cookie-box {
  position: relative;
  width: min(92vw, 750px);
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  animation: popupIn 0.28s ease forwards;
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: #888;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  color: #222;
}

.cookie-content {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-right: 26px;
}

.icon {
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  border-radius: 50%;
  background: #d8652c;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
}

.text h2 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #111;
}

.text p {
  font-size: 14px;
  color: #444;
  line-height: 1.55;
}

.cookie-link {
  color: #37b8c7;
  font-weight: 700;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  padding: 0;
}

.cookie-link:hover {
  text-decoration: underline;
}

.buttons {
  margin-top: 25px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn {
  min-height: 38px;
  padding: 0 18px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
}

.outline {
  background: white;
  border: 1px solid #37b8c7;
  color: #37b8c7;
}

.secondary {
  background: #d2d2d2;
  color: #111;
}

.primary {
  background: #37b8c7;
  color: white;
}

.btn:hover,
.close-btn:hover,
.cookie-link:hover {
  opacity: 0.9;
}

@media (max-width: 600px) {
  .overlay {
    padding: 18px;
  }

  .cookie-box {
    padding: 28px 20px 22px;
  }

  .cookie-content {
    flex-direction: column;
    padding-right: 0;
  }

  .buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    min-height: 42px;
  }
}