/* ═══════════════════════════════════════════════════════════════
   EVAX — Gaming Portfolio CSS
   Dark Mode | Neon Blue/Purple Accents | Minimal Aesthetic
═══════════════════════════════════════════════════════════════ */

/* ──────────────────── CSS Custom Properties ──────────────────── */
:root {
  /* Colors */
  --bg-primary:    #080b12;
  --bg-secondary:  #0d1117;
  --bg-card:       #111827;
  --bg-card-hover: #151e2d;
  --bg-surface:    #1a2235;

  --accent-blue:   #3b82f6;
  --accent-purple: #a855f7;
  --accent-cyan:   #06b6d4;
  --accent-glow:   rgba(59,130,246,0.35);
  --accent-glow-p: rgba(168,85,247,0.3);

  --text-primary:  #f1f5f9;
  --text-secondary:#94a3b8;
  --text-muted:    #475569;

  --border:        rgba(255,255,255,0.06);
  --border-accent: rgba(59,130,246,0.25);

  /* Spacing */
  --section-pad: clamp(5rem, 10vw, 8rem);
  --container:   1280px;

  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ──────────────────── Layout Utilities ──────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.text-accent {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ──────────────────── Section Headers ──────────────────── */
.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 0.75rem;
  position: relative;
}

.section-label::before,
.section-label::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent-blue);
  vertical-align: middle;
  margin: 0 0.6rem;
  opacity: 0.5;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(1.08); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(6px); opacity: 0.5; }
}

@keyframes bar-fill {
  from { width: 0; }
  to   { width: var(--w); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease) forwards;
  animation-delay: var(--delay, 0s);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, box-shadow 0.4s;
}

.navbar.scrolled {
  background: rgba(8, 11, 18, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-container {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.logo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  box-shadow: 0 0 8px var(--accent-blue);
  animation: pulse-glow 2.5s ease infinite;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  position: relative;
  padding: 0.4rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: color 0.25s, background 0.25s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 70%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(59,130,246,0.08);
}

.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(8, 11, 18, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 1.5rem;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  pointer-events: none;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}

.mobile-link:hover {
  color: var(--text-primary);
  background: rgba(59,130,246,0.1);
}

/* ══════════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.hero-glow--1 {
  width: 600px;
  height: 600px;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
  animation: pulse-glow 6s ease infinite;
}

.hero-glow--2 {
  width: 400px;
  height: 400px;
  bottom: 10%;
  right: 10%;
  background: radial-gradient(circle, rgba(168,85,247,0.1) 0%, transparent 70%);
  animation: pulse-glow 8s ease infinite 2s;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-blue);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-glow 2s ease infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 12rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  text-shadow: 0 0 80px rgba(59,130,246,0.2);
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(59,130,246,0.5));
}

.hero-tagline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.tagline-sep {
  color: var(--accent-blue);
  opacity: 0.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.6rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.07), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-2px); }

.btn--steam {
  background: #1b2838;
  border-color: rgba(255,255,255,0.1);
  color: var(--text-primary);
}
.btn--steam:hover {
  box-shadow: 0 8px 24px rgba(27,40,56,0.8), 0 0 0 1px rgba(255,255,255,0.15);
}

.btn--discord {
  background: #5865f2;
  color: #fff;
}
.btn--discord:hover {
  box-shadow: 0 8px 24px rgba(88,101,242,0.4);
}

.btn--twitch {
  background: #9146ff;
  color: #fff;
}
.btn--twitch:hover {
  box-shadow: 0 8px 24px rgba(145,70,255,0.4);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s;
  z-index: 1;
}

.scroll-indicator:hover { color: var(--accent-blue); }

.scroll-arrow {
  animation: scroll-bounce 2s ease infinite;
}

/* ══════════════════════════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════════════════════════ */
.about-section { background: var(--bg-secondary); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-image-frame {
  position: relative;
  width: clamp(200px, 30vw, 320px);
  aspect-ratio: 1;
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  border: 1px solid var(--border);
}

.about-image-placeholder i {
  font-size: 3.5rem;
  opacity: 0.3;
}

.about-image-border {
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple), transparent, transparent);
  z-index: -1;
  opacity: 0.4;
}

.about-image-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.12), transparent 70%);
  z-index: -2;
  animation: pulse-glow 4s ease infinite;
}

.about-tag {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(59,130,246,0.35);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-name-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
  padding: 0.35rem 0.85rem;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 8px;
  width: fit-content;
}

.about-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.about-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid var(--border);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  flex: 1;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.3rem 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.tag:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: rgba(59,130,246,0.08);
}

/* ══════════════════════════════════════════════════════════
   GAMES SECTION
══════════════════════════════════════════════════════════ */
.games-section { background: var(--bg-primary); }

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(160px, 20vw, 200px), 1fr));
  gap: 1.25rem;
}

.game-card {
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}

.game-card-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.game-card-inner:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: var(--border-accent);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(59,130,246,0.15), 0 0 30px rgba(59,130,246,0.08);
}

.game-img-wrapper {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: var(--bg-surface);
}

.game-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}

.game-card-inner:hover .game-img {
  transform: scale(1.06);
  filter: brightness(1.1) saturate(1.15);
}

.game-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,11,18,0.9) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 0.75rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.game-card-inner:hover .game-overlay { opacity: 1; }

.game-genre {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-blue);
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.game-info {
  padding: 0.75rem 0.9rem 0.85rem;
}

.game-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-bar {
  height: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}

.game-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  border-radius: 2px;
  transition: width 1.2s var(--ease);
}

.game-card.revealed .game-bar-fill {
  width: var(--w);
}

/* ══════════════════════════════════════════════════════════
   GALLERY SECTION
══════════════════════════════════════════════════════════ */
.gallery-section { background: var(--bg-secondary); }

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.25s var(--ease);
}

.filter-btn:hover,
.filter-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(59,130,246,0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.gallery-item.hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  position: absolute;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform 0.4s var(--ease), filter 0.4s;
}

.gallery-placeholder i {
  font-size: 2rem;
  opacity: 0.4;
  margin-bottom: 0.25rem;
}

.gallery-placeholder small {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}

.gallery-placeholder--1 { background: linear-gradient(135deg, #0f1a2e, #1a1540); }
.gallery-placeholder--2 { background: linear-gradient(135deg, #0d1f1a, #0a2818); }
.gallery-placeholder--3 { background: linear-gradient(135deg, #1a0f2e, #240a40); }
.gallery-placeholder--4 { background: linear-gradient(135deg, #0f1a2e, #1a2040); }
.gallery-placeholder--5 { background: linear-gradient(135deg, #1a1020, #2a0f35); }
.gallery-placeholder--6 { background: linear-gradient(135deg, #0a1a1a, #091520); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,11,18,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  border-radius: 12px;
}

.gallery-img-wrap:hover .gallery-placeholder {
  transform: scale(1.04);
  filter: brightness(1.1);
}

.gallery-img-wrap:hover .gallery-item-overlay { opacity: 1; }
.gallery-img-wrap:hover { box-shadow: 0 0 0 1px var(--border-accent), 0 0 30px rgba(59,130,246,0.12); }

.gallery-zoom-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.4);
  color: var(--accent-blue);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease-spring), background 0.25s;
}

.gallery-zoom-btn:hover {
  transform: scale(1.15);
  background: var(--accent-blue);
  color: #fff;
}

.gallery-category-badge {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(8,11,18,0.8);
  border: 1px solid var(--border);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* ──────────── Lightbox ──────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 800px);
  width: 100%;
  transform: scale(0.95);
  transition: transform 0.3s var(--ease-spring);
}

.lightbox.open .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.lightbox-close:hover {
  background: var(--accent-blue);
  color: #fff;
}

.lightbox-media {
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  gap: 0.75rem;
}

.lightbox-media i {
  font-size: 2rem;
  opacity: 0.4;
}

.lightbox-caption {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ══════════════════════════════════════════════════════════
   INVENTORY SECTION
══════════════════════════════════════════════════════════ */
.inventory-section { background: var(--bg-primary); }

.inventory-sub-header {
  margin-bottom: 1.5rem;
}

.inventory-sub-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.inventory-sub-title i {
  color: var(--accent-blue);
  opacity: 0.7;
}

/* Featured Skins */
.featured-skins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.skin-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.skin-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 30px rgba(59,130,246,0.08);
}

.skin-card-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.04), rgba(168,85,247,0.04));
  opacity: 0;
  transition: opacity 0.35s;
}

.skin-card:hover .skin-card-glow { opacity: 1; }

.skin-img-wrap {
  position: relative;
  height: 160px;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.skin-placeholder {
  width: 120px;
  height: 80px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  opacity: 0.4;
  color: var(--accent-blue);
  transition: transform 0.35s var(--ease);
}

.skin-card:hover .skin-placeholder {
  transform: scale(1.05) rotate(-2deg);
  opacity: 0.6;
}

.skin-placeholder--1 { background: linear-gradient(135deg, #1a1540, #0f1a2e); }
.skin-placeholder--2 { background: linear-gradient(135deg, #1a0f2e, #240a40); }
.skin-placeholder--3 { background: linear-gradient(135deg, #0f1a2e, #1a2040); }

.skin-rarity {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.skin-rarity--covert {
  background: rgba(235,75,75,0.15);
  border: 1px solid rgba(235,75,75,0.3);
  color: #eb4b4b;
}

.skin-rarity--classified {
  background: rgba(168,85,247,0.15);
  border: 1px solid rgba(168,85,247,0.3);
  color: var(--accent-purple);
}

.skin-info {
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.skin-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.skin-wear {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.skin-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-top: 0.2rem;
}

/* Inventory Grid */
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 0.75rem;
}

.inv-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}

.inv-item:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--border-accent);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3), 0 0 15px rgba(59,130,246,0.08);
}

.inv-item-img {
  aspect-ratio: 1;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.inv-placeholder {
  color: var(--text-muted);
  font-size: 1.5rem;
  opacity: 0.3;
}

.inv-item-name {
  display: block;
  padding: 0.35rem 0.4rem;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ══════════════════════════════════════════════════════════
   LINKS / HUB SECTION
══════════════════════════════════════════════════════════ */
.links-section { background: var(--bg-secondary); }

.links-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.links-group-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.links-group-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 0.85rem;
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.link-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 0 2px 2px 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.link-card:hover::before { opacity: 1; }

.link-card:hover {
  transform: translateX(4px);
  border-color: var(--border-accent);
}

.link-card--steam::before   { background: #1b2838; }
.link-card--discord::before { background: #5865f2; }
.link-card--twitch::before  { background: #9146ff; }
.link-card--tradeit::before { background: var(--accent-blue); }
.link-card--amazon::before  { background: #ff9900; }
.link-card--youtube::before { background: #ff0000; }
.link-card--tiktok::before  { background: #010101; }

.link-card--steam:hover   { box-shadow: 0 4px 20px rgba(27,40,56,0.3); }
.link-card--discord:hover { box-shadow: 0 4px 20px rgba(88,101,242,0.2); }
.link-card--twitch:hover  { box-shadow: 0 4px 20px rgba(145,70,255,0.2); }
.link-card--tradeit:hover { box-shadow: 0 4px 20px rgba(59,130,246,0.2); }
.link-card--amazon:hover  { box-shadow: 0 4px 20px rgba(255,153,0,0.15); }
.link-card--youtube:hover { box-shadow: 0 4px 20px rgba(255,0,0,0.2); }
.link-card--tiktok:hover  { box-shadow: 0 4px 20px rgba(105,201,208,0.2); }

.link-card--placeholder {
  opacity: 0.5;
  pointer-events: none;
}

.link-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-spring);
}

.link-card:hover .link-card-icon {
  transform: scale(1.1) rotate(-3deg);
}

.link-card--steam   .link-card-icon { background: #1b2838;         color: #c6d4df; }
.link-card--discord .link-card-icon { background: #5865f2;         color: #fff; }
.link-card--twitch  .link-card-icon { background: #9146ff;         color: #fff; }
.link-card--tradeit .link-card-icon { background: rgba(59,130,246,0.15); color: var(--accent-blue); }
.link-card--amazon  .link-card-icon { background: rgba(255,153,0,0.12);  color: #ff9900; }
.link-card--youtube .link-card-icon { background: rgba(255,0,0,0.12);    color: #ff0000; }
.link-card--tiktok  .link-card-icon { background: rgba(105,201,208,0.12); color: #69c9d0; }

.link-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.link-card-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.link-card-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-card-arrow {
  color: var(--text-muted);
  font-size: 0.75rem;
  transition: transform 0.25s var(--ease), color 0.25s;
}

.link-card:hover .link-card-arrow {
  transform: translateX(3px);
  color: var(--accent-blue);
}

/* Socials */
.socials-section {
  text-align: center;
  padding-top: 1rem;
}

.socials-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.socials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.4rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, color 0.25s, border-color 0.25s, background 0.25s;
}

.social-btn:hover {
  transform: translateY(-3px);
}

.social-btn--placeholder {
  opacity: 0.45;
  pointer-events: none;
}

.social-btn--discord:hover {
  background: #5865f2;
  border-color: #5865f2;
  color: #fff;
  box-shadow: 0 8px 24px rgba(88,101,242,0.3);
}

.social-btn--twitch:hover {
  background: #9146ff;
  border-color: #9146ff;
  color: #fff;
  box-shadow: 0 8px 24px rgba(145,70,255,0.3);
}

.social-btn--tiktok:hover {
  background: #010101;
  border-color: #69c9d0;
  color: #69c9d0;
}

.social-btn--youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
  color: #fff;
  box-shadow: 0 8px 24px rgba(255,0,0,0.3);
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {}

.footer-logo {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.35rem;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  align-items: center;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent-blue); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-made { display: flex; align-items: center; gap: 0.35rem; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image-wrapper { margin: 0 auto; }
  .about-name-badge { margin: 0 auto; }
  .about-tags { justify-content: center; }
  .about-stats { max-width: 400px; margin: 0 auto; }

  .links-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-title { font-size: clamp(4rem, 22vw, 7rem); }

  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.85rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .gallery-item--wide {
    grid-column: span 2;
  }

  .featured-skins-grid {
    grid-template-columns: 1fr;
  }

  .inventory-grid {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-tagline {
    flex-direction: column;
    gap: 0.25rem;
  }

  .tagline-sep { display: none; }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 180px;
  }

  .gallery-item--wide {
    grid-column: span 1;
  }

  .about-image-frame {
    width: 200px;
  }

  .socials-grid {
    gap: 0.5rem;
  }
}

/* ──────────── Scrollbar Styling ──────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-blue), var(--accent-purple));
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-blue); }

/* ──────────── Selection ──────────── */
::selection {
  background: rgba(59,130,246,0.3);
  color: var(--text-primary);
}

/* ══════════════════════════════════════════════════════════
   LANGUAGE SWITCHER
══════════════════════════════════════════════════════════ */
.lang-switcher {
  position: relative;
  margin-right: 0.5rem;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.lang-btn:hover {
  background: rgba(59,130,246,0.1);
  border-color: var(--border-accent);
  color: var(--text-primary);
}

.lang-flag {
  font-size: 1rem;
  line-height: 1;
}

.lang-arrow {
  font-size: 0.6rem;
  transition: transform 0.25s var(--ease);
  opacity: 0.6;
}

.lang-switcher.open .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 140px;
  background: rgba(13,17,23,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.4rem;
  z-index: 1100;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(59,130,246,0.08);
  opacity: 0;
  transform: translateY(-6px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.83rem;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-align: left;
}

.lang-option:hover {
  background: rgba(59,130,246,0.1);
  color: var(--text-primary);
}

.lang-option.active {
  color: var(--accent-blue);
  background: rgba(59,130,246,0.08);
}

.lang-option span:first-child {
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .lang-switcher {
    margin-right: 0.25rem;
  }
  .lang-current {
    display: none;
  }
  .lang-btn {
    padding: 0.35rem 0.55rem;
  }
}

/* ══════════════════════════════════════════════════════════
   STEAM LIVE INVENTORY
══════════════════════════════════════════════════════════ */
.inv-live-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.inv-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(27,40,56,0.8);
  border: 1px solid rgba(100,149,200,0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #c6d4df;
}

.inv-live-badge i { color: #c6d4df; font-size: 0.9rem; }

.inv-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-glow 2s ease infinite;
}

.inv-item-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Rarity Filters */
.inv-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.inv-filter-btn {
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: var(--font-body);
}

.inv-filter-btn:hover { border-color: var(--border-accent); color: var(--text-primary); }
.inv-filter-btn.active {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(59,130,246,0.3);
}

/* Loading */
.inv-loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 4rem 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.inv-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(59,130,246,0.15);
  border-top-color: var(--accent-blue);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

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

.inv-error {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  color: #ef4444;
  font-size: 0.9rem;
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 12px;
}

/* Steam Inventory Grid */
.steam-inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.85rem;
  min-height: 200px;
}

.steam-item {
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
  position: relative;
  animation: fadeInUp 0.4s var(--ease) both;
}

.steam-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4), 0 0 0 1px var(--item-color, var(--border-accent));
  border-color: var(--item-color, var(--border-accent));
}

.steam-item-img-wrap {
  position: relative;
  background: var(--item-bg, var(--bg-surface));
  padding: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
}

.steam-item-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--item-color, var(--border-accent));
  opacity: 0.7;
}

.steam-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s var(--ease);
  display: block;
}

.steam-item:hover img {
  transform: scale(1.08);
}

.steam-item-info {
  padding: 0.5rem 0.6rem 0.6rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.steam-item-name {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.steam-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.3rem;
}

.steam-item-wear {
  font-size: 0.6rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.steam-item-rarity {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--item-color, var(--accent-blue));
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}

.steam-item.hidden-item {
  display: none;
}

/* Tooltip on hover */
.steam-item-tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(8,11,18,0.97);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.72rem;
  color: var(--text-primary);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  z-index: 100;
  transition: opacity 0.2s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.steam-item:hover .steam-item-tooltip {
  opacity: 1;
}

@media (max-width: 768px) {
  .steam-inventory-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.6rem;
  }
}

@media (max-width: 480px) {
  .steam-inventory-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ══════════════════════════════════════════════════════════
   Steam Live-Inventar Karten (steam-inv-card)
══════════════════════════════════════════════════════════ */

/* Rarity-Klassen – definieren CSS-Variablen */
.rarity-knife     { --rc: #e4ae39; --rb: rgba(228,174,57,0.18); }
.rarity-covert    { --rc: #eb4b4b; --rb: rgba(235,75,75,0.15);  }
.rarity-classified{ --rc: #d32ce6; --rb: rgba(211,44,230,0.15); }
.rarity-restricted{ --rc: #8847ff; --rb: rgba(136,71,255,0.15); }
.rarity-milspec   { --rc: #4b69ff; --rb: rgba(75,105,255,0.15); }
.rarity-industrial{ --rc: #5e98d9; --rb: rgba(94,152,217,0.12); }
.rarity-consumer  { --rc: #b0c3d9; --rb: rgba(176,195,217,0.10);}
.rarity-base      { --rc: #b0c3d9; --rb: rgba(176,195,217,0.10);}

/* Karte */
.steam-inv-card {
  background: var(--rb, rgba(255,255,255,0.04));
  border: 1px solid color-mix(in srgb, var(--rc, #3b82f6) 25%, transparent);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  cursor: default;
}

.steam-inv-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 28px rgba(0,0,0,0.45),
              0 0 16px color-mix(in srgb, var(--rc, #3b82f6) 30%, transparent);
  border-color: color-mix(in srgb, var(--rc, #3b82f6) 55%, transparent);
}

/* Bild-Bereich */
.steam-inv-img-wrap {
  position: relative;
  aspect-ratio: 1 / 0.75;
  background: linear-gradient(135deg, #0d1117, #161b27);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.steam-inv-img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.steam-inv-card:hover .steam-inv-img {
  transform: scale(1.08);
}

.steam-inv-placeholder {
  color: var(--rc, #3b82f6);
  font-size: 2rem;
  opacity: 0.4;
}

/* Handels-Badge */
.inv-market-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.35);
  color: #3b82f6;
  font-size: 0.6rem;
  padding: 2px 5px;
  border-radius: 4px;
  line-height: 1.4;
}

/* Info-Bereich */
.steam-inv-info {
  padding: 0.55rem 0.65rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.steam-inv-name {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.steam-inv-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.inv-type,
.inv-wear {
  font-size: 0.58rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 1px 5px;
  border-radius: 3px;
  white-space: nowrap;
}

.steam-inv-rarity {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Leerer Zustand */
.inv-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 3rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.inv-empty i {
  font-size: 2.5rem;
  opacity: 0.3;
}

/* Error-State als flex */
.inv-error {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem;
  color: #eb4b4b;
  font-size: 0.9rem;
  background: rgba(235,75,75,0.07);
  border: 1px solid rgba(235,75,75,0.2);
  border-radius: 10px;
  margin-top: 1rem;
}

/* Responsive: kleinere Karten auf Mobile */
@media (max-width: 480px) {
  .steam-inv-name { font-size: 0.62rem; }
  .inv-type, .inv-wear { font-size: 0.55rem; }
  .steam-inv-rarity { font-size: 0.55rem; }
}

/* ══════════════════════════════════════════════════════════
   Navbar-Logo Avatar + Linksausrichtung
══════════════════════════════════════════════════════════ */
.nav-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(59,130,246,0.45);
  box-shadow: 0 0 8px rgba(59,130,246,0.25);
  flex-shrink: 0;
}

/* Logo so weit links wie möglich – ohne extra margin */
.nav-container {
  padding-left: 1.25rem !important;
}

@media (min-width: 1024px) {
  .nav-container {
    padding-left: 2rem !important;
  }
}

/* ══════════════════════════════════════════════════════════
   About – echtes Profilbild
══════════════════════════════════════════════════════════ */
.about-image-placeholder--filled {
  padding: 0;
  background: transparent;
  border: none;
  overflow: hidden;
}

.about-profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}
