
@font-face {
  font-family: 'RuneScape UF';
  src: url('../fonts/RuneScape-UF.woff2') format('woff2'),
       url('../fonts/RuneScape-UF.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
.font-rs { font-family: 'RuneScape UF', sans-serif; }

/* GP shimmering coin glint */
.gp-counter {
  background: linear-gradient(90deg, #facc15, #fff176, #facc15);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
  font-weight: bold;
}
@keyframes shimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}
.gp-counter{
  font-size: clamp(1.35rem, 1.4vw + 1rem, 2.4rem); /* mobile → desktop */
  line-height: 1;
  letter-spacing: .25px;
  white-space: nowrap;
  text-shadow: 0 0 6px rgba(250,204,21,.28); /* subtle halo */
}

/* Tiny nudge so baseline lines up with the brand text */
@media (min-width: 1024px){
  .gp-counter{ transform: translateY(1px); }
}

/* Cyan saber underline for active page — animate on load, then pulse */
/* 🌌 Nav link base */
.nav-link {
  position: relative;
  transition: color 0.35s ease, text-shadow 0.35s ease;
}

/* 🔹 Hover underline (non-active links) */
.nav-link:not(.active-link)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #e879f9; /* magenta */
  border-radius: 3px;
  box-shadow: 0 0 4px #e879f9, 0 0 10px #e879f9;
  transition: all 0.35s ease;
  opacity: 0;
}
.nav-link:not(.active-link):hover {
  color: #e879f9 !important;
  text-shadow: 0 0 4px #e879f9, 0 0 10px #e879f9;
}
.nav-link:not(.active-link):hover::after {
  left: 0;
  width: 100%;
  opacity: 1;
  animation: hoverPulse 4.5s ease-in-out infinite; /* 🔄 slower */
}

/* 🔹 Active link (cyan default) */
.nav-link.active-link {
  --glow-color: #38bdf8; /* cyan */
  color: var(--glow-color) !important;
  text-shadow: 0 0 2px var(--glow-color), 0 0 6px var(--glow-color);
}
.nav-link.active-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--glow-color);
  border-radius: 3px;
  box-shadow: 0 0 4px var(--glow-color), 0 0 10px var(--glow-color);
  opacity: 1;
  animation: cyanGrow 0.5s ease-out forwards,
             saberPulse 4.5s ease-in-out infinite 0.5s;
  transition: background 0.35s ease, box-shadow 0.35s ease, color 0.35s ease, text-shadow 0.35s ease;
}

/* 🔹 Hover active → shift to green */
.nav-link.active-link:hover {
  --glow-color: #4ade80; /* emerald green */
}
.nav-link.active-link:hover::after {
  background: var(--glow-color);
  box-shadow: 0 0 4px var(--glow-color), 0 0 10px var(--glow-color);
}

/* 🔹 Keyframes */
@keyframes cyanGrow {
  0%   { left: 50%; width: 0; opacity: 0; }
  100% { left: 0;   width: 100%; opacity: 1; }
}
@keyframes saberPulse {
  0%, 100% { box-shadow: 0 0 4px var(--glow-color), 0 0 10px var(--glow-color); }
  50%      { box-shadow: 0 0 8px var(--glow-color), 0 0 16px var(--glow-color); }
}
@keyframes hoverPulse {
  0%, 100% { box-shadow: 0 0 4px #e879f9, 0 0 10px #e879f9; }
  50%      { box-shadow: 0 0 8px #e879f9, 0 0 16px #e879f9; }
}
/* Sith red hover for Drop Log */
.sith-hover:hover {
  color: #4ade80 !important; /* emerald green */
  text-shadow: 0 0 8px #4ade80, 0 0 16px #4ade80, 0 0 24px #4ade80;
}
/* === Cursor / Selection Fixes === */
.hero-title,
.hero-subtitle,
.card-title,
.gp-counter,
.nav-link {
  cursor: default;     /* always arrow, not I-beam */
  user-select: none;   /* no text highlight */
}

/* Make <button class="nav-link"> look/behave like a link (no black box) */
button.nav-link {
  background: transparent;
  border: 0;
  padding: 0;
  line-height: 1;
  appearance: none;
}
button.nav-link:focus { outline: none; }

/* Dropdown items should also get the saber underline */
.nav-sub.nav-link {
  position: relative;  /* enable ::after underline positioning */
  display: block;      /* keep full-width click target */
}

/* Dropdown underline sits a bit tighter */
.nav-sub.nav-link::after {
  bottom: -2px;
}

/* If you want *only* the neon effect (no dark hover fill), keep this on: */
.nav-sub.nav-link:hover { background: transparent; }
