/* ============================================================
   Loxxee HUB — HERO.CSS
   ============================================================ */

.hero {
  position: relative; overflow: hidden;
  min-height: 500px;
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1400px; margin: 0 auto;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(77,200,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77,200,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-radial {
  position: absolute; top: -150px; left: -100px;
  width: 700px; height: 600px;
  background: radial-gradient(ellipse, rgba(77,200,255,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-left {
  position: relative; z-index: 2;
  padding: 5rem 3rem 5rem 2rem;
  display: flex; flex-direction: column; justify-content: center;
}
.creator-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(77,200,255,0.08);
  border: 1px solid var(--border2); border-radius: 3px;
  padding: 4px 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 800;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem; width: fit-content;
}
.creator-tag-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--red); animation: pulse 1.5s infinite;
}
.hero-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 8vw, 110px);
  letter-spacing: 6px; line-height: .88; margin-bottom: 1.2rem;
}
.hero-name .accent { color: var(--gold); }
.hero-desc {
  font-size: 15px; color: var(--muted2);
  line-height: 1.6; max-width: 440px; margin-bottom: 2rem;
}
.hero-desc strong { color: var(--text); font-weight: 500; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-badges { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badge {
  display: flex; align-items: center; gap: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  color: var(--muted2);
}
.hb-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ── HERO RIGHT STAT CARDS ── */
.hero-right {
  position: relative; z-index: 2;
  padding: 3rem 2rem 3rem 1rem;
  display: flex; flex-direction: column; gap: 12px; justify-content: center;
}
.stat-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 16px;
  position: relative; overflow: hidden;
  transition: border-color .25s, transform .25s, background .25s;
  cursor: default;
}
.stat-card::before {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 2px; height: 0;
  background: linear-gradient(0deg, var(--gold), var(--gold-dim));
  border-radius: 0 1px 1px 0;
  transition: height .3s ease;
}
.stat-card::after {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--gold-dim), transparent);
  transition: width .35s ease;
}
.stat-card:hover {
  border-color: var(--border2);
  background: var(--bg3);
  transform: translateY(-3px);
}
.stat-card:hover::before { height: 100%; }
.stat-card:hover::after  { width: 60%; }
.stat-card:hover .stat-icon { transform: scale(1.08); }
.stat-card:hover .stat-val  { transform: scale(1.04); transform-origin: left center; }
.stat-icon {
  width: 44px; height: 44px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
  transition: transform .25s ease;
}
.si-gold   { background: rgba(77,200,255,0.1); }
.si-green  { background: rgba(72,214,138,0.1); }
.si-ice    { background: rgba(93,213,255,0.1); }
.si-red    { background: rgba(224,56,56,0.1);  }
.stat-val  {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px; letter-spacing: 2px; color: var(--gold); line-height: 1;
  display: block;
  transition: transform .25s ease;
}
.stat-lbl  {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); margin-top: 2px;
}

/* ── HERO NAV BOXES ── */
.hero-right {
  position: absolute !important;
  top: 32px; right: 32px;
  display: flex; flex-direction: column; gap: 8px;
  z-index: 10;
  padding: 0 !important;
}
.hero-nav-box {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  padding: 12px 18px;
  background: rgba(10,12,20,0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-left: 2px solid var(--hnb-accent, var(--gold));
  border-radius: 8px;
  text-decoration: none;
  transition: all .22s;
  position: relative; overflow: hidden;
  min-width: 180px;
}
.hero-nav-box::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--hnb-accent) 8%, transparent), transparent);
  opacity: 0; transition: opacity .22s;
}
.hero-nav-box:hover {
  border-color: color-mix(in srgb, var(--hnb-accent) 50%, transparent);
  border-left-color: var(--hnb-accent);
  background: rgba(10,12,20,0.9);
  transform: translateX(-4px);
}
.hero-nav-box:hover::after { opacity: 1; }
.hnb-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px; letter-spacing: 3px;
  color: var(--text);
  transition: color .22s;
}
.hero-nav-box:hover .hnb-label { color: var(--hnb-accent); }
.hnb-arrow {
  font-size: 14px; color: var(--muted);
  transition: color .22s, transform .22s;
}
.hero-nav-box:hover .hnb-arrow {
  color: var(--hnb-accent);
  transform: translateX(-3px);
}

/* ── RESPONSIVE ── */
@media (max-width:1100px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { display: none; }
  .hero-left { padding: 3rem 1rem; }
}
/* ── Floating Weapon ──────────────────────────────────────────── */
.hero-weapon-wrap {
  position: absolute;
  right: 300px;
  top: 20%;
  z-index: 1;
  opacity: 0.6;
  pointer-events: none;
  user-select: none;
  will-change: transform;
  /* Single clean float — no competing transforms */
  animation: weaponFloat 6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  -webkit-mask-image: radial-gradient(ellipse 72% 68% at 50% 50%, black 28%, transparent 82%);
  mask-image:         radial-gradient(ellipse 72% 68% at 50% 50%, black 28%, transparent 82%);
}

/* Subtle background glow */
.hero-weapon-glow {
  position: absolute;
  width: 200px; height: 160px;
  top: 58%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(59,184,238,0.18) 0%, transparent 70%);
  filter: blur(24px);
  /* Glow breathes in sync with float, same duration */
  animation: glowBreathe 6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.hero-weapon-img {
  width: 440px;
  max-width: 44vw;
  height: auto;
  object-fit: contain;
  display: block;
  mix-blend-mode: screen;
  /* Static base tilt — JS handles dynamic rotation */
  transform: perspective(900px) rotateY(-10deg) rotateX(3deg);
  filter: drop-shadow(0 0 18px rgba(59,184,238,0.25)) brightness(1.04);
  /* Smooth transition for JS-driven hover */
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter    0.8s ease,
              opacity   0.5s ease;
  will-change: transform, filter;
}

/* Single float keyframe — no translateY conflict */
@keyframes weaponFloat {
  0%,100% { transform: translateY(0px);   }
  50%     { transform: translateY(-18px); }
}

@keyframes glowBreathe {
  0%,100% { opacity: 0.7; transform: translate(-50%,-50%) scale(1);    }
  50%     { opacity: 1;   transform: translate(-50%,-50%) scale(1.15); }
}


/* Responsive */
@media (max-width: 1200px) {
  .hero-weapon-wrap { right: 260px; }
  .hero-weapon-img  { width: 360px; }
}
@media (max-width: 900px) {
  .hero-weapon-wrap { display: none; }
}

/* ── Scroll Down Arrow ───────────────────────────────────────── */
.hero-scroll-arrow {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(77, 200, 255, 0.3);
  background: rgba(77, 200, 255, 0.05);
  color: var(--gold);
  text-decoration: none;
  cursor: pointer;

  transition: border-color .2s, background .2s, transform .2s;
  animation: arrowBounce 2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.hero-scroll-arrow:hover {
  border-color: var(--gold);
  background: rgba(77, 200, 255, 0.12);
  animation-play-state: paused;
  transform: translateX(-50%) translateY(4px);
}

.hero-scroll-arrow svg {
  width: 18px;
  height: 18px;
  display: block;
}

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