/* ═══════════════════════════════════════════════════════════════════════════
   JoeyIsStillAlive — Premium Obsidian & Crimson Theme
   "Built by yours truly"
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ─── Design Tokens ──────────────────────────────────────────────────────── */
:root {
  --bg-primary: #07080b;
  --bg-secondary: #0d0f15;
  --bg-card: #11141c;
  --bg-card-hover: #161a25;
  --bg-input: #0a0c12;
  --bg-glass: rgba(13, 15, 21, 0.75);

  --red-primary: #ff2a44;
  --red-bright: #ff475f;
  --red-glow: rgba(255, 42, 68, 0.45);
  --red-dark: #8a1422;
  --red-subtle: rgba(255, 42, 68, 0.08);
  --red-medium: rgba(255, 42, 68, 0.22);
  --red-border: rgba(255, 42, 68, 0.35);

  --text-primary: #f5f7fb;
  --text-secondary: #8c93a8;
  --text-muted: #545b73;

  --border-color: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 42, 68, 0.5);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-red: 0 0 30px rgba(255, 42, 68, 0.25);
  --shadow-red-lg: 0 0 50px rgba(255, 42, 68, 0.35);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-card-hover: 0 16px 45px rgba(255, 42, 68, 0.18), 0 0 20px rgba(255, 42, 68, 0.1);

  --transition-fast: 0.16s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-med: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

/* ─── Ambient Glowing Background Mesh & Cyber Grid ──────────────────────── */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle 800px at 50% -15%, rgba(255, 42, 68, 0.16), transparent 70%),
    radial-gradient(circle 600px at 85% 85%, rgba(255, 42, 68, 0.06), transparent 60%),
    radial-gradient(circle 500px at 15% 60%, rgba(255, 42, 68, 0.04), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ─── Custom Scrollbar ─────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--red-dark);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--red-primary);
  box-shadow: 0 0 10px var(--red-glow);
}

/* ─── Layout Container ──────────────────────────────────────────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ─── Top Brand Ticker Banner ───────────────────────────────────────────── */
.top-ticker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 8px 16px;
  background: linear-gradient(90deg, rgba(255, 42, 68, 0.05), rgba(255, 42, 68, 0.15), rgba(255, 42, 68, 0.05));
  border-bottom: 1px solid rgba(255, 42, 68, 0.2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 10;
}

.top-ticker .ticker-highlight {
  color: var(--red-bright);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-ticker .ticker-dot {
  width: 6px;
  height: 6px;
  background: var(--red-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--red-primary);
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* ─── Navbar ────────────────────────────────────────────────────────────── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 45px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-wrap {
  position: relative;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid rgba(255, 42, 68, 0.4);
  box-shadow: 0 0 16px rgba(255, 42, 68, 0.35);
  display: block;
}

.logo-info {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 30%, var(--red-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.15;
}

.logo-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--red-bright);
  letter-spacing: 0.5px;
  font-weight: 600;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: var(--red-subtle);
  border-color: rgba(255, 42, 68, 0.2);
}

.nav-links a.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 42, 68, 0.25), rgba(255, 42, 68, 0.1));
  border-color: var(--red-border);
  box-shadow: 0 0 14px rgba(255, 42, 68, 0.2);
}

.panic-btn {
  background: rgba(255, 42, 68, 0.1);
  border: 1px solid var(--red-border);
  color: var(--red-bright);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.panic-btn:hover {
  background: var(--red-primary);
  color: #fff;
  border-color: var(--red-primary);
  box-shadow: var(--shadow-red);
  transform: translateY(-1px);
}

/* ─── Hero Section ──────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 40px 0 50px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 42, 68, 0.1);
  border: 1px solid rgba(255, 42, 68, 0.35);
  border-radius: var(--radius-full);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red-bright);
  letter-spacing: 0.8px;
  margin-bottom: 22px;
  box-shadow: 0 0 20px rgba(255, 42, 68, 0.2);
  text-transform: uppercase;
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 3.6rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  line-height: 1.08;
}

.hero h1 .accent {
  background: linear-gradient(135deg, #ff475f, #ff2a44, #ff8090, #ff2a44);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 300% auto;
  animation: shimmer 4s ease-in-out infinite;
  display: inline-block;
  filter: drop-shadow(0 0 25px rgba(255, 42, 68, 0.4));
}

@keyframes shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 580px;
  margin: 0 auto 38px;
  font-weight: 400;
  line-height: 1.6;
}

/* ─── Upgraded Search Bar ───────────────────────────────────────────────── */
.search-container {
  max-width: 700px;
  margin: 0 auto 24px;
  position: relative;
}

.search-bar-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 6px 8px 6px 20px;
  transition: all var(--transition-med);
  box-shadow: var(--shadow-card);
}

.search-bar-wrap:hover {
  border-color: rgba(255, 42, 68, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 42, 68, 0.1);
}

.search-bar-wrap:focus-within {
  border-color: var(--red-primary);
  background: #0f121a;
  box-shadow: 0 0 0 4px var(--red-medium), var(--shadow-red);
}

.search-icon-prefix {
  font-size: 1.2rem;
  margin-right: 12px;
  color: var(--red-bright);
  display: flex;
  align-items: center;
  filter: drop-shadow(0 0 6px rgba(255, 42, 68, 0.6));
}

.search-bar {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  padding: 12px 0;
}

.search-bar::placeholder {
  color: var(--text-muted);
}

.search-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.kbd-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-family: 'JetBrains Mono', monospace;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  user-select: none;
}

.search-btn {
  background: linear-gradient(135deg, var(--red-primary), #d91c33);
  border: none;
  color: white;
  height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 16px rgba(255, 42, 68, 0.4);
}

.search-btn:hover {
  background: linear-gradient(135deg, var(--red-bright), var(--red-primary));
  box-shadow: 0 6px 24px rgba(255, 42, 68, 0.6);
  transform: translateY(-1px);
}

/* ─── Quick Access Pills ────────────────────────────────────────────────── */
.quick-access {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto 65px;
}

.quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(18, 21, 29, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  backdrop-filter: blur(10px);
}

.quick-btn:hover {
  border-color: var(--red-border);
  color: #fff;
  background: rgba(255, 42, 68, 0.12);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 24px rgba(255, 42, 68, 0.25);
}

.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), filter 0.22s ease;
}

.quick-btn:hover .brand-icon {
  transform: scale(1.18) rotate(-5deg);
  filter: drop-shadow(0 0 10px currentColor);
}

.quick-btn .icon {
  font-size: 1.05rem;
}

/* ─── Section Headers ───────────────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-header h2::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 26px;
  background: linear-gradient(to bottom, var(--red-bright), var(--red-dark));
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px var(--red-glow);
}

.section-header a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 4px;
}

.section-header a:hover {
  color: var(--red-bright);
}

/* ─── Filter Tabs (Games page) ─────────────────────────────────────────── */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
  padding: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.filter-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: 'Inter', sans-serif;
}

.filter-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.filter-tab.active {
  color: #fff;
  background: var(--red-primary);
  box-shadow: 0 2px 14px rgba(255, 42, 68, 0.4);
}

/* ─── Premium Game Cards Grid ───────────────────────────────────────────── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 20px;
  margin-bottom: 70px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-med);
  text-decoration: none;
  color: var(--text-primary);
  position: relative;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px) scale(1.015);
  box-shadow: var(--shadow-card-hover);
}

.game-thumb-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(255, 42, 68, 0.14), rgba(13, 15, 21, 0.98));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
}

.game-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), filter 0.38s ease;
}

.game-card:hover .game-thumb-img {
  transform: scale(1.08);
  filter: brightness(1.08) contrast(1.06);
}

.game-thumb-fallback {
  display: none;
  font-size: 3.2rem;
  transition: transform var(--transition-med);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.6));
}

.game-card:hover .game-thumb-fallback {
  transform: scale(1.18) rotate(3deg);
}

.game-thumb-placeholder {
  font-size: 3.2rem;
  transition: transform var(--transition-med);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.6));
}

.game-card:hover .game-thumb-placeholder {
  transform: scale(1.18) rotate(3deg);
}

.game-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
}

.badge-proxy {
  background: rgba(255, 42, 68, 0.25);
  color: #ff6b7e;
  border: 1px solid rgba(255, 42, 68, 0.4);
}

.badge-html5 {
  background: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.badge-stream {
  background: rgba(229, 9, 20, 0.25);
  color: #ff6b7e;
  border: 1px solid rgba(229, 9, 20, 0.5);
}

/* Play Now Hover Action */
.game-play-hover {
  position: absolute;
  inset: 0;
  background: rgba(7, 8, 11, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.game-card:hover .game-play-hover {
  opacity: 1;
}

.play-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red-primary);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 20px rgba(255, 42, 68, 0.7);
  transform: translateY(6px);
  transition: transform var(--transition-fast);
}

.game-card:hover .play-pill {
  transform: translateY(0);
}

.game-info {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.game-info h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-genre {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── High-End Proxy Browser Container & Toolbar ────────────────────────── */
.proxy-frame-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: var(--bg-primary);
  flex-direction: column;
}

.proxy-frame-container.active {
  display: flex;
}

.proxy-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: #0c0e14;
  border-bottom: 1px solid rgba(255, 42, 68, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  height: 52px;
}

.proxy-nav-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tb-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  font-size: 0.95rem;
}

.tb-btn:hover {
  background: rgba(255, 42, 68, 0.15);
  border-color: var(--red-border);
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 42, 68, 0.3);
}

.tb-btn-close:hover {
  background: var(--red-primary);
  color: #fff;
}

.proxy-url-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  background: #08090d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0 14px;
  height: 38px;
  transition: all var(--transition-fast);
}

.proxy-url-wrap:focus-within {
  border-color: var(--red-primary);
  box-shadow: 0 0 0 2px var(--red-medium);
}

.proxy-ssl-icon {
  font-size: 0.85rem;
  margin-right: 8px;
  color: #10b981;
}

.proxy-url-bar {
  flex: 1;
  background: transparent;
  border: none;
  color: #e2e8f0;
  font-size: 0.86rem;
  font-family: 'JetBrains Mono', monospace;
  outline: none;
}

.proxy-frame {
  width: 100%;
  flex: 1;
  border: none;
  background: #000;
}

/* ─── Loading Overlay ───────────────────────────────────────────────────── */
.loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 8, 11, 0.96);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  backdrop-filter: blur(12px);
}

.loading-overlay.active {
  display: flex;
}

.loader-ring {
  width: 58px;
  height: 58px;
  border: 4px solid rgba(255, 42, 68, 0.15);
  border-top-color: var(--red-primary);
  border-radius: 50%;
  animation: spin 0.75s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
  box-shadow: 0 0 25px rgba(255, 42, 68, 0.35);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-family: 'Outfit', sans-serif;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.loading-subtext {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ─── Tab Cloak Indicator ───────────────────────────────────────────────── */
.cloak-indicator {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 8px 16px;
  background: rgba(13, 15, 21, 0.85);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-family: 'JetBrains Mono', monospace;
  z-index: 100;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cloak-indicator:hover {
  border-color: var(--red-border);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 42, 68, 0.3);
  transform: translateY(-2px);
}

.cloak-indicator .status-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

/* ─── Footer with "Built by yours truly" ─────────────────────────────────── */
.footer {
  padding: 40px 0 60px;
  border-top: 1px solid var(--border-color);
  text-align: center;
  margin-top: 50px;
}

.footer-credit {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-credit .yours-truly {
  background: linear-gradient(135deg, var(--red-bright), #ff8090);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 25px rgba(255, 42, 68, 0.4);
}

.footer-sub {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 0.95rem; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .navbar { flex-direction: column; gap: 16px; }
  .top-ticker { display: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .search-btn { padding: 0 14px; font-size: 0.85rem; }
}

/* ─── Fade-in Animations ────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeInUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.fade-in-delay-1 { animation-delay: 0.08s; opacity: 0; }
.fade-in-delay-2 { animation-delay: 0.16s; opacity: 0; }
.fade-in-delay-3 { animation-delay: 0.24s; opacity: 0; }
.fade-in-delay-4 { animation-delay: 0.32s; opacity: 0; }
