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

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  background: #050505;
  overflow: hidden;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;

  background-image: url("zamani-bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  padding: 6vw 4vw 6vw 54vw;
  overflow: hidden;
}

.overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.02) 0%,
      rgba(0, 0, 0, 0.04) 38%,
      rgba(0, 0, 0, 0.46) 62%,
      rgba(0, 0, 0, 0.78) 100%
    );

  pointer-events: none;
}

.content {
  position: relative;
  z-index: 2;

  width: min(38vw, 620px);
  margin-left: auto;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}

.brand {
  direction: ltr;

  font-family: "Cormorant Garamond", serif;
  font-size: clamp(54px, 5.2vw, 96px);
  font-weight: 400;

  letter-spacing: 0.06em;
  line-height: 1;

  color: #eadac0;

  white-space: nowrap;

  text-shadow:
    0 2px 18px rgba(0, 0, 0, 0.55);

  animation: fade-up 900ms ease both;
}

.tagline {
  margin-top: 28px;

  font-family: "Vazirmatn", sans-serif;
  font-size: clamp(20px, 1.7vw, 30px);
  font-weight: 300;
  line-height: 1.9;

  color: rgba(255, 255, 255, 0.94);

  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.6);

  animation: fade-up 900ms ease 120ms both;
}

.coming-soon {
  direction: ltr;

  margin-top: 26px;

  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(11px, 0.8vw, 14px);
  font-weight: 400;

  letter-spacing: 0.55em;
  padding-left: 0.55em;

  color: rgba(234, 218, 192, 0.72);

  animation: fade-up 900ms ease 240ms both;
}

.loader {
  position: relative;

  width: min(320px, 70%);
  height: 2px;

  margin-top: 38px;

  background: rgba(255, 255, 255, 0.16);

  overflow: hidden;

  animation: fade-up 900ms ease 360ms both;
}

.loader span {
  position: absolute;

  top: 0;
  left: -45%;

  width: 45%;
  height: 100%;

  background:
    linear-gradient(
      90deg,
      transparent 0%,
      #c89249 35%,
      #f2d7a4 70%,
      transparent 100%
    );

  box-shadow:
    0 0 12px rgba(218, 169, 95, 0.58);

  animation: loading 2.3s ease-in-out infinite;
}

@keyframes loading {
  0% {
    left: -45%;
  }

  100% {
    left: 100%;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet */
@media (max-width: 980px) {
  .hero {
    padding: 7vw 4vw 7vw 50vw;
    background-position: 42% center;
  }

  .content {
    width: min(42vw, 520px);
    margin-left: auto;
  }

  .brand {
    font-size: clamp(46px, 6vw, 72px);
  }

  .tagline {
    font-size: clamp(18px, 2vw, 24px);
  }
}

/* Mobile */
@media (max-width: 700px) {
  body {
    overflow: auto;
  }

  .hero {
    min-height: 100svh;

    justify-content: center;
    align-items: flex-start;

    padding: 8vh 20px 32px;

    background-size: cover;
    background-position: 39% center;
  }

  .overlay {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.40) 34%,
        rgba(0, 0, 0, 0.08) 62%,
        rgba(0, 0, 0, 0.18) 100%
      );
  }

  .content {
    width: 100%;
    max-width: 420px;
  }

  .brand {
    font-size: clamp(38px, 11vw, 54px);
    letter-spacing: 0.04em;
  }

  .tagline {
    margin-top: 18px;

    max-width: 340px;

    font-size: 18px;
    line-height: 1.85;
  }

  .coming-soon {
    margin-top: 18px;

    font-size: 10px;
    letter-spacing: 0.42em;
    padding-left: 0.42em;
  }

  .loader {
    width: 220px;
    margin-top: 28px;
  }
}
