/* =========================================================
   SkyfallMC — styles.css
   Tema: piratas del cielo · islas flotantes · atardecer
   ========================================================= */

:root {
  /* Paleta basada en el logo */
  --night:      #0a1730;
  --deep:       #0e2347;
  --blue:       #14376e;
  --sky:        #2a6bc4;
  --cyan:       #5ec6e8;
  --gold:       #f5b942;
  --gold-soft:  #ffd877;
  --bronze:     #b9772e;
  --sunset:     #ff8a4c;
  --ember:      #ff5e62;
  --cloud:      #e7f0fb;
  --text:       #eaf2ff;
  --text-dim:   #a9bcd8;
  --line:       rgba(255, 255, 255, 0.10);
  --card:       rgba(16, 35, 71, 0.55);
  --card-solid: #102648;

  --radius:   18px;
  --radius-lg: 26px;
  --shadow:  0 20px 60px -15px rgba(0, 0, 0, 0.55);
  --glow-gold: 0 0 0 1px rgba(245, 185, 66, 0.35), 0 12px 40px -8px rgba(245, 185, 66, 0.35);

  --font-display: 'Cinzel', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--night);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* =========================================================
   Fondo animado (cielo, nubes, islas, estrellas)
   ========================================================= */
.sky-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 75% -10%, rgba(255, 138, 76, 0.35), transparent 45%),
    radial-gradient(140% 100% at 15% 0%, rgba(94, 198, 232, 0.18), transparent 50%),
    linear-gradient(180deg, #071126 0%, #0a1d3d 35%, #0e2347 60%, #0a1730 100%);
}

.glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(255, 178, 92, 0.30), transparent 60%);
  filter: blur(20px);
  animation: glowPulse 9s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.08); }
}

.stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, #fff, transparent),
    radial-gradient(1px 1px at 60% 20%, #cfe5ff, transparent),
    radial-gradient(1.5px 1.5px at 80% 40%, #fff, transparent),
    radial-gradient(1px 1px at 40% 60%, #bcd4ff, transparent),
    radial-gradient(1px 1px at 90% 70%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 12% 75%, #e7f0ff, transparent),
    radial-gradient(1px 1px at 50% 85%, #fff, transparent);
  opacity: 0.6;
  animation: twinkle 5s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: 0.35; } to { opacity: 0.7; } }

.cloud {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(231, 240, 251, 0.16), transparent 70%);
  filter: blur(8px);
  animation: drift linear infinite;
}
.cloud--1 { width: 420px; height: 180px; top: 12%; left: -15%; animation-duration: 70s; }
.cloud--2 { width: 320px; height: 140px; top: 38%; left: -20%; animation-duration: 95s; animation-delay: -20s; }
.cloud--3 { width: 500px; height: 220px; top: 62%; left: -25%; animation-duration: 120s; animation-delay: -50s; }
.cloud--4 { width: 260px; height: 120px; top: 80%; left: -15%; animation-duration: 85s; animation-delay: -35s; }
@keyframes drift {
  from { transform: translateX(0); }
  to   { transform: translateX(135vw); }
}

.island {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.5;
  animation: float 8s ease-in-out infinite;
  filter: drop-shadow(0 30px 30px rgba(0,0,0,0.4));
}
.island::before {
  /* islita estilizada con CSS */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 30%, #4c8c3a, #2f5d24 60%, transparent 62%),
    radial-gradient(ellipse 50% 55% at 50% 70%, #6b4a2a, #3c2a16 70%, transparent 72%);
  border-radius: 50%;
}
.island--a { width: 130px; height: 90px; top: 22%; right: 8%;  animation-delay: 0s; }
.island--b { width: 90px;  height: 64px; top: 55%; left: 6%;   animation-delay: -2.5s; opacity: 0.35; }
.island--c { width: 70px;  height: 50px; top: 70%; right: 16%; animation-delay: -4s; opacity: 0.3; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-22px); }
}

@media (prefers-reduced-motion: reduce) {
  .cloud, .island, .glow, .stars, .hero__logo { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Botones
   ========================================================= */
.btn {
  --pad-y: 0.7rem; --pad-x: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--pad-y) var(--pad-x);
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
  font-family: var(--font-body);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--lg { --pad-y: 0.95rem; --pad-x: 1.7rem; font-size: 1.02rem; border-radius: 14px; }
.btn--block { width: 100%; }

.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--sunset) 100%);
  color: #2a1500;
  box-shadow: var(--glow-gold);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(245,185,66,0.6), 0 16px 50px -10px rgba(255,138,76,0.6); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: rgba(94,198,232,0.6); background: rgba(94,198,232,0.10); transform: translateY(-2px); }

.btn--discord {
  background: #5865F2;
  color: #fff;
}
.btn--discord:hover { background: #4a57e0; transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(88,101,242,0.8); }

/* =========================================================
   Navbar
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 0.55rem 0;
}
.nav.scrolled {
  background: rgba(8, 18, 38, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(0,0,0,0.8);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__brand { display: flex; align-items: center; gap: 0.6rem; }
.nav__logo { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5)); }
.nav__brand-text { font-family: var(--font-display); font-weight: 900; font-size: 1.25rem; letter-spacing: 0.5px; }
.nav__brand-text span { color: var(--gold); }

.nav__links { display: flex; gap: 0.4rem; }
.nav__links a {
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-dim);
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.nav__actions { display: flex; align-items: center; gap: 0.6rem; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav__burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.25s; }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.3rem 4rem;
}
.hero__content { max-width: 820px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 1.8rem;
}
.hero__badge span#heroOnline { color: var(--gold-soft); font-weight: 800; }
.hero__pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3ade7a;
  box-shadow: 0 0 0 0 rgba(58,222,122,0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(58,222,122,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(58,222,122,0); }
  100% { box-shadow: 0 0 0 0 rgba(58,222,122,0); }
}

.hero__logo {
  width: min(540px, 90%);
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 24px 50px rgba(0,0,0,0.55));
  animation: float 6s ease-in-out infinite;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: 0.5px;
  text-shadow: 0 6px 30px rgba(0,0,0,0.5);
}
.hero__title span {
  background: linear-gradient(120deg, var(--gold-soft), var(--sunset) 60%, var(--ember));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  margin: 1.3rem auto 0;
  max-width: 620px;
  font-size: 1.12rem;
  color: var(--text-dim);
}
.hero__subtitle strong { color: var(--text); }

/* IP copy */
.hero__ip {
  margin: 2rem auto 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.hero__ip-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
  font-weight: 700;
}
.ip-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1rem 0.75rem 1.3rem;
  border: 1px dashed rgba(245,185,66,0.5);
  border-radius: 14px;
  background: rgba(245,185,66,0.07);
  color: var(--text);
  cursor: pointer;
  font-family: 'Courier New', monospace;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: 0.2s;
}
.ip-copy:hover { border-color: var(--gold); background: rgba(245,185,66,0.14); transform: translateY(-1px); }
.ip-copy__icon { display: inline-flex; color: var(--gold-soft); transition: transform 0.2s; }
.ip-copy:hover .ip-copy__icon { transform: scale(1.12); }
.ip-copy.copied { border-color: #3ade7a; background: rgba(58,222,122,0.12); }
.ip-copy__hint { font-size: 0.78rem; color: var(--text-dim); }
.ip-copy--sm { font-size: 0.98rem; padding: 0.55rem 0.7rem 0.55rem 0.9rem; }

.hero__cta {
  margin-top: 2rem;
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__platforms {
  margin-top: 1.8rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.hero__platforms strong { color: var(--cyan); }
.hero__platforms span:first-child { opacity: 0.7; }

/* =========================================================
   Aviso del hero (IP próximamente)
   ========================================================= */
.hero__notice {
  margin: 2rem auto 0;
  max-width: 540px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.2rem;
  border: 1px solid rgba(245,185,66,0.35);
  border-radius: 14px;
  background: rgba(245,185,66,0.08);
  color: var(--text-dim);
  font-size: 0.95rem;
  text-align: left;
}
.hero__notice-icon { font-size: 1.3rem; flex-shrink: 0; }

/* =========================================================
   Roadmap / Estado del proyecto
   ========================================================= */
.roadmap {
  position: relative;
  padding: 0 1.3rem;
  margin-top: -2rem;
}
.roadmap__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.8rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.road-step {
  position: relative;
  text-align: center;
  padding: 1rem 0.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.road-step__state {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  margin-bottom: 0.6rem;
  background: rgba(255,255,255,0.08);
  color: var(--text-dim);
}
.road-step__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}
.road-step__desc { display: block; font-size: 0.82rem; color: var(--text-dim); margin-top: 0.2rem; }

.road-step--done { border-color: rgba(58,222,122,0.4); background: rgba(58,222,122,0.06); }
.road-step--done .road-step__state { background: rgba(58,222,122,0.18); color: #6ff0a0; }
.road-step--done .road-step__state::before { content: "✓ "; }

.road-step--now { border-color: rgba(245,185,66,0.5); background: rgba(245,185,66,0.08); }
.road-step--now .road-step__state {
  background: rgba(245,185,66,0.2);
  color: var(--gold-soft);
  animation: pulseTag 2s ease-in-out infinite;
}
@keyframes pulseTag { 0%,100% { opacity: 1; } 50% { opacity: 0.55; } }

/* =========================================================
   Secciones genéricas
   ========================================================= */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 6rem 1.3rem;
}
.section__head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section__kicker {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.1;
}
.section__lead { margin-top: 1rem; color: var(--text-dim); font-size: 1.08rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Modos de juego
   ========================================================= */
.modes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.mode-card {
  position: relative;
  padding: 1.8rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.mode-card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% -20%, rgba(94,198,232,0.14), transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.mode-card:hover { transform: translateY(-6px); border-color: rgba(94,198,232,0.45); box-shadow: var(--shadow); }
.mode-card:hover::after { opacity: 1; }
.mode-card__icon { font-size: 2.6rem; margin-bottom: 0.8rem; }
.mode-card h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.mode-card p { margin-top: 0.5rem; color: var(--text-dim); font-size: 0.96rem; }
.mode-card__players {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  background: rgba(94,198,232,0.12);
}
.mode-card--feature {
  grid-row: span 1;
  border-color: rgba(245,185,66,0.4);
  background: linear-gradient(160deg, rgba(245,185,66,0.10), var(--card) 60%);
}
.mode-card__tag {
  position: absolute; top: 1.2rem; right: 1.2rem;
  font-size: 0.72rem; font-weight: 800;
  color: var(--gold-soft);
  background: rgba(245,185,66,0.15);
  padding: 0.2rem 0.6rem; border-radius: 100px;
}

/* Survival único (modo destacado) */
.modes__solo { max-width: 680px; margin: 0 auto; }
.mode-card--hero {
  text-align: center;
  padding: 2.6rem 2.2rem;
}
.mode-card--hero .mode-card__icon { font-size: 3.4rem; }
.mode-card--hero h3 { font-size: 1.8rem; }
.mode-card--hero p { max-width: 460px; margin-left: auto; margin-right: auto; }
.mode-card__list {
  list-style: none;
  margin: 1.4rem auto 0;
  max-width: 420px;
  display: grid;
  gap: 0.5rem;
  text-align: left;
}
.mode-card__list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.mode-card__list li::before {
  content: "✦"; position: absolute; left: 0; color: var(--gold);
}
.mode-card__teaser {
  margin-top: 1.2rem !important;
  padding: 0.85rem 1.1rem;
  border: 1px dashed rgba(245,185,66,0.4);
  border-radius: 14px;
  background: rgba(245,185,66,0.07);
  color: var(--text-dim);
  font-size: 0.95rem;
}
.mode-card__teaser a { color: var(--gold-soft); font-weight: 700; text-decoration: underline; }
.mode-card--hero .mode-card__players { margin-top: 1.4rem; }
.modes__soon {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* Tienda → llamada a Tebex */
.store__cta {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2.2rem;
  background: linear-gradient(165deg, rgba(245,185,66,0.12), var(--card) 60%);
  border: 1px solid rgba(245,185,66,0.4);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.store__cta-icon { font-size: 3rem; margin-bottom: 0.6rem; }
.store__cta .section__lead { max-width: 480px; margin-left: auto; margin-right: auto; }
.store__cta-btn { margin-top: 1.8rem; }
.store__cta .store__note { margin-top: 1.4rem; }
.store__cta-btn--soon {
  background: rgba(255,255,255,0.06);
  border: 1px dashed rgba(245,185,66,0.45);
  color: var(--gold-soft);
  cursor: not-allowed;
}
.store__cta-btn--soon:hover { transform: none; box-shadow: none; }

/* =========================================================
   Cómo entrar
   ========================================================= */
.join__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.step {
  position: relative;
  padding: 2.2rem 1.6rem 1.8rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}
.step__num {
  position: absolute; top: -22px; left: 1.6rem;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 900; font-size: 1.3rem;
  color: #2a1500;
  background: linear-gradient(135deg, var(--gold), var(--sunset));
  border-radius: 12px;
  box-shadow: var(--glow-gold);
}
.step h3 { font-family: var(--font-display); font-size: 1.25rem; margin-top: 0.6rem; }
.step p { color: var(--text-dim); margin-top: 0.5rem; }
.step .ip-copy--sm { margin-top: 0.8rem; }

.join__bedrock {
  margin-top: 1.6rem;
  padding: 1rem 1.4rem;
  background: rgba(94,198,232,0.08);
  border: 1px solid rgba(94,198,232,0.25);
  border-radius: var(--radius);
  display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem; align-items: center;
  font-size: 0.95rem; color: var(--text-dim);
}
.join__bedrock strong { color: var(--text); }
.join__bedrock code {
  font-family: 'Courier New', monospace;
  background: rgba(255,255,255,0.08);
  padding: 0.1rem 0.45rem; border-radius: 6px;
  color: var(--gold-soft); font-weight: 700;
}
.join__bedrock a { color: var(--gold-soft); font-weight: 700; text-decoration: underline; }

/* =========================================================
   Tienda / Rangos
   ========================================================= */
.store__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  align-items: stretch;
}
.rank {
  position: relative;
  display: flex; flex-direction: column;
  padding: 2rem 1.7rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s;
}
.rank:hover { transform: translateY(-5px); }
.rank--featured {
  border-color: rgba(245,185,66,0.5);
  background: linear-gradient(165deg, rgba(245,185,66,0.12), var(--card) 55%);
  box-shadow: var(--glow-gold);
  transform: scale(1.03);
}
.rank--featured:hover { transform: scale(1.03) translateY(-5px); }
.rank__ribbon {
  position: absolute; top: 1.2rem; right: -0.4rem;
  background: linear-gradient(135deg, var(--gold), var(--sunset));
  color: #2a1500; font-weight: 800; font-size: 0.72rem;
  padding: 0.3rem 0.9rem; border-radius: 8px 0 0 8px;
  box-shadow: 0 6px 16px -6px rgba(245,185,66,0.7);
}
.rank__head { margin-bottom: 1.3rem; }
.rank__name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--gold-soft); }
.rank__price { display: block; margin-top: 0.4rem; font-size: 2.4rem; font-weight: 800; font-family: var(--font-display); }
.rank__price span { font-size: 1.3rem; vertical-align: super; color: var(--text-dim); }
.rank__price small { font-size: 0.95rem; font-weight: 600; color: var(--text-dim); font-family: var(--font-body); }
.rank__perks { list-style: none; flex: 1; margin-bottom: 1.5rem; }
.rank__perks li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.7rem;
  color: var(--text-dim);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.rank__perks li::before {
  content: "✦";
  position: absolute; left: 0; color: var(--gold);
}
.store__note {
  text-align: center; margin-top: 2rem;
  font-size: 0.88rem; color: var(--text-dim);
}

/* =========================================================
   Comunidad
   ========================================================= */
.community { max-width: var(--maxw); margin: 0 auto; padding: 4rem 1.3rem 6rem; }
.community__card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(88,101,242,0.14), var(--card) 60%);
  border: 1px solid rgba(88,101,242,0.3);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.community__text h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: 0.4rem; }
.community__text p { color: var(--text-dim); margin-top: 0.9rem; max-width: 460px; }
.community__actions { margin-top: 1.6rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }
.community__visual { display: grid; place-items: center; }
.community__visual img {
  width: 230px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
  animation: float 6s ease-in-out infinite;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  border-top: 1px solid var(--line);
  background: rgba(7, 16, 33, 0.6);
  backdrop-filter: blur(10px);
  padding: 3.5rem 1.3rem 2rem;
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer__brand img { width: 80px; margin-bottom: 0.8rem; }
.footer__brand p { color: var(--text-dim); font-size: 0.92rem; max-width: 280px; }
.footer__col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold); margin-bottom: 0.9rem; }
.footer__col a { display: block; color: var(--text-dim); font-size: 0.92rem; padding: 0.25rem 0; transition: color 0.2s; }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  max-width: var(--maxw);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.82rem; color: var(--text-dim);
}

/* =========================================================
   Toast
   ========================================================= */
.toast {
  position: fixed;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: linear-gradient(135deg, var(--gold), var(--sunset));
  color: #2a1500;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 16px 40px -10px rgba(245,185,66,0.6);
  z-index: 100;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .modes__grid, .join__grid, .store__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .community__card { grid-template-columns: 1fr; text-align: center; padding: 2.2rem; }
  .community__text p { margin-left: auto; margin-right: auto; }
  .community__actions { justify-content: center; }
  .community__visual { order: -1; }
  .community__visual img { width: 160px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .rank--featured { transform: none; }
  .rank--featured:hover { transform: translateY(-5px); }
}

@media (max-width: 760px) {
  .nav__links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh; width: min(78vw, 320px);
    flex-direction: column;
    gap: 0.3rem;
    padding: 5.5rem 1.5rem 2rem;
    background: rgba(8, 18, 38, 0.97);
    backdrop-filter: blur(16px);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { padding: 0.85rem 1rem; font-size: 1.05rem; }
  .nav__burger { display: flex; }
  .nav__actions .btn--discord { display: none; }
}

@media (max-width: 560px) {
  .modes__grid, .join__grid, .store__grid, .footer__inner { grid-template-columns: 1fr; }
  .stats__inner { grid-template-columns: 1fr 1fr; padding: 1.4rem; }
  .section { padding: 4rem 1.1rem; }
  .hero { padding-top: 6rem; }
  .ip-copy { font-size: 1.05rem; }
  .hero__cta .btn { width: 100%; }
}
