/* ================================================================
   HOME PAGE — CYBERPUNK DASHBOARD
   ================================================================ */

/* ============================================================
   TABLET & MOBILE MEDIA QUERIES
   MOVED TO css/tablet-fixes.css
   ============================================================ */

/* ============================================================
   THEME VARIABLES (matching your site)
   ============================================================ */
:root {
  --bg-body: #0a0508;
  --bg-card: rgba(255, 0, 234, 0.06);
  --bg-card-hover: rgba(255, 0, 234, 0.12);
  --bg-card-border: rgba(255, 0, 234, 0.15);
  --bg-elevated: rgba(255, 0, 234, 0.04);
  --bg-nav: rgba(10, 5, 8, 0.92);
  --bg-footer: rgba(10, 5, 8, 0.85);

  --text-primary: #f5eaff;
  --text-secondary: #b8a0d0;
  --text-muted: #5a3a6a;
  --text-inverse: #0a0508;

  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.645);
  --shadow-card-hover: 0 12px 48px rgba(0, 0, 0, 0.7);

  --border-color: rgba(255, 0, 234, 0.15);

  /* Neon */
  --neon-magenta: #ff00ea;
  --neon-deep-purple: #ad03fc;
  --neon-cyan: #58ebfe;
  --neon-gold: #ffc72e;
  --neon-green: #4ff3a6;
  --neon-blue: #00d4ff;

  /* Spray */
  --spray-red: #ff0040;
  --spray-orange: #ff6b00;
  --spray-yellow: #ffcc00;
  --spray-pink: #ff2d95;

  --gradient-neon: linear-gradient(135deg, #ff00ea, #ad03fc);
  --gradient-cyber: linear-gradient(135deg, #ff00ea, #ad03fc, #58ebfe);
  --gradient-spray: linear-gradient(135deg, #ff0040, #ff6b00, #ffcc00);
  --gradient-holo: linear-gradient(
    135deg,
    #ff00ea,
    #58ebfe,
    #ffc72e,
    #4ff3a6,
    #ad03fc
  );
  --gradient-holo-graffiti: linear-gradient(
    135deg,
    #ff2d95,
    #ff6b00,
    #ffc72e,
    #4ff3a6,
    #ff00ea
  );

  --glow-magenta:
    0 0 40px rgba(255, 0, 234, 0.3), 0 0 80px rgba(255, 0, 234, 0.1);
  --glow-purple:
    0 0 40px rgba(173, 3, 252, 0.3), 0 0 80px rgba(173, 3, 252, 0.1);
  --glow-cyan:
    0 0 40px rgba(88, 235, 254, 0.3), 0 0 80px rgba(88, 235, 254, 0.1);
  --glow-pink: 0 0 40px rgba(255, 0, 234, 0.4), 0 0 80px rgba(255, 0, 234, 0.2);

  --font-display: "Orbitron", "Rajdhani", monospace;
  --font-condensed: "Rajdhani", "Orbitron", sans-serif;
  --font-mono: "Share Tech Mono", monospace;
  --font-tag: "Rubik Spray Paint", "Permanent Marker", cursive;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   BASE OVERRIDES
   ============================================================ */
.home-dashboard {
  padding-top: 0;
  background: var(--bg-body);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   THEME TOGGLE — FIXED POSITION & STYLING
   ============================================================ */
.theme-toggle-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-card), var(--glow-magenta);
}

.theme-toggle:hover {
  background: var(--bg-card-hover);
  transform: scale(1.04);
  box-shadow: var(--shadow-card-hover), var(--glow-purple);
  border-color: var(--neon-cyan);
}

.theme-toggle .toggle-icon {
  font-size: 1rem;
}

.theme-toggle .toggle-label {
  font-weight: 600;
}

/* ============================================================
   PAGE POSITION — Ensure page starts at top
   ============================================================ */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-condensed);
}

/* Ensure main content starts at top */
.parallax-hero {
  margin-top: 0;
  padding-top: 40px;
}

/* Ensure page content starts below header */
.parallax-hero {
  margin-top: 0 !important;
  padding-top: 80px !important;
  position: relative !important;
  z-index: 1 !important;
}

/* Fix for home page */
.home-dashboard {
  padding-top: 0 !important;
  position: relative !important;
  z-index: 1 !important;
}

/* ============================================================
   SECTION BADGE
   ============================================================ */
.section-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--neon-cyan);
  padding: 4px 12px;
  border: 1px solid rgba(88, 235, 254, 0.2);
  border-radius: 2px;
  background: rgba(88, 235, 254, 0.05);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.section-header h2 .gradient-text {
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.view-all {
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.view-all:hover {
  color: var(--text-primary);
  text-shadow: 0 0 30px rgba(88, 235, 254, 0.2);
  transform: translateX(4px);
}

/* ============================================================
   GLASS PANEL
   ============================================================ */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card), var(--glow-magenta);
  transition: all var(--transition);
}

.glass-panel:hover {
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card-hover), var(--glow-purple);
  border-color: rgba(255, 0, 234, 0.25);
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
    pointer-events: none;
}

.toast {
    padding: 14px 20px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: var(--shadow-card), var(--glow-magenta);
    color: var(--text-primary);
    font-family: var(--font-condensed);
    font-size: 0.85rem;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast .toast-icon {
    font-size: 1.4rem;
}

.toast .toast-close {
    margin-left: auto;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    transition: color var(--transition);
}

.toast .toast-close:hover {
    color: var(--text-primary);
}

/* ============================================================
   KEYBOARD HINT
   ============================================================ */


   .keyboard-hint {
    position: fixed;
    bottom: 76px;
    right: 24px;
    z-index: 9998;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--text-muted);
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 14px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    opacity: 0.5;
    transition: opacity var(--transition);
    pointer-events: none;
    letter-spacing: 0.5px;
}

.keyboard-hint kbd {
    display: inline-block;
    padding: 0 6px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--text-secondary);
}

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

.noise-overlay.active {
  opacity: 1;
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9996;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(0, 0, 0, 0.02) 2px,
    rgba(0, 0, 0, 0.02) 3px
  );
  animation: scanMove 0.8s linear infinite;
}

@keyframes scanMove {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(3px);
  }
}

.vignette {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 60%,
    rgba(0, 0, 0, 0.3) 100%
  );
  pointer-events: none;
  z-index: 9995;
}

/* In home.css */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none; /* Default: off */
}

/* Desktop only - enable mouse interaction */
@media (hover: hover) and (pointer: fine) {
    #particleCanvas {
        pointer-events: auto;
    }
}
/* ============================================================
   HERO — 3 LAYER SYSTEM
   ============================================================ */
.parallax-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px 20px;
  background: var(--bg-body);
}

/* LAYER 1: BACKGROUND */
.hero-layer-1 {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: var(--bg-body);
}

.hero-layer-1 #layer1Content {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-layer-1 .hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  filter: brightness(0.85) saturate(0.8);
  z-index: 1;
}

.hero-layer-1 .hero-bg-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 20% 30%,
      rgba(255, 0, 234, 0.2),
      transparent 60%
    ),
    radial-gradient(
      ellipse at 80% 70%,
      rgba(173, 3, 252, 0.15),
      transparent 50%
    ),
    radial-gradient(
      ellipse at 50% 50%,
      rgba(88, 235, 254, 0.1),
      transparent 40%
    ),
    radial-gradient(ellipse at 60% 40%, #1a0a2a, #0a0508 80%);
  z-index: 0;
  display: block;
}

.hero-layer-1 .hero-bg-image.loaded ~ .hero-bg-fallback {
  display: none;
}

/* LAYER 2: OVERLAY */
.hero-layer-2 {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero-layer-2 #layer2Content {
  width: 100%;
  height: 100%;
  position: relative;
}

.neon-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 0, 234, 0.1), transparent 70%);
  animation: orbPulse 4s ease-in-out infinite;
}

@keyframes orbPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 1;
  }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(88, 235, 254, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 235, 254, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  animation: gridPulse 3s ease-in-out infinite;
}

@keyframes gridPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
}

.graffiti-tag {
  position: absolute;
  font-family: var(--font-tag);
  font-size: 1.5rem;
  letter-spacing: 4px;
  opacity: 0.08;
  color: var(--neon-cyan);
  pointer-events: none;
}

.graffiti-tag.tag-top-left {
  top: 10%;
  left: 8%;
  transform: rotate(-8deg);
  color: var(--neon-magenta);
  font-size: 2rem;
}

.graffiti-tag.tag-bottom-right {
  bottom: 15%;
  right: 8%;
  transform: rotate(12deg);
  color: var(--spray-orange);
  font-size: 2.2rem;
}

.scan-line-hero {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(88, 235, 254, 0.03),
    transparent
  );
  pointer-events: none;
  animation: scanLineHero 4s ease-in-out infinite;
}

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

/* LAYER 3: GLASS UI CONTENT */
.hero-layer-3 {
  position: absolute;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  padding: 0 40px;
}

.hero-content {
  padding: 50px 60px;
  max-width: 850px;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card), var(--glow-magenta);
}

/* ============================================================
   HERO DASHBOARD HEADER
   ============================================================ */
.hero-dashboard-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Glitch Welcome Text */
.welcome-glitch-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.glitch-welcome {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
  text-shadow: 0 0 30px rgba(255, 0, 234, 0.1);
}

.glitch-welcome::before,
.glitch-welcome::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  pointer-events: none;
}

.glitch-welcome::before {
  color: var(--neon-magenta);
  animation: glitch1 0.15s infinite;
  text-shadow: 2px 0 var(--neon-cyan);
}

.glitch-welcome::after {
  color: var(--neon-cyan);
  animation: glitch2 0.2s infinite;
  text-shadow: -2px 0 var(--neon-magenta);
}

@keyframes glitch1 {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-1px, 1px);
  }
  40% {
    transform: translate(1px, -1px);
  }
  60% {
    transform: translate(-1px, 1px);
  }
  80% {
    transform: translate(1px, -1px);
  }
  100% {
    transform: translate(0);
  }
}

@keyframes glitch2 {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(1px, -1px);
  }
  40% {
    transform: translate(-1px, 1px);
  }
  60% {
    transform: translate(1px, -1px);
  }
  80% {
    transform: translate(-1px, 1px);
  }
  100% {
    transform: translate(0);
  }
}

/* Typewriter Text */
.typewriter-container {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: 2rem;
}

.typewriter-text {
  color: var(--neon-cyan);
}

.typewriter-cursor {
  color: var(--neon-magenta);
  animation: cursorBlink 0.8s step-end infinite;
  font-weight: 700;
}

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

/* Hero Stats Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.hero-stat-card {
  padding: 16px 20px;
  border-radius: 8px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  cursor: default;
}

.hero-stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-cyan);
}

.hero-stat-card .stat-glow {
  position: absolute;
  inset: 0;
  background: var(--gradient-neon);
  opacity: 0;
  transition: all var(--transition);
  z-index: -1;
}

.hero-stat-card:hover .stat-glow {
  opacity: 0.05;
}

.hero-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(255, 0, 234, 0.1));
}

.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Quick Actions */
.hero-quick-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-quick-actions .btn {
  padding: 12px 24px;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: none;
  border-radius: 4px;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn .btn-icon {
  font-size: 0.7rem;
}

.btn-primary {
  background: var(--gradient-neon);
  color: var(--text-inverse);
  box-shadow: var(--glow-magenta);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: 0;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    var(--glow-purple),
    0 0 80px rgba(255, 0, 234, 0.2);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}

.btn-glow {
  animation: btnGlow 2s ease-in-out infinite;
}

@keyframes btnGlow {
  0%,
  100% {
    box-shadow: var(--glow-magenta);
  }
  50% {
    box-shadow:
      var(--glow-purple),
      0 0 60px rgba(255, 0, 234, 0.2);
  }
}

/* System Status */
.hero-system-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  border: 1px solid var(--border-color);
  margin-top: 4px;
  flex-wrap: wrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  animation: statusPulse 2s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(79, 243, 166, 0.3);
}

@keyframes statusPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.status-text {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.status-divider {
  color: var(--text-muted);
  opacity: 0.3;
}

.glitch-text-small {
  position: relative;
  display: inline-block;
}

.glitch-text-small::before,
.glitch-text-small::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  pointer-events: none;
}

.glitch-text-small::before {
  color: var(--neon-magenta);
  animation: glitch1 0.15s infinite;
}

.glitch-text-small::after {
  color: var(--neon-cyan);
  animation: glitch2 0.2s infinite;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.4;
  animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

.scroll-text {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.scroll-line {
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, var(--text-muted), transparent);
}

/* ============================================================
   GLITCH SECTION HEADERS - CONSTANT CYBERPUNK GLITCH
   ============================================================ */

/* Glitch header container */
.glitch-header {
    position: relative;
    display: inline-block;
    font-family: var(--font-display);
    font-size: inherit;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Base glitch flicker - constant */
.glitch-header {
    animation: glitchFlicker 4s ease-in-out infinite;
}

@keyframes glitchFlicker {
    0%, 85%, 89%, 95%, 100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    87% {
        opacity: 0.97;
        transform: translateX(-1.5px) scale(1.01);
    }
    89% {
        opacity: 1;
        transform: translateX(1.5px) scale(0.99);
    }
    92% {
        opacity: 0.98;
        transform: translateX(-0.8px) scale(1.005);
    }
    94% {
        opacity: 1;
        transform: translateX(0.8px) scale(0.995);
    }
    96% {
        opacity: 0.99;
        transform: translateX(-0.5px) scale(1.002);
    }
}

/* Scan line overlay - constant */
.glitch-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 0, 234, 0.03) 2px,
        rgba(255, 0, 234, 0.03) 3px
    );
    pointer-events: none;
    animation: glitchScan 3s linear infinite;
    z-index: 1;
}

@keyframes glitchScan {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

/* Color glitch text shadow - constant */
.glitch-header::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--neon-magenta);
    opacity: 0.08;
    pointer-events: none;
    text-shadow:
        2px 0 var(--neon-cyan),
        -2px 0 var(--neon-magenta);
    animation: glitchText 2s ease-in-out infinite;
}

@keyframes glitchText {
    0% {
        clip-path: inset(20% 0 60% 0);
        opacity: 0.08;
        transform: translateX(-2px);
    }
    5% {
        clip-path: inset(40% 0 40% 0);
        opacity: 0.12;
        transform: translateX(2px);
    }
    10% {
        clip-path: inset(10% 0 70% 0);
        opacity: 0.06;
        transform: translateX(-1px);
    }
    15% {
        clip-path: inset(60% 0 20% 0);
        opacity: 0.1;
        transform: translateX(1px);
    }
    20% {
        clip-path: inset(30% 0 50% 0);
        opacity: 0.08;
        transform: translateX(0px);
    }
    25% {
        clip-path: inset(80% 0 10% 0);
        opacity: 0.14;
        transform: translateX(-3px);
    }
    30% {
        clip-path: inset(50% 0 30% 0);
        opacity: 0.06;
        transform: translateX(3px);
    }
    35% {
        clip-path: inset(0 0 0 0);
        opacity: 0.08;
        transform: translateX(0px);
    }
    100% {
        clip-path: inset(0 0 0 0);
        opacity: 0.08;
        transform: translateX(0px);
    }
}

/* Second glitch layer - offset colors */
.glitch-header .glitch-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    color: var(--neon-cyan);
    opacity: 0.06;
    text-shadow:
        -3px 0 var(--neon-magenta),
        3px 0 var(--neon-cyan);
    animation: glitchLayer 3.5s ease-in-out infinite;
    clip-path: inset(0 0 0 0);
}

@keyframes glitchLayer {
    0% {
        clip-path: inset(30% 0 50% 0);
        opacity: 0.06;
        transform: translateX(3px);
    }
    8% {
        clip-path: inset(70% 0 10% 0);
        opacity: 0.1;
        transform: translateX(-3px);
    }
    16% {
        clip-path: inset(10% 0 80% 0);
        opacity: 0.05;
        transform: translateX(2px);
    }
    24% {
        clip-path: inset(50% 0 30% 0);
        opacity: 0.08;
        transform: translateX(-2px);
    }
    32% {
        clip-path: inset(0 0 0 0);
        opacity: 0.06;
        transform: translateX(0px);
    }
    100% {
        clip-path: inset(0 0 0 0);
        opacity: 0.06;
        transform: translateX(0px);
    }
}

/* Subtle RGB split effect - constant */
.glitch-header .rgb-split {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.04;
    animation: rgbSplit 5s ease-in-out infinite;
}

@keyframes rgbSplit {
    0%, 85%, 92%, 100% {
        text-shadow:
            2px 0 rgba(255, 0, 0, 0.1),
            -2px 0 rgba(0, 255, 0, 0.1),
            0 0 rgba(0, 0, 255, 0.1);
        transform: translateX(0);
    }
    87% {
        text-shadow:
            4px 0 rgba(255, 0, 0, 0.2),
            -4px 0 rgba(0, 255, 0, 0.2),
            2px 0 rgba(0, 0, 255, 0.2);
        transform: translateX(-2px);
    }
    89% {
        text-shadow:
            -4px 0 rgba(255, 0, 0, 0.2),
            4px 0 rgba(0, 255, 0, 0.2),
            -2px 0 rgba(0, 0, 255, 0.2);
        transform: translateX(2px);
    }
}

/* Glitch flash - subtle */
.glitch-header .glitch-flash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0;
    pointer-events: none;
    animation: glitchFlash 8s ease-in-out infinite;
}

@keyframes glitchFlash {
    0%, 98%, 100% {
        opacity: 0;
    }
    99% {
        opacity: 0.03;
    }
}

/* Glitch header gradient text enhancement */
.glitch-header .gradient-text {
    position: relative;
    z-index: 2;
}

/* Section badge with cyberpunk symbols */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--neon-cyan);
    padding: 4px 14px;
    border: 1px solid rgba(88, 235, 254, 0.15);
    border-radius: 2px;
    background: rgba(88, 235, 254, 0.03);
    margin-bottom: 12px;
    position: relative;
    transition: all var(--transition);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        border-color: rgba(88, 235, 254, 0.15);
        box-shadow: 0 0 0px rgba(88, 235, 254, 0);
    }
    50% {
        border-color: rgba(88, 235, 254, 0.3);
        box-shadow: 0 0 20px rgba(88, 235, 254, 0.05);
    }
}

.section-badge:hover {
    border-color: rgba(88, 235, 254, 0.3);
    box-shadow: 0 0 30px rgba(88, 235, 254, 0.08);
    transform: translateY(-1px);
}

/* View all links with cyberpunk symbols */
.view-all {
    font-family: var(--font-condensed);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--neon-cyan);
    text-decoration: none;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 1px;
    position: relative;
}

.view-all:hover {
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(88, 235, 254, 0.2);
    transform: translateX(4px);
}

.view-all::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--gradient-neon);
    transition: all var(--transition);
}

.view-all:hover::after {
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .glitch-header {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .glitch-header {
        font-size: 1.4rem;
    }

    .section-badge {
        font-size: 0.5rem;
        padding: 2px 10px;
        letter-spacing: 2px;
    }
}

/* ============================================================
   SECTION: COMMUNITY NEWS SLIDER
   ============================================================ */
.community-news-section {
  padding: 80px 0;
  background: var(--bg-body);
}

.news-slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  box-shadow: var(--shadow-card), var(--glow-magenta);
}

.news-slider {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.news-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 350px;
}

.news-slide-image {
  position: relative;
  overflow: hidden;
  background: var(--bg-elevated);
}

.news-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: var(--bg-elevated);
  transition: all var(--transition);
}

.news-image-placeholder i {
  font-size: 3rem;
  color: var(--neon-magenta);
  opacity: 0.3;
}

.news-slide-content {
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.news-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--neon-cyan);
  letter-spacing: 2px;
}

.news-slide-content h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.news-slide-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.news-read-more {
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.news-read-more:hover {
  color: var(--text-primary);
  text-shadow: 0 0 30px rgba(88, 235, 254, 0.2);
  transform: translateX(4px);
}

/* Slider Controls */
.news-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border-color);
}

.news-slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.news-slider-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--neon-cyan);
  color: var(--text-primary);
  box-shadow: var(--glow-cyan);
}

.news-slider-dots {
  display: flex;
  gap: 8px;
}

.news-slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.news-slider-dots .dot.active {
  background: var(--neon-magenta);
  border-color: var(--neon-magenta);
  box-shadow: 0 0 20px rgba(255, 0, 234, 0.3);
}

.news-slider-dots .dot:hover {
  border-color: var(--neon-cyan);
}

/* ============================================================
   SECTION: 3D WINNERS CAROUSEL (10 WINNERS)
   ============================================================ */

/* ============================================================
   WINNERS CAROUSEL — GAME UI + GLITCH STYLING
   ============================================================ */

.winners-carousel-section {
    padding: 80px 0;
    background: var(--bg-body);
    position: relative;
    overflow: hidden;
}

.winners-carousel-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(255, 0, 234, 0.04), transparent 70%);
    pointer-events: none;
}

.winners-carousel-container {
    position: relative;
    overflow: hidden;
    padding: 20px 10px 10px;
    border-radius: 12px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card), var(--glow-magenta);
    transition: all var(--transition);
}

.winners-carousel-container:hover {
    border-color: var(--neon-cyan);
    box-shadow: var(--shadow-card-hover), var(--glow-purple);
}

/* Carousel Track */
.winners-carousel {
    display: flex;
    gap: 24px;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
    padding: 4px 30px 4px 4px;
}

/* ============================================================
   WINNER CARD — LONGER (480px height)
   ============================================================ */
.winner-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 0;
    flex-shrink: 0;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 12px 10px;
    box-shadow: var(--shadow-card), var(--glow-magenta);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
    transform: perspective(800px) rotateY(0deg) translateZ(0);
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    /* LONGER CARDS */
    min-height: 420px;
    max-height: 480px;
}

/* Game UI corner brackets */
.winner-card::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    width: 16px;
    height: 16px;
    border-top: 2px solid var(--neon-cyan);
    border-left: 2px solid var(--neon-cyan);
    opacity: 0.12;
    z-index: 3;
    pointer-events: none;
    transition: all var(--transition);
}

.winner-card::after {
    content: '';
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 16px;
    height: 16px;
    border-bottom: 2px solid var(--neon-cyan);
    border-right: 2px solid var(--neon-cyan);
    opacity: 0.12;
    z-index: 3;
    pointer-events: none;
    transition: all var(--transition);
}

.winner-card:hover::before,
.winner-card:hover::after {
    opacity: 0.4;
    border-color: var(--neon-magenta);
}

.winner-card:hover {
    transform: perspective(800px) rotateY(-3deg) rotateX(2deg) translateZ(15px);
    border-color: var(--neon-cyan);
    box-shadow: var(--shadow-card-hover), var(--glow-cyan), 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Card Scanline */
.winner-card .card-scanline {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 180, 255, 0.02) 2px,
            rgba(0, 180, 255, 0.02) 4px);
    pointer-events: none;
    z-index: 2;
    opacity: 0.3;
    animation: cardScan 4s linear infinite;
}

@keyframes cardScan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.winner-card:hover .card-scanline {
    opacity: 0.6;
}

/* ============================================================
   RANK BADGE
   ============================================================ */
.winner-rank {
    position: absolute;
    top: 8px;
    left: 10px;
    font-family: var(--font-display);
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
    padding: 2px 8px;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    background: var(--bg-elevated);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 3;
}

.winner-rank.gold {
    color: var(--neon-gold);
    border-color: rgba(255, 199, 46, 0.3);
    box-shadow: 0 0 20px rgba(255, 199, 46, 0.1);
}

.winner-rank.silver {
    color: var(--neon-cyan);
    border-color: rgba(88, 235, 254, 0.2);
    box-shadow: 0 0 20px rgba(88, 235, 254, 0.08);
}

.winner-rank.bronze {
    color: var(--spray-orange);
    border-color: rgba(255, 107, 0, 0.2);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.08);
}

/* ============================================================
   WINNER AVATAR
   ============================================================ */
.winner-avatar {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    background: var(--gradient-neon);
    box-shadow: 0 0 20px rgba(255, 0, 234, 0.15);
    z-index: 3;
    border: 1px solid var(--border-color);
}

.winner-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* ============================================================
   WINNER ARTWORK — BIGGER
   ============================================================ */
.winner-artwork {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 4px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    transition: all var(--transition);
    cursor: pointer;
    flex: 1;
    min-height: 180px;
}

.winner-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.1s ease;
}

.winner-card:hover .winner-artwork img {
    transform: scale(1.04);
}

.winner-artwork:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 30px rgba(88, 235, 254, 0.1);
}

/* Artwork placeholder */
.winner-artwork .artwork-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.08);
    font-family: var(--font-tag);
}

/* ============================================================
   WINNER ARTWORK — COLOR GLITCH HOVER (FIXED)
   ============================================================ */

.winner-artwork {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 4px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    transition: all var(--transition);
    cursor: pointer;
    flex: 1;
    min-height: 180px;
}

.winner-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.1s ease;
}

.winner-artwork .artwork-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.08);
    font-family: var(--font-tag);
    transition: transform 0.6s ease, filter 0.1s ease;
}

/* ============================================================
   COLOR GLITCH HOVER — WORKS ON BOTH IMAGES & PLACEHOLDERS
   ============================================================ */

/* Glitch effect on artwork hover — applies to both img and placeholder */
.winner-artwork:hover img,
.winner-artwork:hover .artwork-placeholder {
    animation: colorGlitch 0.3s ease 4;
    filter: hue-rotate(0deg) saturate(1.2);
}

/* Glitch overlay */
.winner-artwork .glitch-overlay {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 3px,
            rgba(255, 0, 234, 0.03) 3px,
            rgba(255, 0, 234, 0.03) 4px,
            transparent 4px,
            transparent 6px,
            rgba(88, 235, 254, 0.02) 6px,
            rgba(88, 235, 254, 0.02) 7px);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.winner-artwork:hover .glitch-overlay {
    opacity: 1;
    animation: glitchScan 0.15s steps(2) infinite;
}

@keyframes glitchScan {
    0% { transform: translateY(0); }
    50% { transform: translateY(1px); }
    100% { transform: translateY(0); }
}

/* ============================================================
   COLOR GLITCH KEYFRAMES — RESTORED & IMPROVED
   ============================================================ */

@keyframes colorGlitch {
    0% {
        filter: hue-rotate(0deg) saturate(1.2) brightness(1);
        transform: scale(1);
    }
    12% {
        filter: hue-rotate(60deg) saturate(1.5) brightness(1.1);
        transform: scale(1.02) translateX(-2px);
    }
    25% {
        filter: hue-rotate(120deg) saturate(0.8) brightness(0.9);
        transform: scale(0.98) translateX(2px);
    }
    37% {
        filter: hue-rotate(180deg) saturate(1.3) brightness(1.05);
        transform: scale(1.01) translateX(-1px);
    }
    50% {
        filter: hue-rotate(240deg) saturate(0.9) brightness(0.95);
        transform: scale(0.99) translateX(1px);
    }
    62% {
        filter: hue-rotate(300deg) saturate(1.4) brightness(1.1);
        transform: scale(1.02) translateX(-3px);
    }
    75% {
        filter: hue-rotate(360deg) saturate(0.7) brightness(0.9);
        transform: scale(0.98) translateX(3px);
    }
    87% {
        filter: hue-rotate(60deg) saturate(1.2) brightness(1.05);
        transform: scale(1.01) translateX(-1px);
    }
    100% {
        filter: hue-rotate(360deg) saturate(1) brightness(1);
        transform: scale(1) translateX(0);
    }
}

/* Glitch flash on click (optional) */
.winner-artwork:active img,
.winner-artwork:active .artwork-placeholder {
    animation: glitchFlash 0.15s ease 2;
}

@keyframes glitchFlash {
    0% {
        filter: brightness(1) hue-rotate(0deg);
    }
    50% {
        filter: brightness(1.5) hue-rotate(180deg);
    }
    100% {
        filter: brightness(1) hue-rotate(360deg);
    }
}

/* Artwork HUD overlay */
.winner-artwork .artwork-hud {
    position: absolute;
    bottom: 6px;
    left: 8px;
    right: 8px;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.45rem;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 3px 8px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 3;
    pointer-events: none;
}

.winner-artwork:hover .artwork-hud {
    opacity: 1;
}

.artwork-hud .hud-left {
    color: var(--neon-cyan);
}
.artwork-hud .hud-right {
    color: var(--neon-green);
}

/* ============================================================
   WINNER INFO
   ============================================================ */
.winner-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 2px 2px;
    gap: 6px;
    flex-shrink: 0;
}

.winner-info .winner-name {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.winner-info .winner-username {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* ============================================================
   WINNER STATS
   ============================================================ */
.winner-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 4px;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
    gap: 4px;
}

.winner-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 3px;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--text-muted);
}

.winner-stats .stat-item .stat-icon {
    font-size: 0.55rem;
    color: var(--neon-cyan);
}

.winner-stats .stat-item .stat-value {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.55rem;
}

/* ============================================================
   CAROUSEL CONTROLS
   ============================================================ */
.winners-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
    padding: 0 10px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card), var(--glow-magenta);
}

.carousel-btn:hover {
    border-color: var(--neon-cyan);
    box-shadow: var(--shadow-card-hover), var(--glow-cyan);
    transform: scale(1.05);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-progress {
    flex: 1;
    max-width: 200px;
    height: 4px;
    background: var(--bg-elevated);
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
}

.carousel-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--gradient-neon);
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 20px rgba(255, 0, 234, 0.2);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .winner-card {
        flex: 0 0 calc(50% - 12px);
        min-height: 380px;
        max-height: 440px;
    }
    .winners-carousel {
        padding: 4px 25px 4px 4px;
    }
}

@media (max-width: 768px) {
    .winner-card {
        flex: 0 0 calc(100% - 0px);
        padding: 10px 10px 8px;
        min-height: 340px;
        max-height: 400px;
    }
    .winners-carousel {
        padding: 4px 20px 4px 4px;
    }
    .winner-artwork {
        min-height: 140px;
        aspect-ratio: 16/9;
    }
    .winner-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    .winner-rank {
        font-size: 0.4rem;
        padding: 1px 6px;
    }
    .winner-info .winner-name {
        font-size: 0.65rem;
    }
    .winner-info .winner-username {
        font-size: 0.45rem;
    }
    .carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 0.7rem;
    }
    .carousel-progress {
        max-width: 120px;
    }
    .winners-carousel-controls {
        gap: 14px;
        margin-top: 18px;
    }
}

@media (max-width: 480px) {
    .winner-card {
        padding: 8px 8px 6px;
        min-height: 280px;
        max-height: 340px;
    }
    .winners-carousel {
        padding: 4px 16px 4px 4px;
    }
    .winner-artwork {
        min-height: 100px;
        aspect-ratio: 16/9;
    }
    .winner-avatar {
        width: 24px;
        height: 24px;
        font-size: 0.6rem;
        top: 6px;
        right: 6px;
    }
    .winner-rank {
        top: 6px;
        left: 6px;
        font-size: 0.35rem;
        padding: 1px 4px;
    }
    .winner-info .winner-name {
        font-size: 0.55rem;
    }
    .winner-info .winner-username {
        font-size: 0.4rem;
    }
    .winner-stats .stat-item {
        font-size: 0.4rem;
    }
    .winner-stats .stat-item .stat-value {
        font-size: 0.45rem;
    }
    .winner-stats .stat-item .stat-icon {
        font-size: 0.45rem;
    }
    .carousel-btn {
        width: 34px;
        height: 34px;
        font-size: 0.6rem;
    }
    .carousel-progress {
        max-width: 80px;
    }
    .winners-carousel-controls {
        gap: 10px;
        margin-top: 14px;
    }
    .winner-card::before,
    .winner-card::after {
        width: 12px;
        height: 12px;
        border-width: 1.5px;
    }
    .winner-artwork .artwork-hud {
        font-size: 0.35rem;
        padding: 2px 6px;
    }
}

/* ============================================================
   HOST INFO SECTION — Cyberpunk Street Art Style
   ============================================================ */

.host-info-section {
    padding: 60px 0 80px;
    background: var(--bg-body);
    position: relative;
}

.host-info-container {
    padding: 3rem 4rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card), var(--glow-magenta);
    transition: all var(--transition);
}

.host-info-container:hover {
    border-color: var(--neon-cyan);
    box-shadow: var(--shadow-card-hover), var(--glow-cyan);
}

/* Graffiti Tags */
.host-graffiti-tag {
    position: absolute;
    font-family: var(--font-tag);
    font-size: 5rem;
    opacity: 0.04;
    pointer-events: none;
    letter-spacing: 8px;
    color: var(--neon-magenta);
    z-index: 0;
}

.host-graffiti-tag.tag-1 {
    top: -10px;
    right: 20px;
    transform: rotate(5deg);
    color: var(--neon-cyan);
}

.host-graffiti-tag.tag-2 {
    bottom: -10px;
    left: 20px;
    transform: rotate(-8deg);
    color: var(--spray-orange);
}

/* Host Info Content */
.host-info-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* ============================================================
   HOST BIO — Truly Yours Signature Style
   ============================================================ */

/* Glowing neon text for "Truly Yours" */
.host-bio .signature-name {
    display: inline-block;
    font-family: var(--font-tag);
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    position: relative;
    padding: 0 4px;
    letter-spacing: 1px;
    animation: signaturePulse 2s ease-in-out infinite;
    cursor: default;
}

/* Glow effect behind the text */
.host-bio .signature-name::before {
    content: '';
    position: absolute;
    inset: -4px -8px;
    background: var(--gradient-cyber);
    opacity: 0.08;
    border-radius: 4px;
    filter: blur(12px);
    z-index: -1;
    transition: all var(--transition);
}

.host-bio .signature-name:hover::before {
    opacity: 0.2;
    filter: blur(16px);
    transform: scale(1.1);
}

/* Graffiti-style underline */
.host-bio .signature-name::after {
    content: '✦';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5rem;
    color: var(--neon-cyan);
    opacity: 0.4;
    animation: sparkleFloat 2s ease-in-out infinite;
}

@keyframes signaturePulse {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(255, 0, 234, 0.2));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(88, 235, 254, 0.3));
        transform: scale(1.02);
    }
}

@keyframes sparkleFloat {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-50%) translateY(-4px);
    }
}

/* Alternative: Glitch style for "Truly Yours" */
.host-bio .signature-name.glitch {
    display: inline-block;
    font-family: var(--font-condensed);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    text-shadow: 0 0 10px rgba(255, 0, 234, 0.2);
}

.host-bio .signature-name.glitch::before,
.host-bio .signature-name.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.3;
}

.host-bio .signature-name.glitch::before {
    color: var(--neon-cyan);
    z-index: -1;
    animation: glitchText1 0.15s infinite;
}

.host-bio .signature-name.glitch::after {
    color: var(--neon-magenta);
    z-index: -2;
    animation: glitchText2 0.2s infinite;
}

@keyframes glitchText1 {
    0% { transform: translate(0); }
    20% { transform: translate(-1px, 1px); }
    40% { transform: translate(1px, -1px); }
    60% { transform: translate(-1px, 1px); }
    80% { transform: translate(1px, -1px); }
    100% { transform: translate(0); }
}

@keyframes glitchText2 {
    0% { transform: translate(0); }
    20% { transform: translate(1px, -1px); }
    40% { transform: translate(-1px, 1px); }
    60% { transform: translate(1px, -1px); }
    80% { transform: translate(-1px, 1px); }
    100% { transform: translate(0); }
}

/* Holographic style */
.host-bio .signature-name.holo {
    display: inline-block;
    font-family: var(--font-tag);
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--gradient-holo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 300% 300%;
    animation: holoShift 3s ease-in-out infinite;
    position: relative;
    filter: drop-shadow(0 0 20px rgba(255, 0, 234, 0.15));
}

@keyframes holoShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Hover effect - spray paint style */
.host-bio .signature-name:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .host-bio .signature-name,
    .host-bio .signature-name.glitch,
    .host-bio .signature-name.holo {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .host-bio .signature-name,
    .host-bio .signature-name.glitch,
    .host-bio .signature-name.holo {
        font-size: 0.9rem;
    }
}

/* Avatar */
.host-avatar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.host-avatar {
    cursor: pointer;
    transition: all var(--transition);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-neon);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 60px rgba(255, 0, 234, 0.2);
    transition: all var(--transition);
}

.host-avatar::after {
    content: '👤';
    position: absolute;
    bottom: -8px;
    right: -8px;
    font-size: 1rem;
    background: var(--bg-elevated);
    border-radius: 50%;
    padding: 2px;
    border: 2px solid var(--neon-cyan);
    opacity: 0;
    transition: all var(--transition);
}

.host-avatar:hover::after {
    opacity: 1;
    transform: scale(1.1);
}

.host-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 0 80px rgba(255, 0, 234, 0.3);
}

.host-avatar-emoji {
    font-size: 3.5rem;
}

.host-avatar-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--neon-cyan);
    animation: avatarRingPulse 2s ease-in-out infinite;
}

@keyframes avatarRingPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
        border-color: var(--neon-cyan);
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
        border-color: var(--neon-magenta);
    }
}

.host-status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--neon-green);
    padding: 4px 12px;
    border: 1px solid rgba(79, 243, 166, 0.2);
    border-radius: 20px;
    background: rgba(79, 243, 166, 0.05);
}

.host-status-badge .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-green);
    animation: statusPulse 2s ease-in-out infinite;
}

/* Host Text */
.host-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.host-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.host-badge {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--neon-cyan);
    letter-spacing: 2px;
    padding: 2px 10px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
    background: var(--bg-elevated);
}

.host-header h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin: 0;
}

.host-header h2 .gradient-text {
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.host-bio {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0;
}

.host-bio strong {
    color: var(--text-primary);
}

/* Quick Tips */
.host-quick-tips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
    padding: 12px 0;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all var(--transition);
    padding: 4px 0;
}

.tip-item:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.tip-item .tip-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.tip-item strong {
    color: var(--neon-cyan);
}

/* Official Links */
.host-official-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.links-label {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.links-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.host-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-condensed);
    font-size: 0.7rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    transition: all var(--transition);
    background: var(--bg-elevated);
}

.host-link:hover {
    transform: translateY(-2px) scale(1.04);
    color: var(--text-primary);
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
}

.host-link.youtube:hover { border-color: #ff0000; color: #ff0000; }
.host-link.instagram:hover { border-color: #e4405f; color: #e4405f; }
.host-link.twitter:hover { border-color: #1da1f2; color: #1da1f2; }
.host-link.tiktok:hover { border-color: #00f2ea; color: #00f2ea; }
.host-link.pinterest:hover { border-color: #e60023; color: #e60023; }
.host-link.discord:hover { border-color: #5865f2; color: #5865f2; }

.host-link i {
    font-size: 0.85rem;
}

/* Profile Button */
.host-profile-btn {
    margin-top: 8px;
    padding: 12px 28px;
    font-size: 0.8rem;
    align-self: flex-start;
}

/* ============================================================
   CHARACTER AVATARS — FIXED DISPLAY
   ============================================================ */

.character-item .char-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    transition: all var(--transition);
    box-shadow: 0 0 20px rgba(255, 0, 234, 0.1);
    position: relative;
    flex-shrink: 0;
}

.character-item .char-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.character-item .char-avatar .char-initials {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    z-index: 1;
}

/* Fix for avatar container sizing */
.host-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-neon);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 60px rgba(255, 0, 234, 0.2);
    transition: all var(--transition);
    overflow: hidden;
}

.host-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.host-avatar .host-avatar-emoji {
    font-size: 3.5rem;
    z-index: 1;
}

/* ============================================================
   RESPONSIVE — HOST INFO
   ============================================================ */

@media (max-width: 1024px) {
    .host-info-container {
        padding: 2.5rem;
    }
    .host-info-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        justify-items: center;
        text-align: center;
    }
    .host-text {
        align-items: center;
    }
    .host-header {
        align-items: center;
    }
    .host-badge {
        align-self: center;
    }
    .host-bio {
        text-align: center;
    }
    .host-quick-tips {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }
    .host-official-links {
        align-items: center;
    }
    .links-grid {
        justify-content: center;
    }
    .host-profile-btn {
        align-self: center;
    }
    .host-graffiti-tag {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .host-info-container {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    .host-avatar {
        width: 90px;
        height: 90px;
    }
    .host-avatar-emoji {
        font-size: 2.5rem;
    }
    .host-header h2 {
        font-size: 1.6rem;
    }
    .host-bio {
        font-size: 0.9rem;
    }
    .host-quick-tips {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .tip-item {
        justify-content: center;
    }
    .links-grid {
        gap: 8px;
    }
    .host-link {
        padding: 4px 10px;
        font-size: 0.65rem;
    }
    .host-graffiti-tag {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .host-info-container {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    .host-avatar {
        width: 70px;
        height: 70px;
    }
    .host-avatar-emoji {
        font-size: 2rem;
    }
    .host-header h2 {
        font-size: 1.3rem;
    }
    .host-bio {
        font-size: 0.85rem;
    }
    .host-link {
        font-size: 0.6rem;
        padding: 4px 8px;
    }
    .host-link i {
        font-size: 0.7rem;
    }
    .host-profile-btn {
        padding: 10px 20px;
        font-size: 0.7rem;
        width: 100%;
        justify-content: center;
    }
    .host-graffiti-tag {
        display: none;
    }
    .host-status-badge {
        font-size: 0.5rem;
        padding: 2px 10px;
    }
}

/* ============================================================
   CHARACTER AVATARS — My Crew
   ============================================================ */

.host-characters {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.characters-label {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.characters-grid {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.character-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.character-item:hover {
    transform: translateY(-4px);
}

.character-item .char-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    background: var(--gradient-neon);
    transition: all var(--transition);
    box-shadow: 0 0 20px rgba(255, 0, 234, 0.1);
    position: relative;
}

.character-item:hover .char-avatar {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 40px rgba(88, 235, 254, 0.2);
    transform: scale(1.08);
}

.character-item .char-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.character-item .char-avatar .char-initials {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Avatar ring glow on hover */
.character-item .char-avatar::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: all var(--transition);
    pointer-events: none;
}

.character-item:hover .char-avatar::after {
    border-color: var(--neon-cyan);
    animation: avatarRingPulse 1.5s ease-in-out infinite;
}

.character-item .char-name {
    font-family: var(--font-condensed);
    font-size: 0.55rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-align: center;
    max-width: 60px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.character-item:hover .char-name {
    color: var(--text-primary);
}

/* Character placeholder loading */
.character-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.7rem;
}

.character-placeholder i {
    margin-right: 8px;
    font-size: 1rem;
}

/* Character status indicator (online/offline) */
.character-item .char-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 2px;
    border: 1px solid var(--border-color);
}

.character-item .char-status.online {
    background: var(--neon-green);
    box-shadow: 0 0 10px rgba(79, 243, 166, 0.3);
}

.character-item .char-status.offline {
    background: var(--text-muted);
    opacity: 0.3;
}

/* ============================================================
   RESPONSIVE — CHARACTERS
   ============================================================ */

@media (max-width: 768px) {
    .character-item .char-avatar {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    .character-item .char-name {
        font-size: 0.5rem;
        max-width: 50px;
    }
    .characters-grid {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .character-item .char-avatar {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    .character-item .char-name {
        font-size: 0.45rem;
        max-width: 40px;
    }
    .characters-grid {
        gap: 8px;
    }
}

/* ============================================================
   SECTION: RECENT ARTWORKS
   ============================================================ */
.recent-artworks {
  padding: 80px 0;
  background: var(--bg-body);
}

.artwork-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.artwork-placeholder {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.artwork-placeholder i {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
  opacity: 0.3;
}

/* ============================================================
   ADD THESE STYLES TO YOUR EXISTING home.css
   ============================================================ */

/* ============================================================
   ARTWORK CARDS
   ============================================================ */
.artwork-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}

.artwork-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 0, 234, 0.25);
  box-shadow: var(--shadow-card-hover), var(--glow-purple);
}

.artwork-card .artwork-image {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--bg-elevated);
}

.artwork-card .artwork-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.artwork-card:hover .artwork-image img {
  transform: scale(1.05);
}

.artwork-card .artwork-placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 3rem;
  opacity: 0.3;
}

.artwork-card .artwork-info {
  padding: 1rem;
}

.artwork-card .artwork-info h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.artwork-card .artwork-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.artwork-card .artwork-meta {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.artwork-card .artwork-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.artwork-card .artwork-meta .artwork-tag {
  background: rgba(255, 0, 234, 0.1);
  padding: 0.1rem 0.6rem;
  border-radius: 20px;
  color: var(--neon-magenta);
  font-size: 0.6rem;
}

/* ============================================================
   CHALLENGE CARDS
   ============================================================ */
.challenge-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.challenge-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 0, 234, 0.25);
  box-shadow: var(--shadow-card-hover), var(--glow-purple);
}

.challenge-card .challenge-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.challenge-card .challenge-info h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.challenge-card .challenge-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.challenge-card .challenge-stats-mini {
  display: flex;
  gap: 12px;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.challenge-card .challenge-stats-mini span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.challenge-card .challenge-type-badge {
  font-size: 0.55rem;
  padding: 0.1rem 0.6rem;
  border-radius: 20px;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
}

.challenge-card .challenge-join-btn {
  margin-top: 1rem;
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.challenge-card .challenge-join-btn:hover {
  color: var(--text-primary);
  text-shadow: 0 0 30px rgba(88, 235, 254, 0.2);
  transform: translateX(4px);
}

/* ============================================================
   ACTIVITY FEED ITEMS
   ============================================================ */
.feed-item {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feed-item:hover {
  border-color: rgba(255, 0, 234, 0.2);
  transform: translateX(4px);
  box-shadow: var(--shadow-card-hover), var(--glow-purple);
}

.feed-item .feed-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 0, 234, 0.05);
  border-radius: 50%;
}

.feed-item .feed-content {
  flex: 1;
}

.feed-item .feed-content p {
  color: var(--text-primary);
  font-size: 0.95rem;
  margin: 0;
}

.feed-item .feed-content .feed-time {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ============================================================
   ARTIST CARDS
   ============================================================ */
.artist-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  text-align: center;
}

.artist-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 0, 234, 0.25);
  box-shadow: var(--shadow-card-hover), var(--glow-purple);
}

.artist-card .artist-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 0.75rem;
  background: var(--gradient-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-color);
}

.artist-card .artist-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-card .artist-avatar .artist-initials {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.artist-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.artist-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.artist-card .artist-stats {
  display: flex;
  gap: 12px;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.artist-card .artist-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.artist-card .artist-view-btn {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all var(--transition);
}

.artist-card .artist-view-btn:hover {
  color: var(--text-primary);
  text-shadow: 0 0 30px rgba(88, 235, 254, 0.2);
}

/* ============================================================
   RESPONSIVE FIXES
   ============================================================ */
@media (max-width: 768px) {
  .artwork-grid {
    grid-template-columns: 1fr 1fr;
  }

  .challenge-grid {
    grid-template-columns: 1fr;
  }

  .artist-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feed-item {
    flex-direction: row;
    padding: 0.75rem 1rem;
  }

  .feed-item .feed-icon {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }

  .feed-item .feed-content p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .artwork-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .artist-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .feed-item .feed-icon {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }

  .feed-item .feed-content p {
    font-size: 0.8rem;
  }
}

/* ============================================================
   SECTION: ACTIVE CHALLENGES
   ============================================================ */
.active-challenges {
  padding: 80px 0;
  background: var(--bg-body);
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.challenge-placeholder {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.challenge-placeholder i {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
  opacity: 0.3;
}

/* ============================================================
   SECTION: ACTIVITY FEED
   ============================================================ */
.activity-feed {
  padding: 80px 0;
  background: var(--bg-body);
}

.feed-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feed-placeholder {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.feed-placeholder i {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
  opacity: 0.3;
}

/* ============================================================
   SECTION: FEATURED ARTISTS
   ============================================================ */
.featured-artists {
  padding: 80px 0;
  background: var(--bg-body);
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.artist-placeholder {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.artist-placeholder i {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
  opacity: 0.3;
}

/* ============================================================
   ARTIST CARDS - WITH 3 STATS
   ============================================================ */
.artist-card .artist-stats {
    display: flex;
    gap: 16px;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 8px 0;
    flex-wrap: wrap;
}

.artist-card .artist-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all var(--transition);
}

.artist-card .artist-stats span:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--neon-cyan);
}

.artist-card .artist-stats i {
    color: var(--neon-cyan);
    font-size: 0.7rem;
}

/* ============================================================
   SECTION: HOME CTA
   ============================================================ */
.home-cta-section {
  padding: 60px 0 100px;
  background: var(--bg-body);
}

.home-cta {
  padding: 4rem 5rem;
  border-radius: 8px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.home-cta .cta-glow {
  position: absolute;
  inset: 0;
  background: var(--gradient-holo-graffiti);
  opacity: 0.03;
  animation: holoCTA 6s ease-in-out infinite;
  z-index: 0;
}

@keyframes holoCTA {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.5);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.home-cta .cta-graffiti-tag {
  position: absolute;
  font-family: var(--font-tag);
  font-size: 6rem;
  color: var(--neon-magenta);
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  letter-spacing: 10px;
}

.home-cta .cta-graffiti-tag.tag-1 {
  top: -10px;
  right: 20px;
  transform: rotate(5deg);
  color: var(--neon-cyan);
}

.home-cta .cta-graffiti-tag.tag-2 {
  bottom: -10px;
  left: 20px;
  transform: rotate(-8deg);
  color: var(--spray-orange);
}

.home-cta h2 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.home-cta h2 .gradient-text {
  background: var(--gradient-holo-graffiti);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-cta p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-buttons .btn {
  padding: 16px 40px;
  font-size: 1rem;
  letter-spacing: 3px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */


/* ============================================================
   LIGHT THEME OVERRIDES
   ============================================================ */

[data-theme="light"] {
  --bg-body: #f5f0e8;
  --bg-card: rgba(255, 255, 255, 0.6);
  --bg-card-hover: rgba(255, 255, 255, 0.8);
  --bg-card-border: rgba(173, 3, 252, 0.15);
  --bg-elevated: rgba(255, 255, 255, 0.2);
  --bg-nav: rgba(245, 240, 232, 0.92);
  --bg-footer: rgba(245, 240, 232, 0.85);

  --text-primary: #1a102a;
  --text-secondary: #4a3a5a;
  --text-muted: #8a7a9a;
  --text-inverse: #f5f0e8;

  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 12px 48px rgba(0, 0, 0, 0.1);

  --border-color: rgba(173, 3, 252, 0.15);

  --glow-magenta:
    0 0 40px rgba(255, 0, 234, 0.08), 0 0 80px rgba(255, 0, 234, 0.03);
  --glow-purple:
    0 0 40px rgba(173, 3, 252, 0.08), 0 0 80px rgba(173, 3, 252, 0.03);
  --glow-cyan:
    0 0 40px rgba(88, 235, 254, 0.08), 0 0 80px rgba(88, 235, 254, 0.03);
  --glow-pink:
    0 0 40px rgba(255, 0, 234, 0.12), 0 0 80px rgba(255, 0, 234, 0.04);
}

/* Light theme overrides for hero and cards */
[data-theme="light"] .hero-content {
  background: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .glass-panel {
  background: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .glass-panel:hover {
  background: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .news-slider-container {
  background: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .artwork-card,
[data-theme="light"] .challenge-card,
[data-theme="light"] .feed-item,
[data-theme="light"] .artist-card {
  background: rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .home-cta {
  background: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .hero-system-status {
  background: rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .scroll-indicator {
  background: rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .news-slider-controls {
  background: rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .section-badge {
  background: rgba(173, 3, 252, 0.05);
}

[data-theme="light"] .typewriter-text {
  color: #4a3a5a;
}

[data-theme="light"] .glitch-welcome {
  color: #1a102a;
}

[data-theme="light"] .glitch-welcome::before {
  color: #ff00ea;
}

[data-theme="light"] .glitch-welcome::after {
  color: #58ebfe;
}

[data-theme="light"] .status-text {
  color: #4a3a5a;
}

[data-theme="light"] .status-dot {
  background: #10b981;
}

[data-theme="light"] .stat-glow {
  opacity: 0.03 !important;
}

[data-theme="light"] .hero-stat-value {
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Fix for graffiti tags in light mode */
[data-theme="light"] .graffiti-tag {
  opacity: 0.15;
}

/* Fix for CTA graffiti tags in light mode */
[data-theme="light"] .home-cta .cta-graffiti-tag {
  opacity: 0.08;
}
/* ============================================================
   MOBILE RESPONSIVE FIXES - HOME PAGE
   Consolidated mobile fixes for hero, news, artists, and CTA
   ============================================================ */

/* ============================================================
   HERO SECTION - Mobile fixes
   ============================================================ */
@media (max-width: 768px) {
    /* Hero container */
    .parallax-hero {
        min-height: 80vh !important;
        padding: 20px 10px !important;
    }

    .hero-layer-3 {
        padding: 0 10px !important;
        position: relative !important;
        z-index: 3 !important;
        width: 100% !important;
    }

    .hero-content {
        padding: 20px 16px !important;
        max-width: 100% !important;
        border-radius: 6px !important;
    }

    /* Welcome text */
    .glitch-welcome {
        font-size: 1.2rem !important;
        letter-spacing: 2px !important;
    }

    .typewriter-container {
        font-size: 0.75rem !important;
        min-height: 1.5rem !important;
    }

    /* Stats grid - 2 columns on mobile */
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .hero-stat-card {
        padding: 10px 8px !important;
        border-radius: 4px !important;
    }

    .hero-stat-value {
        font-size: 1.3rem !important;
    }

    .hero-stat-label {
        font-size: 0.5rem !important;
        letter-spacing: 1px !important;
    }

    /* Quick actions - stacked on mobile */
    .hero-quick-actions {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }

    .hero-quick-actions .btn {
        justify-content: center !important;
        padding: 10px 16px !important;
        font-size: 0.65rem !important;
        letter-spacing: 1px !important;
        width: 100% !important;
    }

    /* System status */
    .hero-system-status {
        font-size: 0.45rem !important;
        gap: 4px !important;
        padding: 4px 10px !important;
        flex-wrap: wrap !important;
    }

    .status-text {
        font-size: 0.5rem !important;
    }

    .status-divider {
        display: none !important;
    }

    /* Hide scroll indicator on mobile */
    .scroll-indicator {
        display: none !important;
    }

    /* Hide graffiti tags on mobile */
    .graffiti-tag {
        display: none !important;
    }

    /* Reduce neon orb size */
    .neon-orb {
        width: 200px !important;
        height: 200px !important;
    }

    .grid-overlay {
        background-size: 20px 20px !important;
        opacity: 0.15 !important;
    }
}

/* Small mobile (480px and below) */
@media (max-width: 480px) {
    .hero-content {
        padding: 14px 12px !important;
    }

    .glitch-welcome {
        font-size: 0.9rem !important;
        letter-spacing: 1px !important;
    }

    .typewriter-container {
        font-size: 0.6rem !important;
    }

    .hero-stats-grid {
        gap: 4px !important;
    }

    .hero-stat-card {
        padding: 6px 4px !important;
    }

    .hero-stat-value {
        font-size: 1rem !important;
    }

    .hero-stat-label {
        font-size: 0.4rem !important;
    }

    .hero-quick-actions .btn {
        padding: 8px 12px !important;
        font-size: 0.55rem !important;
    }

    .hero-system-status {
        font-size: 0.4rem !important;
        padding: 3px 8px !important;
    }

    .status-text {
        font-size: 0.4rem !important;
    }

    .neon-orb {
        width: 120px !important;
        height: 120px !important;
    }
}

/* ============================================================
   NEWS SLIDER - Mobile fixes
   ============================================================ */
@media (max-width: 768px) {
    .community-news-section {
        padding: 40px 0 !important;
    }

    .section-header {
        margin-bottom: 1.5rem !important;
    }

    .section-header h2 {
        font-size: 1.4rem !important;
    }

    .section-header p {
        font-size: 0.85rem !important;
    }

    .news-slider-container {
        border-radius: 4px !important;
        margin: 0 8px !important;
    }

    .news-slide {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
    }

    .news-slide-image {
        min-height: 140px !important;
        order: -1 !important;
    }

    .news-image-placeholder i {
        font-size: 2rem !important;
    }

    .news-slide-content {
        padding: 1.2rem 1.2rem !important;
        gap: 6px !important;
    }

    .news-tag {
        font-size: 0.5rem !important;
        letter-spacing: 1px !important;
    }

    .news-slide-content h3 {
        font-size: 1.1rem !important;
    }

    .news-slide-content p {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }

    .news-read-more {
        font-size: 0.7rem !important;
    }

    .news-slider-controls {
        padding: 10px 12px !important;
        gap: 12px !important;
    }

    .news-slider-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.7rem !important;
    }

    .news-slider-dots .dot {
        width: 6px !important;
        height: 6px !important;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.1rem !important;
    }

    .news-slide-image {
        min-height: 100px !important;
    }

    .news-slide-content {
        padding: 0.8rem 0.8rem !important;
    }

    .news-slide-content h3 {
        font-size: 0.9rem !important;
    }

    .news-slide-content p {
        font-size: 0.7rem !important;
    }

    .news-slider-btn {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.6rem !important;
    }

    .news-slider-controls {
        padding: 8px 8px !important;
        gap: 8px !important;
    }
}

/* ============================================================
   WINNERS CAROUSEL - Mobile fixes (already has some, enhancing)
   ============================================================ */
@media (max-width: 768px) {
    .winners-carousel-section {
        padding: 40px 0 !important;
    }

    .winners-carousel-container {
        padding: 12px 4px 8px !important;
        border-radius: 6px !important;
        margin: 0 8px !important;
    }

    .winners-carousel {
        padding: 4px 12px 4px 4px !important;
        gap: 12px !important;
    }

    .winner-card {
        flex: 0 0 calc(100% - 0px) !important;
        padding: 8px 8px 6px !important;
        min-height: 280px !important;
        max-height: 340px !important;
        border-radius: 4px !important;
    }

    .winner-artwork {
        min-height: 120px !important;
        aspect-ratio: 16/9 !important;
    }

    .winner-rank {
        font-size: 0.35rem !important;
        padding: 1px 4px !important;
        top: 4px !important;
        left: 6px !important;
    }

    .winner-avatar {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.6rem !important;
        top: 4px !important;
        right: 6px !important;
    }

    .winner-info .winner-name {
        font-size: 0.6rem !important;
    }

    .winner-info .winner-username {
        font-size: 0.4rem !important;
    }

    .winner-stats .stat-item {
        font-size: 0.4rem !important;
    }

    .winner-stats .stat-item .stat-value {
        font-size: 0.4rem !important;
    }

    .winner-stats .stat-item .stat-icon {
        font-size: 0.4rem !important;
    }

    /* Hide corner brackets on mobile */
    .winner-card::before,
    .winner-card::after {
        width: 10px !important;
        height: 10px !important;
        border-width: 1px !important;
    }

    .winners-carousel-controls {
        gap: 12px !important;
        margin-top: 12px !important;
        padding: 0 4px !important;
    }

    .carousel-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.6rem !important;
        border-radius: 4px !important;
    }

    .carousel-progress {
        max-width: 80px !important;
        height: 3px !important;
    }
}

@media (max-width: 480px) {
    .winner-card {
        min-height: 220px !important;
        max-height: 280px !important;
        padding: 6px 6px 4px !important;
    }

    .winner-artwork {
        min-height: 80px !important;
    }

    .winner-info .winner-name {
        font-size: 0.5rem !important;
    }

    .winner-info .winner-username {
        font-size: 0.35rem !important;
    }

    .winner-stats .stat-item {
        font-size: 0.35rem !important;
    }

    .winner-stats .stat-item .stat-value {
        font-size: 0.35rem !important;
    }

    .winner-stats .stat-item .stat-icon {
        font-size: 0.35rem !important;
    }

    .carousel-btn {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.5rem !important;
    }

    .carousel-progress {
        max-width: 60px !important;
    }

    .winner-card::before,
    .winner-card::after {
        display: none !important;
    }

    .winner-artwork .artwork-hud {
        font-size: 0.3rem !important;
        padding: 1px 4px !important;
    }
}

/* ============================================================
   ARTIST CARDS - Mobile fixes
   ============================================================ */
@media (max-width: 768px) {
    .featured-artists {
        padding: 40px 0 !important;
    }

    .artist-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 8px !important;
    }

    .artist-card {
        padding: 1rem !important;
        border-radius: 6px !important;
    }

    .artist-card .artist-avatar {
        width: 48px !important;
        height: 48px !important;
        margin-bottom: 0.5rem !important;
    }

    .artist-card .artist-avatar .artist-initials {
        font-size: 1.1rem !important;
    }

    .artist-card h4 {
        font-size: 0.8rem !important;
    }

    .artist-card p {
        font-size: 0.65rem !important;
        margin-bottom: 4px !important;
    }

    .artist-card .artist-stats {
        font-size: 0.55rem !important;
        gap: 6px !important;
        flex-wrap: wrap !important;
    }

    .artist-card .artist-stats span {
        padding: 2px 6px !important;
        font-size: 0.5rem !important;
    }

    .artist-card .artist-stats i {
        font-size: 0.5rem !important;
    }

    .artist-card .artist-view-btn {
        font-size: 0.6rem !important;
        margin-top: 0.5rem !important;
    }
}

@media (max-width: 480px) {
    .artist-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        padding: 0 4px !important;
    }

    .artist-card {
        padding: 0.8rem !important;
    }

    .artist-card .artist-avatar {
        width: 40px !important;
        height: 40px !important;
    }

    .artist-card .artist-avatar .artist-initials {
        font-size: 0.9rem !important;
    }

    .artist-card h4 {
        font-size: 0.7rem !important;
    }

    .artist-card p {
        font-size: 0.55rem !important;
    }

    .artist-card .artist-stats {
        font-size: 0.45rem !important;
        gap: 4px !important;
    }

    .artist-card .artist-stats span {
        padding: 1px 4px !important;
        font-size: 0.4rem !important;
    }

    .artist-card .artist-stats i {
        font-size: 0.4rem !important;
    }

    .artist-card .artist-view-btn {
        font-size: 0.5rem !important;
    }
}

/* ============================================================
   CTA SECTION - Mobile fixes
   ============================================================ */
@media (max-width: 768px) {
    .home-cta-section {
        padding: 30px 0 60px !important;
    }

    .home-cta {
        padding: 2rem 1.5rem !important;
        border-radius: 6px !important;
        margin: 0 8px !important;
    }

    .home-cta h2 {
        font-size: 1.5rem !important;
        letter-spacing: 1px !important;
        margin-bottom: 1rem !important;
    }

    .home-cta p {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem !important;
    }

    .cta-buttons {
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .cta-buttons .btn {
        padding: 12px 24px !important;
        font-size: 0.75rem !important;
        letter-spacing: 2px !important;
        width: 100% !important;
        justify-content: center !important;
    }

    /* Hide graffiti tags on mobile */
    .home-cta .cta-graffiti-tag {
        display: none !important;
    }

    .home-cta .cta-glow {
        opacity: 0.02 !important;
    }
}

@media (max-width: 480px) {
    .home-cta {
        padding: 1.5rem 1rem !important;
        margin: 0 4px !important;
    }

    .home-cta h2 {
        font-size: 1.2rem !important;
    }

    .home-cta p {
        font-size: 0.8rem !important;
    }

    .cta-buttons .btn {
        padding: 10px 16px !important;
        font-size: 0.65rem !important;
    }
}

/* ============================================================
   CHALLENGE CARDS - Mobile fixes
   ============================================================ */
@media (max-width: 768px) {
    .active-challenges {
        padding: 40px 0 !important;
    }

    .challenge-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        padding: 0 8px !important;
    }

    .challenge-card {
        padding: 1rem !important;
        border-radius: 6px !important;
    }

    .challenge-card .challenge-icon {
        font-size: 1.8rem !important;
        margin-bottom: 0.3rem !important;
    }

    .challenge-card .challenge-info h4 {
        font-size: 0.85rem !important;
    }

    .challenge-card .challenge-info p {
        font-size: 0.7rem !important;
        margin-bottom: 4px !important;
    }

    .challenge-card .challenge-stats-mini {
        font-size: 0.55rem !important;
        gap: 8px !important;
    }

    .challenge-card .challenge-type-badge {
        font-size: 0.45rem !important;
        padding: 1px 6px !important;
    }

    .challenge-card .challenge-join-btn {
        font-size: 0.65rem !important;
        margin-top: 0.5rem !important;
    }
}

@media (max-width: 480px) {
    .challenge-grid {
        grid-template-columns: 1fr !important;
        max-width: 280px !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .challenge-card {
        padding: 0.8rem !important;
    }

    .challenge-card .challenge-icon {
        font-size: 1.5rem !important;
    }

    .challenge-card .challenge-info h4 {
        font-size: 0.8rem !important;
    }

    .challenge-card .challenge-info p {
        font-size: 0.65rem !important;
    }
}

/* ============================================================
   ARTWORK GRID - Mobile fixes
   ============================================================ */
@media (max-width: 768px) {
    .recent-artworks {
        padding: 40px 0 !important;
    }

    .artwork-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        padding: 0 8px !important;
    }

    .artwork-card {
        border-radius: 6px !important;
    }

    .artwork-card .artwork-image {
        aspect-ratio: 1/1 !important;
    }

    .artwork-card .artwork-info {
        padding: 0.6rem !important;
    }

    .artwork-card .artwork-info h4 {
        font-size: 0.8rem !important;
    }

    .artwork-card .artwork-info p {
        font-size: 0.65rem !important;
        margin-bottom: 4px !important;
    }

    .artwork-card .artwork-meta {
        font-size: 0.6rem !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
    }

    .artwork-card .artwork-meta .artwork-tag {
        font-size: 0.5rem !important;
        padding: 1px 6px !important;
    }
}

@media (max-width: 480px) {
    .artwork-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        padding: 0 4px !important;
    }

    .artwork-card .artwork-info h4 {
        font-size: 0.7rem !important;
    }

    .artwork-card .artwork-info p {
        font-size: 0.55rem !important;
    }

    .artwork-card .artwork-meta {
        font-size: 0.5rem !important;
        gap: 4px !important;
    }
}

/* ============================================================
   SECTION HEADERS - Mobile fixes
   ============================================================ */
@media (max-width: 768px) {
    .section-badge {
        font-size: 0.5rem !important;
        padding: 2px 10px !important;
        letter-spacing: 2px !important;
        margin-bottom: 8px !important;
    }

    .view-all {
        font-size: 0.65rem !important;
    }
}

/* ============================================================
   ACTIVITY FEED - Mobile fixes
   ============================================================ */
@media (max-width: 768px) {
    .activity-feed {
        padding: 40px 0 !important;
    }

    .feed-list {
        padding: 0 8px !important;
    }

    .feed-item {
        padding: 0.6rem 0.8rem !important;
        border-radius: 6px !important;
        gap: 8px !important;
    }

    .feed-item .feed-icon {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.9rem !important;
    }

    .feed-item .feed-content p {
        font-size: 0.75rem !important;
    }

    .feed-item .feed-content .feed-time {
        font-size: 0.55rem !important;
    }
}

@media (max-width: 480px) {
    .feed-item {
        padding: 0.4rem 0.6rem !important;
    }

    .feed-item .feed-icon {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.7rem !important;
    }

    .feed-item .feed-content p {
        font-size: 0.65rem !important;
    }

    .feed-item .feed-content .feed-time {
        font-size: 0.45rem !important;
    }
}

/* ============================================================
   TOAST NOTIFICATIONS - Mobile fixes
   ============================================================ */
@media (max-width: 768px) {
    .toast-container {
        top: 60px !important;
        right: 8px !important;
        left: 8px !important;
        max-width: none !important;
    }

    .toast {
        padding: 10px 14px !important;
        font-size: 0.75rem !important;
        border-radius: 4px !important;
    }

    .toast .toast-icon {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 480px) {
    .toast-container {
        top: 50px !important;
        right: 4px !important;
        left: 4px !important;
    }

    .toast {
        padding: 8px 10px !important;
        font-size: 0.65rem !important;
    }
}

/* ============================================================
   KEYBOARD HINT - Mobile fixes
   ============================================================ */
@media (max-width: 768px) {
    .keyboard-hint {
        display: none !important;
    }
}

/* ============================================================
   THEME TOGGLE - Mobile fixes
   ============================================================ */
@media (max-width: 768px) {
    .theme-toggle-wrapper {
        bottom: 16px !important;
        right: 16px !important;
    }

    .theme-toggle {
        padding: 6px 12px !important;
        font-size: 0.55rem !important;
        letter-spacing: 1px !important;
    }

    .theme-toggle .toggle-icon {
        font-size: 0.8rem !important;
    }
}

@media (max-width: 480px) {
    .theme-toggle-wrapper {
        bottom: 10px !important;
        right: 10px !important;
    }

    .theme-toggle {
        padding: 4px 8px !important;
        font-size: 0.45rem !important;
    }

    .theme-toggle .toggle-icon {
        font-size: 0.6rem !important;
    }

    .theme-toggle .toggle-label {
        display: none !important;
    }
}
