/* ═══════════════════════════════════════════════════════════
   SH6OR V2 — Main Stylesheet
   تصميم مستوى شركة عالمية
═══════════════════════════════════════════════════════════ */

/* ═══ FONTS ═══ */
@font-face {
  font-family: 'SFPro';
  src: url('fonts/SFPRODISPLAYREGULAR.OTF') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ═══ RESET ═══ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-font-smoothing:antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ═══ SCROLLBAR ═══ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: var(--r-full);
}
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ═══ CURSOR GLOW ═══ */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,27,109,0.06) 0%, transparent 65%);
  transition: transform 0.1s linear;
}

/* ═══ NOISE OVERLAY ═══ */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ═══ PAGES ═══ */
.page { display: none; min-height: 100vh; }
.page.active { display: block; animation: fadeUp var(--dur-slow) var(--ease-out) both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 900;
  transition: background var(--dur), border-color var(--dur), box-shadow var(--dur);
}

.nav.scrolled {
  background: rgba(5,5,8,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 8px 40px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-logo { width: 36px; height: 36px; object-fit: contain; }

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-brand-name {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1px;
  background: var(--g-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-brand-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.nav-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--r-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-2);
  transition: all var(--dur) var(--ease-out);
  position: relative;
}

.nav-item-icon { font-size: 12px; opacity: 0.5; }

.nav-item:hover {
  color: var(--text);
  background: var(--bg-glass);
}

.nav-item.active {
  color: var(--text);
  background: var(--bg-glass-h);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  border-radius: var(--r-full);
  background: var(--g-brand);
}

.nav-end {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.nav-action-btn {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: var(--bg-glass);
  color: var(--text-2);
  font-size: var(--text-sm);
  font-weight: 700;
  transition: all var(--dur);
}
.nav-action-btn:hover {
  border-color: var(--border-h);
  color: var(--text);
  background: var(--bg-glass-h);
}

.nav-discord {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--r-full);
  border: 1px solid rgba(88,101,242,0.3);
  background: rgba(88,101,242,0.08);
  color: #7289da;
  font-size: var(--text-sm);
  font-weight: 700;
  transition: all var(--dur);
}
.nav-discord:hover {
  background: rgba(88,101,242,0.18);
  border-color: rgba(88,101,242,0.55);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(88,101,242,0.2);
}

.nav-upload-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--r-full);
  background: var(--g-brand);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 800;
  transition: all var(--dur) var(--ease-out);
  box-shadow: 0 4px 20px var(--pink-glow);
}
.nav-upload-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,27,109,0.45);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg-glass);
}
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-2);
  border-radius: var(--r-full);
  transition: all var(--dur);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(5,5,8,0.98);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(32px);
  z-index: 899;
  transform: translateY(-110%);
  transition: transform var(--dur-slow) var(--ease-out);
  padding: var(--space-4);
}
.mobile-menu.open { transform: translateY(0); }

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--r);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-2);
  transition: all var(--dur);
}
.mobile-nav-item:hover, .mobile-nav-item.active {
  background: var(--bg-glass-h);
  color: var(--text);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 60px) var(--space-6) 80px;
  overflow: hidden;
}

/* Orbs */
.hero-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: orbFloat 12s ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 600px;
  top: -150px; right: -100px;
  background: radial-gradient(circle, rgba(255,27,109,0.5), transparent 65%);
  animation-duration: 14s;
}
.orb-2 {
  width: 500px; height: 500px;
  bottom: -100px; left: -100px;
  background: radial-gradient(circle, rgba(124,58,237,0.5), transparent 65%);
  animation-duration: 18s;
  animation-delay: -4s;
}
.orb-3 {
  width: 350px; height: 350px;
  top: 40%; left: 30%;
  background: radial-gradient(circle, rgba(96,165,250,0.3), transparent 65%);
  animation-duration: 20s;
  animation-delay: -8s;
}
.orb-4 {
  width: 250px; height: 250px;
  bottom: 20%; right: 20%;
  background: radial-gradient(circle, rgba(52,211,153,0.25), transparent 65%);
  animation-duration: 16s;
  animation-delay: -2s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -20px) scale(1.05); }
  66%  { transform: translate(-20px, 15px) scale(0.97); }
}

/* Grid lines */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, black 10%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, black 10%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 7px var(--space-4);
  border-radius: var(--r-full);
  border: 1px solid rgba(255,27,109,0.25);
  background: rgba(255,27,109,0.08);
  backdrop-filter: blur(12px);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--pink-l);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-l);
  box-shadow: 0 0 10px var(--green-l);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-hero);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: var(--space-5);
}

.hero-title-line { color: var(--text); }

.hero-title-gradient {
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple-l) 50%, var(--blue-l) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(255,27,109,0.3));
}

.hero-subtitle {
  font-size: var(--text-md);
  color: var(--text-2);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto var(--space-8);
  font-weight: 400;
}

/* Search */
.hero-search { max-width: 540px; margin: 0 auto var(--space-8); }

.hero-search-inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  backdrop-filter: blur(20px);
  transition: all var(--dur);
}
.hero-search-inner:focus-within {
  border-color: rgba(255,27,109,0.4);
  background: rgba(255,27,109,0.04);
  box-shadow: 0 0 0 4px rgba(255,27,109,0.08), var(--shadow);
}

.search-ico { color: var(--text-3); flex-shrink: 0; }

.hero-search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: var(--text-base);
  color: var(--text);
  font-weight: 500;
}
.hero-search-input::placeholder { color: var(--text-3); }

.search-kbd {
  font-size: var(--text-xs);
  color: var(--text-3);
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  padding: 2px 7px;
  font-family: var(--font-mono);
  flex-shrink: 0;
}

/* Hero Stats */
.hero-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-8);
  padding: var(--space-4) var(--space-8);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  backdrop-filter: blur(20px);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.hstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: var(--space-2) var(--space-8);
}

.hstat-num {
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
}

.hstat-lbl {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.hstat-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Hero CTA */
.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* Hero Scroll Hint */
.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-3);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.7); }
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--space-3) var(--space-8);
  border-radius: var(--r-full);
  background: var(--g-brand);
  color: #fff;
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: 700;
  position: relative;
  overflow: hidden;
  transition: all var(--dur);
  box-shadow: var(--shadow-pink);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--dur);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(255,27,109,0.45);
}
.btn-primary:active { transform: translateY(-1px); }
.btn-arrow {
  font-size: 18px;
  transition: transform var(--dur);
}
.btn-primary:hover .btn-arrow { transform: translateX(-4px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--space-3) var(--space-8);
  border-radius: var(--r-full);
  background: rgba(88,101,242,0.1);
  border: 1px solid rgba(88,101,242,0.3);
  color: #7289da;
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur);
}
.btn-secondary:hover {
  background: rgba(88,101,242,0.2);
  border-color: rgba(88,101,242,0.55);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(88,101,242,0.2);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--r-full);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur);
}
.btn-ghost:hover {
  background: var(--bg-glass-h);
  border-color: var(--border-h);
  color: var(--text);
}

.w-full { width: 100%; }

/* Steam Button */
.btn-steam {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--r-full);
  background: linear-gradient(135deg, #1b2838, #2a475e);
  border: 1px solid rgba(102,192,244,0.3);
  color: #66c0f4;
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--dur);
}
.btn-steam:hover {
  background: linear-gradient(135deg, #2a475e, #1b2838);
  border-color: rgba(102,192,244,0.6);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102,192,244,0.25);
}

/* ═══════════════════════════════════════════
   BENTO GRID (Category Cards)
═══════════════════════════════════════════ */
.bento-section {
  padding: var(--space-20) var(--space-6);
}

.section-container {
  max-width: var(--container);
  margin: 0 auto;
}

.section-label {
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--g-brand);
  border-radius: var(--r-full);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.bento-card {
  position: relative;
  padding: var(--space-8);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  cursor: pointer;
  overflow: hidden;
  transition: all var(--dur-slow) var(--ease-out);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}
.bento-card:hover {
  border-color: var(--border-h);
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.bento-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--dur-slow);
  border-radius: inherit;
}
.bento-card:hover .bento-glow { opacity: 1; }

.bento-profiles .bento-glow { background: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(255,27,109,0.12), transparent 70%); }
.bento-avatars  .bento-glow { background: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(167,139,250,0.12), transparent 70%); }
.bento-banners  .bento-glow { background: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(96,165,250,0.12), transparent 70%); }
.bento-walls    .bento-glow { background: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(52,211,153,0.12), transparent 70%); }

.bento-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
  z-index: 1;
}

.bento-icon {
  font-size: 32px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r);
  background: var(--bg-overlay);
  border: 1px solid var(--border);
  transition: transform var(--dur) var(--ease-spring);
}
.bento-card:hover .bento-icon { transform: scale(1.1) rotate(-5deg); }

.bento-title {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--text);
}
.bento-desc { font-size: var(--text-sm); color: var(--text-2); }

.bento-count {
  position: absolute;
  top: var(--space-6);
  left: var(--space-6);
  font-size: var(--text-2xl);
  font-weight: 900;
  opacity: 0.07;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  z-index: 0;
  transition: opacity var(--dur);
}
.bento-card:hover .bento-count { opacity: 0.12; }

.bento-profiles .bento-count { color: var(--pink); }
.bento-avatars  .bento-count { color: var(--purple-l); }
.bento-banners  .bento-count { color: var(--blue-l); }
.bento-walls    .bento-count { color: var(--green-l); }

.bento-arrow {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  font-size: 20px;
  color: var(--text-3);
  transition: all var(--dur) var(--ease-spring);
  z-index: 1;
}
.bento-card:hover .bento-arrow {
  color: var(--text);
  transform: translate(-4px, -4px);
}

/* ═══════════════════════════════════════════
   LATEST SECTION
═══════════════════════════════════════════ */
.latest-section {
  padding: var(--space-20) var(--space-6);
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  gap: var(--space-6);
  flex-wrap: wrap;
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text);
  margin-top: var(--space-2);
}

.section-tabs {
  display: flex;
  gap: var(--space-1);
  padding: 4px;
  background: var(--bg-overlay);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
}

.stab {
  padding: var(--space-2) var(--space-5);
  border-radius: var(--r-full);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-2);
  transition: all var(--dur);
}
.stab:hover { color: var(--text); }
.stab.active {
  background: var(--bg-glass-h);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.section-footer {
  text-align: center;
  margin-top: var(--space-10);
}

/* ═══════════════════════════════════════════
   CARD GRIDS
═══════════════════════════════════════════ */
.card-grid {
  display: grid;
  gap: var(--space-4);
}

.card-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-square { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.grid-banner { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.grid-wall   { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-profiles { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* Image Card */
.img-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--dur-slow) var(--ease-out);
}
.img-card:hover {
  border-color: rgba(255,27,109,0.35);
  transform: translateY(-8px) scale(1.012);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,27,109,0.2),
    0 0 60px rgba(255,27,109,0.08);
}

.img-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
  background: var(--bg-raised);
}
.img-card:hover img { transform: scale(1.06); }

.img-card.type-avatar img   { height: 220px; }
.img-card.type-banner img   { height: 150px; }
.img-card.type-wall img     { height: 200px; }
.img-card.type-mobile img   { height: 280px; object-position: center; }
.img-card.type-mobile .iphone-preview-frame {
  margin: var(--space-4) var(--space-3) var(--space-7);
}
.img-card.type-mobile .card-overlay {
  background: linear-gradient(180deg, transparent 55%, rgba(5,5,8,0.78) 100%);
}

/* Card Overlay */
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5,5,8,0.9) 0%, rgba(5,5,8,0.4) 50%, transparent 100%);
  opacity: 0;
  transition: opacity var(--dur);
  pointer-events: none;
}
.img-card:hover .card-overlay { opacity: 1; }

/* Card Bottom */
.card-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--space-4);
  z-index: 12;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--dur) var(--ease-out);
}
.img-card:hover .card-bottom { opacity: 1; transform: translateY(0); }

.card-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-actions {
  display: flex;
  gap: var(--space-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 4px;
  border-radius: var(--r-sm);
  background: rgba(0,0,0,0.3);
}

.card-btn {
  flex: 1;
  padding: 8px var(--space-3);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: var(--text-xs);
  font-weight: 800;
  cursor: pointer;
  border: none;
  transition: all var(--dur) var(--ease-spring);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.card-btn-primary {
  background: var(--g-brand);
  color: #fff;
  box-shadow: var(--shadow-pink);
}
.card-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,27,109,0.45); }

.card-btn-secondary {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  backdrop-filter: blur(8px);
}
.card-btn-secondary:hover { background: rgba(255,255,255,0.18); }

.card-btn-steam {
  background: linear-gradient(135deg, #1b2838, #2a475e);
  border: 1px solid rgba(102,192,244,0.4);
  color: #66c0f4;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-btn-steam:hover { background: #2a475e; color: #fff; border-color: #66c0f4; }

.card-we-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: rgba(27,40,56,0.85);
  border: 1px solid rgba(102,192,244,0.4);
  color: #66c0f4;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--r-full);
  backdrop-filter: blur(6px);
  z-index: 5;
  transition: opacity 0.2s;
}
.img-card:hover .card-we-badge {
  opacity: 0;
}

/* Download badge */
.card-dl-badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  padding: 4px 8px;
  border-radius: var(--r-full);
  background: rgba(0,0,0,0.65);
  color: rgba(255,255,255,0.9);
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(6px);
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transition: opacity var(--dur);
}
.img-card:hover .card-dl-badge { opacity: 1; }

/* ═══════════════════════════════════════════
   PROFILE CARD (Discord Style)
═══════════════════════════════════════════ */
.profile-card {
  background: #1e1f22;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: visible !important;
  cursor: pointer;
  transition: all var(--dur-slow) var(--ease-out);
  position: relative;
}
.profile-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.profile-banner {
  width: 100%;
  height: 100px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: #313338;
}
.profile-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.profile-card:hover .profile-banner img { transform: scale(1.05); }

.profile-av {
  position: absolute;
  top: 56px;
  left: 14px;
  width: 88px; height: 88px;
  border-radius: 50%;
  border: 5px solid #1e1f22;
  background: #313338;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  transition: transform var(--dur) var(--ease-spring);
}
.profile-card:hover .profile-av { transform: scale(1.06); }
.profile-av img { width: 100%; height: 100%; object-fit: cover; }

.profile-body {
  padding: 52px 16px 16px;
}
.profile-name {
  font-size: 15px;
  font-weight: 800;
  color: #f2f3f5;
  margin-bottom: 12px;
}
.profile-footer {
  display: flex;
  gap: var(--space-2);
}
.profile-btn {
  flex: 1;
  padding: 8px;
  border-radius: var(--r-sm);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: inherit;
  font-size: var(--text-xs);
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--dur);
}
.profile-btn-primary { background: #5865f2; color: #fff; }
.profile-btn-primary:hover { background: #4752c4; }
.profile-btn-ghost { background: #4e5058; color: #dbdee1; }
.profile-btn-ghost:hover { background: #6d6f78; }
.profile-btn-all {
  background: linear-gradient(135deg,rgba(88,101,242,0.3),rgba(255,27,109,0.2));
  color: #c4b5fd;
  border: 1px solid rgba(88,101,242,0.35);
  font-size: 11px;
  font-weight: 800;
}
.profile-btn-all:hover { background: linear-gradient(135deg,rgba(88,101,242,0.5),rgba(255,27,109,0.35)); }

/* ═══════════════════════════════════════════
   MARQUEE
═══════════════════════════════════════════ */
.marquee-strip {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-4) 0;
  background: var(--bg-surface);
}

.marquee-track {
  display: flex;
  gap: var(--space-10);
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 2px;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
[dir="rtl"] .marquee-track { animation-direction: reverse; }

/* ═══════════════════════════════════════════
   GALLERY HERO
═══════════════════════════════════════════ */
.gallery-hero {
  position: relative;
  padding: calc(var(--nav-h) + 40px) var(--space-6) 40px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.gallery-hero-profiles { background: linear-gradient(135deg, rgba(255,27,109,0.08) 0%, transparent 60%); }
.gallery-hero-avatars  { background: linear-gradient(135deg, rgba(167,139,250,0.08) 0%, transparent 60%); }
.gallery-hero-banners  { background: linear-gradient(135deg, rgba(96,165,250,0.08) 0%, transparent 60%); }
.gallery-hero-walls    { background: linear-gradient(135deg, rgba(52,211,153,0.08) 0%, transparent 60%); }

.gh-orb {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  pointer-events: none;
  top: -100px; right: -100px;
}
.gallery-hero-profiles .gh-orb { background: var(--pink); }
.gallery-hero-avatars  .gh-orb { background: var(--purple-l); }
.gallery-hero-banners  .gh-orb { background: var(--blue-l); }
.gallery-hero-walls    .gh-orb { background: var(--green-l); }

.gh-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-6);
  position: relative;
  z-index: 1;
}

.gh-icon {
  font-size: 44px;
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-lg);
  background: var(--bg-overlay);
  border: 1px solid var(--border);
  flex-shrink: 0;
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.1));
}

.gh-title {
  font-size: var(--text-2xl);
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text);
}
.gh-sub { font-size: var(--text-base); color: var(--text-2); margin-top: var(--space-1); }

.gallery-body {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-8) var(--space-6) var(--space-20);
}

/* ═══════════════════════════════════════════
   FILTER ROW
═══════════════════════════════════════════ */
.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.chips {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.chip {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: var(--bg-glass);
  color: var(--text-2);
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--dur);
  white-space: nowrap;
}
.chip:hover {
  border-color: var(--border-h);
  color: var(--text);
  background: var(--bg-glass-h);
}
.chip.active {
  background: var(--g-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-pink);
}

.search-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  color: var(--text-3);
  transition: all var(--dur);
}
.search-bar:focus-within {
  border-color: var(--border-focus);
  background: rgba(255,27,109,0.04);
}
.search-bar input {
  background: none;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: var(--text-sm);
  color: var(--text);
  width: 180px;
}
.search-bar input::placeholder { color: var(--text-3); }

/* ═══════════════════════════════════════════
   LOADING / EMPTY
═══════════════════════════════════════════ */
.grid-loading, .grid-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
  gap: var(--space-4);
  color: var(--text-2);
  text-align: center;
}

.spinner {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--pink);
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.empty-ico { font-size: 48px; opacity: 0.2; }
.empty-msg { font-size: var(--text-base); font-weight: 600; color: var(--text-3); }

/* Skeleton Cards */
.skeleton-card {
  border-radius: var(--r-lg);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  overflow: hidden;
  animation: skeletonPulse 1.8s ease-in-out infinite;
}
.skeleton-img { height: 200px; background: var(--bg-overlay); }
.skeleton-body { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.skeleton-line {
  height: 12px;
  border-radius: var(--r-xs);
  background: var(--bg-overlay);
}
.skeleton-line.short { width: 60%; }

@keyframes skeletonPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ═══════════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur);
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lb-panel {
  display: flex;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  transform: scale(0.95);
  transition: transform var(--dur-slow) var(--ease-out);
}
.lightbox.open .lb-panel { transform: scale(1); }

.lb-close {
  position: absolute;
  top: var(--space-4); right: var(--space-4);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-overlay);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--dur);
}
.lb-close:hover { background: var(--bg-raised); color: var(--text); }

.lb-media {
  flex: 1;
  background: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 300px;
}
.lb-media img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.lb-sidebar {
  width: 280px;
  flex-shrink: 0;
  padding: var(--space-8) var(--space-6);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  overflow-y: auto;
}

.lb-title { font-size: var(--text-lg); font-weight: 800; color: var(--text); }
.lb-meta  { font-size: var(--text-sm); color: var(--text-2); }
.lb-downloads { font-size: var(--text-sm); color: var(--text-3); }

.lb-actions { display: flex; flex-direction: column; gap: var(--space-3); margin-top: auto; }

/* Profile Lightbox */
.lb-profile-panel {
  max-width: 400px;
  width: 100%;
  max-height: 90vh;
  background: #1e1f22;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  overflow: visible;
  position: relative;
  transform: scale(0.95);
  transition: transform var(--dur-slow) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.lb-profile-panel > .lb-profile-body {
  overflow-y: auto;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}
.lightbox.open .lb-profile-panel { transform: scale(1); }

.lb-profile-banner-wrap {
  position: relative;
  width: 100%;
  height: 150px;
  background: #313338;
  overflow: visible;
  flex-shrink: 0;
}
.lb-profile-banner-wrap > img:first-child {
  width: 100%; height: 150px; object-fit: cover; display: block;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}

.lb-profile-av-wrap {
  position: absolute;
  bottom: -52px;
  left: 20px;
  width: 104px; height: 104px;
  border-radius: 50%;
  border: 6px solid #1e1f22;
  background: #313338;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.lb-profile-av-wrap img { width: 100%; height: 100%; object-fit: cover; }

.lb-profile-body {
  padding: 64px var(--space-5) var(--space-6);
}
.lb-profile-name { font-size: 18px; font-weight: 900; color: #f2f3f5; margin-bottom: 4px; }
.lb-profile-plat { font-size: var(--text-sm); color: #b5bac1; margin-bottom: var(--space-5); }
.lb-profile-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   UPLOAD PAGE
═══════════════════════════════════════════ */
.upload-page {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 40px) var(--space-6) var(--space-20);
  max-width: 660px;
  margin: 0 auto;
}

.upload-hero {
  text-align: center;
  margin-bottom: var(--space-10);
}
.upload-hero h1 {
  font-size: var(--text-3xl);
  font-weight: 900;
  letter-spacing: -1px;
  background: var(--g-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-3);
}
.upload-hero p { font-size: var(--text-base); color: var(--text-2); }

.upload-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.upload-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}

.utype {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4);
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--bg-glass);
  color: var(--text-2);
  font-size: var(--text-sm);
  font-weight: 700;
  transition: all var(--dur);
}
.utype:hover { border-color: var(--border-h); color: var(--text); background: var(--bg-glass-h); }
.utype.active {
  background: linear-gradient(135deg, rgba(255,27,109,0.15), rgba(167,139,250,0.1));
  border-color: rgba(255,27,109,0.4);
  color: var(--text);
}

.drop-zone {
  border: 2px dashed var(--border);
  border-radius: var(--r-lg);
  padding: var(--space-12) var(--space-8);
  text-align: center;
  cursor: pointer;
  transition: all var(--dur);
}
.drop-zone:hover, .drop-zone.drag-over {
  border-color: rgba(255,27,109,0.45);
  background: rgba(255,27,109,0.04);
}
.drop-zone.has-file { border-style: solid; border-color: rgba(52,211,153,0.45); background: rgba(52,211,153,0.04); }

.dz-icon { font-size: 36px; margin-bottom: var(--space-3); color: var(--text-3); }
.dz-text { font-size: var(--text-base); font-weight: 700; color: var(--text-2); margin-bottom: var(--space-2); }
.dz-hint { font-size: var(--text-sm); color: var(--text-3); }

.upload-input {
  padding: var(--space-3) var(--space-4);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--text);
  font-family: inherit;
  font-size: var(--text-base);
  width: 100%;
  outline: none;
  transition: border-color var(--dur);
}
.upload-input:focus { border-color: var(--border-focus); }
.upload-input::placeholder { color: var(--text-3); }

.upload-note { font-size: var(--text-sm); color: var(--text-3); text-align: center; }

.upload-success {
  text-align: center;
  padding: var(--space-12) var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.success-ico {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(52,211,153,0.15);
  border: 1px solid rgba(52,211,153,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  color: var(--green-l);
}
.upload-success h3 { font-size: var(--text-xl); font-weight: 900; color: var(--text); }
.upload-success p  { color: var(--text-2); font-size: var(--text-base); }

.success-pending-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(251,191,36,0.1);
  border: 1px solid rgba(251,191,36,0.3);
  border-radius: var(--r-full);
  font-size: var(--text-sm); font-weight: 700;
  color: #fbbf24;
}
.success-pending-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #fbbf24;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

.success-divider {
  width: 60px; height: 1px;
  background: var(--border);
  margin: 4px 0;
}
.success-community p {
  color: var(--text-3);
  font-size: var(--text-sm);
  font-style: italic;
}
.success-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  margin-top: 4px;
}
.btn-discord {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: #5865f2;
  border: none; border-radius: var(--r);
  color: #fff; font-size: var(--text-sm); font-weight: 700;
  cursor: pointer; text-decoration: none;
  font-family: inherit; transition: background var(--dur);
}
.btn-discord:hover { background: #4752c4; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: var(--space-20) var(--space-6) var(--space-10);
}

.footer-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 20% 0%, rgba(255,27,109,0.05), transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 100%, rgba(124,58,237,0.05), transparent 70%);
}

.footer-container {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--border);
}

.footer-brand { max-width: 300px; }

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: var(--space-4);
  filter: drop-shadow(0 0 20px rgba(255,27,109,0.2));
}

.footer-tagline { font-size: var(--text-sm); color: var(--text-2); line-height: 1.7; margin-bottom: var(--space-5); }

.footer-discord-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 9px var(--space-4);
  border-radius: var(--r-full);
  background: rgba(88,101,242,0.1);
  border: 1px solid rgba(88,101,242,0.25);
  color: #7289da;
  font-size: var(--text-sm);
  font-weight: 700;
  transition: all var(--dur);
}
.footer-discord-link:hover {
  background: rgba(88,101,242,0.2);
  border-color: rgba(88,101,242,0.5);
  transform: translateY(-2px);
}

.footer-nav-group { display: flex; gap: var(--space-16); }
.footer-nav-col { display: flex; flex-direction: column; gap: var(--space-3); min-width: 140px; }

.fnav-title {
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 2px;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-2);
}

.footer-nav-col a {
  font-size: var(--text-sm);
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--dur);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.footer-nav-col a:hover { color: var(--pink-l); transform: translateX(-4px); }
[dir="ltr"] .footer-nav-col a:hover { transform: translateX(4px); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-copy { font-size: var(--text-sm); color: var(--text-3); }
.footer-copy a { color: var(--pink); font-weight: 700; }
.footer-copy a:hover { color: var(--pink-l); }

.footer-credit { font-size: var(--text-sm); color: var(--text-3); display: flex; gap: var(--space-2); }
.footer-credit a { color: var(--purple-l); font-weight: 700; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-center { display: none; }
  .nav-discord span { display: none; }
  .nav-upload-btn span:last-child { display: none; }
  .nav-hamburger { display: flex; }
  .footer-top { flex-direction: column; gap: var(--space-8); }
  .footer-nav-group { flex-wrap: wrap; gap: var(--space-8); }
}

@media (max-width: 700px) {
  :root { --nav-h: 64px; }
  .hero-title { font-size: clamp(36px, 10vw, 56px); letter-spacing: -1px; }
  .hero-stats-row { flex-wrap: wrap; gap: var(--space-4); padding: var(--space-4) var(--space-6); width: 100%; }
  .hstat { padding: var(--space-2) var(--space-4); }
  .hstat-sep { display: none; }
  .bento-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .lb-panel { flex-direction: column; }
  .lb-sidebar { width: 100%; border-right: none; border-top: 1px solid var(--border); }
  .upload-types { grid-template-columns: repeat(2, 1fr); }
  .filter-row { flex-wrap: wrap; gap: var(--space-3); }
  .filter-row-end { flex-wrap: wrap; }
  .search-bar input { width: 140px; }
  .footer-nav-group { gap: var(--space-6); }
}

/* ═══════════════════════════════════════════
   SHIMMER SKELETON
═══════════════════════════════════════════ */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.shimmer {
  background: linear-gradient(
    90deg,
    var(--bg-overlay) 0%,
    rgba(255,255,255,0.045) 40%,
    var(--bg-overlay) 80%
  );
  background-size: 600px 100%;
  animation: shimmer 1.6s ease-in-out infinite;
}

/* ═══════════════════════════════════════════
   CARD COPY BUTTON
═══════════════════════════════════════════ */
.card-copy-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 30px;
  height: 30px;
  border-radius: var(--r-sm);
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all var(--dur);
  backdrop-filter: blur(8px);
  z-index: 5;
}
.img-card:hover .card-copy-btn { opacity: 1; }
.card-copy-btn:hover { background: rgba(255,27,109,0.35); border-color: rgba(255,27,109,0.5); color: #fff; }

/* ═══════════════════════════════════════════
   FILTER ROW END (Sort + Search)
═══════════════════════════════════════════ */
.filter-row-end {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.sort-select {
  padding: 8px 14px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: var(--bg-glass);
  color: var(--text-2);
  font-size: var(--text-xs);
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  outline: none;
  transition: all var(--dur);
  -webkit-appearance: none;
  appearance: none;
}
.sort-select:focus, .sort-select:hover { border-color: var(--border-h); color: var(--text); }
.sort-select option { background: var(--bg-raised); color: var(--text); }

/* ═══════════════════════════════════════════
   SEARCH COUNT BADGE
═══════════════════════════════════════════ */
.search-count {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--r-full);
  background: rgba(255,27,109,0.08);
  border: 1px solid rgba(255,27,109,0.2);
  color: var(--pink-l);
  font-size: var(--text-xs);
  font-weight: 800;
  white-space: nowrap;
}

/* Hero search count */
.hero-search-count {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--r-full);
  background: rgba(255,27,109,0.1);
  border: 1px solid rgba(255,27,109,0.25);
  color: var(--pink-l);
  font-size: var(--text-sm);
  font-weight: 800;
}

/* ═══════════════════════════════════════════
   LOAD MORE BUTTON
═══════════════════════════════════════════ */
.load-more-wrap {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: var(--space-8) var(--space-4) var(--space-4);
}
.load-more-btn {
  padding: 12px 36px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: var(--bg-glass);
  color: var(--text-2);
  font-size: var(--text-sm);
  font-weight: 800;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all var(--dur);
}
.load-more-btn:hover:not(:disabled) {
  background: var(--g-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-pink);
  transform: translateY(-2px);
}
.load-more-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ═══════════════════════════════════════════
   EMPTY STATE IMPROVED
═══════════════════════════════════════════ */
.empty-ico-svg { margin-bottom: var(--space-4); }
.empty-hint {
  font-size: var(--text-sm);
  color: var(--text-3);
  margin-top: var(--space-2);
}

/* ═══════════════════════════════════════════
   DISCORD PROFILE PREVIEW
═══════════════════════════════════════════ */
.discord-preview {
  border-radius: var(--r-lg);
  border: 1px solid rgba(88,101,242,0.25);
  background: rgba(88,101,242,0.06);
  padding: 16px;
}
.dp-label {
  font-size: var(--text-xs);
  font-weight: 800;
  color: rgba(88,101,242,0.8);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.dp-card {
  background: #1e1f22;
  border-radius: 12px;
  overflow: hidden;
  max-width: 300px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.dp-banner {
  height: 80px;
  background: #2b2d31;
  overflow: hidden;
}
.dp-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
}
.dp-bottom {
  padding: 8px 12px 14px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.dp-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 4px solid #1e1f22;
  background: #313338;
  overflow: hidden;
  margin-top: -28px;
  flex-shrink: 0;
}
.dp-avatar img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s; }
.dp-name { font-size: 16px; font-weight: 800; color: #f2f3f5; }
.dp-tag { font-size: 12px; color: #949ba4; margin-top: 2px; }

/* ═══════════════════════════════════════════
   SITE TOAST
═══════════════════════════════════════════ */
.site-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  padding: 11px 22px;
  border-radius: var(--r-full);
  font-size: var(--text-sm);
  font-weight: 800;
  font-family: var(--font-sans);
  z-index: 9999;
  white-space: nowrap;
  pointer-events: none;
  animation: toastSlideUp 0.3s var(--ease-spring) both;
  backdrop-filter: blur(20px);
  border: 1px solid;
  box-shadow: var(--shadow-lg);
}
.site-toast-success { background: rgba(5,150,105,0.92); border-color: rgba(52,211,153,0.4); color: #6ee7b7; }
.site-toast-error   { background: rgba(185,28,28,0.92); border-color: rgba(239,68,68,0.4); color: #fca5a5; }
.site-toast-warning { background: rgba(161,98,7,0.92);  border-color: rgba(251,191,36,0.4); color: #fcd34d; }
@keyframes toastSlideUp {
  from { opacity:0; transform: translateX(-50%) translateY(16px); }
  to   { opacity:1; transform: translateX(-50%) translateY(0); }
}

/* ═══════════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════════ */
#backToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--g-brand);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-pink);
  cursor: pointer;
  border: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 500;
}
#backToTop.btt-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
#backToTop:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(255,27,109,0.5); }

/* ═══════════════════════════════════════════
   THEME TOGGLE BUTTON
═══════════════════════════════════════════ */
#themeToggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--dur);
  backdrop-filter: blur(12px);
  flex-shrink: 0;
}
#themeToggle:hover { background: var(--pink); border-color: var(--pink); color: #fff; }

/* ═══════════════════════════════════════════
   SHARE BUTTON ON CARDS
═══════════════════════════════════════════ */
.card-share-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: var(--r-sm);
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all var(--dur);
  backdrop-filter: blur(8px);
  z-index: 5;
}
.img-card:hover .card-share-btn { opacity: 1; }
.card-share-btn:hover { background: rgba(88,101,242,0.5); border-color: rgba(88,101,242,0.6); color: #fff; }

/* Lightbox share btn */
#lbShareBtn { margin-top: 0; }

/* ═══════════════════════════════════════════
   LIGHTBOX KEYBOARD HINT
═══════════════════════════════════════════ */
.lb-kbd-hint {
  font-size: 11px;
  color: var(--text-3);
  text-align: center;
  margin-top: var(--space-2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.lb-kbd-hint kbd {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bg-overlay);
  border: 1px solid var(--border);
  font-family: monospace;
  font-size: 11px;
}

/* ═══════════════════════════════════════════
   BLUR-UP IMAGE
═══════════════════════════════════════════ */
img[data-src] {
  filter: blur(8px);
  transition: filter 0.4s ease;
}

/* ═══════════════════════════════════════════
   LIGHT MODE OVERRIDES
═══════════════════════════════════════════ */
[data-theme="light"] {
  --nav-bg: rgba(240,240,245,0.92);
  --border: rgba(0,0,0,0.1);
}
[data-theme="light"] .img-card,
[data-theme="light"] .profile-card,
[data-theme="light"] .bento-card {
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
[data-theme="light"] .nav { background: rgba(240,240,245,0.95); border-bottom-color: rgba(0,0,0,0.08); }
[data-theme="light"] .lb-panel,
[data-theme="light"] .modal-box { background: #fff; }
[data-theme="light"] .skeleton-card { background: #e8e8f0; }
[data-theme="light"] .skeleton-img,
[data-theme="light"] .skeleton-line { background: #d0d0e0; }

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: var(--text-base); }
  .hero-cta-row { flex-direction: column; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .card-grid, .grid-square, .grid-banner, .grid-wall { grid-template-columns: 1fr; }
  .grid-profiles { grid-template-columns: 1fr; }
  .hero-search-inner { padding: var(--space-3) var(--space-4); }
  .search-kbd { display: none; }
}

/* Keyboard shortcut highlight */
@media (prefers-reduced-motion: reduce) {
  *, .orb, .marquee-track { animation: none !important; transition: none !important; }
}

/* ═══════════════════════════════════════════
   IPHONE LOCK SCREEN PREVIEW - iOS 22 Style
═══════════════════════════════════════════ */
.iphone-preview {
  width: 100%;
  aspect-ratio: 390/844;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
}

.iphone-preview-frame {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 16px 18px 20px;
  border-radius: calc(var(--r-lg) - 4px);
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 0.5px rgba(255,255,255,0.06);
  pointer-events: none;
}

.iphone-preview-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 32px;
  background: rgba(0,0,0,0.15);
  filter: blur(24px);
  z-index: 0;
}

.iphone-preview-bg {
  position: absolute; 
  inset: 0;
  background-size: cover; 
  background-position: center;
}

/* Status Bar */
.iphone-status-bar {
  position: absolute;
  top: 14px;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center; 
  padding: 0 30px 0 28px;
  z-index: 50;
}

.iphone-carrier {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: -0.2px;
  font-family: 'SFPro', -apple-system, sans-serif;
}

.iphone-status-icons {
  display: flex;
  align-items: center;
  gap: 7px;
}

.iphone-signal {
  display: flex;
  align-items: flex-end;
  gap: 1.5px;
  height: 12px;
}
.iphone-signal span {
  display: block;
  width: 3px;
  background: rgba(255,255,255,0.55);
  border-radius: 1px;
}
.iphone-signal span:nth-child(1) { height: 30%; }
.iphone-signal span:nth-child(2) { height: 50%; }
.iphone-signal span:nth-child(3) { height: 75%; }
.iphone-signal span:nth-child(4) { height: 100%; }

.iphone-g5 {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: -0.4px;
  font-family: 'SF Pro Display', -apple-system, sans-serif;
}

.iphone-battery-wrap { display: flex; align-items: center; gap: 1px; }
.iphone-battery-shell {
  width: 25px; height: 13px;
  border-radius: 3.5px;
  border: 1.5px solid rgba(255,255,255,0.3);
  padding: 2px;
}
.iphone-battery-fill { height: 100%; width: 72%; background: rgba(255,255,255,0.55); border-radius: 1.5px; }
.iphone-battery-nub { width: 2px; height: 6px; background: rgba(255,255,255,0.25); border-radius: 0 1px 1px 0; }

/* Date & Time */
.iphone-datetime {
  position: absolute;
  top: 66px;
  left: 0; right: 0;
  text-align: center;
  z-index: 20;
}

.iphone-lock-date {
  font-size: 17px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06px;
  font-family: 'SF Pro Display', -apple-system, sans-serif;
}

.iphone-lock-time {
  font-size: 90px;
  font-weight: 200;
  color: rgba(255,255,255,0.6);
  letter-spacing: -5px;
  line-height: 1;
  font-family: 'SF Pro Display', -apple-system, sans-serif;
}

/* Bottom */
.iphone-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0 22px 14px;
  z-index: 30;
}

.iphone-weather-card {
  background: rgba(255,255,255,0.155);
  backdrop-filter: blur(50px) saturate(2);
  -webkit-backdrop-filter: blur(50px) saturate(2);
  border: 0.5px solid rgba(255,255,255,0.28);
  border-radius: 22px;
  padding: 13px 17px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
}

.iphone-weather-left { flex: 1; }
.iphone-wt-row1 { display: flex; align-items: center; gap: 4px; margin-bottom: 1px; }

.iphone-wt-temp {
  font-size: 16px;
  color: rgba(255,255,255,0.96);
  letter-spacing: -0.3px;
  font-family: 'SF Pro Display', -apple-system, sans-serif;
}
.iphone-wt-cond {
  font-size: 14.5px;
  color: rgba(255,255,255,0.88);
  letter-spacing: -0.2px;
  font-family: 'SF Pro Display', -apple-system, sans-serif;
}
.iphone-wt-hl {
  font-size: 13px;
  color: rgba(255,255,255,0.58);
  letter-spacing: -0.1px;
  margin-top: 2px;
  font-family: 'SF Pro Display', -apple-system, sans-serif;
}

.iphone-widget-icons { display: flex; gap: 11px; align-items: center; }

.iphone-w-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 0.5px solid rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.iphone-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
}

.iphone-act-btn {
  width: 57px; height: 57px;
  border-radius: 50%;
  background: rgba(255,255,255,0.155);
  backdrop-filter: blur(50px) saturate(2);
  -webkit-backdrop-filter: blur(50px) saturate(2);
  border: 0.5px solid rgba(255,255,255,0.26);
  display: flex; align-items: center; justify-content: center;
}

.iphone-act-btn svg { width: 22px; height: 22px; fill: rgba(255,255,255,0.9); }

.iphone-page-dots { display: flex; gap: 6px; align-items: center; }
.iphone-pd { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.32); }
.iphone-pd.on { background: rgba(255,255,255,0.88); width: 7px; height: 7px; }

.iphone-home-bar {
  width: 134px; height: 5px;
  background: rgba(255,255,255,0.5);
  border-radius: 3px;
  margin: 13px auto 4px;
}

/* ═══ GLOBAL LOADER ═══ */
.global-loader {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.global-loader.active { opacity: 1; }
.global-loader-bar {
  height: 100%;
  background: linear-gradient(90deg, #ff1b6d, #ff6b6b);
  width: 0%;
  transition: width 0.3s ease-out;
  animation: loaderPulse 1.5s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ═══ FILTER PILLS ═══ */
.filter-pills {
  display: flex;
  gap: 8px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-dim);
  transition: all 0.2s;
}
.pill:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: var(--text);
}
.pill.active {
  background: rgba(255,27,109,0.15);
  border-color: rgba(255,27,109,0.4);
  color: #ff1b6d;
}
.pill-icon { font-size: 14px; }
.pill-text { font-size: 13px; }

/* ═══ CARD BADGES & FAVORITE BUTTON ═══ */
.card-top {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  max-width: calc(100% - 24px);
}
.card-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: rgba(255,27,109,0.9);
  color: white;
  box-shadow: 0 2px 6px rgba(255,27,109,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.card-badge-star {
  background: linear-gradient(135deg, #ffd700, #ffaa00);
  color: #000;
  box-shadow: 0 2px 6px rgba(255,215,0,0.4);
}
.card-badge-diamond {
  background: linear-gradient(135deg, #00d4ff, #0099ff);
  color: white;
  box-shadow: 0 2px 6px rgba(0,212,255,0.4);
}
.card-badge-gold {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #000;
  box-shadow: 0 2px 6px rgba(255,215,0,0.3);
}
.card-badge-silver {
  background: linear-gradient(135deg, #c0c0c0, #a8a8a8);
  color: #000;
  box-shadow: 0 2px 6px rgba(192,192,192,0.3);
}
.card-badge-new {
  background: linear-gradient(135deg, #00ff88, #00cc6a);
  color: #000;
  box-shadow: 0 2px 6px rgba(0,255,136,0.3);
}
.card-badge-exclusive {
  background: linear-gradient(135deg, #ff1b6d, #ff6b6b);
  color: white;
  box-shadow: 0 2px 6px rgba(255,27,109,0.4);
}
.card-fav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  font-size: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.card-fav-btn:hover {
  background: rgba(0,0,0,0.85);
  border-color: rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.9);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.card-fav-btn.active {
  background: rgba(255,193,7,0.95);
  border-color: #ffc107;
  color: white;
  box-shadow: 0 4px 12px rgba(255,193,7,0.4);
  transform: scale(1.1);
}

/* ═══ LIST VIEW LAYOUT ═══ */
.card-grid.list-view {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-grid.list-view .img-card,
.card-grid.list-view .profile-card {
  width: 100%;
  max-width: none;
  flex-direction: row;
  height: auto;
  min-height: 120px;
}
.card-grid.list-view .card-img {
  width: 160px;
  height: 120px;
  flex-shrink: 0;
}
.card-grid.list-view .card-bottom {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-grid.list-view .card-overlay { display: none; }
.card-grid.list-view .card-copy-btn { display: none; }

/* ═══ SKELETON LOADER ═══ */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease-in-out infinite;
}
@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.card-skeleton {
  background: var(--bg-elevated);
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
}
.card-skeleton::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--skeleton, linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%));
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease-in-out infinite;
}

/* ═══ SEARCH HIGHLIGHT ═══ */
mark.search-highlight {
  background: rgba(255,27,109,0.3);
  color: inherit;
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: 600;
}

/* ═══ PROGRESS BAR ═══ */
.progress-bar-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--space-5);
  min-width: 320px;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.progress-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
}
.progress-bar-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.progress-bar-percentage {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}
.progress-bar-track {
  height: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: var(--space-3);
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #ff6b6b);
  border-radius: 4px;
  transition: width 0.3s var(--ease-out);
  width: 0%;
}
.progress-bar-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-dim);
}
.progress-bar-remaining {
  font-weight: 500;
}
.progress-bar-eta {
  font-family: 'SF Pro Display', 'Inter', monospace;
  font-weight: 600;
}

/* ═══ DASHBOARD STATS ═══ */
.dashboard-stats {
  padding: var(--space-8) 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255,27,109,0.03) 50%, transparent 100%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
}
.stat-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  transition: all 0.3s var(--ease-out);
}
.stat-card:hover {
  border-color: rgba(255,27,109,0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.stat-icon {
  font-size: 32px;
  line-height: 1;
}
.stat-content {
  flex: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
  margin-bottom: 4px;
}
.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.stat-trend {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
}
.stat-primary .stat-icon { opacity: 0.9; }
.stat-secondary .stat-icon { opacity: 0.8; }
.stat-tertiary .stat-icon { opacity: 0.8; }
.stat-quaternary .stat-icon { opacity: 0.8; }

/* ═══ LIGHTBOX THEME TOGGLE ═══ */
.lb-theme-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  padding: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
}
.lb-theme-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  transition: all 0.2s;
}
.lb-theme-btn:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text);
}
.lb-theme-btn.active {
  background: rgba(255,27,109,0.15);
  color: #ff1b6d;
}

/* ═══ LIGHTBOX INFO ═══ */
.lb-info {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
}
.lb-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  gap: 16px;
}
.lb-info-label {
  color: var(--text-dim);
  font-weight: 500;
}
.lb-info-value {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}
.lb-info-value a {
  color: #ff1b6d;
  text-decoration: none;
}
.lb-info-value a:hover {
  text-decoration: underline;
}

/* ═══ SCREEN READER ONLY ═══ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ═══ LIGHTBOX THEME VARIANTS ═══ */
.lightbox[data-theme="light"],
.lightbox[data-theme="light"] .lb-profile-panel {
  background: rgba(255,255,255,0.95);
  color: #1a1a1a;
}
.lightbox[data-theme="light"] .lb-panel {
  background: white;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.lightbox[data-theme="light"] .lb-title,
.lightbox[data-theme="light"] .lb-meta,
.lightbox[data-theme="light"] .lb-downloads,
.lightbox[data-theme="light"] .lb-profile-name,
.lightbox[data-theme="light"] .lb-profile-plat {
  color: #1a1a1a;
}
.lightbox[data-theme="light"] .lb-info-label {
  color: #666;
}
.lightbox[data-theme="light"] .lb-info-value {
  color: #1a1a1a;
}
.lightbox[data-theme="light"] .lb-close {
  color: #333;
}
.lightbox[data-theme="light"] .lb-close:hover {
  background: rgba(0,0,0,0.05);
}
.lightbox[data-theme="light"] .lb-theme-btn.active {
  background: rgba(0,0,0,0.1);
  color: #1a1a1a;
}

/* Hide 'New' badge in lightbox */
.lightbox .card-badge-new {
  display: none;
}

