/* =========================================================
   VARIABLES GLOBALES DEL DISEÑO
   Acá se guardan colores, sombras y transiciones reutilizables
========================================================= */
:root{
  --bg-1:#020813;
  --bg-2:#04183f;
  --bg-3:#0a46a1;
  --accent:#1b8cff;
  --accent-2:#643dff;
  --white:#ffffff;
  --text-soft:rgba(255,255,255,.76);
  --line:rgba(95,160,255,.22);
  --shadow-soft:0 12px 40px rgba(0,0,0,.28);
  --shadow-glow:0 0 30px rgba(27,140,255,.12);
  --ease-smooth:cubic-bezier(.22,1,.36,1);
}

/* =========================================================
   RESET GENERAL
   Normaliza márgenes, padding y comportamiento base
========================================================= */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{margin:0;padding:0;min-height:100%}

body{
  font-family:'Inter',sans-serif;
  color:var(--white);
  background:#010611;
  position:relative;
  overflow-x:hidden;
}

/* Fondo de ambientación flotante detrás de toda la página */
body::before{
  content:"";
  position:fixed;
  inset:-20%;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 50%, rgba(27,140,255,.08), transparent 30%),
    radial-gradient(circle at 70% 20%, rgba(100,61,255,.08), transparent 25%),
    radial-gradient(circle at 25% 80%, rgba(27,140,255,.08), transparent 24%);
  animation:ambientShift 16s ease-in-out infinite alternate;
}

/* =========================================================
   ELEMENTOS BASE
========================================================= */
a{color:inherit}
button{font:inherit}
img{max-width:100%}
.container{width:min(1280px, calc(100% - 48px));margin:0 auto}
.narrow{width:min(920px, calc(100% - 48px))}

/* =========================================================
   FONDO GENERAL DE LA WEB
========================================================= */
.page-bg{
  position:fixed;
  inset:0;
  z-index:0;
  overflow:hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(43,151,255,.15), transparent 18%),
    radial-gradient(circle at 80% 30%, rgba(43,151,255,.14), transparent 18%),
    radial-gradient(circle at 30% 70%, rgba(99,61,255,.12), transparent 22%),
    radial-gradient(circle at 75% 78%, rgba(50,190,255,.10), transparent 18%),
    linear-gradient(180deg, #010611 0%, #04152d 26%, #062763 55%, #04152d 82%, #010611 100%);
}

/* Logo/fondo flotando al centro */
.page-bg::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:url('logo.png');
  background-repeat:no-repeat;
  background-position:center 52%;
  background-size:min(820px, 70vw);
  opacity:.28;
  filter:drop-shadow(0 0 65px rgba(27,140,255,.3)) brightness(1.25);
  transform:translateY(8px);
  animation: logoPulseMove 8s ease-in-out infinite;
}

/* Capa extra de partículas/puntos brillantes */
.page-overlay{
  position:fixed;
  inset:0;
  z-index:1;
  pointer-events:none;
  opacity:.42;
  background-image:
    radial-gradient(circle, rgba(159,214,255,.95) 0 1.2px, transparent 2px),
    radial-gradient(circle, rgba(159,214,255,.55) 0 1px, transparent 2px);
  background-size:160px 160px, 110px 110px;
  background-position:0 0, 50px 80px;
  filter:blur(.2px);
  animation: overlayTwinkle 18s linear infinite;
}

/* =========================================================
   HEADER / NAVBAR
========================================================= */
.site-header{
  position:sticky;
  top:0;
  z-index:20;
  background:linear-gradient(180deg, rgba(1,17,49,.88), rgba(1,12,33,.72));
  border-bottom:1px solid rgba(73,150,255,.15);
  backdrop-filter:blur(14px);
  transition:background .35s ease,border-color .35s ease,box-shadow .35s ease,transform .35s ease;
  animation: headerFadeIn .9s ease both;
}

/* Estado cuando el header detecta scroll */
.site-header.scrolled{
  background:linear-gradient(180deg, rgba(2,18,49,.96), rgba(2,12,31,.84));
  border-bottom-color:rgba(120,198,255,.24);
  box-shadow:0 16px 40px rgba(0,0,0,.18);
}

.nav{
  position:relative;
  z-index:2;
  min-height:86px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

/* Logo del navbar */
.nav-logo{
  display:inline-flex;
  align-items:center;
}

.nav-logo img{
  height:100px;
  display:block;
  filter:drop-shadow(0 0 20px rgba(61,160,255,.35));
  transition:transform .45s var(--ease-smooth), filter .45s ease;
  animation: logoFloatEnhanced 8s ease-in-out infinite;
}

.nav-logo:hover img{
  transform:scale(1.06) rotate(-2deg);
  filter:drop-shadow(0 0 28px rgba(61,160,255,.55));
}

.nav-menu{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  justify-content:center
}

/* =========================================================
   BOTONES GENERALES
========================================================= */
.nav-btn,.discord-btn,.category-pill,.small-btn,.buy-btn,.info-btn,.hero-secondary,.hero-cta{
  position:relative;
  overflow:hidden;
  isolation:isolate;
}

.nav-btn,.discord-btn,.category-pill,.small-btn,.buy-btn,.info-btn,.hero-secondary{
  border:1px solid rgba(126,183,255,.2);
  background:linear-gradient(180deg, rgba(10,38,92,.54), rgba(4,19,48,.42));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.02), 0 0 20px rgba(17,100,255,.07);
}

/* Botones navegación */
.nav-btn,.discord-btn{
  text-decoration:none;
  color:#fff;
  font-weight:800;
  padding:14px 24px;
  border-radius:14px;
  transition:
    transform .35s cubic-bezier(.22,1,.36,1),
    box-shadow .35s ease,
    border-color .35s ease,
    background .35s ease,
    filter .35s ease;
  animation:navPulse 3.8s ease-in-out infinite;
}

/* Brillo que cruza el botón */
.nav-btn::before,.discord-btn::before,.hero-cta::before,.hero-secondary::before,.small-btn::before,.buy-btn::before,.info-btn::before,.category-pill::before{
  content:"";
  position:absolute;
  inset:0 auto 0 -130%;
  width:55%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transform:skewX(-22deg);
  transition:left .75s ease;
  z-index:-1;
}

.nav-btn:hover::before,.discord-btn:hover::before,.hero-cta:hover::before,.hero-secondary:hover::before,.small-btn:hover::before,.buy-btn:hover::before,.info-btn:hover::before,.category-pill:hover::before{
  left:150%;
}

.nav-btn:hover,.nav-btn.active,.discord-btn:hover,.category-pill:hover,.category-pill.active,.small-btn:hover,.buy-btn:hover,.info-btn:hover,.hero-secondary:hover{
  border-color:rgba(120,198,255,.48);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04), 0 0 26px rgba(27,140,255,.16), 0 12px 24px rgba(0,0,0,.22);
}

.nav-btn:hover,.nav-btn.active,.discord-btn:hover{
  transform:translateY(-4px) scale(1.03);
}

.nav-btn:active,.discord-btn:active,.hero-cta:active,.hero-secondary:active,.small-btn:active,.buy-btn:active,.info-btn:active,.category-pill:active{
  transform:translateY(-1px) scale(.985);
}

/* =========================================================
   SECCIONES PRINCIPALES
========================================================= */
.hero,.section,.text-page,.store-page{position:relative;z-index:3}

.hero{
  min-height:calc(100vh - 86px);
  display:flex;
  align-items:center;
  overflow:hidden;
}

.hero-home{padding:50px 0 40px}

/* Capas decorativas del hero */
.hero-particles,.hero-glow{
  position:absolute;
  inset:0;
  pointer-events:none
}

.hero-particles{
  background:
    radial-gradient(circle at 18% 22%, rgba(119,211,255,.75) 0 2px, transparent 5px),
    radial-gradient(circle at 28% 55%, rgba(119,211,255,.4) 0 2px, transparent 6px),
    radial-gradient(circle at 65% 33%, rgba(119,211,255,.6) 0 2px, transparent 5px),
    radial-gradient(circle at 80% 65%, rgba(119,211,255,.45) 0 2px, transparent 6px),
    radial-gradient(circle at 12% 78%, rgba(119,211,255,.35) 0 2px, transparent 6px),
    radial-gradient(circle at 90% 25%, rgba(119,211,255,.32) 0 2px, transparent 6px);
  animation:particlesDrift 18s linear infinite alternate;
}

.hero-glow{
  background:radial-gradient(circle at center, rgba(70,145,255,.11), transparent 46%)
}

.hero-inner{
  position:relative;
  width:100%;
  min-height:640px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center
}

.hero-watermark{display:none}
.hero-watermark img{width:min(760px, 72vw);height:auto}

/* Título principal */
.hero-title{
  margin:0;
  font-size:clamp(46px, 5vw, 86px);
  line-height:1.02;
  font-weight:900;
  letter-spacing:1px;
  text-transform:uppercase;
  text-shadow:0 2px 0 rgba(0,0,0,.45), 0 0 18px rgba(0,0,0,.4);
  animation: heroTitleReveal 1.1s cubic-bezier(.22,1,.36,1) both;
}

.hero-title span{
  color:var(--accent);
  text-shadow:0 0 18px rgba(27,140,255,.55),0 0 30px rgba(27,140,255,.18);
  display:inline-block;
  animation: heroAccentGlow 4.8s ease-in-out infinite;
}

/* Subtítulo */
.hero-subtitle{
  max-width:840px;
  margin:20px auto 0;
  color:var(--text-soft);
  font-size:1.08rem;
  line-height:1.7;
  animation: fadeUpSoft 1s .18s cubic-bezier(.22,1,.36,1) both;
}

/* Botones del hero */
.hero-actions{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top:30px;
  animation: fadeUpSoft 1s .32s cubic-bezier(.22,1,.36,1) both;
}

.hero-cta,.hero-secondary{
  text-decoration:none;
  color:#fff;
  font-weight:800;
  border-radius:999px;
  padding:18px 30px;
  transition:
    transform .35s cubic-bezier(.22,1,.36,1),
    box-shadow .35s ease,
    border-color .35s ease,
    background .35s ease,
    filter .35s ease;
}

.hero-cta{
  min-width:min(520px, 92vw);
  background:linear-gradient(180deg, rgba(18,92,222,.28), rgba(2,28,82,.22));
  border:1px solid rgba(119,196,255,.42);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04),0 0 22px rgba(20,163,255,.25),0 0 42px rgba(20,163,255,.1);
  animation: ctaBreath 5.5s ease-in-out infinite;
}

.hero-secondary{
  min-width:auto;
  padding-inline:26px;
  animation: floatMini 6.5s ease-in-out infinite;
}

.hero-cta:hover,.hero-secondary:hover,.small-btn:hover,.buy-btn:hover,.info-btn:hover,.category-pill:hover,.rules-link:hover{
  transform: translateY(-4px) scale(1.02);
  filter: brightness(1.08);
}

.hero-cta:hover{
  box-shadow:0 0 28px rgba(20,163,255,.36),0 0 56px rgba(20,163,255,.18),0 18px 40px rgba(0,0,0,.25)
}

/* =========================================================
   SECCIONES / TITULOS
========================================================= */
.section{padding:30px 0 60px}

.section-heading{
  text-align:center;
  margin-bottom:28px
}

.section-heading.left{text-align:left}

.section-heading h1,.section-heading h2{
  margin:0 0 12px;
  font-size:clamp(32px, 4vw, 58px);
  font-weight:900;
  text-transform:uppercase;
  line-height:1.05;
  animation: fadeUpSoft .9s cubic-bezier(.22,1,.36,1) both;
}

.section-heading p{
  margin:0;
  color:var(--text-soft);
  font-size:1.02rem;
  animation: fadeUpSoft 1s .12s cubic-bezier(.22,1,.36,1) both;
}

/* =========================================================
   TARJETAS GENERALES
========================================================= */
.glass-card{
  background:linear-gradient(180deg, rgba(4,14,32,.88), rgba(5,10,22,.9));
  border:1px solid rgba(91,165,255,.14);
  border-radius:24px;
  box-shadow:0 16px 50px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.02);
  backdrop-filter:blur(10px);
  transition:transform .45s var(--ease-smooth),border-color .35s ease,box-shadow .35s ease,background .35s ease;
}

.glass-card:hover{
  transform:translateY(-8px);
  border-color:rgba(120,198,255,.28);
  box-shadow:0 24px 60px rgba(0,0,0,.34), 0 0 30px rgba(27,140,255,.08), inset 0 0 0 1px rgba(255,255,255,.03);
}

/* Grillas */
.steps-grid,.team-grid,.products-grid{display:grid;gap:24px}
.steps-grid{grid-template-columns:repeat(4, minmax(0, 1fr))}
.team-grid{grid-template-columns:repeat(4, minmax(0, 1fr))}

/* Tarjetas de pasos y equipo */
.step-card,.team-card{
  padding:28px;
  text-align:center;
  transition:
    transform .4s cubic-bezier(.22,1,.36,1),
    box-shadow .4s ease,
    border-color .4s ease,
    background .4s ease;
}
.step-card:hover,.team-card:hover{
  transform: translateY(-8px);
}

.step-icon,.team-avatar{
  width:76px;
  height:76px;
  border-radius:50%;
  margin:0 auto 16px;
  display:grid;
  place-items:center;
  font-size:1.5rem;
  font-weight:900;
  background:linear-gradient(180deg, rgba(39,124,255,.3), rgba(79,57,255,.24));
  border:1px solid rgba(120,198,255,.28);
  box-shadow:0 0 24px rgba(27,140,255,.12);
  transition:transform .35s var(--ease-smooth), box-shadow .35s ease;
}

.step-card:hover .step-icon,.team-card:hover .team-avatar{
  transform:scale(1.08) rotate(-6deg);
  box-shadow:0 0 28px rgba(27,140,255,.28);
}

.step-card h3,.team-card h3{
  margin:0 0 8px;
  font-size:1.75rem;
  font-weight:900
}

.step-card p,.team-card span{
  margin:0;
  color:var(--text-soft);
  line-height:1.7
}

.small-btn{
  display:inline-block;
  margin-top:18px;
  padding:14px 18px;
  border-radius:12px;
  text-decoration:none;
  color:#fff;
  font-weight:800;
  transition:
    transform .35s cubic-bezier(.22,1,.36,1),
    box-shadow .35s ease,
    border-color .35s ease,
    background .35s ease,
    filter .35s ease;
}

.team-card span{display:block;margin-top:6px}

/* =========================================================
   TIENDA / PRODUCTOS
========================================================= */
.store-page{padding:22px 0 60px}

.category-bar{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:28px
}

.category-pill{
  color:#fff;
  padding:14px 22px;
  border-radius:999px;
  font-weight:800;
  cursor:pointer;
  transition:
    transform .35s cubic-bezier(.22,1,.36,1),
    box-shadow .35s ease,
    border-color .35s ease,
    background .35s ease,
    filter .35s ease;
}

.category-pill.active{
  background:linear-gradient(180deg, rgba(34,156,255,.55), rgba(72,55,255,.45))
}

.store-head{margin-bottom:24px}
.store-head h1{
  margin:0 0 10px;
  font-size:2.5rem;
  font-weight:900;
  text-transform:uppercase
}
.store-head p{margin:0;color:var(--text-soft)}

.products-grid{grid-template-columns:repeat(4, minmax(0, 1fr))}

.product-card{
  position:relative;
  min-height:520px;
  padding:28px 20px 26px;
  border-radius:24px;
  background:linear-gradient(180deg, rgba(0,0,0,.94), rgba(5,5,12,.96));
  border:1px solid rgba(65,135,255,.16);
  box-shadow:0 12px 40px rgba(0,0,0,.4), 0 0 30px rgba(27,140,255,.06);
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  transition:
    transform .4s cubic-bezier(.22,1,.36,1),
    box-shadow .4s ease,
    border-color .4s ease,
    background .4s ease;
  animation: fadeUpSoft .9s cubic-bezier(.22,1,.36,1) both;
}

.product-card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(180deg, rgba(255,255,255,.06), transparent 25%, transparent 70%, rgba(27,140,255,.05));
  opacity:0;
  transition:opacity .3s ease;
  pointer-events:none;
}

.product-card:hover{
  transform:translateY(-10px) rotateX(3deg);
  border-color:rgba(120,198,255,.3);
  box-shadow:0 22px 55px rgba(0,0,0,.45), 0 0 35px rgba(27,140,255,.12);
}

.product-card:hover::after{opacity:1}

.product-image{
  width:120px;
  height:120px;
  border-radius:18px;
  margin:20px 0 24px;
  display:grid;
  place-items:center;
  font-weight:900;
  letter-spacing:1px;
  transition:transform .35s var(--ease-smooth), box-shadow .35s ease
}

.placeholder-image{
  background:linear-gradient(180deg, rgba(14,73,167,.7), rgba(17,28,74,.9));
  border:1px solid rgba(103,183,255,.22);
  box-shadow:0 0 25px rgba(27,140,255,.14)
}

.product-card:hover .product-image{
  transform:translateY(-6px) scale(1.06);
  box-shadow:0 0 32px rgba(27,140,255,.22)
}

.product-card h3{
  margin:0 0 14px;
  font-size:2.05rem;
  font-weight:900;
  text-transform:uppercase
}

.price{
  margin:0;
  font-size:1.05rem;
  font-weight:800
}

.subprice{
  margin:12px 0 24px;
  color:var(--text-soft);
  font-weight:700
}

.product-actions{
  margin-top:auto;
  display:grid;
  gap:12px;
  width:100%
}

.buy-btn,.info-btn{
  display:block;
  width:100%;
  padding:14px 18px;
  border-radius:12px;
  text-decoration:none;
  color:#fff;
  font-weight:800;
  text-align:center;
  cursor:pointer;
  transition:
    transform .35s cubic-bezier(.22,1,.36,1),
    box-shadow .35s ease,
    border-color .35s ease,
    background .35s ease,
    filter .35s ease;
}

.info-btn{background:transparent}

.warning-box{
  margin-top:22px;
  padding:18px 20px;
  border-radius:16px;
  background:linear-gradient(180deg, rgba(84,28,19,.82), rgba(71,30,22,.78));
  border:1px solid rgba(255,162,122,.18);
  font-weight:800;
  text-align:center;
  color:#ffd1c3;
  animation:warningPulse 4.2s ease-in-out infinite
}

/* =========================================================
   PÁGINAS DE TEXTO / PROSE
========================================================= */
.text-page{padding:40px 0 70px}

.prose-card{
  padding:30px;
  transition:
    transform .4s cubic-bezier(.22,1,.36,1),
    box-shadow .4s ease,
    border-color .4s ease,
    background .4s ease;
  animation: fadeUpSoft .9s cubic-bezier(.22,1,.36,1) both;
}

.prose-card:hover{
  transform: translateY(-8px);
}

.prose-card h2{margin:0 0 10px;font-size:1.5rem}
.prose-card p{margin:0 0 22px;color:var(--text-soft);line-height:1.8}

/* =========================================================
   REGLAS / SIDEBAR / TABS
========================================================= */
.rules-layout{
  display:grid;
  grid-template-columns:280px minmax(0, 1fr);
  gap:28px;
  align-items:start;
}

.rules-sidebar{
  position:sticky;
  top:118px;
  padding:20px;
}

.rules-sidebar h3{
  margin:0 0 14px;
  font-size:1rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#bfe6ff;
}

.rules-nav{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.rules-link{
  display:block;
  width:100%;
  text-align:left;
  cursor:pointer;
  padding:14px 16px;
  border-radius:16px;
  text-decoration:none;
  font-weight:800;
  color:#fff;
  border:1px solid rgba(126,183,255,.18);
  background:linear-gradient(180deg, rgba(10,38,92,.4), rgba(4,19,48,.28));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.02), 0 0 16px rgba(17,100,255,.05);
  transition:
    transform .35s cubic-bezier(.22,1,.36,1),
    box-shadow .35s ease,
    border-color .35s ease,
    background .35s ease,
    filter .35s ease;
}

.rules-link:hover,
.rules-link.active{
  transform:translateX(6px);
  border-color:rgba(120,198,255,.42);
  background:linear-gradient(180deg, rgba(28,112,235,.45), rgba(6,33,84,.5));
  box-shadow:0 0 24px rgba(27,140,255,.16), 0 12px 24px rgba(0,0,0,.2);
}

.rules-link.active{
  animation: activeTabPulse 2.8s ease-in-out infinite;
}

.rules-content{
  display:grid;
  gap:22px;
}

.rules-section{
  position:relative;
  overflow:hidden;
  padding:28px 30px;
  scroll-margin-top:130px;
  display:none;
  animation:rulesTabFade .35s ease;
  transition:
    transform .4s cubic-bezier(.22,1,.36,1),
    box-shadow .4s ease,
    border-color .4s ease,
    background .4s ease;
}

.rules-section.active{
  display:block;
}

.rules-section:hover{
  transform: translateY(-8px);
}

.rules-section::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:3px;
  background:linear-gradient(90deg, rgba(27,140,255,.95), rgba(100,61,255,.7), transparent);
}

.rules-section + .rules-section{
  margin-top:0;
  padding-top:28px;
  border-top:none;
}

.rules-section h2{
  margin:0 0 16px;
  font-size:2rem;
}

.rules-list{
  margin:0;
  padding-left:24px;
  display:grid;
  gap:12px;
  color:var(--text-soft);
  line-height:1.8;
  list-style:none;
}

.rules-list li{
  margin-bottom:6px;
  padding-left:18px;
  position:relative;
}

.rules-list li::before{
  content:"•";
  position:absolute;
  left:0;
  color:#8ab4ff;
}

.rules-list li strong{
  color:#fff;
}

/* =========================================================
   MODAL
========================================================= */
.modal{
  position:fixed;
  inset:0;
  z-index:50;
  display:none
}

.modal.open{
  display:block;
  animation:fadeIn .25s ease
}

.modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.58);
  backdrop-filter:blur(6px)
}

.modal-content{
  position:relative;
  z-index:2;
  width:min(560px, calc(100% - 28px));
  margin:14vh auto 0;
  padding:28px;
  animation:modalRise .35s var(--ease-smooth)
}

.modal-content h2{margin:0 0 10px;font-size:2rem}
.modal-content p{margin:0;color:var(--text-soft);line-height:1.8}

.modal-close{
  position:absolute;
  top:12px;
  right:14px;
  border:0;
  background:transparent;
  color:#fff;
  font-size:2rem;
  cursor:pointer;
  transition:transform .25s ease,color .25s ease
}

.modal-close:hover{
  transform:rotate(90deg) scale(1.08);
  color:#9fd6ff
}


/* =========================================================
   TYPEWRITER HERO
========================================================= */
.hero-typing{
  max-width: 950px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 1.15rem;
  line-height: 1.8;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  min-height: 70px;
}

.hero-typing #typed-text{
  display: inline;
}

.cursor{
  display: inline-block;
  color: #4da3ff;
  font-weight: 700;
  animation: blink .8s infinite;
}

.title-cursor{
  display:inline-block;
  color:#4da3ff;
  font-weight:900;
  animation: blink .8s infinite;
}

/* =========================================================
   FOOTER
========================================================= */
.site-footer {
  margin-top: auto;
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(to top, #05070d, transparent);
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 2;
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
}

.footer-logo {
  width: 56px;
  height: auto;
  margin-bottom: 14px;
  opacity: 0.95;
}

.footer-text {
  font-size: 15px;
  color: #d7dbe7;
  margin-bottom: 18px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.footer-links a {
  color: #e7ecff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: .25s ease;
}

.footer-links a:hover {
  color: #53a8ff;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  text-decoration: none;
  transition: .25s ease;
}

.footer-socials a:hover {
  transform: translateY(-3px);
  background: rgba(27,140,255,0.22);
  border-color: rgba(83,168,255,0.35);
  box-shadow: 0 0 18px rgba(27,140,255,0.18);
}

.footer-made {
  font-size: 15px;
  color: #f1f4ff;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}

/* =========================================================
   BOTONES ESPECIALES
========================================================= */
.hero-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:16px 34px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  text-transform:uppercase;
  color:#fff;
  background:linear-gradient(180deg, rgba(28,79,255,.28), rgba(28,79,255,.12));
  border:1px solid rgba(120,198,255,.35);
  box-shadow:0 0 25px rgba(27,140,255,.18), inset 0 0 18px rgba(255,255,255,.06);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.hero-button i{
  font-size:1.2rem;
}

.hero-button:hover{
  transform:translateY(-2px);
  box-shadow:0 0 30px rgba(27,140,255,.28), inset 0 0 18px rgba(255,255,255,.08);
  border-color:rgba(120,198,255,.55);
}

/* Botón Discord premium */
.discord-btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:18px 38px;
  border-radius:999px;
  text-decoration:none;
  font-weight:900;
  font-size:1rem;
  letter-spacing:.4px;
  color:#fff;
  white-space:nowrap;
  overflow:hidden;
  isolation:isolate;
  background:linear-gradient(135deg, rgba(20,75,255,.42), rgba(77,153,255,.22));
  border:1px solid rgba(140,210,255,.38);
  box-shadow:
    0 0 18px rgba(27,140,255,.22),
    0 0 34px rgba(27,140,255,.14),
    inset 0 0 16px rgba(255,255,255,.06);
  transition:
    transform .28s cubic-bezier(.22,1,.36,1),
    box-shadow .28s ease,
    border-color .28s ease,
    filter .28s ease,
    background .28s ease;
  animation:discordFloat 3.6s ease-in-out infinite, discordPulse 2.8s ease-in-out infinite;
}

.discord-btn span,
.discord-btn i,
.discord-btn svg{
  position:relative;
  z-index:3;
}

.discord-btn::after{
  content:"";
  position:absolute;
  inset:2px;
  border-radius:inherit;
  background:linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0) 40%, rgba(255,255,255,.04));
  opacity:.9;
  z-index:0;
  pointer-events:none;
}

.discord-btn::before{
  content:"";
  position:absolute;
  top:-60%;
  left:-140%;
  width:70%;
  height:220%;
  background:linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.05) 20%,
    rgba(255,255,255,.40) 48%,
    rgba(255,255,255,.10) 62%,
    transparent 100%
  );
  transform:rotate(18deg);
  z-index:2;
  transition:left .8s ease;
  pointer-events:none;
}

.discord-btn .btn-glow{
  position:absolute;
  inset:-8px;
  border-radius:999px;
  background:radial-gradient(circle at center, rgba(65,165,255,.24), transparent 65%);
  opacity:.55;
  filter:blur(12px);
  z-index:0;
  pointer-events:none;
  transition:opacity .28s ease, transform .28s ease;
}

.discord-btn .btn-spark{
  position:absolute;
  width:6px;
  height:6px;
  border-radius:50%;
  background:rgba(180,230,255,.95);
  box-shadow:0 0 12px rgba(120,210,255,.75);
  opacity:0;
  pointer-events:none;
  z-index:1;
}

.discord-btn .spark-1{top:22%; left:14%;}
.discord-btn .spark-2{top:68%; left:24%;}
.discord-btn .spark-3{top:30%; right:18%;}
.discord-btn .spark-4{bottom:22%; right:28%;}

.discord-btn i,
.discord-btn svg{
  font-size:1.15rem;
  transition:transform .28s ease, filter .28s ease;
  filter:drop-shadow(0 0 8px rgba(255,255,255,.18));
}

.discord-btn:hover{
  transform:translateY(-6px) scale(1.06);
  border-color:rgba(180,235,255,.85);
  background:linear-gradient(135deg, rgba(30,95,255,.56), rgba(90,180,255,.30));
  filter:brightness(1.08);
  box-shadow:
    0 0 24px rgba(27,140,255,.34),
    0 0 54px rgba(27,140,255,.24),
    0 16px 36px rgba(0,0,0,.30),
    inset 0 0 20px rgba(255,255,255,.08);
}

.discord-btn:hover::before{
  left:155%;
}

.discord-btn:hover i,
.discord-btn:hover svg{
  transform:scale(1.16) rotate(8deg);
  filter:drop-shadow(0 0 12px rgba(255,255,255,.34));
}

.discord-btn:hover .btn-glow{
  opacity:.9;
  transform:scale(1.08);
}

.discord-btn:hover .spark-1{animation:sparkMove1 .9s ease-in-out infinite;}
.discord-btn:hover .spark-2{animation:sparkMove2 1.1s ease-in-out infinite;}
.discord-btn:hover .spark-3{animation:sparkMove3 1s ease-in-out infinite;}
.discord-btn:hover .spark-4{animation:sparkMove4 1.2s ease-in-out infinite;}

.discord-btn:active{
  transform:translateY(-1px) scale(.97);
  box-shadow:
    0 0 18px rgba(27,140,255,.28),
    0 8px 18px rgba(0,0,0,.24),
    inset 0 0 12px rgba(255,255,255,.06);
}

/* =========================================================
   TEAM AVATAR CON IMAGEN
========================================================= */
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  background: #0a1a2f;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================================
   CTA DISCORD EN HERO
========================================================= */
.hero-cta-discord{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
}

.hero-cta-icon{
  width:22px;
  height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  filter:drop-shadow(0 0 10px rgba(255,255,255,.12));
}

.hero-cta-icon svg{
  width:100%;
  height:100%;
  display:block;
}

   EFECTOS EXTRA
========================================================= */
.crown {
  display: inline-block;
  color: #ffd86b;
  font-size: 16px;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(255, 209, 84, 0.55));
  animation: crownRotateGlow 2.8s linear infinite;
  transform-origin: center;
}

.developer-link {
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  animation: developerGlow 2.8s ease-in-out infinite;
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}

.developer-link:hover {
  color: #8ab4ff;
  text-shadow: 0 0 8px rgba(138, 180, 255, 0.8), 0 0 18px rgba(138, 180, 255, 0.32);
  transform: translateY(-2px) scale(1.03);
}

.rules-block {
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.rules-block h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.rules-block.important {
  border: 1px solid rgba(255, 80, 80, 0.3);
  background: rgba(255, 80, 80, 0.05);
}

.rule-block {
  background: rgba(8, 20, 45, 0.78);
  border: 1px solid rgba(90, 140, 255, 0.18);
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.rule-block h3 {
  margin: 0 0 14px 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
}

.rule-block ul {
  margin: 0;
  padding-left: 20px;
}

.rule-block ul li {
  margin-bottom: 12px;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
}

.rule-block ul li:last-child {
  margin-bottom: 0;
}

/* =========================================================
   BOTONES EMS
========================================================= */
.ems-top-actions {
  width: 100%;
  margin-bottom: 18px;
}

.ems-main-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(90deg, #1ec8ff, #1f7cff, #1ec8ff);
  background-size: 200%;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.25);
  transition: all 0.3s ease;
  animation: gradientMove 4s linear infinite;
}

.ems-main-btn::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 200%;
  background: rgba(255,255,255,0.25);
  top: -50%;
  left: -120px;
  transform: rotate(25deg);
  transition: 0.5s;
}

.ems-main-btn:hover::before {
  left: 120%;
}

.ems-main-btn:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 15px 40px rgba(0, 102, 255, 0.45);
}

.ems-secondary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}

.ems-mini-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 70px;
  padding: 0 14px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(135deg, rgba(80,120,255,0.25), rgba(30,60,180,0.15));
  border: 1px solid rgba(140,180,255,0.25);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  overflow: hidden;
  animation: floatBtn 3s ease-in-out infinite;
}

.ems-mini-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: 0.4s;
}

.ems-mini-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 80, 255, 0.3);
  border-color: rgba(180,210,255,0.5);
}

.ems-mini-btn:hover::before {
  opacity: 1;
  animation: shine 1.2s linear;
}

/* =========================================================
   LIMPIEZA VISUAL GLOBAL
   OJO: esto elimina TODOS los bordes de toda la web
========================================================= */
* {
  border: none !important;
}

hr {
  display: none !important;
}

/* =========================================================
   KEYFRAMES / ANIMACIONES
========================================================= */
@keyframes ambientShift{
  0%{transform:translate3d(0,0,0) scale(1)}
  100%{transform:translate3d(2%, -1.5%, 0) scale(1.06)}
}

@keyframes particlesDrift{
  0%{transform:translateY(0) translateX(0)}
  100%{transform:translateY(16px) translateX(-12px)}
}

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

@keyframes accentGlow{
  0%,100%{text-shadow:0 0 18px rgba(27,140,255,.42),0 0 30px rgba(27,140,255,.12)}
  50%{text-shadow:0 0 24px rgba(27,140,255,.65),0 0 42px rgba(27,140,255,.24)}
}

@keyframes navPulse{
  0%,100%{
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.02),0 0 18px rgba(15,108,255,.08);
  }
  50%{
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.04),0 0 26px rgba(20,163,255,.16);
  }
}

@keyframes ctaFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-6px)}
}

@keyframes warningPulse{
  0%,100%{box-shadow:0 0 0 rgba(255,120,80,0)}
  50%{box-shadow:0 0 20px rgba(255,120,80,.12)}
}

@keyframes fadeIn{
  from{opacity:0}
  to{opacity:1}
}

@keyframes modalRise{
  from{opacity:0;transform:translateY(24px) scale(.96)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

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

@keyframes blink{
  0%, 50%{ opacity: 1; }
  51%, 100%{ opacity: 0; }
}

@keyframes logoPulseMove {
  0% { transform: translateY(8px) scale(1); }
  50% { transform: translateY(-6px) scale(1.05); }
  100% { transform: translateY(8px) scale(1); }
}

@keyframes headerFadeIn{
  from{opacity:0; transform:translateY(-18px)}
  to{opacity:1; transform:translateY(0)}
}

@keyframes heroTitleReveal{
  0%{opacity:0; transform:translateY(30px) scale(.97)}
  100%{opacity:1; transform:translateY(0) scale(1)}
}

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

@keyframes heroAccentGlow{
  0%,100%{text-shadow:0 0 10px rgba(33,150,255,.18), 0 0 22px rgba(33,150,255,.08)}
  50%{text-shadow:0 0 16px rgba(33,150,255,.34), 0 0 36px rgba(33,150,255,.16)}
}

@keyframes ctaBreath{
  0%,100%{transform:translateY(0) scale(1)}
  50%{transform:translateY(-2px) scale(1.015)}
}

@keyframes floatMini{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-4px)}
}

@keyframes activeTabPulse{
  0%,100%{box-shadow:0 0 0 rgba(27,140,255,0), 0 0 20px rgba(27,140,255,.10)}
  50%{box-shadow:0 0 14px rgba(27,140,255,.18), 0 0 24px rgba(27,140,255,.16)}
}

@keyframes overlayTwinkle{
  0%{opacity:.30}
  50%{opacity:.42}
  100%{opacity:.30}
}

@keyframes ringGlow{
  0%{box-shadow:0 0 0 0 rgba(85,180,255,.22)}
  70%{box-shadow:0 0 0 12px rgba(85,180,255,0)}
  100%{box-shadow:0 0 0 0 rgba(85,180,255,0)}
}

@keyframes logoFloatEnhanced{
  0%,100%{transform:translate3d(0,0,0) rotate(0deg)}
  25%{transform:translate3d(0,-4px,0) rotate(-1deg)}
  50%{transform:translate3d(0,-6px,0) rotate(0deg)}
  75%{transform:translate3d(0,-3px,0) rotate(1deg)}
}

@keyframes bgLogoDrift{
  0%{transform:translate3d(0,6px,0) scale(1)}
  50%{transform:translate3d(0,-8px,0) scale(1.03)}
  100%{transform:translate3d(0,6px,0) scale(1)}
}

@keyframes discordFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-3px)}
}

@keyframes discordPulse{
  0%,100%{
    box-shadow:
      0 0 18px rgba(27,140,255,.22),
      0 0 34px rgba(27,140,255,.14),
      inset 0 0 16px rgba(255,255,255,.06);
  }
  50%{
    box-shadow:
      0 0 26px rgba(27,140,255,.30),
      0 0 52px rgba(27,140,255,.18),
      inset 0 0 18px rgba(255,255,255,.08);
  }
}

@keyframes sparkMove1{
  0%{opacity:0; transform:translate(0,0) scale(.7)}
  50%{opacity:1}
  100%{opacity:0; transform:translate(10px,-10px) scale(1.2)}
}

@keyframes sparkMove2{
  0%{opacity:0; transform:translate(0,0) scale(.7)}
  50%{opacity:1}
  100%{opacity:0; transform:translate(8px,8px) scale(1.1)}
}

@keyframes sparkMove3{
  0%{opacity:0; transform:translate(0,0) scale(.7)}
  50%{opacity:1}
  100%{opacity:0; transform:translate(-10px,-8px) scale(1.2)}
}

@keyframes sparkMove4{
  0%{opacity:0; transform:translate(0,0) scale(.7)}
  50%{opacity:1}
  100%{opacity:0; transform:translate(-8px,10px) scale(1.15)}
}

@keyframes gradientMove {
  0% { background-position: 0% }
  100% { background-position: 200% }
}

@keyframes shine {
  0% { transform: translateX(-100%) }
  100% { transform: translateX(100%) }
}

@keyframes floatBtn {
  0%, 100% { transform: translateY(0px) }
  50% { transform: translateY(-3px) }
}

@keyframes girar3D {
  0% {
    transform: rotateY(0deg) rotateX(0deg);
  }
  50% {
    transform: rotateY(180deg) rotateX(15deg);
  }
  100% {
    transform: rotateY(360deg) rotateX(0deg);
  }
}

@keyframes crownRotateGlow {
  0% {
    transform: rotate(0deg) scale(1);
    filter: drop-shadow(0 0 8px rgba(255, 209, 84, 0.38));
  }
  50% {
    transform: rotate(180deg) scale(1.08);
    filter: drop-shadow(0 0 14px rgba(255, 209, 84, 0.72));
  }
  100% {
    transform: rotate(360deg) scale(1);
    filter: drop-shadow(0 0 8px rgba(255, 209, 84, 0.38));
  }
}

@keyframes developerGlow {
  0%, 100% {
    transform: translateY(0);
    text-shadow: 0 0 6px rgba(255,255,255,0.18), 0 0 14px rgba(83, 168, 255, 0.12);
  }
  50% {
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(255,255,255,0.42), 0 0 22px rgba(83, 168, 255, 0.24);
  }
}

/* =========================================================
   DELAYS PARA TARJETAS
========================================================= */
.step-card:nth-child(1), .product-card:nth-child(1), .team-card:nth-child(1){ animation-delay:.05s; }
.step-card:nth-child(2), .product-card:nth-child(2), .team-card:nth-child(2){ animation-delay:.12s; }
.step-card:nth-child(3), .product-card:nth-child(3), .team-card:nth-child(3){ animation-delay:.2s; }
.step-card:nth-child(4), .product-card:nth-child(4), .team-card:nth-child(4){ animation-delay:.28s; }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1180px){
  .products-grid{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .team-grid{grid-template-columns:repeat(2, minmax(0, 1fr))}
}

@media (max-width: 980px){
  .nav{padding:18px 0;flex-direction:column}
  .hero-inner{min-height:560px}
  .steps-grid{grid-template-columns:1fr}
  .rules-layout{grid-template-columns:1fr}
  .rules-sidebar{position:relative;top:0}
}

@media (max-width: 768px) {
  .site-footer {
    padding: 50px 16px;
  }

  .footer-links {
    gap: 12px;
  }

  .footer-links a {
    font-size: 14px;
  }

  .footer-text,
  .footer-made,
  .footer-copy {
    font-size: 14px;
  }

  .ems-secondary-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  .container,.narrow{width:min(100% - 24px, 1280px)}
  .nav-menu{gap:10px}
  .nav-btn,.discord-btn{width:100%;text-align:center}
  .hero-title{font-size:clamp(38px, 11vw, 54px)}
  .hero-cta,.hero-secondary{width:100%;min-width:unset}
  .products-grid,.team-grid{grid-template-columns:1fr}
  .product-card{min-height:auto}
  .category-bar{gap:10px}
  .category-pill{width:100%}
  .product-card h3{font-size:1.7rem}
  .rules-sidebar{padding:22px}
  .rules-section{padding:24px 22px}
  .rules-section h2{font-size:1.55rem}
}

/* =========================================================
   REDUCCIÓN DE MOVIMIENTO PARA USUARIOS QUE LO PREFIEREN
========================================================= */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
  }


  .site-header,.nav-logo img,.hero-title,.hero-title span,.hero-subtitle,.hero-actions,
  .hero-cta,.hero-secondary,.glass-card,.prose-card,.product-card,.step-card,.team-card,
  .rules-section,.section-heading h2,.section-heading p,.rules-link.active,.page-overlay,.page-bg::before{
    animation:none !important;
  }
}


[data-aos] {
  opacity: 0;
  transform: translateY(40px);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos] {
  transition-timing-function: cubic-bezier(.22, 1, .36, 1) !important;
}

/* =========================
   BOTÓN DISCORD PRO
========================= */

.pro-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  overflow: hidden;

  background: linear-gradient(135deg, #1b8cff, #0066ff);
  box-shadow: 0 0 25px rgba(0,140,255,0.25);

  transition: all .35s cubic-bezier(.22,1,.36,1);
}

/* glow interno */
.pro-btn .btn-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.2), transparent 60%);
  opacity: 0;
  transition: .4s;
}

/* capa fondo animada */
.pro-btn .btn-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: 0.6s;
}

/* hover */
.pro-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 40px rgba(0,140,255,0.45);
}

.pro-btn:hover .btn-glow {
  opacity: 1;
}

.pro-btn:hover .btn-bg {
  transform: translateX(100%);
}

/* =========================
   PARTÍCULAS
========================= */

.btn-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #7dc7ff;
  border-radius: 50%;
  opacity: 0;
}

/* posiciones */
.p1 { top: 20%; left: 20%; }
.p2 { top: 70%; left: 30%; }
.p3 { top: 30%; right: 20%; }
.p4 { bottom: 20%; right: 30%; }

/* animación hover */
.pro-btn:hover .btn-particle {
  animation: floatParticle 1.2s ease forwards;
}

@keyframes floatParticle {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-20px) scale(1.2);
  }
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Esto obliga a que los saltos de línea del data-description se respeten */
#modal-description {
    white-space: pre-line;
    display: block;
    line-height: 1.8; /* Un poquito de espacio entre líneas para que sea "lindo" */
    text-align: left;  /* Alineado a la izquierda para las listas */
    padding: 10px;
}


/* Esto le da estilo al texto del modal */
.modal-content p {
    line-height: 1.8; /* Separa un poco las líneas */
    text-align: left; /* Alinea a la izquierda para que la lista quede prolija */
    font-family: sans-serif;
    padding: 10px 0;
}

/* Técnica mágica para forzar saltos de línea desde el texto */
.modal-content p {
    white-space: pre-line;
    line-height: 1.8;
    text-align: left;
    padding: 10px;
    display: block;
}

/* Si tu JS inyecta el texto en un elemento con ID modal-description */
#modal-description {
    white-space: pre-wrap !important;
}



@keyframes glowText {
    0% {
        text-shadow: 0 0 5px rgba(255,255,255,0.4),
                     0 0 10px rgba(255,255,255,0.2),
                     0 0 15px rgba(255,255,255,0.1);
    }
    50% {
        text-shadow: 0 0 10px rgba(255,255,255,0.9),
                     0 0 20px rgba(255,255,255,0.7),
                     0 0 30px rgba(255,255,255,0.5);
    }
    100% {
        text-shadow: 0 0 5px rgba(255,255,255,0.4),
                     0 0 10px rgba(255,255,255,0.2),
                     0 0 15px rgba(255,255,255,0.1);
    }
}

@keyframes glowButton {
    0% {
        box-shadow: 0 0 8px rgba(255,255,255,0.25),
                    0 0 16px rgba(255,255,255,0.15),
                    inset 0 0 4px rgba(255,255,255,0.05);
    }
    50% {
        box-shadow: 0 0 18px rgba(255,255,255,0.8),
                    0 0 30px rgba(255,255,255,0.5),
                    inset 0 0 8px rgba(255,255,255,0.1);
    }
    100% {
        box-shadow: 0 0 8px rgba(255,255,255,0.25),
                    0 0 16px rgba(255,255,255,0.15),
                    inset 0 0 4px rgba(255,255,255,0.05);
    }
}

.vip-price-usd {
    color: #ffffff;
    font-weight: 700;
    font-size: 20px;
    animation: glowText 2s ease-in-out infinite;
}

.vip-buy-btn {
    position: relative;
    overflow: hidden;
    animation: glowButton 2s ease-in-out infinite;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vip-buy-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 22px rgba(255,255,255,0.9),
                0 0 40px rgba(255,255,255,0.6);
}

.vip-buy-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 45%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.35),
        transparent
    );
    transform: skewX(-20deg);
    animation: shineMove 2.2s linear infinite;
}

@keyframes shineMove {
    0% { left: -75%; }
    100% { left: 130%; }
}


.logo-vips {
        /* Color base por si falta la variable */
        --glow-color: rgba(255, 255, 255, 0.6);
        filter: brightness(1.04);
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.22s ease;
        will-change: transform;
        cursor: pointer;
    }

    .logo-vips:hover {
        transform: scale(1.15) translateY(-10px);
        /* Aquí ocurre la magia: usa el color que le des en el HTML */
        filter: drop-shadow(0 0 22px var(--glow-color)) brightness(1.14) !important;
    }


/* =========================
   FIX FOOTER SIEMPRE ABAJO
========================= */

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.store-page {
  flex: 1;
}


.site-footer {
  margin-top: auto;
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(to top, #05070d, transparent);
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 2;
  animation: footerPremiumIn 1.1s cubic-bezier(.22,1,.36,1);
}

@keyframes footerPremiumIn {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }
  60% {
    opacity: 1;
    transform: translateY(-4px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =========================================================
   HOME REFRESH
========================================================= */
.home-hero{
  min-height:calc(100vh - 86px);
}

.hero-title-home{
  max-width:none;
  white-space:nowrap;
  font-size:clamp(42px, 5.8vw, 102px);
  margin-inline:auto;
}

.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 16px;
  margin-bottom:18px;
  border-radius:999px;
  background:rgba(7, 21, 48, 0.72);
  border:1px solid rgba(117, 192, 255, 0.22);
  box-shadow:0 14px 40px rgba(0,0,0,.2);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.75rem;
  font-weight:800;
  color:#cfe8ff;
}

.hero-kicker-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:linear-gradient(180deg, #7ed2ff, #1b8cff);
  box-shadow:0 0 16px rgba(39, 158, 255, .55);
}

.hero-subtitle-home{
  max-width:820px;
  margin:18px auto 0;
  font-size:1.08rem;
  line-height:1.8;
}

.hero-badges{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
  margin-top:22px;
}

.hero-badge{
  padding:12px 18px;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(15,45,100,.7), rgba(7,20,49,.74));
  border:1px solid rgba(118, 191, 255, .18);
  font-weight:700;
  color:#eef7ff;
  box-shadow:0 10px 28px rgba(0,0,0,.18);
}

.hero-typing-home{
  min-height:38px;
  max-width:860px;
  margin:22px auto 0;
  color:rgba(255,255,255,.84);
  font-weight:600;
  line-height:1.6;
  text-align:center;
}

.hero-actions-home{
  margin-top:28px;
  justify-content:center;
}

.hero-secondary-home{
  min-width:220px;
  text-align:center;
}

.pro-btn{
  min-width:390px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  position:relative;
  padding-top:14px;
  padding-bottom:14px;
  padding-left:28px;
  padding-right:28px;
  text-align:center;
}

.pro-btn-content{
  display:grid;
  grid-template-columns:20px auto 20px;
  align-items:center;
  column-gap:12px;
  width:max-content;
  transform:translateX(-6px);
}

.pro-btn-content::after{
  content:"";
  display:block;
  width:20px;
  height:20px;
}

.pro-btn-content i{
  font-size:18px;
  line-height:1;
}

.pro-btn-label{
  display:block;
  text-align:center;
}

.home-metrics{
  padding-top:8px;
}

.home-metrics-grid,
.home-panels-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
}

.metric-card,
.home-panel{
  padding:28px;
  min-height:100%;
}

.metric-label,
.home-panel-tag{
  display:inline-block;
  margin-bottom:12px;
  font-size:.78rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#9fd5ff;
}

.metric-card strong,
.home-panel h3{
  display:block;
  margin-bottom:12px;
  font-size:1.55rem;
  line-height:1.2;
}

.metric-card p,
.home-panel p{
  margin:0;
  color:var(--text-soft);
  line-height:1.8;
}

.home-panel .small-btn{
  margin-top:20px;
}

.team-section .section-heading p{
  max-width:780px;
  margin-inline:auto;
}

.section-heading p{
  max-width:760px;
  margin-inline:auto;
}

@media (max-width: 980px){
  .home-metrics-grid,
  .home-panels-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 640px){
  .hero-kicker{
    font-size:.68rem;
    letter-spacing:.08em;
  }

  .hero-badges{
    gap:10px;
  }

  .hero-badge{
    width:100%;
    text-align:center;
  }

  .hero-title-home{
    white-space:normal;
    font-size:clamp(38px, 11vw, 54px);
  }

  .pro-btn{
    min-width:unset;
    width:100%;
  }
}

/* =========================================================
   STORE REFRESH
========================================================= */
.store-hero{
  padding:32px;
  margin-bottom:26px;
  text-align:center;
}

.store-hero-tag{
  display:inline-block;
  margin-bottom:14px;
  padding:10px 16px;
  border-radius:999px;
  background:rgba(11, 34, 78, 0.72);
  border:1px solid rgba(120, 198, 255, 0.22);
  color:#cce8ff;
  font-weight:800;
  font-size:.78rem;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.store-hero h1{
  margin:0 0 14px;
  font-size:clamp(34px, 4vw, 58px);
  line-height:1.05;
}

.store-hero p{
  max-width:760px;
  margin:0 auto;
  color:var(--text-soft);
  line-height:1.8;
}

.store-logo-shell{
  width:100%;
  min-height:168px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.paypal-btn{
  background:linear-gradient(180deg, rgba(0, 91, 186, 0.88), rgba(0, 48, 135, 0.92)) !important;
  border:1px solid rgba(112, 184, 255, 0.38) !important;
}

.paypal-btn i{
  margin-right:8px;
}

.mp-buy-btn i{
  margin-right:8px;
}

#modalDescription p{
  margin:0 0 2px;
  color:var(--text-soft);
  line-height:1.28;
  text-align:left;
}

#modalDescription p:last-child{
  margin-bottom:0;
}

/* =========================================================
   MODAL FIX FINAL
========================================================= */
.modal-content{
  max-height:calc(100vh - 56px);
  margin:28px auto !important;
  padding:24px 24px 20px !important;
  overflow:auto;
}

.modal-content h2{
  margin:0 0 14px !important;
}

#modalDescription{
  padding:0 !important;
}

#modalDescription p{
  margin:0 0 4px !important;
  padding:0 !important;
  line-height:1.35 !important;
  white-space:normal !important;
  font-size:1rem !important;
  text-align:left !important;
}
