:root {
  --white: #ffffff;
  --background: #050914;
  --overlay-dark: rgba(5, 9, 20, 0.58);
}


/* TEMEL AYARLAR */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

html {
  background: var(--background);
}

body {
  overflow: hidden;

  background: var(--background);
  color: var(--white);

  font-family:
    Arial,
    Helvetica,
    sans-serif;
}


/* SAYFANIN ANA ALANI */

.coming-soon {
  position: relative;

  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  background: var(--background);
}


/* ARKA PLAN VİDEOSU */

.background-video {
  position: absolute;
  inset: 0;
  z-index: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;

  filter:
    brightness(0.7)
    saturate(1.04);

  transform: scale(1.01);
  backface-visibility: hidden;
}


/* VİDEONUN ÜZERİNDEKİ KARARTMA */

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  pointer-events: none;

  background:
    radial-gradient(
      circle at center,
      rgba(5, 9, 20, 0.04) 0%,
      rgba(5, 9, 20, 0.26) 55%,
      rgba(5, 9, 20, 0.55) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(5, 9, 20, 0.2) 0%,
      rgba(5, 9, 20, 0.28) 55%,
      rgba(5, 9, 20, 0.52) 100%
    );
}


/* LOGO VE YAZI ALANI */

.coming-soon-content {
  position: relative;
  z-index: 2;

  width: min(92%, 1100px);

  padding:
    max(30px, env(safe-area-inset-top))
    24px
    max(40px, env(safe-area-inset-bottom));

  color: var(--white);
  text-align: center;

  animation: contentAppear 1.1s ease forwards;
}


/* LOGO */

.coming-soon-logo {
  width: min(270px, 55vw);
  max-height: 180px;
  height: auto;

  display: block;

  margin: 0 auto 28px;

  object-fit: contain;

  filter:
    drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
}


/* ANA BAŞLIK */

h1 {
  max-width: 1000px;

  margin: 0 auto;

  color: var(--white);

  font-size: clamp(48px, 7vw, 96px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -4px;

  text-shadow:
    0 6px 20px rgba(0, 0, 0, 0.65),
    0 16px 45px rgba(0, 0, 0, 0.38);
}

h1 span {
  display: block;

  margin-top: 4px;
}


/* SAYFA AÇILIŞ ANİMASYONU */

@keyframes contentAppear {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* TABLET */

@media (max-width: 900px) {

  .background-video {
    object-position: 55% center;
  }

  .coming-soon-content {
    width: min(94%, 800px);
  }

  .coming-soon-logo {
    width: min(230px, 52vw);
    margin-bottom: 24px;
  }

  h1 {
    max-width: 720px;

    font-size: clamp(43px, 8vw, 68px);
    letter-spacing: -3px;
  }

}


/* TELEFON */

@media (max-width: 640px) {

  html,
  body {
    width: 100%;
    min-height: 100%;

    overflow: hidden;
  }

  .coming-soon {
    width: 100%;

    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;

    align-items: center;
    justify-content: center;
  }

  .background-video {
    width: 100%;
    height: 100%;

    object-fit: cover;

    /*
      Videonun mobilde hangi kısmının görüneceği:

      50% = orta
      60% = videonun sağ tarafını daha çok gösterir
      40% = videonun sol tarafını daha çok gösterir
    */

    object-position: 56% center;

    filter:
      brightness(0.62)
      saturate(1.02);

    transform: scale(1.02);
  }

  .video-overlay {
    background:
      radial-gradient(
        circle at center,
        rgba(5, 9, 20, 0.08) 0%,
        rgba(5, 9, 20, 0.3) 58%,
        rgba(5, 9, 20, 0.62) 100%
      ),
      linear-gradient(
        to bottom,
        rgba(5, 9, 20, 0.26) 0%,
        rgba(5, 9, 20, 0.32) 50%,
        rgba(5, 9, 20, 0.58) 100%
      );
  }

  .coming-soon-content {
    width: 100%;
    max-width: 100%;

    padding:
      max(25px, env(safe-area-inset-top))
      20px
      max(38px, env(safe-area-inset-bottom));

    transform: translateY(2vh);
  }

  .coming-soon-logo {
  width: min(260px, 70vw);
  max-height: 165px;
  margin: 0 auto 24px;
  }

  h1 {
    max-width: 370px;

    font-size: clamp(34px, 10vw, 47px);
    line-height: 1.06;
    letter-spacing: -1.8px;
  }

  h1 span {
    margin-top: 5px;
  }

}


/* ÇOK KÜÇÜK TELEFONLAR */

@media (max-width: 380px) {

  .coming-soon-logo {
    width: min(160px, 50vw);
    margin-bottom: 18px;
  }

  h1 {
    max-width: 330px;

    font-size: 34px;
    letter-spacing: -1.4px;
  }

}


/* TELEFON YATAY TUTULDUĞUNDA */

@media (max-height: 500px) and (orientation: landscape) {

  .coming-soon-content {
    padding: 20px;
  }

  .coming-soon-logo {
    width: 135px;
    max-height: 80px;

    margin-bottom: 12px;
  }

  h1 {
    max-width: 720px;

    font-size: clamp(30px, 6vw, 48px);
    line-height: 1.02;
    letter-spacing: -2px;
  }

}


/* HAREKET AZALTMA TERCİHİ */

@media (prefers-reduced-motion: reduce) {

  .coming-soon-content {
    animation: none;
  }

}