:root {
  --primary: #07f468;
  --dark-primary: #063e1d;
  --light-primary: #abf1c8;
  --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: 4.8rem;
}

.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;
}

.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;
}

/* Video */

.billboard {
  height: 92vh;
}

.billboard video {
  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;
  margin-bottom: 1.2rem;
}

.banner-content {
  line-height: 1.5;
}

.fc24-mobile-mini-logo {
  display: none;
}

.how-to-full-width {
  background-image: url('/assets/img/fc-24-white-background.jpg');
  margin-top: -4.8rem;
}

.section-wrapper {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0px 4.8rem;
}

.how-to-content {
  padding: 4.8rem 1.2rem;
  padding-top: 9.6rem;
}

.section-title {
  font-family: 'Josefin Sans', sans-serif;
  text-transform: uppercase;
  font-size: 3.6rem;
  text-align: center;
}

.how-to-title {
  color: #111;
}

.custom-video-section {
  position: relative;
  z-index: 99;
  background: #f5f5f5;
  background: linear-gradient(220deg, var(--primary), #000, var(--primary));
  background-image: -webkit-linear-gradient(
    220deg,
    var(--primary),
    #000,
    var(--primary)
  );
  background-image: -moz-linear-gradient(
    220deg,
    var(--primary),
    #000,
    var(--primary)
  );
  background-image: -ms-linear-gradient(
    220deg,
    var(--primary),
    #000,
    var(--primary)
  );
  background-image: -o-linear-gradient(
    220deg,
    var(--primary),
    #000,
    var(--primary)
  );
  background-image: linear-gradient(
    220deg,
    var(--primary),
    #000,
    var(--primary)
  );
  padding: 5px;
  box-shadow: 0 0 1px #a09f9f;
  border-radius: 5px;
  max-width: 400px;
  margin: 10px auto 20px;
}
.custom-video-section video {
  width: 100%;
}

.how-to-video {
  margin-bottom: 4.2rem;
}
.how-to-description {
  color: #000;
  padding-top: 4.8rem;
}
.description-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.guide-img {
  width: 42rem;
  margin: 0 auto;
  margin-bottom: 2.4rem;
}

.guide-img img {
  width: 100%;
}

.guide-description > ol > li {
  margin-bottom: 1.6rem;
}

.features-section {
  background-color: #171617;
  color: #fff;
  padding-bottom: 4.8rem;
}

.feature-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1.2rem;
}
.feature-title {
  margin-bottom: 4.8rem;
}
.feature-image {
  max-width: 42rem;
  margin: 0 auto;
}

.feature-image img {
  width: 100%;
}

.gameplay-section {
  background-color: #fff;
  padding-bottom: 4.8rem;
}

.gameplay-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/333.png);
  background-repeat: no-repeat; /* Prevent image repetition */
  background-position: center center;
  background-size: contain;
}

.gameplay-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;
  background: linear-gradient(
    to right,
    var(--primary),
    var(--dark-primary),
    var(--light-primary),
    var(--primary)
  );
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

/* -- 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;
}

/* Download section */

.download-section {
  background-color: var(--secondary);
  display: flex;
  height: 80rem;
}
.download-android-ios {
  position: relative;
}
.gameplay-video {
  max-width: 64rem;
  margin: 0 auto;
}

.download-title {
  color: #fff;
  margin-bottom: 4.8rem;
}

.download-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48rem;
  padding: 2.4rem 4.8rem;
  position: absolute;
  left: 50%; /* Position the left edge of the div at 50% from the left of its container */
  transform: translate(-50%, -30%);
  border-radius: 1.2rem;
  background-color: rgba(7, 244, 104, 0.9);
  color: #000;
}

.fc-24-mobile-icon {
  width: 12rem;
}

.fc-24-mobile-icon img {
  width: 100%;
}

.btn-download {
  background-color: var(--secondary);
  color: #fff;
  padding: 1.2rem 2.4rem;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.5s ease;
}

.download-text {
  color: var(--secondary);
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
}

.platform {
  display: none;
  width: 12rem;
  text-align: center;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 0.6rem;
}

.platform img {
  width: 2.4rem;
}

.device-platforms {
  display: flex;
  gap: 1.2rem;
}

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;
}
