:root { 
  --primary-color: #ff4655; 
  --primary-hover-color: #ff7b86;
  --secondary-color: #0f1923; 
  --background-color: #ece8e1; 
  --text-color: #383e3a; 
  --card-background: #ffffff;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
}

@font-face {
  font-family: 'Tungsten Bold';
  src: url('src/fonts/tungsten-bold.eot');
  src: url('src/fonts/tungsten-bold.eot?#iefix') format('embedded-opentype'),
       url('src/fonts/tungsten-bold.woff2') format('woff2'),
       url('src/fonts/tungsten-bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap; /* Mostrar texto con fuente alternativa mientras se carga */
  font-stretch: normal;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Tungsten Bold', sans-serif;
  scrollbar-width: thin;
  scrollbar-color: #ff4655 transparent;
}

/* Estilos personalizados para scrollbars en toda la web */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background-color: #ff4655;
  border-radius: 4px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  display: flex;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Menú lateral izquierdo */
.menu-sidebar {
  width: 350px;
  color: white;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  left: 80px;
  top: 120px;
  z-index: 10;
}

.menu-sidebar .menu-item {
  width: 100%;
  padding: 0.7rem 0;
  font-size: 5.5rem;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s ease;
  line-height: 1;
  letter-spacing: 2px;
}

.menu-sidebar .menu-item:hover {
  color: var(--primary-color);
}

/* Contenido principal */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-size: cover;
  position: relative;
  background-color: var(--background-color);
  overflow: hidden;
}

/* Overlay para el fondo */
.main-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 25, 35, 0.7);
  z-index: 1;
}

/* Contenedor del contenido */
.content-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem;
}

/* Logo en la esquina superior derecha */
.logo {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 340px;
    z-index: 3;
}

/* Secciones de noticias y patch notes */
.sidebar-content {
  position: absolute;
  top: 8rem;
  right: 2rem;
  width: 350px;
  z-index: 3;
  display: flex;
  flex-direction: column;
}

.news-section {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: var(--border-radius-md);
  padding: 1rem;
}

.patch-notes-button {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.patch-notes-link {
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: var(--border-radius-md);
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: background-color 0.3s ease;
}

.patch-notes-link:hover {
  background-color: var(--primary-hover-color);
}

.section-title {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.news-content {
  height: 450px;
  overflow-y: auto;
  padding: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) rgba(255, 255, 255, 0.3);
}

/* Estilos para el scrollbar en navegadores WebKit (Chrome, Safari, etc.) */
.news-content::-webkit-scrollbar {
  width: 8px;
}

.news-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.news-content::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 4px;
}

.news-content::-webkit-scrollbar-thumb:hover {
  background-color: var(--primary-hover-color);
}

.news-image {
  width: 100%;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: var(--border-radius-sm);
}

.news-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.news-img:hover {
  transform: scale(1.05);
}

/* Botones */
.button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: background 0.3s ease;
}

.button:hover {
  background: var(--primary-hover-color);
}

/* Footer */
.footer {
  position: fixed;
  bottom: 10px;
  left: 10px;
  font-size: 1.3rem;
  color: white;
  background-color: transparent;
  z-index: 10;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.footer a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-hover-color);
}

/* Responsive */
/* Large Screens */
@media (max-width: 1027px) {

  .container {
    flex-direction: column;
  }
  
  .menu-sidebar {
    position: relative;
    width: 100%;
    padding: 1rem 0;
    left: 0;
    top: 0;
    align-items: center;
  }
  
  .menu-sidebar .menu-item {
    font-size: 3rem;
    text-align: center;
    padding: 0.5rem 0;
  }
  

  
  .logo {
    position: static;
    width: 220px;
    margin: 0.5rem auto;
  }
  
  .sidebar-content {
    position: static;
    width: 100%;
    margin: 0.5rem auto;
  }
  
  .modes-slider-container {
    height: 350px;
  }
  
  .mode-title {
    font-size: 2rem;
  }
  
  .mode-description {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .patch-notes-link {
    font-size: 2rem;
    padding: 0.8rem 1.5rem;
  }
  
  .developer-info h3 {
    font-size: 1.5rem;
  }
}

/* Estilos para el menú móvil inferior */
.mobile-nav {
  display: none; /* Oculto por defecto */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(15, 25, 35, 0.95);
  padding: 10px 0 5px;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  justify-content: space-around;
  align-items: center;
  border-top: 2px solid var(--primary-color);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 5px 0;
  width: 20%;
  text-align: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-nav-item span {
  margin-top: 3px;
  font-size: 1rem;
  letter-spacing: 1px;
}

.mobile-nav-item svg {
  margin-bottom: 5px;
  width: 24px;
  height: 24px;
}

.mobile-nav-item:active {
  transform: scale(0.95);
}

.mobile-nav-item.play-button {
  color: var(--primary-color);
}

.play-button-circle {
  background-color: var(--primary-color);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -30px;
  margin-bottom: 5px;
  box-shadow: 0 3px 10px rgba(255, 70, 85, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.mobile-nav-item.play-button:active .play-button-circle {
  transform: scale(0.92);
  box-shadow: 0 1px 5px rgba(255, 70, 85, 0.5);
}

.play-button-circle svg {
  color: white;
  margin: 0;
  width: 32px;
  height: 32px;
}

/* Mobile and Tablet Devices */
@media (max-width: 1027px) {
  .menu-sidebar {
    display: none; /* Ocultar el menú lateral en dispositivos móviles y tablets */
  }
  
  .sidebar-content {
    display: block; /* Mostrar el contenido lateral en dispositivos móviles y tablets */
    width: 90%;
    margin: 1rem auto;
  }
  
  .logo {
    width: 600px; /* Logo más grande para dispositivos móviles y tablets */
    margin: 0.8rem auto;
  }
  
  .mobile-nav {
    display: flex; /* Mostrar el menú móvil inferior */
  }
  
/* Estilos adicionales para pantallas muy pequeñas */
@media (max-width: 480px) {
  /* Ajustes específicos para pantallas muy pequeñas si son necesarios */
}
  
  body {
    padding-bottom: 70px; /* Espacio para el menú móvil inferior */
  }
  

  
  .footer {
    bottom: 80px; /* Ajustar la posición del footer para que no quede detrás del menú móvil */
  }
  
  .logo {
    width: 280px;
  }
  
  .modes-slider-container {
    height: 300px;
  }
  
  .mode-title {
    font-size: 1.8rem;
  }
  
  .mode-description {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }
  
  .patch-notes-link {
    font-size: 1.8rem;
    padding: 0.6rem 1.2rem;
  }
  
  .slider-arrow {
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
  }
  
  .slider-dot {
    width: 8px;
    height: 8px;
  }
  
  .developer-info {
    padding: 10px;
  }
  
  .developer-info h3 {
    font-size: 1.3rem;
  }
}

/* Estilos que estaban en el HTML */
:root {
  --primary-color: #ff4655; 
  --primary-hover-color: #ff7b86;
  --secondary-color: #0f1923; 
  --background-color: #121212; 
  --text-color: #ffffff; 
  --card-background: #1e1e1e;
}

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

.main-content::before {
  background-color: rgba(0, 0, 0, 0.7);
}

.news-section {
  background-color: rgba(30, 30, 30, 0.9);
  color: var(--text-color);
}

/* Estilos para el slider de modos */
.modes-slider-container {
  height: 450px;
  overflow: hidden;
  position: relative;
  border-radius: var(--border-radius-md);
}

.modes-slider {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.mode-slide {
  min-width: 100%;
  position: relative;
  cursor: pointer;
}

.mode-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mode-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  color: white;
  padding: 20px;
  text-align: center;
}

.mode-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.mode-description {
  font-size: 1.2rem;
}

.slider-controls {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 5;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-dot.active {
  background-color: var(--primary-color);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(0,0,0,0.7);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s ease;
}

.slider-arrow img {
  width: 30px;
  height: 30px;
  fill: white;
  filter: invert(100%);
}

.slider-arrow:hover {
  background-color: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.slider-prev {
  left: 10px;
}

.slider-next {
  right: 10px;
}

.developer-info {
  margin-top: 20px;
  background-color: rgba(30, 30, 30, 0.9);
  border-radius: var(--border-radius-md);
  padding: 15px;
  text-align: center;
}

.developer-info h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.developer-info p {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.social-link {
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--primary-color);
}

.social-icon {
  margin-right: 5px;
}