/* ═══════════════════════════════════════════════════════════════
   ESPARTANOS ACADEMY — academy.css  v4.0 PREMIUM
   Fuentes: Inter (body) · Barlow Condensed (headings) · JetBrains Mono (data)
   Tema: Negro absoluto / Oro / Glass / Premium
   ═══════════════════════════════════════════════════════════════ */

/* ─── VARIABLES ────────────────────────────────────────────────── */
:root {
  --black: #000000;
  --surface: #0a0a0a;
  --panel: rgba(14, 14, 16, 0.75);

  --gold: #FFD54A;
  --gold-glow: rgba(255, 213, 74, 0.35);
  --gold-dim: rgba(255, 213, 74, 0.08);
  --gold-hi: #FFE580;

  --green: #2EFF94;
  --green-dim: rgba(46, 255, 148, 0.1);

  --red: #FF4A4A;
  --blue: #2997FF;

  --text: #FFFFFF;
  --muted: #6b6b72;
  --soft: #a0a0a8;

  --border: rgba(255, 255, 255, 0.07);
  --border-hi: rgba(255, 255, 255, 0.16);

  --blur: 20px;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;

  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── RESET ─────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--black);
  color: var(--text);
  font-family: 'Inter', 'Barlow', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

h1,
h2,
h3 {
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: -0.01em;
  line-height: 1;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ─── LAYOUT ────────────────────────────────────────────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.hidden {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════
   LOADER — Premium page entrance
   ═══════════════════════════════════════════════════════════════════ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s;
}

.loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
}

.loader-logo {
  width: 64px;
  margin: 0 auto 28px;
  animation: loaderPulse 1.2s ease-in-out infinite alternate;
}

@keyframes loaderPulse {
  from {
    opacity: 0.4;
    transform: scale(0.92);
    filter: drop-shadow(0 0 0 transparent);
  }

  to {
    opacity: 1;
    transform: scale(1);
    filter: drop-shadow(0 0 20px rgba(255, 213, 74, 0.4));
  }
}

.loader-bar {
  width: 180px;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-hi));
  border-radius: 10px;
  animation: loaderFill 1.8s var(--expo) forwards;
}

@keyframes loaderFill {
  to {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   CUSTOM CURSOR — Desktop only
   ═══════════════════════════════════════════════════════════════════ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 100000;
  border-radius: 50%;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  display: none;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold-glow);
  transition: transform 0.1s, opacity 0.3s;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255, 213, 74, 0.35);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s, opacity 0.3s;
}

.cursor-ring.hover {
  width: 56px;
  height: 56px;
  border-color: rgba(255, 213, 74, 0.6);
}

.cursor-dot.click {
  transform: translate(-50%, -50%) scale(0.5);
}

/* ═══════════════════════════════════════════════════════════════════
   PARTICLES CANVAS
   ═══════════════════════════════════════════════════════════════════ */
.particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════════════
   SCROLL PROGRESS BAR
   ═══════════════════════════════════════════════════════════════════ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-hi), var(--green));
  z-index: 9999;
  width: 0%;
  box-shadow: 0 0 14px var(--gold-glow), 0 0 4px var(--gold);
}

/* ═══════════════════════════════════════════════════════════════════
   BACKGROUND
   ═══════════════════════════════════════════════════════════════════ */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--black);
  pointer-events: none;
}

.bg-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.7;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  animation: gridFloat 20s linear infinite;
}

@keyframes gridFloat {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(72px);
  }
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(160px);
  pointer-events: none;
}

.bg-glow-gold {
  top: -20%;
  left: 5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 213, 74, 0.12), transparent 70%);
  animation: glowPulse 14s infinite alternate ease-in-out;
}

.bg-glow-blue {
  bottom: -15%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(41, 151, 255, 0.1), transparent 70%);
  animation: glowPulse 18s infinite alternate-reverse ease-in-out;
}

/* ═══════════════════════════════════════════════════════════════════
   COOKIE BANNER
   ═══════════════════════════════════════════════════════════════════ */
.cookie {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9000;
  width: calc(100% - 40px);
  max-width: 680px;
  background: rgba(12, 12, 14, 0.97);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  backdrop-filter: blur(var(--blur));
  padding: 16px 20px;
  transition: transform 0.4s var(--expo), opacity 0.4s;
}

.cookie.hide {
  transform: translateX(-50%) translateY(120%);
  opacity: 0;
  pointer-events: none;
}

.cookie-box {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cookie-box svg {
  flex-shrink: 0;
  color: var(--gold);
}

.cookie-box p {
  flex: 1;
  font-size: 0.85rem;
  color: var(--soft);
  min-width: 200px;
}

.cookie-box p a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btns button {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all 0.25s var(--ease);
}

.cookie-ok {
  background: var(--gold) !important;
  color: #000 !important;
  border-color: var(--gold) !important;
}

.cookie-btns button:hover {
  opacity: 0.85;
}

/* ═══════════════════════════════════════════════════════════════════
   AUTH OVERLAY & MODAL
   ═══════════════════════════════════════════════════════════════════ */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: rgba(10, 10, 12, 0.98);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 44px 40px;
  width: 100%;
  max-width: 440px;
  position: relative;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.4s var(--expo);
}

.overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.modal-logo {
  width: 48px;
  margin-bottom: 20px;
}

.modal-logo img {
  width: 100%;
}

.modal-title {
  font-size: 1.9rem;
  font-weight: 900;
  margin-bottom: 8px;
  color: #fff;
  letter-spacing: -0.5px;
}

.modal-sub {
  font-size: 0.95rem;
  color: var(--soft);
  margin-bottom: 30px;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 15px 20px;
  background: #fff;
  color: #1a1a1a;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s var(--elastic);
  border: none;
}

.google-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.18);
}

.google-btn:active {
  transform: scale(0.98);
}

.modal-terms {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 18px;
  text-align: center;
}

.modal-terms a {
  color: var(--gold);
}

.modal-msg {
  margin-top: 16px;
  font-size: 0.88rem;
  text-align: center;
  min-height: 20px;
  border-radius: 8px;
  padding: 0;
  transition: all 0.3s;
}

.modal-msg.ok {
  color: var(--green);
}

.modal-msg.err {
  color: var(--red);
}

/* ═══════════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 500;
  padding: 22px 0;
  transition: padding 0.4s var(--ease), background 0.4s, border-color 0.4s, box-shadow 0.4s;
  border-bottom: 1px solid transparent;
  animation: navSlideDown 0.8s var(--expo) 1.9s both;
}

.nav.scrolled {
  padding: 13px 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-color: var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

@keyframes navSlideDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo {
  height: 40px;
  width: auto;
}

.nav-name {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 1px;
  line-height: 1.1;
}

.nav-tag {
  display: block;
  font-size: 0.58rem;
  color: var(--gold);
  letter-spacing: 3px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 100px;
  transition: all 0.25s var(--ease);
  position: relative;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-sign-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}

.nav-sign-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--border-hi);
}

.nav-user {
  position: relative;
  cursor: pointer;
}

.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.nav-user:hover .nav-avatar {
  transform: scale(1.05);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(10, 10, 12, 0.98);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 8px;
  min-width: 210px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.8);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.97);
  transition: all 0.25s var(--ease);
}

.nav-user:hover .nav-dropdown,
.nav-dropdown.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.drop-info {
  padding: 8px 10px 12px;
}

.drop-info strong {
  display: block;
  font-size: 0.9rem;
  color: #fff;
}

.drop-info span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

.drop-sep {
  border: none;
  border-top: 1px solid var(--border);
  margin: 4px 0;
}

.drop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--soft);
  transition: all 0.2s;
}

.drop-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-burger span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  display: block;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.nav-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger.open span:nth-child(2) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── MOBILE MENU ────────────────────────────────────────────────── */
.mob-menu {
  position: fixed;
  inset: 0;
  z-index: 490;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
  transition: all 0.4s var(--expo);
}

.mob-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: scale(1);
}

.mob-menu ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.mob-menu ul a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--muted);
  display: block;
  padding: 6px 24px;
  transition: color 0.25s, transform 0.25s var(--elastic);
}

.mob-menu ul a:hover {
  color: var(--gold);
  transform: translateX(8px);
}

.mob-sign-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  border: 1px solid var(--border);
  margin-top: 16px;
  transition: all 0.3s var(--ease);
}

.mob-sign-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-hi);
}

/* ═══════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 64px;
}

.hero-text {
  display: flex;
  flex-direction: column;
}

/* Pill */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 100px;
  width: fit-content;
  background: var(--gold-dim);
  border: 1px solid rgba(255, 213, 74, 0.22);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  animation: fadeUp 0.7s var(--expo) 2s both;
}

.h-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(255, 213, 74, 0.2), 0 0 10px var(--gold);
  animation: blink 2.5s infinite;
}

.h-live {
  background: rgba(255, 213, 74, 0.15);
  border: 1px solid rgba(255, 213, 74, 0.3);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.58rem;
  letter-spacing: 2px;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

/* Title */
.hero-h1 {
  font-size: clamp(3.4rem, 6.5vw, 6.5rem);
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.05;
  margin-bottom: 24px;
  animation: heroTextReveal 1s var(--expo) 2.15s both;
}

.hero-h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold-hi) 0%, var(--gold) 30%, #FF9F1C 60%, var(--gold-hi) 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(255, 213, 74, 0.3));
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes heroTextReveal {
  from {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Desc */
.hero-p {
  font-size: 1.08rem;
  color: var(--soft);
  font-weight: 300;
  max-width: 86%;
  line-height: 1.8;
  margin-bottom: 36px;
  animation: fadeUp 0.8s var(--expo) 2.4s both;
}

.hero-p strong {
  color: #fff;
  font-weight: 600;
}

/* Buttons */
.hero-btns {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
  animation: fadeUp 0.8s var(--expo) 2.55s both;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 100px;
  background: linear-gradient(135deg, #fff 0%, var(--gold-hi) 100%);
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.35s var(--elastic);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 0 rgba(255, 213, 74, 0);
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  transform: translateY(-50%) skewX(-20deg);
  transition: left 0.6s var(--ease);
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-gold:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 40px rgba(255, 213, 74, 0.3), 0 0 60px rgba(255, 213, 74, 0.1);
}

.btn-gold svg,
.btn-gold span {
  position: relative;
  z-index: 1;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 15px 32px;
  border-radius: 100px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 213, 74, 0.06), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-ghost:hover::before {
  opacity: 1;
}

.btn-ghost:hover {
  border-color: rgba(255, 213, 74, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  animation: fadeUp 0.8s var(--expo) 2.7s both;
}

.hs {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hs strong {
  font-family: 'JetBrains Mono', 'Barlow Condensed', monospace;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1;
  display: inline-block;
}

.hs span {
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

.hs-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}

.hero-vis {
  animation: heroVisReveal 1.2s var(--expo) 2.2s both;
  position: relative;
  will-change: transform;
  min-height: 500px;
}

.hero-spotlight {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(255, 213, 74, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  transform: translate(-50%, -50%);
}

@keyframes heroVisReveal {
  from {
    opacity: 0;
    transform: translateX(60px) scale(0.92);
    filter: blur(12px);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

.hero-person {
  position: absolute;
  width: 145%;
  max-width: none;
  bottom: -50px;
  right: -20%;
  z-index: 2;
  animation: floatPerson 6s ease-in-out infinite;
  transition: transform 0.4s var(--expo), filter 0.4s;
  cursor: pointer;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,1) 15%);
  mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,1) 15%);
}

.hero-person:hover {
  animation-play-state: paused;
  transform: scale(1.03) translateY(8px);
  filter: brightness(1.05) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8));
}

@keyframes floatPerson {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}

.hero-ticker {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 200%;
  left: -50%;
  display: flex;
  white-space: nowrap;
  opacity: 0.1;
  z-index: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  pointer-events: none;
  overflow: hidden;
}

.hero-ticker span {
  display: inline-block;
  padding-right: 50px;
  animation: tickerAnim 30s linear infinite;
}

@keyframes tickerAnim {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.float-card {
  position: absolute;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(14px);
  z-index: 5;
}

.fc-signal {
  bottom: 0%;
  left: -15%;
  border-left: 2px solid var(--gold);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.9);
  animation: floatSignal 4s ease-in-out infinite;
}

@keyframes floatSignal {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.fc-signal-icon {
  color: var(--gold);
  display: flex;
  filter: drop-shadow(0 0 8px rgba(255, 213, 74, 0.4));
}

.fc-signal-text {
  display: flex;
  flex-direction: column;
}

.fc-top {
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.fc-bot {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.5s ease;
}

.dir-sell { color: var(--red); }
.dir-buy { color: var(--green); }

.fc-precision {
  top: 15%;
  right: -5%;
  border: 1px solid rgba(46, 255, 148, 0.2);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  animation: floatPrec 6s ease-in-out 1s infinite;
}

@keyframes floatPrec {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

.fc-prec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  margin-top: 4px;
  animation: blink 2s infinite;
}

.fc-prec-text {
  display: flex;
  flex-direction: column;
}

.fc-bot-large {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green);
  font-family: 'JetBrains Mono', monospace;
  line-height: 1.2;
  transition: opacity 0.5s ease;
}

.fc-active {
  top: 45%;
  left: -25%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  animation: floatActive 7s ease-in-out 2s infinite;
}

@keyframes floatActive {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

.fc-active-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fc-active-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
}

.fc-name {
  font-weight: 700;
  color: #fff;
  transition: opacity 0.5s ease;
}

.fc-var {
  color: var(--green);
  font-weight: 600;
  transition: opacity 0.5s ease;
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION DIVIDERS
   ═══════════════════════════════════════════════════════════════════ */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 0;
  position: relative;
}

.divider-line {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 213, 74, 0.3), transparent);
  animation: dividerGlow 3s ease-in-out infinite alternate;
}

.divider-diamond {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  background: var(--gold);
  border-radius: 2px;
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(255, 213, 74, 0.4);
  animation: diamondPulse 2s ease-in-out infinite;
}

@keyframes dividerGlow {
  from {
    opacity: 0.3;
    width: 80px;
  }

  to {
    opacity: 0.7;
    width: 160px;
  }
}

@keyframes diamondPulse {

  0%,
  100% {
    box-shadow: 0 0 12px rgba(255, 213, 74, 0.4);
    transform: rotate(45deg) scale(1);
  }

  50% {
    box-shadow: 0 0 24px rgba(255, 213, 74, 0.7);
    transform: rotate(45deg) scale(1.2);
  }
}

/* ═══════════════════════════════════════════════════════════════════
   ECOSYSTEM SECTION
   ═══════════════════════════════════════════════════════════════════ */
.eco {
  padding: 120px 0 100px;
  position: relative;
}

.sec-head {
  margin-bottom: 64px;
}

.sec-head.center {
  text-align: center;
}

.sec-eye {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 14px;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--gold-dim);
  border: 1px solid rgba(255, 213, 74, 0.15);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--expo), transform 0.6s var(--expo);
}

.sec-h2 {
  font-size: clamp(2.6rem, 4.5vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--expo) 0.1s, transform 0.6s var(--expo) 0.1s;
}

.sec-h2 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sec-p {
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 300;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--expo) 0.2s, transform 0.6s var(--expo) 0.2s;
}

[data-reveal].visible .sec-eye,
[data-reveal].visible .sec-h2,
[data-reveal].visible .sec-p {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal].visible .sec-eye {
  opacity: 0.9;
}

/* ═══════════════════════════════════════════════════════════════════
   BENTO GRID & CARDS
   ═══════════════════════════════════════════════════════════════════ */
.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px !important;
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: rgba(10, 10, 12, 0.9);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.5s var(--elastic);
  cursor: pointer;
}

/* Animated border on hover */
.card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 0deg, transparent 0%, rgba(255, 213, 74, 0.4) 10%, transparent 20%);
  background-size: 100% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.5s;
}

.card:hover::before {
  opacity: 1;
  animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
  to {
    transform: rotate(360deg);
  }
}

.card:hover {
  border-color: rgba(255, 213, 74, 0.15);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(255, 213, 74, 0.04);
  transform: translateY(-8px);
}

.card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  z-index: 1;
  filter: saturate(0.5) contrast(1.2);
  transition: opacity 0.7s, transform 1s var(--ease), filter 0.7s;
}

.card:hover .card-bg {
  opacity: 0.45;
  transform: scale(1.08);
  filter: saturate(0.9) contrast(1.1);
}

.card-fog {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.15) 100%);
}

/* Cursor glow effect */
.card-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 213, 74, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.4s;
  transform: translate(-50%, -50%);
}

.card:hover .card-glow {
  opacity: 1;
}

.card-cnt {
  position: relative;
  z-index: 5;
  padding: 28px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-cnt-row {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.card-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: auto;
}

.card h3 {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
  margin: 20px 0 10px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.card p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
  line-height: 1.7;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  max-width: 88%;
}

.c-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  margin-top: 20px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.25);
  transition: all 0.4s var(--ease);
}

.card:hover .c-arrow {
  color: var(--gold);
  background: var(--gold-dim);
  border-color: rgba(255, 213, 74, 0.3);
  transform: translateX(4px);
  box-shadow: 0 0 20px rgba(255, 213, 74, 0.15);
}

/* Deco SVG */
.c-deco {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 160px;
  height: 160px;
  z-index: 2;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0.15;
  transition: opacity 0.5s, transform 0.7s var(--elastic);
}

.c-deco-r {
  top: 50%;
  right: 20px;
  bottom: auto;
  transform: translateY(-50%);
  width: 120px;
  height: 120px;
}

.c-deco svg {
  width: 100%;
  height: 100%;
}

.card:hover .c-deco {
  opacity: 0.5;
  transform: scale(1.12) rotate(-5deg);
}

.c-scanner:hover .c-deco {
  color: var(--gold);
}

.c-bot:hover .c-deco {
  color: var(--green);
}

.card:hover .c-deco-r {
  transform: translateY(-50%) scale(1.1);
}

/* Badges */
.cbadge {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 5px 12px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.5);
  color: var(--muted);
  backdrop-filter: blur(6px);
  font-family: 'Inter', sans-serif;
}

.cbadge-green {
  color: var(--green);
  border-color: rgba(46, 255, 148, 0.3);
  background: rgba(46, 255, 148, 0.04);
}

.cbadge-gold {
  color: var(--gold);
  border-color: rgba(255, 213, 74, 0.3);
  background: rgba(255, 213, 74, 0.04);
}

.cbadge-dim {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.radar {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 213, 74, 0.15), 0 0 14px rgba(255, 213, 74, 0.5);
  animation: ping 2s infinite;
  flex-shrink: 0;
}

.promo-pill {
  position: absolute;
  top: 0;
  right: 28px;
  z-index: 10;
  background: var(--gold);
  color: #000;
  padding: 7px 16px;
  border-radius: 0 0 12px 12px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 6px 20px rgba(255, 213, 74, 0.4);
  animation: badgePulse 3s infinite;
}

.c-scanner {
  min-height: 380px;
}

.c-campus {
  min-height: 380px;
}

.c-vip {
  min-height: 300px;
}

.c-bot {
  min-height: 300px;
}

.c-bot .card-cnt,
.c-capital .card-cnt {
  padding: 22px 20px;
}

.c-bot h3 {
  font-size: 1.5rem;
  margin: 14px 0 8px;
}

.c-bot p {
  font-size: 0.82rem;
  max-width: 100%;
}

.c-capital .card-cnt-row {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}

.cap-text h3 {
  font-size: 1.4rem;
  margin: 10px 0 6px;
  text-shadow: none;
}

.cap-text p {
  font-size: 0.82rem;
  color: var(--muted);
  text-shadow: none;
  max-width: 100%;
  line-height: 1.5;
}

.cap-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.pill {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 0.82rem;
  transition: all 0.3s var(--ease);
  display: inline-block;
  white-space: nowrap;
}

.pill:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-2px);
}

.pill-gold {
  border-color: rgba(255, 213, 74, 0.38);
  color: var(--gold);
  background: rgba(255, 213, 74, 0.04);
}

.pill-gold:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(255, 213, 74, 0.25);
}

/* ═══════════════════════════════════════════════════════════════════
   COMMUNITY
   ═══════════════════════════════════════════════════════════════════ */
.comm {
  padding: 20px 0 100px;
}

.comm-card {
  background: linear-gradient(135deg, rgba(8, 20, 14, 0.9) 0%, rgba(0, 0, 0, 0.95) 100%);
  border: 1px solid rgba(46, 255, 148, 0.1);
  border-radius: var(--r-lg);
  padding: 60px 56px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: border-color 0.4s;
}

.comm-card:hover {
  border-color: rgba(46, 255, 148, 0.25);
}

/* Animated green border */
.comm-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 0deg, transparent 0%, rgba(46, 255, 148, 0.3) 10%, transparent 20%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderRotate 6s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.comm-glow {
  position: absolute;
  top: -40%;
  left: -10%;
  width: 55%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(46, 255, 148, 0.06) 0%, transparent 60%);
  pointer-events: none;
  animation: glowPulse 10s infinite alternate ease-in-out;
}

.comm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 2;
}

.comm-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green);
  margin-bottom: 14px;
}

.dot-g {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: blink 2s infinite;
}

.comm-info h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 10px;
}

.comm-info p {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 75%;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 36px;
  border-radius: 100px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.2);
  transition: all 0.4s var(--elastic);
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.btn-wa::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  transform: translateY(-50%) skewX(-20deg);
  transition: left 0.6s var(--ease);
}

.btn-wa:hover::before {
  left: 100%;
}

.btn-wa:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 40px rgba(37, 211, 102, 0.35);
}

.btn-tg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 36px;
  border-radius: 100px;
  background: #0088cc;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 10px 28px rgba(0, 136, 204, 0.2);
  transition: all 0.4s var(--elastic);
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.btn-tg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  transform: translateY(-50%) skewX(-20deg);
  transition: left 0.6s var(--ease);
}

.btn-tg:hover::before {
  left: 100%;
}

.btn-tg:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 136, 204, 0.35);
}

.btn-tg svg {
  fill: currentColor;
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 36px;
  background: #000;
  position: relative;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--expo), transform 0.8s var(--expo);
}

.footer-row.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-l {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  width: 42px;
  margin-bottom: 16px;
  opacity: 0.85;
}

.footer-l p {
  font-size: 0.88rem;
  color: #555;
}

.footer-l span {
  font-size: 0.75rem;
  color: #3a3a3a;
  margin-top: 8px;
  max-width: 360px;
  line-height: 1.5;
}

.footer-r {
  display: flex;
  gap: 32px;
  align-items: center;
}

.footer-r a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.25s;
  position: relative;
}

.footer-r a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.footer-r a:hover {
  color: #fff;
}

.footer-r a:hover::after {
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════════════
   REVEAL ANIMATION
   ═══════════════════════════════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--expo), transform 0.9s var(--expo);
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════
   KEYFRAMES
   ═══════════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

@keyframes ping {

  75%,
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-14px) rotate(0deg);
  }
}

@keyframes floatY2 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes glowPulse {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(30px, -20px) scale(1.12);
  }
}

@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 6px 20px rgba(255, 213, 74, 0.4);
  }

  50% {
    box-shadow: 0 8px 28px rgba(255, 213, 74, 0.65);
  }
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */

/* Remove custom cursor on touch */
@media (pointer: coarse) {
  body {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

/* Tablet */
@media (max-width:1100px) {
  .bento {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 18px !important;
  }

  .c-scanner {
    min-height: 340px;
  }

  .c-campus {
    min-height: 340px;
  }

  .c-vip {
    min-height: 280px;
  }

  .c-bot {
    min-height: 280px;
  }

  .c-deco-r {
    right: 16px;
    width: 100px;
    height: 100px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   PARTNER BROKER — Premium Native Design
   ═══════════════════════════════════════════════════════════════════ */
.broker {
  padding: 80px 0 50px;
  position: relative;
  overflow: hidden;
}

/* --- Split Layout: info left, phone right --- */
.broker-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  margin-bottom: 56px;
}

.broker-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* --- Logo: imagotipo grande + badge --- */
.broker-logo-area {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 16px;
}

.broker-logo-glow {
  position: absolute;
  width: 380px;
  height: 220px;
  left: 160px;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 213, 74, 0.07) 0%, transparent 65%);
  pointer-events: none;
  animation: glowPulse 8s ease-in-out infinite alternate;
}

.broker-logo {
  max-width: 320px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 28px rgba(255, 213, 74, 0.1));
  transition: transform 0.5s var(--elastic), filter 0.4s;
}

.broker-logo:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 0 40px rgba(255, 213, 74, 0.18));
}

/* Isotipo badge in corner */
.broker-iso-badge {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 213, 74, 0.06);
  border: 1px solid rgba(255, 213, 74, 0.15);
  border-radius: 12px;
  z-index: 1;
  transition: all 0.3s var(--ease);
}

.broker-iso-badge:hover {
  background: rgba(255, 213, 74, 0.1);
  border-color: rgba(255, 213, 74, 0.3);
  transform: translateY(-2px);
}

.broker-iso {
  height: 28px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(255, 213, 74, 0.15));
}

/* --- Description --- */
.broker-desc {
  font-size: 0.92rem;
  color: var(--soft);
  line-height: 1.75;
  max-width: 480px;
}

.broker-desc strong {
  color: #fff;
  font-weight: 600;
}

/* --- Stats Grid --- */
.broker-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.01);
}

.bstat {
  padding: 22px 10px;
  border-right: 1px solid var(--border);
  text-align: center;
  transition: background 0.3s;
}

.bstat:last-child {
  border-right: none;
}

.bstat:hover {
  background: rgba(255, 213, 74, 0.025);
}

.bstat-num {
  font-family: 'JetBrains Mono', 'Barlow Condensed', monospace;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 5px;
  background: linear-gradient(135deg, #fff 30%, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bstat-label {
  font-size: 0.55rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

/* --- Trust Badges --- */
.broker-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  color: var(--soft);
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  transition: all 0.3s var(--ease);
}

.trust-item:hover {
  background: rgba(255, 213, 74, 0.04);
  border-color: rgba(255, 213, 74, 0.15);
  color: #fff;
}

/* --- CTA inside broker info --- */
.broker-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 4px;
}

.broker-cta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-gold-lg {
  padding: 16px 32px;
  font-size: 0.9rem;
  gap: 10px;
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  border: 1px solid rgba(255, 213, 74, 0.35);
  border-radius: 100px;
  background: rgba(255, 213, 74, 0.04);
  transition: all 0.35s var(--ease);
  text-decoration: none;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.btn-outline-gold:hover {
  background: rgba(255, 213, 74, 0.1);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 213, 74, 0.1);
}

.cta-sub {
  font-size: 0.76rem;
  color: var(--soft);
  max-width: 520px;
  line-height: 1.7;
}

.cta-sub strong {
  color: var(--gold);
  font-weight: 700;
}

/* --- Phone Image --- */
.broker-phone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.broker-phone-glow {
  position: absolute;
  width: 420px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 213, 74, 0.05) 0%, rgba(41, 151, 255, 0.03) 40%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 10s ease-in-out infinite alternate;
}

.broker-phone-img {
  position: relative;
  z-index: 1;
  max-height: 540px;
  width: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 40px rgba(255, 213, 74, 0.04));
  transition: transform 0.6s var(--ease);
  animation: floatY 8s ease-in-out infinite;
}

.broker-phone-img:hover {
  transform: translateY(-12px) scale(1.02);
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-24px);
  }
}

@keyframes floatYCenter {

  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, -24px);
  }
}

.float-vex {
  position: absolute;
  height: 32px;
  width: auto;
  z-index: 2;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 20px rgba(255, 213, 74, 0.25));
  animation: floatY 8s ease-in-out infinite;
}

.fv-center-bot {
  bottom: -60px;
  left: 50%;
  animation: floatYCenter 8s ease-in-out infinite;
}

/* --- Golden Separator --- */
.broker-sep {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.broker-sep-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 213, 74, 0.2), transparent);
}

.broker-sep-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--gold);
  opacity: 0.65;
  white-space: nowrap;
}

/* --- Partners Marquee (full-width, no box) --- */
.broker-partners {
  position: relative;
  padding: 20px 0 0;
  overflow: hidden;
}

.partners-marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
  margin-bottom: 16px;
}

.partners-marquee {
  display: flex;
  width: max-content;
  animation: scrollMarquee 40s linear infinite;
  gap: 0;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 52px;
  padding-right: 52px;
  flex-shrink: 0;
}

.partners-marquee:hover {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.plogo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
}

.plogo img {
  height: 32px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  filter: brightness(0) invert(1);
  transition: all 0.4s var(--ease);
}

.plogo img[src*="swire"],
.plogo img[src*="worldpay"],
.plogo img[src*="CoinPayments"],
.plogo img[src*="metatrader4"],
.plogo img[src*="metatrader5"],
.plogo img[src*="Skrill"],
.plogo img[src*="B2BROKER"] {
  filter: none !important;
  opacity: 1 !important;
}

.plogo img:hover {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
  transform: scale(1.15);
}

.partners-note {
  text-align: center;
  font-size: 0.50rem;
  color: var(--muted);
  letter-spacing: 0.5px;
  opacity: 0.5;
  margin-top: 8px;
  font-style: italic;
}

/* --- Broker Responsive --- */
@media (max-width: 900px) {
  .broker-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .broker-info {
    align-items: center;
  }

  .broker-logo-area {
    justify-content: center;
    flex-wrap: wrap;
  }

  .broker-desc {
    text-align: center;
  }

  .broker-trust {
    justify-content: center;
  }

  .broker-cta {
    align-items: center;
  }

  .broker-cta-btns {
    justify-content: center;
  }

  .broker-phone-img {
    max-height: 420px;
  }
}

@media (max-width: 768px) {
  .broker {
    padding: 60px 0 30px;
  }

  .broker-logo {
    max-width: 220px;
  }

  .broker-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bstat:nth-child(1),
  .bstat:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }

  .bstat:nth-child(2) {
    border-right: none;
  }

  .bstat {
    padding: 18px 10px;
  }

  .bstat-num {
    font-size: 1.15rem;
  }

  .broker-phone-img {
    max-height: 340px;
  }

  .float-vex {
    height: 22px;
  }

  .fv-center-bot {
    bottom: -45px;
  }

  .partners-marquee {
    gap: 0;
  }

  .marquee-group {
    gap: 36px;
    padding-right: 36px;
  }

  .plogo img {
    height: 24px;
  }

  .btn-gold-lg {
    padding: 13px 22px;
    font-size: 0.82rem;
  }

  .btn-outline-gold {
    padding: 13px 20px;
    font-size: 0.78rem;
  }

  .broker-cta-btns {
    flex-direction: column;
    width: 100%;
  }

  .broker-cta-btns a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .broker-trust {
    gap: 10px;
  }

  .trust-item {
    font-size: 0.65rem;
    padding: 5px 8px;
  }

  .broker-sep-tag {
    font-size: 0.5rem;
    letter-spacing: 3px;
  }

  .cta-sub {
    text-align: center;
  }
}

/* Mobile layout break */
@media (max-width:900px) {
  body {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }

  .hero-text {
    align-items: center;
  }

  .hero-p {
    max-width: 100%;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-pill {
    justify-content: center;
  }

  .hero-vis {
    width: 88%;
    margin: 0 auto;
  }

  @keyframes fadeUpCenter {
    from {
      opacity: 0;
      transform: translate(-50%, 28px);
      filter: blur(4px);
    }

    to {
      opacity: 1;
      transform: translate(-50%, 0);
      filter: blur(0);
    }
  }

  .hero-vis {
    overflow: visible;
    min-height: 380px;
  }

  .hero-person {
    width: 125%;
    bottom: -20px;
    right: -12%;
  }

  .float-card {
    padding: 10px 14px;
    transform: scale(0.9);
  }

  .fc-active {
    left: -5%;
    top: 25%;
  }

  .fc-precision {
    top: 5%;
    right: -5%;
  }

  .fc-signal {
    bottom: -5%;
    left: 0;
  }

  .fc-bot-large {
    font-size: 1.15rem;
  }

  .fc-bot, .fc-name, .fc-var {
    font-size: 0.75rem;
  }

  .fc-top {
    font-size: 0.55rem;
  }

  .nav-links {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .section-divider {
    padding: 10px 0;
  }

  .divider-line {
    width: 60px;
  }
}

/* Mobile small */
@media (max-width:768px) {
  .container {
    padding: 0 18px;
  }

  .bento {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    gap: 14px !important;
  }

  .bento>* {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .bento>div[style*="grid-template-columns"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .c-scanner {
    min-height: 300px;
  }

  .c-campus {
    min-height: 260px;
  }

  .c-vip {
    min-height: 260px;
  }

  .c-bot {
    min-height: 260px;
  }

  .c-capital {
    min-height: auto;
  }

  .c-bot .card-cnt,
  .c-capital .card-cnt {
    padding: 22px 24px;
  }

  .c-bot h3 {
    font-size: 1.7rem;
  }

  .c-bot p {
    font-size: 0.88rem;
  }

  .c-capital .card-cnt-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .cap-text h3 {
    font-size: 1.7rem;
  }

  .cap-text p {
    font-size: 0.88rem;
  }

  .card-cnt {
    padding: 22px 24px;
  }

  .card-cnt-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .card h3 {
    font-size: 1.7rem;
    margin: 16px 0 8px;
  }

  .card p {
    font-size: 0.88rem;
    max-width: 100%;
  }

  .cap-btns {
    flex-direction: row;
    width: 100%;
  }

  .pill {
    flex: 1;
    text-align: center;
    padding: 11px 14px;
    font-size: 0.85rem;
  }

  .c-deco {
    width: 110px;
    height: 110px;
    bottom: -15px;
    right: -15px;
  }

  .c-deco-r {
    display: none;
  }

  .comm-card {
    padding: 36px 24px;
  }

  .comm-row {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }

  .comm-info p {
    max-width: 100%;
    margin: 0 auto;
  }

  .footer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
  }

  .footer-r {
    gap: 24px;
  }

  .promo-pill {
    right: 20px;
    font-size: 0.65rem;
    padding: 6px 13px;
  }

  .card:hover {
    transform: none;
  }

  .card:active {
    transform: scale(0.99);
  }

  .hero {
    padding-top: 90px;
    padding-bottom: 60px;
  }

  .eco {
    padding: 80px 0 70px;
  }

  .sec-h2 {
    font-size: 2.4rem;
  }
}

@media (max-width:480px) {
  .hero-h1 {
    font-size: 3rem;
    letter-spacing: 1.5px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 300px;
  }

  .btn-gold,
  .btn-ghost {
    justify-content: center;
    text-align: center;
    padding: 14px 24px;
  }

  .hero-vis {
    width: 100%;
  }

  .modal {
    padding: 32px 24px;
  }

  .modal-title {
    font-size: 1.6rem;
  }

  .comm-btns {
    flex-direction: column;
    width: 100%;
  }

  .btn-wa,
  .btn-tg {
    width: 100%;
    justify-content: center;
  }
}