/* CSS REDISENO - GTA VI SUNSET STYLE */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;900&display=swap');

/* FUENTE BECKETT PERSONALIZADA */
@font-face {
  font-family: 'Beckett';
  src: url('./BECKETT_.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --font-primary: 'Outfit', sans-serif;
  --font-beckett: 'Beckett', Impact, 'Arial Black', sans-serif;

  /* Paleta Atardecer GTA 6 / Vice City */
  --color-bg-darkest: #07040d;
  --color-bg-dark: #0f0a1c;
  --color-bg-card: rgba(25, 17, 43, 0.45);
  --color-text-light: #ffffff;
  --color-text-muted: #b8b3cc;

  /* Gradientes de Neon */
  --neon-pink: #ff007f;
  --neon-purple: #7a00ff;
  --neon-orange: #ff5e00;
  --neon-cyan: #00e5ff;
  --neon-green: #39ff14;

  --sunset-gradient: linear-gradient(135deg, #ff007f 0%, #7a00ff 50%, #ff5e00 100%);
  --dark-gradient: linear-gradient(180deg, #07040d 0%, #0f0a1c 100%);

  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET E INSTALACION GENERAL */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-bg-darkest);
  color: var(--color-text-light);
  font-family: var(--font-primary);
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  background-color: var(--color-bg-darkest);
}

/* PROTECCION GLOBAL DE IMAGENES */
img {
  user-select: none !important;
  -webkit-user-drag: none !important;
  -webkit-touch-callout: none !important; /* Desactiva guardar imagen en iOS */
  pointer-events: auto; /* Permite clicks pero bloquea arrastre/seleccion */
}

/* TITULOS BECKETT DE TRES CAPAS (SIN FORZAR MAYUSCULAS Y SIN TILDES) */
.beckett-title {
  font-family: var(--font-beckett);
  font-weight: normal;
  color: #000000 !important;
  letter-spacing: 1px;
  
  /* Doble contorno vectorial:
     Contorno 1 (Blanco) de 2px
     Contorno 2 (Negro) de 4px
  */
  text-shadow:
    /* Contorno 1 (Blanco) */
    -1px -1px 0 #fff,  1px -1px 0 #fff, -1px  1px 0 #fff,  1px  1px 0 #fff,
    -2px -2px 0 #fff,  2px -2px 0 #fff, -2px  2px 0 #fff,  2px  2px 0 #fff,
     0px -2px 0 #fff,  0px  2px 0 #fff, -2px  0px 0 #fff,  2px  0px 0 #fff,
    /* Contorno 2 (Negro) */
    -3px -3px 0 #000,  3px -3px 0 #000, -3px  3px 0 #000,  3px  3px 0 #000,
    -4px -4px 0 #000,  4px -4px 0 #000, -4px  4px 0 #000,  4px  4px 0 #000,
     0px -4px 0 #000,  0px  4px 0 #000, -4px  0px 0 #000,  4px  0px 0 #000,
    -3px -1px 0 #000,  3px -1px 0 #000, -3px  1px 0 #000,  3px  1px 0 #000,
    -1px -3px 0 #000,  1px -3px 0 #000, -1px  3px 0 #000,  1px  3px 0 #000,
    -4px -2px 0 #000,  4px -2px 0 #000, -4px  2px 0 #000,  4px  2px 0 #000,
    -2px -4px 0 #000,  2px -4px 0 #000, -2px  4px 0 #000,  2px  4px 0 #000;
}

.beckett-title.small-title {
  font-size: 2.2rem;
  letter-spacing: 0.5px;
}

h2.section-title {
  font-size: 3.8rem;
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1;
  display: inline-block;
  transform: rotate(-1deg);
}

@media (max-width: 768px) {
  h2.section-title {
    font-size: 2.5rem;
  }
}

/* PRECARGADOR INTRO ENTRADA */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-bg-darkest);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-bg-ambient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(122, 0, 255, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
}

.loader-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.loader-logo {
  max-width: 250px;
  width: 70%;
  margin-bottom: 2.5rem;
  animation: logo-glow-pulse 3s infinite ease-in-out;
}

.loader-bar-outer {
  width: 100%;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.2rem;
}

.loader-bar-inner {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
  border-radius: 10px;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.5);
}

.loader-text-status {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* BARRA DE NAVEGACION (FROSTED GLASS) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(7, 4, 13, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: background-color var(--transition-fast);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo-img {
  height: 45px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
}

.nav-link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sunset-gradient);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-creator-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  line-height: 1.2;
}

.badge-label {
  font-size: 0.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.badge-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--sunset-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 1024px) {
  .nav-container {
    padding: 1rem 2rem;
  }
  .nav-links {
    display: none;
  }
}

/* PORTADA PRINCIPAL (HERO SECTION) */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8rem 2rem 6rem 2rem;
  text-align: center;
  background: radial-gradient(circle at center, rgba(122, 0, 255, 0.22) 0%, rgba(255, 0, 127, 0.08) 40%, var(--color-bg-darkest) 80%);
}

.sunset-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center;
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-wrapper {
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.6));
}

.hero-logo {
  max-width: 320px;
  width: 80%;
}

.hero-subheading {
  font-size: 4.8rem;
  margin-top: -1rem;
  margin-bottom: 1.5rem;
  transform: rotate(-1.5deg);
}

.hero-tagline {
  font-size: 1.35rem;
  color: var(--color-text-muted);
  max-width: 700px;
  line-height: 1.6;
  margin-bottom: 3.5rem;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 1.8rem;
}

/* BOTONES VECTORIALES DE ALTO PRESTIGIO */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 1.1rem 2.8rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: var(--sunset-gradient);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 30px rgba(255, 0, 127, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 0, 127, 0.5);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-small {
  padding: 0.7rem 1.8rem;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.mouse-icon {
  width: 20px;
  height: 35px;
  border: 2px solid var(--color-text-muted);
  border-radius: 20px;
  position: relative;
}

.mouse-icon .wheel {
  width: 4px;
  height: 8px;
  background-color: var(--color-text-muted);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 1.6s infinite alternate ease-in-out;
}

@keyframes scroll-wheel {
  from { top: 6px; opacity: 1; }
  to { top: 18px; opacity: 0.1; }
}

@media (max-width: 768px) {
  .hero-subheading {
    font-size: 3.2rem;
  }
  .hero-tagline {
    font-size: 1.1rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 320px;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
}

/* SECCION TRAILER DE LANZAMIENTO */
.section-trailer {
  padding: 10rem 2rem 8rem 2rem;
  background: linear-gradient(180deg, var(--color-bg-darkest) 0%, var(--color-bg-dark) 100%);
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.section-header {
  margin-bottom: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tagline {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--neon-pink);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: block;
}

.section-desc {
  max-width: 650px;
  margin: 1.2rem auto 0 auto;
  color: var(--color-text-muted);
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 300;
}

/* DISEÑO DISPARADOR DE VIDEO DE YOUTUBE (EVITA ERROR 153) */
.trailer-poster-link {
  text-decoration: none;
  display: block;
  max-width: 1000px;
  margin: 0 auto;
}

.trailer-poster-card {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.poster-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 30%;
  transition: transform var(--transition-smooth);
  z-index: 1;
}

.trailer-poster-card:hover .poster-bg {
  transform: scale(1.04);
}

.play-button-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  color: #fff;
  padding: 2rem;
  text-align: center;
}

.play-button-neon {
  width: 90px;
  height: 90px;
  background: var(--sunset-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.play-svg {
  width: 38px;
  height: 38px;
  fill: #fff;
  margin-left: 6px;
}

.play-label {
  font-size: 1.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 15px rgba(0,0,0,0.9);
}

.play-subtext {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.9);
  font-weight: 400;
  max-width: 500px;
}

.trailer-poster-card:hover .play-button-neon {
  transform: scale(1.1);
  box-shadow: 0 0 35px rgba(255, 0, 127, 0.7);
}

.video-shadow-glow {
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
  background: var(--sunset-gradient);
  filter: blur(60px);
  opacity: 0.35;
  z-index: 1;
  pointer-events: none;
}

/* SECCION LORE (MARKETING & HISTORIA) */
.section-lore {
  padding: 10rem 2rem;
  background-color: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}

.glow-sphere-1 {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(122, 0, 255, 0.12) 0%, transparent 70%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
}

.row {
  display: flex;
  gap: 5rem;
  flex-wrap: wrap;
  align-items: center;
}

.col-text {
  flex: 1.2;
  min-width: 300px;
}

.col-image {
  flex: 0.8;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.col-text .tagline {
  margin-bottom: 0.5rem;
}

.col-text h2.section-title {
  text-align: left;
  margin-bottom: 2rem;
}

.lore-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(15px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.lore-lead {
  font-size: 1.3rem;
  line-height: 1.6;
  font-weight: 300;
  color: #fff;
  margin-bottom: 1.5rem;
}

.lore-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.lore-quote-box {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  position: relative;
}

.quote-mark {
  position: absolute;
  top: 1rem;
  left: 0;
  font-size: 6rem;
  line-height: 0;
  color: var(--neon-pink);
  opacity: 0.2;
  font-family: serif;
}

.lore-quote {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.5;
  color: #fff;
  padding-left: 2rem;
  position: relative;
  z-index: 2;
  font-weight: 300;
}

.artwork-showcase {
  position: relative;
  max-width: 450px;
  width: 100%;
}

.artwork-primary {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px rgba(0,0,0,0.6);
  z-index: 3;
  position: relative;
  transition: transform var(--transition-smooth);
}

.artwork-primary:hover {
  transform: translateY(-5px);
}

.artwork-backdrop {
  position: absolute;
  top: -15px;
  left: -15px;
  width: calc(100% + 30px);
  height: calc(100% + 30px);
  background: var(--sunset-gradient);
  border-radius: 25px;
  filter: blur(10px);
  opacity: 0.25;
  z-index: 1;
}

@media (max-width: 992px) {
  .row {
    flex-direction: column;
    gap: 4rem;
  }
  .col-text, .col-image {
    width: 100%;
  }
  .col-text h2.section-title {
    text-align: center;
  }
}

/* SECCION PERSONAJES (DISENO PREMIUM CON SOPORTE FOTOS) */
.section-characters {
  padding: 10rem 2rem;
  background-color: var(--color-bg-darkest);
  position: relative;
}

.characters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.char-card-modern {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.char-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(255, 0, 127, 0.15);
  border-color: rgba(255, 0, 127, 0.3);
}

.char-img-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  background-color: #0c0817;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.char-placeholder-avatar {
  font-family: var(--font-beckett);
  font-size: 3.5rem;
  color: #fff;
  background: radial-gradient(circle, rgba(122, 0, 255, 0.4) 0%, transparent 85%);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 0 15px rgba(255, 0, 127, 0.6);
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
}

.char-real-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%; /* Muestra cabeza y hombros */
  transform: scale(1.4); /* Recorta para enfocar rostro y hombro */
  z-index: 2;
  opacity: 1;
  transition: transform var(--transition-smooth);
}

.char-real-img.img-error {
  display: none;
}

.char-card-modern:hover .char-real-img {
  transform: scale(1.5);
}

.char-status-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
}

.char-status-badge.protagonist {
  background-color: var(--neon-pink);
  color: #fff;
}

.char-status-badge.family {
  background-color: var(--neon-green);
  color: #000;
}

.char-status-badge.enemy {
  background-color: #ff3b30;
  color: #fff;
}

.char-status-badge.warning {
  background-color: var(--neon-orange);
  color: #fff;
}

.char-status-badge.neutral {
  background-color: var(--neon-cyan);
  color: #000;
}

.char-details-box {
  padding: 1.8rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.char-name-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.char-alias-text {
  font-size: 0.85rem;
  color: var(--neon-pink);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  display: block;
}

.char-desc-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  font-weight: 300;
}

/* SECCION CARACTERISTICAS (MARKETING GRID) */
.section-features {
  padding: 10rem 2rem;
  background-color: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}

.glow-sphere-2 {
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 0, 127, 0.1) 0%, transparent 70%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.2rem;
  margin-top: 2rem;
  position: relative;
  z-index: 3;
}

.feature-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(122, 0, 255, 0.15);
  border-color: rgba(122, 0, 255, 0.3);
}

.card-glow-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--sunset-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-card:hover .card-glow-border {
  opacity: 1;
}

.feature-icon {
  font-size: 2.8rem;
  margin-bottom: 2rem;
  display: inline-block;
  filter: drop-shadow(0 5px 8px rgba(0,0,0,0.3));
}

.feature-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.feature-card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  font-weight: 300;
}

/* SECCION TERRITORIOS Y GRAFFITIS (DISEÑO PREMIUM MURALES) */
.section-graffitis {
  padding: 10rem 2rem;
  background-color: var(--color-bg-darkest);
  position: relative;
}

.graffiti-marketing-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 4rem;
}

.graffiti-card-modern {
  display: flex;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.graffiti-card-modern:hover {
  transform: scale(1.015);
  box-shadow: 0 25px 50px rgba(0,0,0,0.6);
}

.graffiti-img-wrapper {
  flex: 0.8;
  min-height: 250px;
  background-color: #0c0817;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.graffiti-image-file {
  max-width: 250px;
  width: 90%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0px 10px 15px rgba(0, 0, 0, 0.8));
  transition: transform var(--transition-smooth);
}

.graffiti-card-modern:hover .graffiti-image-file {
  transform: scale(1.08);
}

.graffiti-info-modern {
  flex: 1.2;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gang-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.gang-badge.grove-badge {
  background-color: rgba(57, 255, 20, 0.1);
  color: var(--neon-green);
  border: 1px solid var(--neon-green);
}

.gang-badge.ballas-badge {
  background-color: rgba(122, 0, 255, 0.1);
  color: #c580ff;
  border: 1px solid #7a00ff;
}

.gang-badge.neutral-badge {
  background-color: rgba(255, 94, 0, 0.1);
  color: var(--neon-orange);
  border: 1px solid var(--neon-orange);
}

.graffiti-title-text {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.2rem;
}

.graffiti-subtitle-text {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 1.8rem;
  font-weight: 300;
}

.graffiti-desc-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  font-weight: 300;
}

@media (max-width: 900px) {
  .graffiti-card-modern {
    flex-direction: column;
  }
  .graffiti-img-wrapper {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .graffiti-info-modern {
    padding: 3rem;
  }
}

/* SECCION GALERIA DE CARGA (POSTALES DE SANTIAGO) */
.section-gallery {
  padding: 10rem 2rem;
  background-color: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}

.gallery-wrapper {
  margin-top: 4rem;
  position: relative;
  z-index: 3;
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.8rem;
}

.gallery-cell {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  background-color: #000;
}

.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-smooth), filter var(--transition-fast);
  filter: brightness(0.95);
}

.gallery-cell::after {
  content: 'Ampliación conceptual';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 10, 28, 0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 2;
}

.gallery-cell:hover::after {
  opacity: 1;
}

.gallery-cell:hover img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

/* PIE DE PAGINA HYPE */
.footer {
  background-color: #050308;
  padding: 0 2rem 5rem 2rem;
  position: relative;
}

.footer-neon-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--sunset-gradient);
}

.footer-container {
  padding-top: 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo-img {
  height: 70px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 5px 15px rgba(255, 0, 127, 0.2));
}

.footer-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.footer-hype-text {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 550px;
  line-height: 1.6;
  margin-bottom: 3.5rem;
  font-weight: 300;
}

.footer-creator {
  margin-bottom: 3rem;
}

.creator-label {
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--color-text-muted);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.creator-box {
  display: inline-block;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 3rem;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.creator-primary {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 1px;
  background: var(--sunset-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* SECCION GENTILEZAS SOLICITADAS */
.footer-credits-gentileza {
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 600px;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 2rem;
  width: 100%;
}

.gentileza-item {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  font-weight: 300;
}

.gentileza-item strong {
  color: #fff;
  font-weight: 600;
}

.footer-bottom {
  max-width: 800px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2.5rem;
  width: 100%;
}

.copyright {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  font-weight: 600;
}

.disclaimer {
  font-size: 0.75rem;
  color: #4a455a;
  line-height: 1.6;
}

/* LIGHTBOX DE POSTALES */
.lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 3, 8, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 60px rgba(255, 0, 127, 0.25);
  display: block;
}

.lightbox-caption {
  margin-top: 1.5rem;
  font-family: var(--font-beckett);
  font-size: 1.6rem;
  color: #fff;
  text-shadow: 2px 2px 0 #000;
  text-align: center;
}

.close-btn {
  position: absolute;
  top: 2rem;
  right: 3rem;
  color: #fff;
  font-size: 3.5rem;
  font-weight: 300;
  transition: color var(--transition-fast);
  cursor: pointer;
  z-index: 10001;
  user-select: none;
}

.close-btn:hover {
  color: var(--neon-pink);
}

/* CONSOLA DE TRUCOS (EASTER EGG MODAL & TOAST) */
.cheat-console-trigger {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 99;
  background: rgba(15, 10, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0.9rem 1.6rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(122, 0, 255, 0.1);
  transition: all var(--transition-fast);
}

.cheat-console-trigger:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 0, 127, 0.3);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6), 0 0 20px rgba(255, 0, 127, 0.2);
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: var(--neon-pink);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-pink);
  animation: dot-pulse-glow 1.5s infinite alternate ease-in-out;
}

@keyframes dot-pulse-glow {
  from { opacity: 0.4; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1.15); }
}

.modal {
  display: none;
  position: fixed;
  z-index: 10005;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 3, 8, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content.cheat-content {
  background-color: var(--color-bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3.5rem;
  width: 90%;
  max-width: 500px;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  position: relative;
  text-align: center;
}

.cheat-hint {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 1.5rem 0 2rem 0;
  font-weight: 300;
}

.cheat-hint span {
  color: #fff;
  font-weight: 700;
  background-color: rgba(255,255,255,0.05);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.1);
}

#cheat-input {
  width: 100%;
  padding: 1rem 1.2rem;
  background-color: #08050e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--neon-cyan);
  font-family: monospace;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 12px;
  text-transform: uppercase;
  outline: none;
  text-align: center;
  letter-spacing: 2px;
  transition: border-color var(--transition-fast);
}

#cheat-input:focus {
  border-color: var(--neon-cyan);
}

.cheat-feedback {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  min-height: 22px;
}

.cheat-toast {
  position: fixed;
  top: 30px;
  left: 30px;
  background-color: #07040d;
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-weight: 700;
  padding: 1.1rem 2.2rem;
  border-radius: 8px;
  letter-spacing: 2px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  z-index: 10010;
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  pointer-events: none;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.cheat-toast.show {
  opacity: 1;
  transform: translateX(0);
}

/* EFECTOS ESPECIALES DE CHEATS (ACTIVADOS POR CLASE EN EL BODY) */
body.cheat-hesoyam {
  animation: screen-cyan-flash 0.5s ease-out;
}

body.cheat-rocketman {
  animation: screen-jetpack-shake 0.8s ease-out;
}

body.cheat-leavemealone {
  filter: contrast(1.05) saturate(1.1);
}

body.cheat-chile {
  background: linear-gradient(135deg, #002f6c 0%, #002f6c 30%, #ffffff 30%, #ffffff 40%, #d52b1e 40%, #d52b1e 100%);
  background-attachment: fixed;
}

@keyframes logo-glow-pulse {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(255, 0, 127, 0.2)); }
  50% { filter: drop-shadow(0 0 25px rgba(255, 0, 127, 0.6)); }
}

@keyframes screen-cyan-flash {
  0% { filter: hue-rotate(180deg) brightness(1.5); }
  100% { filter: none; }
}

@keyframes screen-jetpack-shake {
  0%, 100% { transform: translate(0, 0); }
  10%, 30%, 50%, 70%, 90% { transform: translate(-3px, 3px); }
  20%, 40%, 60%, 80% { transform: translate(3px, -3px); }
}

/* SCROLL REVEAL CLASES (SCROLL CINEMATICO) */
.section-hidden {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-visible {
  opacity: 1;
  transform: translateY(0);
}

/* DISEÑO OCULTO PARA FADE-IN */
.hidden {
  opacity: 0;
  display: none !important;
}

.fade-in {
  animation: fade-in-anim 1s forwards ease-out;
}

@keyframes fade-in-anim {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* SECCIÓN DE DESCARGAS Y BETA */
.section-downloads {
  padding: 10rem 2rem;
  background-color: var(--color-bg-darkest);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.download-container-box {
  max-width: 650px;
  margin: 4rem auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  z-index: 3;
}

.btn-disabled {
  background: rgba(255, 255, 255, 0.03) !important;
  color: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  pointer-events: none;
}

.beta-notice-box {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  text-align: left;
}

.notice-icon {
  font-size: 2.2rem;
  filter: drop-shadow(0 0 10px rgba(255, 0, 127, 0.3));
}

.notice-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  font-weight: 300;
}

.notice-text strong {
  color: #fff;
  font-weight: 600;
}

.discord-tag {
  color: var(--neon-cyan) !important;
  font-family: monospace;
  font-size: 1.15rem;
  background: rgba(0, 229, 255, 0.1);
  padding: 0.1rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
}

@media (max-width: 600px) {
  .beta-notice-box {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
}

