* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  position: relative;
  min-height: 100vh;
  background-image: url("/img/bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #c7a4f0;
  overflow: hidden;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 1.65;
}
.page-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.5);
}

/*cookie modal*/
.cookies-modal {
  position: relative;
  background: #46ffa9;
  color: #000;
  padding: 2.8rem;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.07);
  animation: modalSlideIn 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.cookies-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.8rem;
  text-align: center;
}

.cookies-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1.2rem;
  margin: 0 auto;
}
.cookies-icon svg {
  width: 100%;
  height: 100%;
}

.cookies-title {
  font-family: "Work Sans", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #000;
  width: 100%;
  text-align: center;
}

.cookies-close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.35s ease;
  text-decoration: none;
  border-radius: 50%;
  line-height: 1;
  backdrop-filter: blur(4px);
}

.cookies-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.cookies-content {
  margin-bottom: 2.2rem;
  line-height: 1.75;
  font-size: 1.2rem;
  color: #000;
}

.cookies-link {
  color: #9c3a70;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dashed #9c3a70;
  transition: all 0.25s ease;
}
.cookies-link:hover {
  color: #be317f;
  border-bottom: 1px solid #be317f;
}

.cookies-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.cookies-accept {
  display: inline-block;
  padding: 0.95rem 2.5rem;
  border: none;
  border-radius: 30px; /* Softer, more rounded corners */
  cursor: pointer;
  font-weight: 500;
  text-align: center;
  min-width: 200px;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #a10600;
  color: white;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid #f0b1d3;
  box-shadow: 0 6px 8px rgba(26, 48, 26, 0.6);
  transition: all 0.3s ease;
}

.cookies-accept:hover {
  animation: pulse 0.6s ease-in-out;
  background: #7e0000;
}

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

.cookies-accept::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 30%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-25deg);
  transition: 0.75s;
}

.cookies-accept:hover::after {
  left: 130%;
}

@media (max-width: 767px) {
  .cookies-modal {
    padding: 2.2rem 1.8rem;
    width: 92%;
  }

  .cookies-header {
    margin-bottom: 1.5rem;
  }

  .cookies-title {
    font-size: 1.5rem;
  }

  .cookies-content {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
  }

  .cookies-accept {
    width: 100%;
    padding: 0.85rem 1.8rem;
    font-size: 1rem;
  }

  .cookies-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
  }
}
@media (max-width: 600px) {
  .cookies-actions {
    flex-wrap: wrap;
  }
}
