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

body {
  line-height: 1.65;
  min-height: 100vh;
  position: relative;
  color: #f8fafc;
  overflow: hidden;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
}

.page-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  transition: all 0.65s cubic-bezier(0.3, 0.95, 0.45, 0.95);
  background-image: url("/img/bg-bed.webp");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  /* filter: brightness(0.6) contrast(1.1); */
  filter: brightness(0.8);
}

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

.cookies-modal {
  /* background: linear-gradient(
    165deg,
    rgba(30, 41, 59, 0.95) 0%,
    rgba(15, 23, 42, 0.95) 100%
  ); */
  color: #000;
  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); */
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.4);
  animation: modalSlideIn 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  /* background-image: radial-gradient(
      circle at 15% 15%,
      rgba(16, 185, 129, 0.1) 0%,
      transparent 35%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(14, 165, 233, 0.08) 0%,
      transparent 35%
    ); */
  background-color: #fff;
  border: 1px solid #1395fb;
}

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

.cookies-modal::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  z-index: -1;
  border-radius: 18px;
  opacity: 0.4;
  filter: blur(6px);
}

.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%;
  fill: #1395fb;
  filter: drop-shadow(0 3px 5px rgba(19, 149, 251, 0.25));
}

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

.cookies-close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  background: rgba(0, 0, 0, 0.12);
  border: none;
  color: #000;
  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(0, 0, 0, 0.2);
  transform: rotate(90deg);
}

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

.cookies-link {
  color: #1395fb;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dashed #1395fb;
  transition: all 0.25s ease;
}

.cookies-link:hover {
  color: #10b981;
  border-bottom: 1px solid #10b981;
}

.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;
  background: #1395fb;
  color: white;
  box-shadow: 0 10px 15px rgba(19, 149, 251, 0.3);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.cookies-accept:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(19, 149, 251, 0.4);
}

.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;
  }
}

@keyframes pulseButton {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.pulse-animation {
  animation: pulseButton 2s infinite;
}

.sidebar {
  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;

  a {
    color: currentColor;
    text-decoration: none;
    margin-block: 10px;
    transition: color 0.3s ease;

    &:hover {
      color: #10b981;
    }
  }
}
