@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Merriweather:wght@300;400;700&display=swap');

.gold-gradient {
  background: linear-gradient(135deg, #F5D76E 0%, #D4AF37 50%, #996515 100%);
}

.hero-pattern {
  background-color: #293241;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.shimmer {
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.2) 25%,
      rgba(255, 255, 255, 0.2) 50%,
      rgba(255, 255, 255, 0) 100%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -100% 0;
  }

  100% {
    background-position: 100% 0;
  }
}

.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

/* Modal
---------------------------------------------------------------*/
body.lock {
	overflow: hidden;
}
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 999;

  width: min(90vw, 470px);
  transform: translate(-50%, calc(-50% - 15px));
  
  color: #e6ddcf;
  text-align: left;
  
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s ease-out, visibility .3s ease-out, transform .3s ease-out;
  background: linear-gradient(to bottom right, #1c1c1c 60%, #504231 100%);
}

.modal.active {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%);
}
.modal__title {
  margin-bottom: 20px;

  font-size: 1.5rem;
  font-weight: bold;
  @media(min-width: 640px) { margin-bottom: 30px;}
}
.modal__text {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 12px;
}
.modal__text:last-of-type {
  margin-bottom: 35px;
}
.modal__btn {
  display: block;
  padding: 12px 24px;

  color: #f0e8db;
  text-align: center;
  font-size: 1rem;
  
  background-color: #c8652e;
  border: none;
  transition: background 0.3s;
  cursor: pointer;
}
.modal__btn:hover {
  background-color: #a14f22;
}
.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
}
.modal__close::after {
  content: "";
  position: absolute;
  inset: -8px;
}
.modal__close svg {
  width: 18px;
  height: 18px;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 998;

  width: 100vw;
  height: 100vh;
  visibility: hidden;
  opacity: 0;
  
  background: #293241de;
  will-change: transform;
  contain: layout style;
  transition: opacity .3s ease-out, visibility .3s ease-out;
}
.overlay.active {
  visibility: visible;
  opacity: 1;
}