/* ============ DINDORADO LANDING — STYLE ============ */

:root {
  --c-bg: #0B0C10;
  --c-bg-soft: #14161d;
  --c-text: #f5f1e8;
  --c-text-dim: #b8b1a3;
  --c-primary: #FF6B35;
  --c-primary-light: #FF9F1C;
  --c-gold: #FFD700;
  --c-teal: #2EC4B6;
  --c-pink: #FF2E63;

  --f-arcade: 'Press Start 2P', monospace;
  --f-body: 'Rubik', system-ui, -apple-system, sans-serif;

  --w-max: 1200px;
  --r-card: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--f-arcade); line-height: 1.3; letter-spacing: 0.5px; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(11, 12, 16, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s;
}

.site-header.scrolled { background: rgba(11, 12, 16, 0.92); }

.brand-logo { height: 36px; width: auto; }

.site-nav { display: flex; gap: 24px; align-items: center; }
.site-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text-dim);
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--c-gold); }
.nav-cta {
  background: var(--c-primary);
  color: var(--c-bg) !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 800;
}
.nav-cta:hover { background: var(--c-primary-light); color: var(--c-bg) !important; }

@media (max-width: 640px) {
  .site-nav a:not(.nav-cta) { display: none; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 20px 60px;
}

.hero-bg {
  position: absolute; inset: 0;
  background: url('../img/hero_bg.png') center/cover no-repeat;
  filter: brightness(0.5) saturate(1.2);
  transform: scale(1.1);
  animation: heroPan 30s ease-in-out infinite alternate;
}

@keyframes heroPan {
  from { transform: scale(1.1) translateX(0); }
  to { transform: scale(1.15) translateX(-30px); }
}

.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(11, 12, 16, 0.85) 100%),
              linear-gradient(180deg, transparent 60%, var(--c-bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  animation: fadeUp 1s ease 0.2s both;
}

.hero-logo {
  width: 100%;
  max-width: 360px;
  margin: 0 auto 24px;
  filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.4));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-tagline {
  font-size: clamp(22px, 5vw, 42px);
  color: var(--c-gold);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 4px 4px 0 var(--c-primary);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(15px, 2.2vw, 19px);
  color: var(--c-text-dim);
  max-width: 540px;
  margin: 0 auto 36px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
  color: var(--c-bg);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 107, 53, 0.6); }
.btn-label { font-size: 16px; }
.btn-sub { font-size: 11px; opacity: 0.7; font-weight: 600; }

.btn-ghost {
  background: transparent;
  color: var(--c-text);
  border: 2px solid rgba(245, 241, 232, 0.3);
  padding: 14px 28px;
}
.btn-ghost:hover { border-color: var(--c-gold); color: var(--c-gold); }

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  color: var(--c-text-dim);
  animation: bounce 2s ease-in-out infinite;
  z-index: 2;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ SECTIONS ============ */
.section {
  padding: 100px 24px;
  max-width: var(--w-max);
  margin: 0 auto;
}

.section-dark { background: var(--c-bg-soft); max-width: none; }
.section-dark > * { max-width: var(--w-max); margin-left: auto; margin-right: auto; }

.section-head { text-align: center; margin-bottom: 60px; }
.section-head h2 {
  font-size: clamp(20px, 3.5vw, 30px);
  color: var(--c-gold);
  margin-bottom: 16px;
  text-shadow: 3px 3px 0 rgba(255, 107, 53, 0.3);
}
.section-head p {
  font-size: 17px;
  color: var(--c-text-dim);
  max-width: 600px;
  margin: 0 auto;
}

/* ============ FEATURES ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--c-bg-soft);
  padding: 32px 24px;
  border-radius: var(--r-card);
  border: 1px solid rgba(255, 215, 0, 0.1);
  transition: transform 0.3s, border-color 0.3s;
  opacity: 0;
  transform: translateY(20px);
}
.feature-card.in-view { opacity: 1; transform: translateY(0); transition: all 0.6s ease; }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(255, 215, 0, 0.4); }

.feature-icon { font-size: 40px; margin-bottom: 16px; }
.feature-card h3 { font-size: 14px; color: var(--c-primary-light); margin-bottom: 12px; }
.feature-card p { color: var(--c-text-dim); font-size: 15px; }

/* ============ BIOMES GRID ============ */
.biomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.biome-tile {
  position: relative;
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
  border-radius: var(--r-card);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
  opacity: 0;
  transform: scale(0.95);
}
.biome-tile.in-view { opacity: 1; transform: scale(1); transition: all 0.5s ease; }
.biome-tile:hover { transform: scale(1.03); }

.biome-tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
}

.biome-tile figcaption {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  z-index: 2;
  font-family: var(--f-arcade);
  font-size: 11px;
  color: var(--c-gold);
  text-shadow: 2px 2px 0 rgba(0,0,0,0.8);
}

.biomes-more {
  text-align: center;
  margin-top: 40px;
  font-size: 16px;
  color: var(--c-text-dim);
  font-style: italic;
}

/* ============ CHARACTERS ============ */
.characters-row {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.character {
  text-align: center;
  transition: transform 0.3s;
}
.character:hover { transform: translateY(-8px) rotate(-5deg); }
.character img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.5));
  margin-bottom: 12px;
}
.character span {
  display: block;
  font-family: var(--f-arcade);
  font-size: 10px;
  color: var(--c-primary-light);
}

/* ============ CTA SECTION ============ */
.section-cta {
  text-align: center;
  padding: 120px 24px;
  background: linear-gradient(180deg, var(--c-bg) 0%, rgba(255, 107, 53, 0.08) 50%, var(--c-bg) 100%);
}
.section-cta h2 {
  font-size: clamp(22px, 4vw, 34px);
  color: var(--c-gold);
  margin-bottom: 20px;
}
.section-cta p {
  font-size: 18px;
  color: var(--c-text-dim);
  margin-bottom: 40px;
}

.store-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--c-text);
  color: var(--c-bg);
  padding: 12px 28px;
  border-radius: 12px;
  min-width: 200px;
  transition: transform 0.2s, opacity 0.2s;
}
.store-btn:hover { transform: scale(1.04); }
.store-btn.disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.store-small { font-size: 11px; opacity: 0.7; }
.store-big { font-size: 20px; font-weight: 800; }

/* ============ FOOTER ============ */
.site-footer {
  background: #06070a;
  padding: 60px 24px 40px;
  text-align: center;
}
.footer-inner { max-width: var(--w-max); margin: 0 auto; }
.footer-logo { height: 48px; margin: 0 auto 24px; opacity: 0.8; }
.footer-nav {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.footer-nav a {
  font-size: 14px;
  color: var(--c-text-dim);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--c-gold); }
.footer-copy { font-size: 13px; color: var(--c-text-dim); }

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
