/* ============================================================
 *  enhancements.css - subtle visual upgrade for GAME STREET
 *  Loaded AFTER the base styles and only enhances the look:
 *  neon, gradients, smooth hovers and entrance animations.
 *  Nothing layout-breaking - everything is additive.
 * ============================================================ */

:root {
  --gs-red: #ff242f;
  --gs-cyan: #00ffff;
  --gs-gold: #ffd700;
  --gs-blue: #a4b6ff;
  --gs-mint: rgba(125, 255, 220, 1);
}

/* ---------- Neon hero title ---------- */
.home_neonText__LkIkn {
  background: linear-gradient(90deg, #fff 0%, var(--gs-cyan) 30%, var(--gs-red) 65%, var(--gs-gold) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gsHueShift 8s linear infinite, gsNeonPulse 2.8s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(255, 36, 47, 0.45));
}
@keyframes gsHueShift { to { background-position: 250% center; } }
@keyframes gsNeonPulse {
  0%, 100% { filter: drop-shadow(0 0 14px rgba(0, 255, 255, 0.35)); }
  50%      { filter: drop-shadow(0 0 28px rgba(255, 36, 47, 0.6)); }
}

/* ---------- Contract address as a centered "chip" ---------- */
/* The chip sits on its own line, centered; the subtitle goes below it. */
.logo-subtitle {
  display: block;
  width: fit-content;
  max-width: min(90%, 560px);
  margin: 0 auto 14px;
  text-align: center;
  padding: 8px 18px;
  border: 1px solid rgba(0, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(0, 255, 255, 0.06);
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.15) inset, 0 0 12px rgba(0, 255, 255, 0.1);
  word-break: break-all;
  transition: box-shadow .3s ease, border-color .3s ease, transform .3s ease;
}
.logo-subtitle:hover {
  border-color: var(--gs-cyan);
  box-shadow: 0 0 24px rgba(0, 255, 255, 0.35) inset, 0 0 20px rgba(0, 255, 255, 0.25);
  transform: translateY(-1px);
}
/* Subtitle on its own centered line, right under the contract chip */
.home_heroSubtitle__INubL {
  display: block;
  text-align: center;
  margin: 0 auto;
}

/* ---------- Section titles: gradient underline ---------- */
.section-header h2,
.arcade-rank-title {
  position: relative;
}
.section-header h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gs-red), var(--gs-cyan), var(--gs-gold));
  background-size: 200% auto;
  animation: gsHueShift 5s linear infinite;
  box-shadow: 0 0 12px rgba(255, 36, 47, 0.5);
}

/* ---------- Cards: glow and lift on hover ---------- */
.mode-card,
.feature-card,
.ecosystem-card,
.arcade-rank-benefit-box {
  transition: transform .3s cubic-bezier(.2, .7, .3, 1),
              box-shadow .3s ease,
              border-color .3s ease;
  will-change: transform;
}
.mode-card:hover,
.feature-card:hover,
.ecosystem-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45),
              0 0 22px rgba(0, 255, 255, 0.18);
  border-color: rgba(0, 255, 255, 0.45);
}
.arcade-rank-benefit-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(164, 182, 255, 0.3);
}

/* Mode icons gently float */
.mode-icon {
  display: inline-block;
  animation: gsFloat 4s ease-in-out infinite;
}
.mode-card:nth-child(2) .mode-icon { animation-delay: .6s; }
.mode-card:nth-child(3) .mode-icon { animation-delay: 1.2s; }
@keyframes gsFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ---------- LIVE badge - soft pulse ---------- */
.mode-status.live,
.status-badge.live {
  animation: gsLive 1.8s ease-in-out infinite;
}
@keyframes gsLive {
  0%, 100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.55); }
  50%      { box-shadow: 0 0 14px 3px rgba(76, 175, 80, 0.45); }
}

/* ---------- Buttons: shine and stronger hover ---------- */
.btn.primary {
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .3s ease, filter .3s ease;
}
.btn.primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 70%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
  pointer-events: none;
}
.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(255, 36, 47, 0.45), 0 0 18px rgba(255, 36, 47, 0.3);
  filter: saturate(1.15);
}
.btn.primary:hover::before { left: 130%; }

/* ---------- Social icon in the header ---------- */
.social-link {
  transition: transform .25s ease, color .25s ease, filter .25s ease;
}
.social-link:hover {
  transform: translateY(-2px) scale(1.12);
  color: var(--gs-cyan);
  filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.7));
}

/* ---------- LOGIN button ---------- */
.nav-btn-login {
  transition: box-shadow .3s ease, transform .2s ease, border-color .3s ease;
}
.nav-btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(164, 182, 255, 0.45);
}

/* ---------- Fighter cards (select screen) ---------- */
.fighter-card {
  transition: transform .25s ease, box-shadow .3s ease, border-color .3s ease;
}
.fighter-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 36, 47, 0.35);
}

/* ---------- Timeline markers (roadmap) ---------- */
.timeline-marker.current {
  animation: gsLive 2s ease-in-out infinite;
}

/* ---------- Smooth section reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .game-modes,
  .arcade-rank-section,
  .ecosystem,
  .features,
  .roadmap {
    animation: gsFadeUp .8s ease both;
  }
  .arcade-rank-section { animation-delay: .05s; }
  .ecosystem { animation-delay: .1s; }
  .features  { animation-delay: .1s; }
  .roadmap   { animation-delay: .1s; }
}
@keyframes gsFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Respect accessibility settings ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  .home_neonText__LkIkn,
  .mode-icon,
  .section-header h2::after {
    animation: none !important;
    transition: none !important;
  }
}
