:root {
  --gold: #d1a669;
  --text: #edf2f8;
  --white: #ffffff;
  --bg: #022c1f;
  --page: 1440px;
}

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

html {
  background-color: var(--bg);
}

body {
  min-height: 100vh;
  font-family: "Tajawal", sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image: url("assets/background.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  width: min(100%, var(--page));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 148px 48px;
}

.logo {
  display: block;
  width: 460px;
  height: 460px;
  max-width: 100%;
  object-fit: contain;
}

.headline,
.coming-soon {
  font-weight: 900;
  font-size: 64px;
  line-height: 1;
  color: var(--gold);
  text-align: center;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.headline {
  margin-top: 28px;
}

.intro {
  width: min(100%, 920px);
  margin-top: 48px;
  font-weight: 700;
  font-size: 28px;
  line-height: 52px;
  text-align: center;
  color: var(--text);
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.intro p + p {
  margin-top: 0;
}

.highlight {
  color: var(--gold);
}

.video-frame {
  width: min(360px, 80vw);
  aspect-ratio: 9 / 16;
  margin-top: 52px;
  border: 5px solid var(--gold);
  border-radius: 20px;
  overflow: hidden;
  background: #000;
}

.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #000;
}

.coming-soon {
  margin-top: 48px;
}

.credit {
  margin-top: 28px;
  padding: 8px 0;
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  color: var(--white);
  text-align: center;
  white-space: nowrap;
}

.credit a {
  color: var(--gold);
  text-decoration: none;
}

.credit a:hover,
.credit a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 1200px) {
  .page {
    padding: 48px 40px 40px;
  }

  .logo {
    width: min(360px, 62vw);
    height: auto;
    aspect-ratio: 1;
  }

  .headline,
  .coming-soon {
    font-size: clamp(32px, 5vw, 52px);
  }

  .intro,
  .credit {
    font-size: clamp(18px, 2.4vw, 24px);
    line-height: 1.75;
  }

  .credit {
    white-space: normal;
  }

  .video-frame {
    margin-top: 40px;
    border-width: 4px;
    border-radius: 16px;
  }

  .headline {
    margin-top: 20px;
  }

  .intro {
    margin-top: 28px;
  }

  .coming-soon {
    margin-top: 32px;
  }
}

@media (max-width: 700px) {
  .page {
    padding: 28px 18px 32px;
  }

  .logo {
    width: min(220px, 68vw);
  }

  .headline,
  .coming-soon {
    font-size: 26px;
  }

  .intro,
  .credit {
    font-size: 15px;
    line-height: 1.85;
  }

  .video-frame {
    border-width: 3px;
    border-radius: 14px;
    margin-top: 28px;
  }

  .coming-soon {
    margin-top: 24px;
  }

  .credit {
    margin-top: 16px;
  }
}
