/*
TemplateMo 579 Cyborg Gaming - Versión Mejorada 2

https://templatemo.com/tm-579-cyborg-gaming
*/

/* ---------------------------------------------
Índice
------------------------------------------------
01. Fuentes y restablecimiento de CSS
02. Restablecimiento
03. Estilos globales
04. Encabezado
05. Banner
06. Más popular
07. Pie de página
--------------------------------------------- */

/* 
---------------------------------------------
Fuentes y restablecimiento de CSS
--------------------------------------------- 
*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

/* 
---------------------------------------------
Restablecimiento
--------------------------------------------- 
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, div,
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q,
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
figure, header, nav, section, article, aside, footer, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

ul, li {
  padding: 0;
  margin: 0;
  list-style: none;
}

header, nav, section, article, aside, footer, hgroup {
  display: block;
}

* {
  box-sizing: border-box;
}

html, body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  background: linear-gradient(135deg, #6500BF, #D1529E);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: #fff;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

a:hover {
  color: #ff69b4;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: #fff;
  font-weight: 600;
}

p {
  font-size: 14px;
  line-height: 26px;
  color: #ddd;
}

img {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* 
---------------------------------------------
Estilos Globales
--------------------------------------------- 
*/
body .page-content {
  margin-top: 120px;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.main-button a {
  font-size: 14px;
  color: #fff;
  background: linear-gradient(90deg, #ff69b4, #ff8c8c);
  padding: 12px 32px;
  display: inline-block;
  border-radius: 50px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(255, 105, 180, 0.5);
  position: relative;
  overflow: hidden;
}

.main-button a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s ease;
}

.main-button a:hover::before {
  left: 100%;
}

.main-button a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 105, 180, 0.7);
  color: #fff;
}

.main-border-button a {
  font-size: 14px;
  color: #ff69b4;
  border: 2px solid #ff69b4;
  padding: 12px 32px;
  display: inline-block;
  border-radius: 50px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s ease;
}

.main-border-button a:hover {
  background: #ff69b4;
  color: #fff;
  transform: translateY(-3px);
}

.heading-section h4 {
  color: #ff69b4;
  font-size: 36px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 30px;
  animation: slideInLeft 0.8s ease-out;
}

.heading-section h4 em {
  color: #fff;
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: #ff69b4;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* 
---------------------------------------------
Estilo del Preloader
--------------------------------------------- 
*/
.js-preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1c1c2e;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease;
}

.js-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  position: relative;
  width: 100px;
  height: 100px;
}

.preloader-inner .dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #ff69b4;
  border-radius: 50%;
  animation: orbit 2s infinite ease-in-out;
}

.preloader-inner .dots span {
  position: absolute;
  width: 15px;
  height: 15px;
  background: #ff8c8c;
  border-radius: 50%;
  animation: orbit 2s infinite ease-in-out;
  animation-delay: calc(0.2s * var(--i));
}

.preloader-inner .dots span:nth-child(1) { transform: rotate(0deg) translate(30px); }
.preloader-inner .dots span:nth-child(2) { transform: rotate(120deg) translate(30px); }
.preloader-inner .dots span:nth-child(3) { transform: rotate(240deg) translate(30px); }

@keyframes orbit {
  0% { transform: rotate(0deg) translate(30px) scale(1); opacity: 1; }
  50% { transform: rotate(180deg) translate(30px) scale(1.2); opacity: 0.7; }
  100% { transform: rotate(360deg) translate(30px) scale(1); opacity: 1; }
}

/* 
---------------------------------------------
Estilo del Encabezado
--------------------------------------------- 
*/
.header-area {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.5s ease;
}

.header-area .main-nav {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.header-area .main-nav .logo img {
  max-width: 140px;
  transition: transform 0.3s ease;
}

.header-area .main-nav .logo:hover img {
  transform: scale(1.1);
}

.header-area .main-nav .nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.header-area .main-nav .nav li {
  padding: 0 12px;
}

.header-area .main-nav .nav li a {
  font-size: 14px;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.header-area .main-nav .nav li a:hover,
.header-area .main-nav .nav li a.active {
  background: #ff69b4;
  color: #fff;
  transform: scale(1.05);
}

.header-area .main-nav .nav li:last-child a img {
  max-width: 25px;
  vertical-align: middle;
  margin-left: 5px;
}

.header-area .main-nav #search {
  position: relative;
}

.header-area .main-nav #search input {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  padding: 12px 20px 12px 45px;
  border-radius: 25px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.header-area .main-nav #search input:focus {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.header-area .main-nav #search i {
  position: absolute;
  color: #ff69b4;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
}

@media (max-width: 992px) {
  .header-area .main-nav .menu-trigger {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
  .header-area .main-nav .nav {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    padding: 20px;
    border-radius: 0 0 12px 12px;
    animation: slideInDown 0.5s ease-out;
  }
  .header-area .main-nav .nav.active {
    display: flex;
  }
  .header-area .main-nav .nav li {
    padding: 10px 0;
  }
  .header-area .main-nav .nav li a {
    display: block;
    text-align: center;
  }
}

/* 
---------------------------------------------
Estilo del Banner
--------------------------------------------- 
*/
.main-banner {
  background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url(../images/PINK%20BANANA%20ACTIVACIONES-1.png);
  background-size: cover;
  background-position: center;
  min-height: 450px;
  border-radius: 12px;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: zoomIn 1.2s ease-out;
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.main-banner .header-text {
  text-align: center;
}

.main-banner h4 {
  font-size: 50px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 25px;
  animation: fadeIn 1.5s ease-out;
}

.main-banner h4 em {
  color: #ff69b4;
  font-style: normal;
}

/* 
---------------------------------------------
Estilo de la Sección Más Popular
--------------------------------------------- 
*/
.most-popular {
  margin-top: 80px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.most-popular .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.most-popular .item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  transition: all 0.4s ease;
  animation: fadeInUp 0.8s ease-out;
  animation-delay: calc(0.1s * var(--i));
}

.most-popular .item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 105, 180, 0.5);
}

.most-popular .item img {
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.most-popular .item:hover img {
  transform: scale(1.03);
}

.most-popular .item ul {
  display: flex;
  justify-content: flex-end;
  margin-top: 15px;
}

.most-popular .item ul li i {
  color: #ff69b4;
  font-size: 18px;
  margin-left: 12px;
  transition: transform 0.3s ease;
}

.most-popular .item ul li i:hover {
  transform: scale(1.3);
}

.most-popular .main-button {
  text-align: center;
  margin-top: 20px;
}

/* 
---------------------------------------------
Estilo del Pie de Página
--------------------------------------------- 
*/
footer {
  margin-top: 80px;
  padding: 40px 0;
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
}

footer p {
  color: #ddd;
  font-size: 14px;
  line-height: 24px;
}

footer p a {
  color: #ff69b4;
  transition: all 0.3s ease;
}

footer p a:hover {
  color: #fff;
}

/* 
---------------------------------------------
Estilo Responsivo
--------------------------------------------- 
*/
@media (max-width: 767px) {
  body .page-content {
    padding: 20px;
  }
  .main-banner {
    padding: 30px;
  }
  .main-banner h4 {
    font-size: 36px;
  }
  .most-popular {
    padding: 20px;
  }
  .most-popular .row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .most-popular .row {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}