* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
}
button,
div,
.tarjeta-grid button,
.diamonds-grid button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
body {
  background-color: #1b1b25;
  width: 100%;
  height: auto;
  position: relative;
  display: flex;
  flex-direction: column;
}
header {
  width: 100%;
  height: 4rem;
  background-color: #1b1b25;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  position: sticky;
  top: 0px;
  z-index: 1000;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.logo {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  width: 50%;
  height: auto;
  color: #fff;
}
.separator {
  width: 2px;
  height: 1rem;
  background-color: #ffffff20;
}
.logo span {
  font-size: 12px;
  text-wrap: wrap;
  font-weight: 500;
}

.nav-info {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.nav-info button {
  background-color: rgb(46, 46, 57);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: auto;
}
.nav-info button img {
  width: 1rem;
  height: 1rem;
}
.nav-info button div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: auto;
}
.nav-info button div span:nth-child(1) {
  padding-right: 0.5rem;
  border-right: 1px solid #ffffff20;
}

.carousel {
  width: 100%;
  height: auto;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
}
.carousel-track {
  display: flex;
  width: 100%; /* 3 imágenes * 600px */
  transition: transform 0.5s ease-in-out;
}
.carousel-track img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.canje-container {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
  border-radius: 1rem;
  gap: 1rem;
}

.recarga-info {
  padding: 0 0.5rem;
}

.bg-img {
  background-image: url("https://cdn-gop.garenanow.com/gop/mshop/www/live/assets/FF-f997537d.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: auto;
  border-radius: 0.5rem 0.5rem 0 0;
  display: flex;
  align-items: center;
  padding: 1rem;
  gap: 1rem;
}
.bg-img img {
  width: 2.75rem;
  height: 2.75rem;
}
.free-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #fff;
}
.free-text p {
  font-size: 1rem;
  font-weight: 700;
}
.free-text span {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 6px;
  border-radius: 0.25rem;
  background: #00000065;
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pasos {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: white;
  font-size: 18px;
  font-weight: 700;
}
.num-paso {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.num-paso span {
  position: absolute;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.card-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background-color: rgb(39, 39, 49);
  border-radius: 0.5rem;
  margin-top: 1rem;
}
.card-info div {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #fff;
  font-weight: 500;
}
.card-info input {
  width: 100%;
  height: auto;
  padding: 0.725rem 1rem;
  border-radius: 0.5rem;
  border: none;
  background-color: rgb(53, 53, 66);
  color: #ffffff80;
  font-size: 14px;
}
.card-info input:focus {
  color: #fff;
  outline: 2px solid #e41e26;
  background-color: rgb(47, 35, 44);
}

.diamonds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 1rem 0;
}
.diamonds-grid button {
  background-color: rgb(53, 53, 66);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 1rem 0;
  font-size: 14px;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.1s ease-in-out;
}
.diamonds-grid button:focus {
  outline: 2px solid #e41e26;
  background-color: rgb(47, 35, 44);
}

.offer-title {
  color: #ffffff99;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  text-wrap: nowrap;
  gap: 0.5rem;
  align-items: center;
}
.line {
  width: 100%;
  height: 1px;
  background-color: #ffffff20;
  margin: 0.5rem 0;
}
.tarjeta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  padding: 1rem 0;
  width: 100%;
}
.tarjeta-grid button {
  background-color: rgb(53, 53, 66);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 1rem 0;
  font-size: 14px;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.1s ease-in-out;
}
.tarjeta-grid button:focus {
  outline: 2px solid #e41e26;
  background-color: rgb(47, 35, 44);
}
.tarjeta-grid button img {
  width: 90%;
  height: auto;
}

.form-recarga {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background-color: rgb(39, 39, 49);
  border-radius: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
}
.form-group input {
  width: 100%;
  height: auto;
  padding: 0.725rem 1rem;
  color: #ffffff;
  border-radius: 0.5rem;
  border: none;
  background-color: rgb(53, 53, 66);
  font-size: 14px;
  transition: all 0.1s ease-in-out;
}
.form-group input:focus {
  outline: 2px solid #e41e26;
  background-color: rgb(47, 35, 44);
}
.form-group input::placeholder {
  color: #ffffff80;
}

.btn-recarga {
  background-color: #e41e26;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-recarga:hover {
  background-color: rgb(205, 18, 20);
}

.game-selection {
  background-image: url("https://cdn-gop.garenanow.com/gop/mshop/www/live/assets/pattern-game-selection-59889447.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: auto;
  position: relative;
}
.game-selection span {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 998;
  position: relative;
}

.game-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1rem;
  width: 100%;
  z-index: 998;
  position: relative;
}
.game-logos div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  cursor: pointer;
  transition: all 0.1s ease-in-out;
  gap: 0.5rem;
}
.game-logos div img {
  width: 80%;
  height: auto;
  border-radius: 0.5rem;
  transition: all 0.1s ease-in-out;
}
.game-logos div span {
  font-size: 14px;
  text-align: center;
  padding: 0;
}
.game-selection-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 999;
}
.game-selection-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 997;
  background: linear-gradient(180deg, #16162b 0%, #242443 76.1%, #333356 100%);
}
.selected-game img {
  outline: 3px solid #e9423a;
  border-radius: 100%;
}
.selected-game span {
  color: #e9423a;
  font-weight: 700;
}
.recarga-info-text {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

footer {
  width: 100%;
  height: auto;
  background-color: #1b1b25;
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1rem;
  color: #fff;
  border-top: 2px solid #ffffff10;
  position: sticky;
  bottom: 0;
}
.pago-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#recarga {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}
#total {
  color: #e9423a;
  font-size: 1rem;
  font-weight: 700;
}
