* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  /* background-image: url("/img/bg-bed.webp"); */
  /* background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #ffffff; */
  color: #f8fafc;
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 1.65;
}

.body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: -1;
  background-image: url("/img/bg-bed.webp");
  filter: brightness(0.6) contrast(1.1);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #ffffff;
}

@media (max-width: 600px) {
  .body {
    justify-content: flex-start;
    padding-top: 70px;
  }

  .footer {
    bottom: 10vh;
  }
}

.cookies-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.cookies-modal {
  color: rgba(30, 41, 59, 0.9);
  padding: 2.8rem;
  border-radius: 16px;
  max-width: 520px;
  width: 90%;
  position: relative;
  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: 58px;
  height: 58px;
  margin-bottom: 1.2rem;
}
.cookies-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 3px 5px rgba(16, 89, 185, 0.4));
}

.cookies-title {
  font-family: "Roboto", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  width: 100%;
  text-align: center;
}

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

.cookies-content {
  margin-bottom: 2.2rem;
  line-height: 1.75;
  font-size: 1.05rem;
}

.cookies-link {
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s ease;
}
.cookies-link:hover {
  color: rgb(72, 181, 245);
  border-bottom: 1px solid rgb(78, 190, 255);
}

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

.cookies-accept {
  display: inline-block;
  padding: 0.95rem 2.5rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  text-align: center;
  min-width: 200px;
  transition: all 0.3s ease;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.cookies-accept::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 30%;
  height: 100%;
  background: rgb(255, 255, 255);
  transform: skewX(-25deg);
  transition: 0.75s;
}

.cookies-accept:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(30, 41, 59, 0.9);
}
.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;
  }
}

.footer {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 1000;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding-right: 16px;
  margin-block: 10px;
  color: #e2e8f0;
}
.footer a {
  color: currentColor;
  text-decoration: none;
  margin-block: 10px;
  transition: color 0.3s ease;
}
.footer a:hover {
  color: rgba(0, 0, 0);
}
