:root {
  --primary: #ec63d7;
  --dark-primary: #063e1d;
  --light-primary: #f1abe0;
  --secondary: #171617;
}
.header {
  display: flex;
  align-items: center;
  background: #000;
  padding: 1.2rem 2.4rem;
  justify-content: space-between;
}

.hero {
  height: 100vh;
  position: relative;
  z-index: 2;
}

.logo {
  height: 3.2rem;
}

.main-nav {
  display: flex;
  align-items: center;
  background-color: #000;
  height: 60px;
  padding: 1.2rem 4.8rem;
  border-radius: 1.2rem;
  gap: 2.4rem;
}

.main-nav-list {
  display: flex;
  gap: 2.4rem;
  list-style: none;
}

.main-nav-link {
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  cursor: pointer;
}

.main-nav-link:hover,
.main-nav-link:active,
.nav-link--active {
  color: var(--primary);
}
.main-nav-download-btn {
  text-decoration: none;
  background-color: var(--primary);
  color: #000;
  padding: 1.2rem 2.4rem;
  border-radius: 50px;
}
/* MOBILE NAV */
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
  z-index: 2;
}

.material-icons-outlined {
  color: var(--primary);
}

.material-icons-outlined.md-48 {
  font-size: 4.8rem;
}
.material-icons-outlined.icon-mobile-close {
  display: none;
}

/* Image background */
/* Default background for larger screens */
.background-container {
  background-image: url('/assets/img/gta-6-mobile-background.webp');
  /* Ensure the container covers the desired area */
  width: 100%; /* Full width */
  height: 100vh; /* Full height of the viewport */
  background-size: cover; /* Cover the entire container */
  background-position: center; /* Center the background image */
}

/* Media query for screens that are 768px wide or less */
@media (max-width: 768px) {
  .background-container {
    background-image: url('/assets/img/gta-6-mobile-background-vertical.webp'); /* Mobile-specific background */
  }
}

/* Video */

.billboard {
  height: 92vh;
}

.billboard img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  min-height: 80vh;
  object-fit: cover;
  z-index: -5;
}

.heading-primary {
  color: #fff;
  position: absolute;
}

.heading-backplate {
  z-index: -1;
  animation: erase 4s steps(1) infinite;
  opacity: 0.8;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 700px;
  text-align: center;
  color: white;
  /* font-family: 'Open Sans', sans-serif; */

  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.banner-title {
  font-size: 6.4rem;
  font-weight: 600;
  /* font-family: 'Josefin Sans', cursive; */
  font-family: 'Pricedown Bl', sans-serif;
  margin-bottom: 1.2rem;
}

.banner-content {
  line-height: 1.5;
  font-size: 16px;
}

.gta-6-mobile-mini-logo {
  display: none;
  height: 3rem;
}

.section-wrapper {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0px 4.8rem;
}

.section-title {
  font-family: 'Josefin Sans', sans-serif;
  text-transform: uppercase;
  font-size: 3.6rem;
  text-align: center;
}

.feature-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.guide-grid-box {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr 1fr;
  row-gap: 24px;
}
.guide-img {
  width: 42rem;
  margin: 0 auto;
  margin-bottom: 2.4rem;
}

.guide-img img {
  width: 100%;
}

.guide-description > ol > li {
  margin-bottom: 1.6rem;
}

.guide-section {
  background-color: #171617;
  color: #fff;
  padding-bottom: 4.8rem;
}

.guide-title {
  margin-bottom: 4.8rem;
}
.guide-box-title h3 {
  font-size: 2.6rem;
}

.guide-box {
  max-width: 60rem;

  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #171617;
}
.guide-box-img .material-symbols-outlined {
  font-size: 6rem;
}
.guide-box-top {
  background-color: #e3bdde;
  width: 100%;
  height: 12rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  padding-bottom: 1.2rem;
}
.guide-box-content {
  padding: 1.2rem 2.4rem;
  font-size: 2rem !important;
  height: 22rem;
}
.button-link {
  display: inline-block;
  padding: 10px 20px;
  font-size: 1.8rem;
  margin: 5px;
  background-color: #222022;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.button-link:hover {
  background-color: #58164b;
  cursor: pointer;
}

.information-section {
  background-color: #fff;
  padding-bottom: 4.8rem;
}

.information-cover {
  max-width: 42rem;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 4.8rem;
}
.card-section-background {
  padding: 4.8rem 2.4rem;
  background-image: url(/assets/img/cover-background-min.png);
  background-repeat: no-repeat; /* Prevent image repetition */
  background-position: center center;
  background-size: contain;
}

.information-cover img {
  width: 100%;
}

.card {
  transform-style: preserve-3d;
  transition: transform 1s;
}

.card-front {
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.card-back {
  transform: rotateY(180deg);
}

.spin {
  transform: rotateY(360deg);
}

@keyframes background-pan {
  from {
    background-position: 0% center;
  }

  to {
    background-position: -200% center;
  }
}

@keyframes scale {
  from,
  to {
    transform: scale(0);
  }

  50% {
    transform: scale(1);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(180deg);
  }
}

.banner-title {
  color: white;
  margin: 0px;
  padding: 20px;
  text-align: center;
}

.banner-title > .magic {
  display: inline-block;
  position: relative;
}

.banner-title > .magic > .magic-text {
  animation: background-pan 3s linear infinite;
  font-family: 'Pricedown Bl', sans-serif;
  background: linear-gradient(
    to right,
    var(--primary),
    #fff,
    var(--light-primary),
    var(--primary)
  );
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  text-shadow: none;
}

/* -- YouTube Link Styles -- */

#source-link {
  top: 60px;
}

#source-link > i {
  color: rgb(94, 106, 210);
}

#yt-link {
  top: 10px;
}

#yt-link > i {
  color: rgb(239, 83, 80);
}

.meta-link {
  align-items: center;
  backdrop-filter: blur(3px);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: inline-flex;
  gap: 5px;
  left: 10px;
  padding: 10px 20px;
  position: fixed;
  text-decoration: none;
  transition: background-color 600ms, border-color 600ms;
  z-index: 10000;
}

.meta-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.meta-link > i,
.meta-link > span {
  height: 20px;
  line-height: 20px;
}

.meta-link > span {
  color: white;
  font-family: 'Roboto', sans-serif;
  transition: color 600ms;
}

footer {
  /* height: 100px; */
  background-color: #000;
  color: #fff;
}

.footer-links ul {
  display: flex;
  gap: 2.4rem;
}

.footer-links li {
  list-style: none;
}

.footer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.4rem 0.6rem;
  gap: 1.2rem;
}

/* Countdown css */

#countdown {
  position: relative;
  display: flex;
  pointer-events: none;
  user-select: none;
  color: var(--color-1);
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#countdown > h1 {
  font-size: 1.5em;
  letter-spacing: -0.05em;
  color: #2a2a2a;
}
#countdown > p {
  color: #8a8a8a;
}

#countdown > p {
  font-size: 1em;
  font-weight: normal;
  letter-spacing: 0;
  margin-top: 2em;
}

#countdown > time {
  font-family: Abel;
  font-size: 1em;
  font-weight: bold;
  letter-spacing: 0;
  margin-top: 2em;
}

.countdown__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1em;
  align-items: center;
  justify-content: center;
  margin-top: 3em;
}
.countdown__el {
  display: flex;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  align-self: flex-start;
  align-items: center;
  position: relative;
}
.countdown__time {
  border-radius: 5px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  text-align: center;
  position: relative;
  height: 95px;
  max-width: 70px;
  width: 100%;
  border-radius: 5px;

  -webkit-perspective: 479px;
  -moz-perspective: 479px;
  -ms-perspective: 479px;
  -o-perspective: 479px;
  perspective: 479px;

  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;

  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);

  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.countdown__time .count {
  background: var(--background-count);
  color: var(--color-count);
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 40px;
  height: 95px;
  line-height: 2.4em;
  overflow: hidden;
  position: absolute;
  text-align: center;
  width: 120%;

  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);

  -webkit-transform-style: flat;
  -moz-transform-style: flat;
  -ms-transform-style: flat;
  -o-transform-style: flat;
  transform-style: flat;
}

.countdown__time .count.top {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid var(--border-color);
  border-radius: 5px 5px 0 0;
  height: 50%;

  -webkit-transform-origin: 50% 100%;
  -moz-transform-origin: 50% 100%;
  -ms-transform-origin: 50% 100%;
  -o-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
}

.countdown__time .count.bottom {
  background-image: linear-gradient(rgba(255, 255, 255, 0.1), transparent);
  background-image: -webkit-linear-gradient(
    rgba(255, 255, 255, 0.1),
    transparent
  );
  background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.1), transparent);
  background-image: -ms-linear-gradient(rgba(255, 255, 255, 0.1), transparent);
  background-image: -o-linear-gradient(rgba(255, 255, 255, 0.1), transparent);
  border-top: 1px solid var(--border-color);
  /*border-bottom: 1px solid #000;*/
  border-radius: 0 0 5px 5px;
  line-height: 0;
  height: 50%;
  top: 50%;

  -webkit-transform-origin: 50% 0;
  -moz-transform-origin: 50% 0;
  -ms-transform-origin: 50% 0;
  -o-transform-origin: 50% 0;
  transform-origin: 50% 0;
}
.countdown__el .countdown__label {
  font-size: normal;
  margin-top: 15px;
  display: flex;
  justify-content: center;
  top: 95px;
  width: 100%;
}

/* Animation start */
.count.curr.top {
  -webkit-transform: rotateX(0deg);
  -moz-transform: rotateX(0deg);
  -ms-transform: rotateX(0deg);
  -o-transform: rotateX(0deg);
  transform: rotateX(0deg);
  z-index: 3;
}
.count.next.bottom {
  -webkit-transform: rotateX(90deg);
  -moz-transform: rotateX(90deg);
  -ms-transform: rotateX(90deg);
  -o-transform: rotateX(90deg);
  transform: rotateX(90deg);
  z-index: 2;
}
.flip .count.curr.top {
  -webkit-transition: all 250ms ease-in-out;
  -moz-transition: all 250ms ease-in-out;
  -ms-transition: all 250ms ease-in-out;
  -o-transition: all 250ms ease-in-out;
  transition: all 250ms ease-in-out;
  -webkit-transform: rotateX(-90deg);
  -moz-transform: rotateX(-90deg);
  -ms-transform: rotateX(-90deg);
  -o-transform: rotateX(-90deg);
  transform: rotateX(-90deg);
}
.flip .count.next.bottom {
  -webkit-transition: all 250ms ease-in-out 250ms;
  -moz-transition: all 250ms ease-in-out 250ms;
  -ms-transition: all 250ms ease-in-out 250ms;
  -o-transition: all 250ms ease-in-out 250ms;
  transition: all 250ms ease-in-out 250ms;

  -webkit-transform: rotateX(0deg);
  -moz-transform: rotateX(0deg);
  -ms-transform: rotateX(0deg);
  -o-transform: rotateX(0deg);
  transform: rotateX(0deg);
}

.countdown-text {
  font-style: italic;
  margin-top: 1.2rem;
}

/* Social links */
.social-links {
  display: flex;
  gap: 1.2rem;
}
.social-links .fa-brands {
  font-size: 2rem;
  background-color: #502746;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background-color 0.3s;
}

.social-links .fa-brands:hover {
  background-color: #d888c3;
}

.discord-link a {
  display: inline-block;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.discord-link a:hover {
  background-color: #7289da;
}

/* Contact form */

/* CSS for GTA 6 Mobile Community Form */

.gta-contact-form {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gta-contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-textarea {
  height: 120px;
  resize: vertical;
}

.form-button {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
}

.form-button:hover {
  background-color: #2980b9;
}
