@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@500;600;700;800;900&display=swap');

:root {
  --fn-yellow: #f7ff19;
  --fn-cyan: #38d6ff;
  --fn-glass: rgba(11, 20, 42, 0.72);
  --fn-glass-strong: rgba(8, 15, 33, 0.88);
  --fn-border: rgba(255, 255, 255, 0.14);
}

body {
  background-color: #09132b;
  background-image:
    radial-gradient(circle at 50% 35%, rgba(36, 118, 235, 0.42) 0%, rgba(12, 34, 82, 0.85) 55%, #060d21 100%);
  background-attachment: fixed;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

.fn-display {
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Modern In-Game Translucent HUD Glass */
.fn-glass {
  background: var(--fn-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--fn-border);
  border-radius: 16px;
}

.fn-glass-dark {
  background: var(--fn-glass-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--fn-border);
  border-radius: 16px;
}

/* Top Lobby Tabs (Modern Fortnite Pill Style) */
.fn-tab {
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  transition: all 0.15s ease;
}
.fn-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}
.fn-tab.active {
  color: #090d16;
  background: #ffffff;
}

/* Modern In-Game Yellow PLAY / Action Button */
.fn-play-btn {
  background: var(--fn-yellow);
  color: #090d16;
  border-radius: 14px;
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(247, 255, 25, 0.25);
  transition: transform 0.12s ease, background-color 0.12s ease, box-shadow 0.15s ease;
}
.fn-play-btn:hover {
  background: #ffffff;
  transform: scale(1.02);
  box-shadow: 0 12px 34px rgba(255, 255, 255, 0.35);
}
.fn-play-btn:active {
  transform: scale(0.99);
}

/* Floating Lobby (+) Invite Circle */
.fn-invite-circle {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(15, 32, 71, 0.65);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: all 0.15s ease;
}
.fn-invite-slot:hover .fn-invite-circle {
  background: rgba(255, 255, 255, 0.22);
  border-color: var(--fn-yellow);
  transform: scale(1.08);
}

/* Fortnite Rarity Tiles (Shop & Cards) */
.fn-tile {
  position: relative;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.fn-tile:hover {
  border-color: var(--fn-yellow);
  transform: translateY(-3px);
}
.tile-uncommon  { background: radial-gradient(circle at 50% 25%, #4ec22f 0%, #1f6110 68%, #0e2e06 100%); }
.tile-rare      { background: radial-gradient(circle at 50% 25%, #279df2 0%, #0e467d 68%, #06213d 100%); }
.tile-epic      { background: radial-gradient(circle at 50% 25%, #a842f5 0%, #51128a 68%, #22053d 100%); }
.tile-legendary { background: radial-gradient(circle at 50% 25%, #f08826 0%, #873f07 68%, #361702 100%); }
.tile-mythic    { background: radial-gradient(circle at 50% 25%, #f7d92c 0%, #8f6404 68%, #3b2801 100%); }
.tile-exotic    { background: radial-gradient(circle at 50% 25%, #17c3e6 0%, #0b5a6e 68%, #04252e 100%); }

@keyframes hitShake {
  0%, 100% { transform: translateX(0) scale(1); }
  25% { transform: translateX(-5px) scale(0.98); }
  75% { transform: translateX(5px) scale(0.98); }
}
.shake-now {
  animation: hitShake 0.2s ease-in-out;
}