/* ============================================
   VAN LIFE - LANDING PAGE STYLES
   Modern, animated landing page with pixel-art theme
   ============================================ */

:root {
  --primary-color: #ff6b35;
  --secondary-color: #f7931e;
  --accent-color: #ffd23f;
  --dark-bg: #1a1a2e;
  --darker-bg: #0f0f1e;
  --light-text: #eee;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--darker-bg);
  color: var(--light-text);
  overflow-x: hidden;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/backgrounds/hero_background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.7;
  /* Aumentado de 0.3 a 0.7 para ver más la imagen */
  z-index: 0;
  animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(26, 26, 46, 0.4) 0%,
      /* Reducido de 0.7 a 0.4 */
      rgba(26, 26, 46, 0.6) 100%);
  /* Reducido de 0.9 a 0.6 */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.game-logo {
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
  animation: glow 2s ease-in-out infinite alternate;
  letter-spacing: 2px;
}

@keyframes glow {
  from {
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.5));
  }

  to {
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.8));
  }
}

.game-tagline {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
  font-weight: 300;
  animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.game-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   CALL TO ACTION BUTTONS
   ============================================ */

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn-cta {
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-cta:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  box-shadow: 0 10px 30px rgba(255, 210, 63, 0.2);
}

.btn-secondary:hover {
  background: var(--accent-color);
  color: var(--dark-bg);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 210, 63, 0.4);
}

.btn-icon {
  font-size: 1.3rem;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
  padding: 4rem 2rem;
  background: var(--dark-bg);
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.features-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent,
      rgba(255, 107, 53, 0.1),
      transparent);
  transform: rotate(45deg);
  transition: all 0.5s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.feature-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.scroll-indicator span {
  display: block;
  width: 30px;
  height: 50px;
  border: 2px solid var(--accent-color);
  border-radius: 25px;
  position: relative;
}

.scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--accent-color);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    top: 10px;
  }

  100% {
    opacity: 0;
    top: 30px;
  }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablets (landscape y portrait) */
@media (max-width: 1024px) {
  .hero-background {
    opacity: 0.8;
    /* Más visible en tablets */
  }

  .game-logo {
    font-size: 3rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets pequeñas y móviles grandes */
@media (max-width: 768px) {
  .hero-background {
    opacity: 0.75;
    background-position: center center;
  }

  .hero-overlay {
    background: linear-gradient(180deg,
        rgba(26, 26, 46, 0.5) 0%,
        rgba(26, 26, 46, 0.7) 100%);
  }

  .game-logo {
    font-size: 2.5rem;
    letter-spacing: 1px;
  }

  .game-tagline {
    font-size: 1.2rem;
  }

  .game-description {
    font-size: 1rem;
    padding: 0 10px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .btn-cta {
    width: 100%;
    max-width: 350px;
    justify-content: center;
    padding: 1.2rem 2rem;
  }

  .features-title {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .features-section {
    padding: 3rem 1.5rem;
  }
}

/* Móviles */
@media (max-width: 480px) {
  .hero-section {
    min-height: 100vh;
  }

  .hero-background {
    opacity: 0.7;
    background-size: cover;
  }

  .game-logo {
    font-size: 2rem;
    letter-spacing: 0.5px;
  }

  .game-tagline {
    font-size: 1rem;
  }

  .game-description {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .hero-content {
    padding: 20px 15px;
  }

  .btn-cta {
    max-width: 100%;
    font-size: 1rem;
    padding: 1rem 1.5rem;
  }

  .features-section {
    padding: 2.5rem 1rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .feature-icon {
    font-size: 2.5rem;
  }

  .feature-title {
    font-size: 1.3rem;
  }

  .scroll-indicator {
    bottom: 20px;
  }
}