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

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

.game-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  background-image: url("../images/game-background.png");
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding-block-start: 150px;
  padding-block-end: 70px;
}

.game-content-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  flex: 1;
}

.game-middle-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex: none;
  flex-grow: 0;
  flex-shrink: 1;
}

.countdown-text-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 50px;
  padding-bottom: 20px;
  background: radial-gradient(
    50% 50% at 50% 50%,
    #000000 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

.countdown-title-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 861px;
  margin-top: 30px;
}

.countdown-title {
  font-family: "Times New Roman", serif;
  font-style: normal;
  font-weight: 400;
  font-size: 35px;
  line-height: 40px;
  text-align: center;
  background: linear-gradient(180deg, #f4dcb4 0%, #ab6c2f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  text-transform: uppercase;
}

.countdown-subtitle {
  font-family: "Times New Roman", serif;
  font-style: normal;
  font-weight: 400;
  font-size: 30px;
  line-height: 35px;
  text-align: center;
  color: #f0c26e;
}

.countdown-description {
  box-sizing: border-box;
  font-family: "Times New Roman";
  font-style: normal;
  font-weight: 400;
  font-size: 19px;
  line-height: 22px;
  text-align: center;
  color: #f0ddb9;
  align-self: stretch;
  flex-shrink: 1;
  flex-grow: 0;
  min-width: 0;
}

.countdown-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0px 10px 10px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.countdown-box {
  height: 160px;
  aspect-ratio: 120/121;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0px 0 10px 0;
  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 1;
  background-image: url("../images/countdown-middle.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.game-content-image-left,
.game-content-image-right {
  width: 350px;
}

.countdown-box:first-child {
  aspect-ratio: 128/121;
  background-image: url("../images/countdown-start.png");
}

.countdown-box:last-child {
  aspect-ratio: 128/121;
  background-image: url("../images/countdown-end.png");
}

.game-main-popup .countdown-box {
  height: 150px;
}

.countdown-count {
  font-family: "Times New Roman";
  font-style: normal;
  font-weight: 400;
  font-size: 85px;
  line-height: 100%;
  text-align: center;
  /* text-shadow:
    0px 0px 3px #ec9300,
    0px 1px 12px rgba(241, 85, 0, 0.8); */
  background: linear-gradient(180deg, #f4dcb4 0%, #ab6c2f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  letter-spacing: -1px;
}

.game-main-popup .countdown-box .countdown-count {
  font-size: 75px;
}

.countdown-text {
  font-family: "Times New Roman";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  text-align: center;
  background: linear-gradient(180deg, #f4dcb4 0%, #ab6c2f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.tanitim-button,
.anasayfa-button {
  height: 120px;
  aspect-ratio: 430/96;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transition: all 0.3s;
}

.tanitim-button {
  margin-bottom: 20px;
  margin-top: 74px;
  background-image: url("../images/game-button.png");
}

.anasayfa-button {
  margin-bottom: 20px;
  background-image: url("../images/anasayfa-button.png");
  cursor: pointer;
}

.tanitim-button:hover,
.anasayfa-button:hover {
  filter: brightness(1.5);
  transform: translateY(-5px);
}

.game-main-popup .tanitim-button {
  display: none;
}

/* ===== RESPONSIVE ===== */

.game-content-row > img {
  flex-shrink: 1;
  min-width: 0;
  object-fit: contain;
}

.game-main > img {
  width: 100%;
  object-fit: contain;
}

.game-middle-section > img:first-child {
  width: 379px;
  max-width: 100%;
  height: auto;
}

@media (max-width: 1000px) {
  .game-main {
    overflow-y: auto;
    justify-content: flex-start;
    padding-block-start: 60px;
  }

  .game-content-row {
    flex: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .game-middle-section {
    width: 100%;
    padding: 0 24px;
    order: 1;
  }

  .game-content-image-left {
    width: 100%;
    order: 2;
  }

  .game-content-image-right {
    width: 100%;
    order: 3;
  }

  .countdown-container {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .countdown-title-container {
    height: auto;
    padding: 8px 0;
  }

  .countdown-title {
    font-size: 26px;
    line-height: 32px;
  }

  .countdown-description {
    font-size: 15px;
    line-height: 20px;
    margin-top: -10px;
  }

  .countdown-box {
    height: 120px;
  }

  .countdown-count {
    font-size: 60px;
  }

  .tanitim-button,
  .anasayfa-button {
    height: 90px;
  }

  .tanitim-button {
    margin-top: 30px;
  }

  .game-main-popup {
    width: min(850px, 95vw);
    height: min(700px, 90vh);
  }
}

@media (max-width: 540px) {
  .game-middle-section {
    padding: 12px 10px;
  }

  .countdown-title-container {
    gap: 4px;
  }

  .countdown-title-container img {
    width: 24px;
  }

  .countdown-title {
    font-size: 20px;
    line-height: 26px;
  }

  .countdown-description {
    font-size: 13px;
    line-height: 18px;
    margin-top: -5px;
  }

  .countdown-description br {
    display: none;
  }

  .countdown-box {
    height: auto;
    padding-bottom: 6px;
  }

  .countdown-count {
    font-size: 40px;
  }

  .countdown-text {
    font-size: 11px;
    line-height: 14px;
  }

  .tanitim-button,
  .anasayfa-button {
    height: 65px;
  }

  .tanitim-button {
    margin-top: 15px;
    margin-bottom: 10px;
  }

  .anasayfa-button {
    margin-bottom: 10px;
  }
}

@media (max-width: 380px) {
  .countdown-title {
    font-size: 17px;
    line-height: 22px;
  }

  .countdown-count {
    font-size: 32px;
  }

  .countdown-text {
    font-size: 9px;
    line-height: 12px;
  }

  .countdown-description {
    font-size: 11px;
    line-height: 15px;
  }

  .tanitim-button,
  .anasayfa-button {
    height: 52px;
  }
}

.intro-video-contaier {
  display: flex;
  justify-content: center;
  position: fixed;
  width: 100%;
  height: 100vh;
  inset: 0;
  z-index: 999999;
  background-color: black;
}

.intro-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
