* {
  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;
  background-image: url("/img/bg.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(0.4);
}

.msg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
}

a {
  text-decoration: none;
}

.msg-modal {
  color: #f1f5f9;
  padding: 2.8rem;
  border-radius: 16px;
  max-width: 620px;
  width: 90%;
  position: relative;
  margin-block: auto;
}

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

.msg-title {
  font-family: "Work Sans", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #f8fafc;
  width: 100%;
  text-align: center;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.msg-accept {
  position: relative;
  display: inline-block;
  padding: 18px 40px;
  min-width: 250px;
  font-size: 1.05rem;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
  transform: translateY(0);
  transition: all 0.3s ease;
  animation: fadeIn 1.2s ease-out;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.6),
      transparent
    );
    transition: all 0.7s ease;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 960px) {
  .msg-modal {
    margin: 50px auto auto;
  }
}
@media (max-width: 767px) {
  .msg-overlay {
    justify-content: flex-start;
    padding: 0;
  }

  .msg-modal {
    padding: 8rem 1.8rem;
    width: 92%;
  }

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

  .msg-title {
    font-size: 2rem;
  }

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

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

.sidebar {
  z-index: 1000;
  font-family: "Work Sans", sans-serif;
  font-size: 1.5rem;
  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: #000;
    }
  }
}
.btn {
  line-height: 50px;
  min-height: 50px;
  text-align: center;
  width: 250px;
  cursor: pointer;
  display: block;
  text-decoration: none;
  text-transform: uppercase;
  background: transparent;
  border: none;
}
.btn-one {
  color: #fff;
  transition: all 0.3s;
  position: relative;
}
.btn-one span {
  transition: all 0.3s;
}
.btn-one::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: all 0.3s;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-top-style: solid;
  border-bottom-style: solid;
  border-top-color: rgba(255, 255, 255, 0.5);
  border-bottom-color: rgba(255, 255, 255, 0.5);
  transform: scale(0.1, 1);
}
.btn-one:hover span {
  letter-spacing: 2px;
}
.btn-one:hover::before {
  opacity: 1;
  transform: scale(1, 1);
}
.btn-one::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: all 0.3s;
  background-color: rgba(255, 255, 255, 0.329);
}
.btn-one:hover::after {
  opacity: 0;
  transform: scale(0.1, 1);
}

@media (min-width: 1440px) {
  .msg-modal {
    max-width: 900px;
  }
  .msg-title {
    font-size: 2.9rem;
  }
  .btn {
    min-width: 350px;

    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .btn {
    font-size: 2rem;
  }
}
