.notice {
  --notice-warning: #F0A020;
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.notice[hidden] {
  display: none;
}

.notice__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 20, 0.75);
  backdrop-filter: blur(4px);
}

.notice__box {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #1E2033;
  border: 1px solid var(--notice-warning);
  border-radius: 16px;
  padding: 40px 32px 32px;
  text-align: center;
}

.notice__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: 0;
  padding: 4px 8px;
  font-size: 24px;
  line-height: 1;
  color: #9CA3AF;
  cursor: pointer;
  transition: color 0.3s;
}

.notice__close:hover {
  color: #FFFFFF;
}

.notice__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(240, 160, 32, 0.15);
  border: 2px solid var(--notice-warning);
  color: var(--notice-warning);
  font-size: 30px;
  font-weight: 700;
  line-height: 52px;
}

.notice__title {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--notice-warning);
}

.notice__text {
  margin: 0 0 16px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #C7CAD9;
}

.notice__mail {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: 0.3s;
}

.notice__mail:hover {
  color: var(--notice-warning);
  border-bottom-color: var(--notice-warning);
}

.notice__button {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.9375rem;
  color: #FFFFFF;
  cursor: pointer;
  transition: 0.3s;
}

.notice__button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 500px) {
  .notice__box {
    padding: 36px 20px 24px;
  }
}
