@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── tokens ───────────────────────────────── */
:root {
  --purple: #7c3aed;
  --purple-dim: rgba(124, 58, 237, .18);
  --gold: #e2a628;
  --gold-dim: rgba(226, 166, 40, .12);
  --bg: #08080d;
  --surface: rgba(255, 255, 255, .04);
  --border: rgba(255, 255, 255, .07);
  --txt: #d4d4d8;
  --txt-dim: #71717a;
  --white: #fafafa;
}

/* ── reset ────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--txt);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none
}

/* ── scroll-reveal base ───────────────────── */
.anim {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.anim.show {
  opacity: 1;
  transform: none
}

/* ── HERO ─────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .45;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg,
      rgba(8, 8, 13, .2) 0%,
      rgba(8, 8, 13, .55) 55%,
      var(--bg) 100%);
}

.hero-overlay::before {
  content: '';
  position: absolute;
  background: url('../img/icons/dot.png') center top repeat;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 24px;
}

.hero-logo {
  width: min(320px, 65vw);
  margin-bottom: 28px;
  filter: drop-shadow(0 4px 30px rgba(124, 58, 237, .35));
  animation: drift 5s ease-in-out infinite;
}

.hero-tagline {
  font-family: 'Chakra Petch', sans-serif;
  font-size: clamp(1.3rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: fadeUp 1.6s ease-out both;
}

.hero-sub {
  font-size: clamp(.9rem, 1.8vw, 1.1rem);
  color: var(--txt-dim);
  line-height: 1.75;
  animation: fadeUp 2s ease-out both;
}

.hero-rewards-title {
  font-family: 'Chakra Petch', sans-serif;
  font-size: clamp(.85rem, 2vw, 1.1rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 40px;
  margin-bottom: 10px;
  animation: fadeUp 2.3s ease-out both;
}

.btn-registro {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 40px;
  font-family: 'Chakra Petch', sans-serif;
  font-size: clamp(.9rem, 2vw, 1.1rem);
  font-weight: 700;
  color: #0a0a0f;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: box-shadow .3s, transform .2s;
  animation: fadeUp 2.6s ease-out both;
}

.btn-registro:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(249, 115, 22, .5), 0 4px 20px rgba(0, 0, 0, .3);
}

.hero-login-link {
  margin-top: 14px;
  font-size: .85rem;
  color: var(--txt-dim);
  animation: fadeUp 2.8s ease-out both;
}

.hero-login-link a {
  color: var(--purple);
  text-decoration: none;
  font-weight: 500;
}

.hero-login-link a:hover {
  color: #a78bfa;
}

/* ── STORY ────────────────────────────────── */
.story {
  position: relative;
  z-index: 1;
  padding: 90px 24px 70px;
  max-width: 680px;
  margin: 0 auto;
}

.story-line {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.85;
  color: var(--txt);
  margin-bottom: 22px;
}

.story-line strong {
  color: var(--white);
  font-weight: 600;
}

/* ── DATE ─────────────────────────────────── */
.date-block {
  position: relative;
  z-index: 1;
  padding: 50px 24px 80px;
  text-align: center;
}

.date-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 30px 50px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
}

.date-pre {
  font-size: .82rem;
  color: var(--txt-dim);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.date-big {
  font-family: 'Chakra Petch', sans-serif;
  font-size: clamp(1.8rem, 5.5vw, 3.4rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 3px;
}

/* ── REWARDS ──────────────────────────────── */
.rewards {
  position: relative;
  z-index: 1;
  padding: 60px 24px 90px;
  max-width: 1020px;
  margin: 0 auto;
}

.section-heading {
  font-family: 'Chakra Petch', sans-serif;
  font-size: clamp(1.1rem, 2.8vw, 1.5rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 40px;
  padding-left: 14px;
  border-left: 3px solid var(--purple);
}

/* ── tiles (GunBound style) ────────────────── */
.tiles {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
  max-width: 160px;
}

.tile-img {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(145deg, #e8eaf0, #f5f6fa);
  border-radius: 14px;
  border: 2px solid #3b82f6;
  box-shadow: 0 0 14px rgba(59, 130, 246, .35),
    inset 0 1px 0 rgba(255, 255, 255, .8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  transition: box-shadow .3s, border-color .3s;
}

.tile:hover .tile-img {
  border-color: #60a5fa;
  box-shadow: 0 0 22px rgba(59, 130, 246, .5),
    inset 0 1px 0 rgba(255, 255, 255, .8);
}

.tile-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.tile-img--text {
  background: linear-gradient(145deg, #1e293b, #334155);
  border-color: #3b82f6;
}

.tile-amount {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #f1f5f9;
}

.tile-amount--gold {
  color: var(--gold);
}

.tile-label {
  font-family: 'Chakra Petch', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  color: var(--txt);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.4;
}

.tile-label small {
  font-weight: 400;
  color: var(--txt-dim);
  text-transform: none;
  letter-spacing: 0;
}

/* ── CLOSING ──────────────────────────────── */
.closing {
  position: relative;
  z-index: 1;
  padding: 100px 24px;
  overflow: hidden;
}

.closing-bg {
  position: absolute;
  inset: 0;
  background: url('../img/avatar/GIF-gif-Force-Purple.gif') center/cover no-repeat;
  opacity: .08;
}

.closing-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.closing-title {
  font-family: 'Chakra Petch', sans-serif;
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}

.closing-body {
  font-size: clamp(.95rem, 1.8vw, 1.1rem);
  color: var(--txt);
  line-height: 1.8;
  margin-bottom: 28px;
}

.closing-cta {
  font-family: 'Chakra Petch', sans-serif;
  font-size: .85rem;
  color: var(--purple);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ── PLACEHOLDER ──────────────────────────── */
.placeholder-area {
  position: relative;
  z-index: 1;
  padding: 50px 24px;
}

.placeholder-box {
  max-width: 380px;
  height: 160px;
  margin: 0 auto;
  border: 1px dashed var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--txt-dim);
  font-size: .8rem;
}

/* ── FOOTER ───────────────────────────────── */
.foot {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px;
  font-size: .7rem;
  color: var(--txt-dim);
  border-top: 1px solid var(--border);
}

/* ── keyframes ────────────────────────────── */
@keyframes drift {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

/* ── responsive ───────────────────────────── */
@media(max-width:640px) {
  .hero-logo {
    width: 220px
  }

  .tiles {
    gap: 12px
  }

  .tile {
    width: 130px
  }

  .date-inner {
    padding: 22px 28px
  }

  .section-heading {
    text-align: left
  }
}

/* ── Redes Sociales (Closing) ──────────────── */
.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.social-real {
  position: relative;
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-real img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
  transition: filter 0.3s ease;
}

.social-real:hover {
  transform: translateY(-6px) scale(1.15);
}

.social-real:hover img {
  filter: drop-shadow(0 6px 16px rgba(255, 255, 255, 0.2));
}