/* ################### */
/* Global */
/* ################### */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  text-decoration: none;
  list-style: none;
  outline: none;
  border: none;
  scroll-behavior: smooth;
}

:root {
  --accent: #fff;
  --accent2: #892d0c;
  --bg: #131319;
  --text: #fff;
  --pink: #f59cc2;
  --shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.2);
}

body {
  background: var(--bg);
  color: var(--text);
}

section {
  text-align: center;
}

img {
  width: 100%;
}

p {
  max-width: 500px;
  margin: 1rem auto;
  font-size: 1rem;
  text-align: center;
}

.btn {
  font-size: 1.5rem;
  width: 41%;
  display: inline-block;
  margin: 1rem 0;
  padding: 15px 14px;
  background-color: rgb(45, 45, 45);
  color: whitesmoke;
  transition: 0.2s ease-in-out;
  border-radius: 4px;
}
.btn:hover {
  background-color: var(--pink);
  transform: translateY(2px);
}

.section-heading {
  padding: 4rem 0;
}
.section-heading span {
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 4px;
  line-height: 3em;
  padding-left: 0.25em;
  padding-bottom: 10px;
}

/* ################### */
/* Header */
/* ################### */

header {
  position: fixed;
  z-index: 99;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  transition: 0.5s;
}

header.active {
  box-shadow: var(--shadow);
  background-color: var(--bg);
}

.logo img {
  width: 32px;
  border-radius: 6px;
  opacity: 0.7;
}

.navigation {
  display: flex;
  position: relative;
}
.navigation a {
  color: var(--text);
  padding: 10px 45px;
  margin-right: 1rem;
}
.navigation a:hover,
.navigation a.active {
  background-color: #e4e4e4a3;
  border-radius: 10px;
}

#burger-menu {
  font-size: 2rem;
  color: var(--accent);
  cursor: pointer;
  display: none;
}

/* ################### */
/* Home */
/* ################### */

.home {
  padding: 60px;
  width: 100%;
  height: 100vh;
  background-image: url("assets/images/GTA6_background.webp");
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  background-attachment: fixed;
  box-shadow: inset 0px 15px 81px 0 rgba(0, 0, 0, 0.5),
              inset 0px -11px 81px 0 rgba(0, 0, 0, 0.5);
  align-items: center;
}

.home-content h1 {
  margin-top: 1rem;
  font-size: clamp(20px, 5vw, 150px);
  text-align: center;
}
.home-content h1 span {
  color: var(--accent);
}
.home-content p {
  margin-top: 5px;
  font-size: 1rem;
  text-align: center;
}

/* ################### */
/* New Story */
/* ################### */

.box-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.box-img img {
  width: 80%;
  height: 90%;
  margin-top: 4rem;
  object-fit: cover;
  transition: transform 0.2s ease-in-out;
}
.box:hover .box-img img {
  transform: scale(1.2);
}

.news-container {
  margin: 2rem auto 0;
  width: 100%;
  max-width: 960px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* ################### */
/* Video Trailer */
/* ################### */

.videoContainer {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
}
.videoMP4 {
  width: 100%;
}
.videoControl {
  width: 100%;
  height: 100%;
}

/* ################### */
/* New Gameplay */
/* ################### */

.slider-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.slider-container img {
  width: 50%;
  box-shadow: var(--shadow);
}
.swiper-pagination > .swiper-pagination-bullet {
  opacity: 1;
  border: 0.5px solid rgb(111, 111, 111);
  background-color: transparent;
}
.swiper-pagination > .swiper-pagination-bullet-active {
  background-color: white;
}

/* ################### */
/* Coming Soon */
/* ################### */

.ComingSoon-container {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 600px;
  margin: 1rem auto;
  border: 2px solid rgb(45, 45, 45);
  padding: 30px;
}
.ComingSoon-img img {
  width: 500px;
  height: 50%;
  border-radius: 7px;
  object-fit: contain;
  object-position: center;
  background: no-repeat top / cover;
}
.ComingSoon-content span {
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}
.ComingSoon-content h1 {
  font-size: 2rem;
  margin: 1rem 0;
}

/* ################### */
/* Footer */
/* ################### */

.footer-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo-VI {
  margin-top: 2rem;
  width: 100px;
}
.logos-container {
  margin-top: 2rem;
  display: flex;
  justify-content: space-evenly;
}
.logos-container img {
  width: 30px;
  height: 30px;
}
footer {
  width: 100%;
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, auto));
  gap: 2rem;
  padding: 1rem 5rem;
}
.footer-box {
  display: flex;
  flex-direction: column;
}
.footer-box h6 {
  font-size: 20px;
  margin-bottom: 1rem;
}
.footer-box a {
  color: var(--accent);
}
.footer-box a:hover {
  color: var(--pink);
  transform: translateY(1px);
}
.footer-social {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}
.footer-social .bx {
  padding: 10px;
  color: whitesmoke;
  border-radius: 50px;
  cursor: pointer;
}
.footer-social .bx:hover {
  color: var(--pink);
}
.copy {
  text-align: center;
  font-size: 13px;
  padding: 0.5rem 0;
}

/* ################### */
/* Breakpoints */
/* ################### */

@media screen and (max-width: 998px) {
  header {
    padding: 2rem 1rem;
  }
  .section {
    padding: 50px 4%;
  }
  #burger-menu {
    display: block;
  }
  .navigation {
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: -100%;
    width: 280px;
    min-height: 100vh;
    background: var(--bg);
    box-shadow: var(--shadow);
    transition: right 0.2s ease-in-out;
  }
  .navigation.active {
    right: 0;
  }
  .navigation a {
    display: block;
  }
  .navigation a:hover,
  .navigation a.active {
    color: var(--pink);
    background-color: transparent;
    transform: translateY(2px);
  }
  .ComingSoon-img img {
    width: 280px;
  }
}

@media screen and (max-width: 481px) {
  .box,
  .box-img {
    height: 300px;
  }
  .home {
    background: url("assets/images/GTA6_background-mobile.jpg") top no-repeat;
    background-size: cover;
  }
  .home-content h1 {
    font-size: 20px;
  }
  .home-content p {
    font-size: 0.7rem;
  }
  .ComingSoon-content h1 {
    font-size: 1rem;
  }
  .ComingSoon img {
    max-width: 150px;
  }
  .btn {
    font-size: 1rem;
    width: 60%;
    padding: 10px;
  }
  .copy {
    font-size: 7px;
  }
  .slider-container img {
    width: 90%;
  }
}

/* Texto negro y más grueso solo en la sección #home */
.home,
.home * {
  color: #000 !important;
  font-weight: 500 !important;
}
.videoWrapper {
  position: relative;
  width: 900px;
  height: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
