/* ===================================
   PURGATORY LAB - ADVANCED STYLING
   Lab-themed design with animations
   =================================== */

/* Lab Main Container */
.lab-main {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  position: relative;
  overflow-x: hidden;
}

/* ===================================
   LAB HERO SECTION
   =================================== */

.lab-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  overflow: hidden;
}

/* Animated Background Elements */
.lab-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Data Streams Animation */
.data-stream {
  position: absolute;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    #00ffff 20%,
    #0080ff 50%,
    #00ffff 80%,
    transparent 100%
  );
  opacity: 0.6;
  animation: dataFlow 3s linear infinite;
}

.stream-1 {
  left: 15%;
  animation-delay: 0s;
}

.stream-2 {
  left: 50%;
  animation-delay: 1s;
}

.stream-3 {
  right: 20%;
  animation-delay: 2s;
}

@keyframes dataFlow {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

/* Scanning Grid Effect */
.scanning-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridScan 8s linear infinite;
  opacity: 0.3;
  z-index: 0;
}

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

/* Hero Container */
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* ===================================
   LAB STATUS HEADER
   =================================== */

.lab-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  margin-top: 2rem; /* Reduced from 80px since breadcrumbs are now in document flow */
  padding: 1rem 2rem;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pulse-dot {
  width: 12px;
  height: 12px;
  background: #00ff00;
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 10px #00ff00;
}

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

.status-text {
  color: #00ffff;
  font-weight: 600;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
}

.lab-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  font-family: 'Courier New', monospace;
}

/* ===================================
   HERO TITLE SECTION
   =================================== */

.purgatory-hero-title {
  text-align: center;
  margin-bottom: 3rem;
}

.purgatory-hero-title h1 {
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(45deg, #00ffff, #0080ff, #00ffff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.purgatory-hero-title h1 i {
  margin-right: 1rem;
  -webkit-text-fill-color: #00ffff;
}

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

.hero-subtitle {
  font-size: 1.8rem;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
  background: linear-gradient(45deg, #ffffff, #00ffff, #ffffff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: subtitleGlow 4s ease-in-out infinite;
  margin-top: 1rem;
}

@keyframes subtitleGlow {
  0%,
  100% {
    background-position: 0% 50%;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
  }
  50% {
    background-position: 100% 50%;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.9);
  }
}

/* ===================================
   STATS GRID
   =================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.lab-stat-card {
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 15px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

/* Stat Card Hover Effects */
.lab-stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.lab-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.lab-stat-card:hover::before {
  left: 100%;
}

/* Stat Card Icons */
.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.processing .stat-icon {
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  color: white;
}

.accuracy .stat-icon {
  background: linear-gradient(45deg, #00ff88, #00cc6a);
  color: white;
}

.reviewers .stat-icon {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
}

.verdicts .stat-icon {
  background: linear-gradient(45deg, #f093fb, #f5576c);
  color: white;
}

/* Stat Content */
.stat-content {
  flex: 1;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  font-family: 'Courier New', monospace;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: #b0b0b0;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.stat-change {
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.stat-change.positive {
  color: #00ff88;
}

.stat-change.neutral {
  color: #ffaa00;
}

.stat-change.negative {
  color: #ff4757;
}

/* ===================================
   HERO ACTIONS
   =================================== */

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.action-btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.action-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.action-btn:hover::before {
  left: 100%;
}

.action-btn.primary {
  background: linear-gradient(45deg, #00ffff, #0080ff);
  color: #000;
}

.action-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 255, 255, 0.4);
}

.action-btn.secondary {
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  color: white;
}

.action-btn.secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

.action-btn.tertiary {
  background: linear-gradient(45deg, #e94560, #c73650);
  border: 2px solid #e94560;
  color: white;
}

.action-btn.tertiary:hover {
  background: linear-gradient(45deg, #ff5577, #e94560);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(233, 69, 96, 0.4);
}

/* ===================================
   LAB CONTENT PLACEHOLDER
   =================================== */

.lab-content {
  padding: 4rem 0;
  text-align: center;
}

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

.lab-content h2 {
  font-size: 2.5rem;
  color: #00ffff;
  margin-bottom: 1rem;
}

.lab-content p {
  font-size: 1.2rem;
  color: #b0b0b0;
}

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

@media (max-width: 768px) {
  .purgatory-hero-title h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .lab-stat-card {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .action-btn {
    width: 100%;
    max-width: 300px;
  }

  .lab-status {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Move pulse dot to the right side of status text on mobile */
  .status-indicator {
    flex-direction: row-reverse !important;
    justify-content: center !important;
  }
}

/* ===================================
   BOOSTED CASES SECTION
   =================================== */

.boosted-cases {
  padding: 4rem 0;
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
  position: relative;
}

.boosted-cases::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.boosted-cases .container {
  position: relative;
  z-index: 2;
}

.boosted-cases .section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.boosted-cases .section-subtitle {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffd700;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: priceGlow 2s ease-in-out infinite alternate;
}

@keyframes priceGlow {
  0% {
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
  }
  100% {
    text-shadow: 0 0 25px rgba(255, 215, 0, 0.9);
  }
}

.boosted-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
  place-items: center;
  direction: rtl; /* Right-to-left layout for newest-first ordering */
}

/* Remove the 5-column centering rules since we now have 3 columns */

.boosted-case-card {
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border-radius: 15px;
  overflow: hidden;
  direction: ltr; /* Keep card content left-to-right */
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.3);
  position: relative;
  cursor: pointer;
  width: 100%;
  max-width: 350px;
  min-height: 400px;
}

.boosted-case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.boosted-case-card:hover::before {
  opacity: 1;
}

.boosted-case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 215, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.6);
}

.case-header {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.case-verdict-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
}

.cheater-name {
  font-size: 1rem;
  font-weight: 700;
  color: #ff6b6b;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
  background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.cheater-name::before {
  content: '🎯 ';
  position: absolute;
  left: -18px;
  color: #ff6b6b;
  -webkit-text-fill-color: #ff6b6b;
}

.conviction-status {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

/* Pending status - yellow badge */
.conviction-status.pending {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.3);
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.2);
}

/* Cheater verdict - red badge */
.conviction-status.cheater {
  background: rgba(255, 0, 0, 0.2);
  color: #ff0000;
  border: 1px solid rgba(255, 0, 0, 0.3);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
  text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

/* Griefer verdict - orange badge */
.conviction-status.griefer {
  background: rgba(255, 140, 0, 0.2);
  color: #ff8c00;
  border: 1px solid rgba(255, 140, 0, 0.3);
  box-shadow: 0 0 15px rgba(255, 140, 0, 0.3);
  text-shadow: 0 0 5px rgba(255, 140, 0, 0.5);
}

/* Cheater & Griefer combined - gradient badge */
.conviction-status.cheater-and-griefer {
  background: linear-gradient(90deg, rgba(255, 0, 0, 0.2), rgba(255, 140, 0, 0.2));
  border: none;
  box-shadow: none;
  position: relative;
}

.conviction-status.cheater-and-griefer .fa-gavel {
  background: linear-gradient(90deg, #ff0000, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Innocent verdict - green badge */
.conviction-status.innocent {
  background: rgba(0, 255, 0, 0.2);
  color: #00ff00;
  border: 1px solid rgba(0, 255, 0, 0.3);
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
  text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

/* Inconclusive verdict - grey/yellow badge */
.conviction-status.inconclusive {
  background: rgba(255, 255, 0, 0.15);
  color: #ffff00;
  border: 1px solid rgba(255, 255, 0, 0.3);
  box-shadow: 0 0 10px rgba(255, 255, 0, 0.2);
  text-shadow: 0 0 5px rgba(255, 255, 0, 0.4);
}

/* Legacy styles for backward compatibility */
.conviction-status.convicted {
  background: rgba(220, 53, 69, 0.2);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Pulse animation for combined verdict */
@keyframes pulse {
  0%,
  100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.2;
  }
}

.vote-status-indicator {
  padding: 0.8rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  font-size: 0.75rem;
  line-height: 1.3;
}

/* Badge container */
.status-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Individual badge styling */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.status-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.badge-label {
  color: #888;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-value {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Special styling for user vote badge */
.user-vote-badge .badge-label {
  color: #00d4ff;
  text-shadow: 0 0 3px rgba(0, 212, 255, 0.3);
}

/* Vote status colors */
.vote-not-voted {
  color: #888;
}

.vote-guilty {
  color: #ff4444;
  text-shadow: 0 0 3px rgba(255, 68, 68, 0.5);
}

.vote-innocent {
  color: #44ff44;
  text-shadow: 0 0 3px rgba(68, 255, 68, 0.5);
}

.vote-griefer {
  color: #ffaa44;
  text-shadow: 0 0 3px rgba(255, 170, 68, 0.5);
}

.vote-guilty-griefer {
  background: linear-gradient(90deg, #ff4444 50%, #ffaa44 50%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  font-weight: bold;
}

.vote-insufficient {
  color: #aaaaaa;
}

/* Game badge styling */
.game-badge .badge-label {
  color: #ff6b6b;
}

/* Platform info badge styling */
.platform-info-badge .badge-label {
  color: #4ecdc4;
}

/* Suspect badge styling */
.suspect-badge .badge-label {
  color: #ffd93d;
}

/* Legacy user-vote class - keep for backward compatibility but remove duplicate prefix */
.user-vote {
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.final-verdict {
  color: #ffffff;
  font-weight: 600;
}

.final-verdict::before {
  content: 'Final: ';
  color: #ffd700;
  font-weight: 700;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.case-video {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.case-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.boosted-case-card:hover .case-video img {
  transform: scale(1.05);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #000;
  transition: all 0.3s ease;
  cursor: pointer;
}

.play-button:hover {
  background: #ffffff;
  transform: translate(-50%, -50%) scale(1.1);
}

.game-tag {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: rgba(0, 212, 255, 0.9);
  color: #000;
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.case-stats {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.vote-count {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.vote-count i {
  color: var(--accent-blue);
}

.boost-badge {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  color: #000;
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: boostGlow 2s ease-in-out infinite alternate;
}

@keyframes boostGlow {
  0% {
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
  }
  100% {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
  }
}

/* Responsive Design for Boosted Cases */
@media (max-width: 1200px) {
  .boosted-cases-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
  }
}

@media (max-width: 992px) {
  .boosted-cases-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .boosted-cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .boosted-cases .section-title {
    font-size: 2rem;
  }

  .case-header {
    padding: 0.8rem;
  }

  .cheater-name {
    font-size: 0.8rem;
  }

  .conviction-status {
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
  }

  .vote-status-indicator {
    padding: 0.6rem 0.8rem;
    font-size: 0.7rem;
  }

  /* Responsive badge styling */
  .status-badges {
    gap: 0.3rem;
  }

  .status-badge {
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
  }

  .badge-label {
    font-size: 0.6rem;
    letter-spacing: 0.3px;
  }

  .badge-value {
    font-size: 0.7rem;
  }

  .case-stats {
    padding: 0.8rem;
  }

  .vote-count {
    font-size: 0.7rem;
  }

  .boost-badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
  }
}

@media (max-width: 480px) {
  .boosted-cases-grid {
    grid-template-columns: 1fr;
  }

  .boosted-cases .section-title {
    font-size: 1.8rem;
  }

  .boosted-cases .section-subtitle {
    font-size: 1rem;
  }
}

.case-uploader {
  padding: 0.8rem 1rem;
  background: rgba(0, 50, 100, 0.2);
  border-top: 1px solid rgba(0, 212, 255, 0.2);
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.case-uploader i {
  color: #00d4ff;
}

.uploader-name {
  color: #00d4ff;
  font-weight: 600;
  text-shadow: 0 0 5px rgba(0, 212, 255, 0.2);
}

/* Add New Boosted Case Card */
.add-boosted-case-card {
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border-radius: 15px;
  border: 2px dashed rgba(255, 215, 0, 0.4);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 380px;
}

.add-boosted-case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.add-boosted-case-card:hover {
  border-color: rgba(255, 215, 0, 0.8);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 215, 0, 0.2);
}

.add-boosted-case-card:hover::before {
  opacity: 1;
}

.add-case-content {
  z-index: 2;
  position: relative;
}

.add-case-icon {
  font-size: 4rem;
  color: #ffd700;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.add-case-icon i {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.add-case-text h4 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.add-case-text p {
  color: #ffd700;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: priceGlow 2s ease-in-out infinite alternate;
}

.add-case-cta {
  margin-top: 1rem;
}

.boost-case-now-btn {
  background: linear-gradient(45deg, #ffd700, #ffed4e, #fff700);
  border: none;
  border-radius: 30px;
  padding: 1.2rem 2.5rem;
  color: #1a1a2e;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.boost-case-now-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.boost-case-now-btn:hover::before {
  left: 100%;
}

.boost-case-now-btn:hover {
  background: linear-gradient(45deg, #ffed4e, #fff700, #ffff00);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6);
}

.boost-case-now-btn i {
  margin-right: 0.8rem;
  font-size: 1.2rem;
}

.boost-case-btn {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  border: none;
  border-radius: 25px;
  padding: 1rem 2rem;
  color: #1a1a2e;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
}

.boost-case-btn:hover {
  background: linear-gradient(45deg, #ffed4e, #fff700);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.boost-case-btn i {
  margin-right: 0.5rem;
}

/* Responsive adjustments for add card */
@media (max-width: 1200px) {
  .boosted-cases-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .boosted-cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .boosted-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .add-boosted-case-card {
    min-height: 400px;
    padding: 1.5rem;
  }

  .add-case-icon {
    font-size: 3rem;
  }

  .add-case-text h4 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .boosted-cases-grid {
    grid-template-columns: 1fr;
  }

  .add-boosted-case-card {
    min-height: 350px;
    padding: 1rem;
  }

  .add-case-icon {
    font-size: 2.5rem;
  }

  .add-case-text h4 {
    font-size: 1.2rem;
  }
}

/* Main Boost CTA Section */
.boost-main-cta {
  text-align: center;
  margin: 2rem 0 3rem 0;
}

.boost-main-cta .boost-case-now-btn {
  background: linear-gradient(45deg, #ffd700, #ffed4e, #fff700);
  border: none;
  border-radius: 30px;
  padding: 1.2rem 2.5rem;
  color: #1a1a2e;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.boost-main-cta .boost-case-now-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.4s ease;
}

.boost-main-cta .boost-case-now-btn:hover::before {
  left: 100%;
}

.boost-main-cta .boost-case-now-btn:hover {
  background: linear-gradient(45deg, #ffed4e, #fff700, #ffff00);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6);
}

.boost-main-cta .boost-case-now-btn i {
  margin-right: 0.8rem;
  font-size: 1.2rem;
}

/* ===================================
   VIP CASES SECTION
   =================================== */

.vip-cases {
  padding: 4rem 0;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  position: relative;
  overflow: hidden;
}

.vip-cases::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(192, 192, 192, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(169, 169, 169, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.vip-cases .section-title {
  font-size: 3rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #c0c0c0, #e8e8e8, #a9a9a9);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: silverShift 3s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(192, 192, 192, 0.3);
  position: relative;
  z-index: 2;
}

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

.vip-cases .section-subtitle {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  color: #c0c0c0;
  margin-bottom: 2rem;
  text-shadow: 0 0 15px rgba(192, 192, 192, 0.4);
  animation: silverGlow 2s ease-in-out infinite alternate;
  position: relative;
  z-index: 2;
}

@keyframes silverGlow {
  0% {
    text-shadow: 0 0 15px rgba(192, 192, 192, 0.4);
  }
  100% {
    text-shadow: 0 0 25px rgba(192, 192, 192, 0.7);
  }
}

/* VIP Main CTA Section */
.vip-main-cta {
  text-align: center;
  margin: 2rem 0 3rem 0;
}

.vip-main-cta .vip-case-now-btn {
  background: linear-gradient(45deg, #c0c0c0, #e8e8e8, #d3d3d3);
  border: none;
  border-radius: 30px;
  padding: 1.2rem 2.5rem;
  color: #1a1a2e;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(192, 192, 192, 0.3);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.vip-main-cta .vip-case-now-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transition: left 0.4s ease;
}

.vip-main-cta .vip-case-now-btn:hover::before {
  left: 100%;
}

.vip-main-cta .vip-case-now-btn:hover {
  background: linear-gradient(45deg, #e8e8e8, #f5f5f5, #ffffff);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(192, 192, 192, 0.5);
}

.vip-main-cta .vip-case-now-btn i {
  margin-right: 0.8rem;
  font-size: 1.2rem;
}

/* VIP Cases Grid */
.vip-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  justify-items: center;
  place-items: center;
  direction: rtl; /* Right-to-left layout for newest-first ordering */
}

/* VIP Case Cards */
.vip-case-card {
  background: linear-gradient(145deg, #1e1e3f, #2a2a4a);
  border-radius: 15px;
  border: 2px solid rgba(192, 192, 192, 0.3);
  direction: ltr; /* Keep card content left-to-right */
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  width: 100%;
  max-width: 350px;
  min-height: 400px;
  box-shadow: 0 8px 25px rgba(192, 192, 192, 0.1);
}

.vip-case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(192, 192, 192, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.vip-case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(192, 192, 192, 0.2);
  border-color: rgba(192, 192, 192, 0.6);
}

.vip-case-card:hover::before {
  opacity: 1;
}

/* VIP Badge */
.vip-badge {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(45deg, #c0c0c0, #e8e8e8);
  color: #1a1a2e;
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: vipGlow 2s ease-in-out infinite alternate;
}

@keyframes vipGlow {
  0% {
    box-shadow: 0 0 5px rgba(192, 192, 192, 0.4);
  }
  100% {
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.7);
  }
}

/* Add New VIP Case Card */
.add-vip-case-card {
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border-radius: 15px;
  border: 2px dashed rgba(192, 192, 192, 0.4);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 380px;
}

.add-vip-case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(192, 192, 192, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.add-vip-case-card:hover {
  border-color: rgba(192, 192, 192, 0.8);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(192, 192, 192, 0.2);
}

.add-vip-case-card:hover::before {
  opacity: 1;
}

.add-vip-case-card .add-case-icon {
  font-size: 4rem;
  color: #c0c0c0;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(192, 192, 192, 0.5);
}

.add-vip-case-card .add-case-icon i {
  animation: crownPulse 2s infinite;
}

@keyframes crownPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.add-vip-case-card .add-case-text h4 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.add-vip-case-card .add-case-text p {
  color: #c0c0c0;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 15px rgba(192, 192, 192, 0.6);
}

.vip-case-btn {
  background: linear-gradient(45deg, #c0c0c0, #e8e8e8);
  border: none;
  border-radius: 25px;
  padding: 1rem 2rem;
  color: #1a1a2e;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(192, 192, 192, 0.3);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
}

.vip-case-btn:hover {
  background: linear-gradient(45deg, #e8e8e8, #f5f5f5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(192, 192, 192, 0.4);
}

.vip-case-btn i {
  margin-right: 0.5rem;
}

/* Responsive Design for VIP Cases */
@media (max-width: 1200px) {
  .vip-cases-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
  }
}

@media (max-width: 992px) {
  .vip-cases-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .vip-cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .vip-cases .section-title {
    font-size: 2rem;
  }

  .add-vip-case-card {
    min-height: 400px;
    padding: 1.5rem;
  }

  .add-vip-case-card .add-case-icon {
    font-size: 3rem;
  }

  .add-vip-case-card .add-case-text h4 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .vip-cases-grid {
    grid-template-columns: 1fr;
  }

  .vip-cases .section-title {
    font-size: 1.8rem;
  }

  .vip-cases .section-subtitle {
    font-size: 1rem;
  }

  .add-vip-case-card {
    min-height: 350px;
    padding: 1rem;
  }

  .add-vip-case-card .add-case-icon {
    font-size: 2.5rem;
  }

  .add-vip-case-card .add-case-text h4 {
    font-size: 1.2rem;
  }
}

/* ===================================
   CASE TITLES STYLING
   =================================== */

.case-title {
  margin: 1rem 0;
  padding: 0.8rem;
}

.case-title h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Boosted case title styling */
.boosted-case-card .case-title h3 {
  color: #ffd700;
}

/* VIP case title styling */
.vip-case-card .case-title h3 {
  color: #e6e6e6;
}

/* Mobile responsive for case titles */
@media (max-width: 768px) {
  .case-title h3 {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .case-title {
    margin: 0.8rem 0;
    padding: 0.6rem;
  }
}

@media (max-width: 480px) {
  .case-title h3 {
    font-size: 0.8rem;
  }
}

/* ===================================
   UNIFIED SEARCH SECTION
   =================================== */

.unified-search {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(15, 15, 30, 0.95));
  padding: 3rem 0;
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
  position: relative;
  overflow: visible;
}

.unified-search::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.search-container {
  position: relative;
  z-index: 2;
  overflow: visible;
}

.search-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.search-title {
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.search-title i {
  color: #00ffff;
  margin-right: 1rem;
}

.search-subtitle {
  font-size: 1.1rem;
  color: #b0b0b0;
  font-weight: 300;
}

.search-bar-container {
  max-width: 800px;
  margin: 0 auto;
  overflow: visible;
}

.search-input-wrapper {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.search-input {
  flex: 1;
  padding: 1rem 1.5rem;
  background: rgba(26, 26, 46, 0.8);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 12px;
  color: #ffffff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.search-input:focus {
  outline: none;
  border-color: #00ffff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.search-input::placeholder {
  color: #888;
}

.search-btn {
  padding: 1rem 2rem;
  background: linear-gradient(45deg, #00ffff, #0080ff);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 120px;
  justify-content: center;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4);
}

/* Filters */
.search-filters {
  position: relative;
}

.filters-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 12px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  justify-content: center;
  font-weight: 500;
}

.filters-toggle:hover {
  border-color: rgba(0, 255, 255, 0.4);
  background: rgba(26, 26, 46, 0.8);
}

.filters-content {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 46, 0.95);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 0.5rem;
  display: none;
  backdrop-filter: blur(15px);
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.filters-content.active {
  display: block;
}

.filter-group {
  margin-bottom: 1rem;
}

.filter-group label {
  display: block;
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.filter-select {
  width: 100%;
  padding: 0.8rem;
  background: rgba(15, 15, 30, 0.8);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-select:focus {
  outline: none;
  border-color: #00ffff;
}

.filter-select option {
  background: #1a1a2e;
  color: #ffffff;
}

.clear-filters-btn {
  width: 100%;
  padding: 0.8rem;
  background: rgba(255, 0, 0, 0.2);
  border: 1px solid rgba(255, 0, 0, 0.3);
  border-radius: 8px;
  color: #ff6b6b;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
}

.clear-filters-btn:hover {
  background: rgba(255, 0, 0, 0.3);
  border-color: rgba(255, 0, 0, 0.5);
}

/* Search Results Section */
.search-results {
  background: rgba(15, 15, 30, 0.95);
  padding: 3rem 0;
  min-height: 400px;
}

.search-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.search-results-header h3 {
  color: #ffffff;
  font-size: 1.8rem;
  margin: 0;
}

.close-search-btn {
  padding: 0.8rem 1.5rem;
  background: rgba(255, 0, 0, 0.2);
  border: 1px solid rgba(255, 0, 0, 0.3);
  border-radius: 8px;
  color: #ff6b6b;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.close-search-btn:hover {
  background: rgba(255, 0, 0, 0.3);
  transform: translateY(-2px);
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 1.8rem;
  justify-items: center;
  place-items: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .search-input-wrapper {
    flex-direction: column;
  }

  .search-btn {
    width: 100%;
  }

  .filters-content {
    position: static;
    margin-top: 1rem;
    display: none;
  }

  .filters-content.active {
    display: block;
  }

  .search-results-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .search-results-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .unified-search {
    padding: 2rem 0;
  }

  .search-title {
    font-size: 1.8rem;
  }

  .search-subtitle {
    font-size: 1rem;
  }

  .search-input {
    padding: 0.8rem 1rem;
    font-size: 1rem;
  }

  .search-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}

/* Smooth transition for filters dropdown */
.filters-content {
  transition: all 0.3s ease;
  transform: translateY(-10px);
  opacity: 0;
}

.filters-content.active {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

/* ===================================
   MOBILE RESPONSIVE FIXES
   =================================== */

/* Simple mobile fixes - only what's needed */
@media (max-width: 768px) {
  /* Fix Report A Cheat Developer button text cutoff */
  .action-btn.tertiary {
    white-space: nowrap;
    font-size: 0.9rem;
    padding: 1rem 1.5rem;
  }

  /* Fix Boost Your Case Now button for mobile */
  .boost-main-cta {
    padding: 0 1.5rem;
  }

  .boost-main-cta .boost-case-now-btn {
    width: 100%;
    max-width: 300px;
    padding: 1rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
    margin: 0 auto;
    display: block;
  }
}

/* ===================================
   NORMAL CASES SECTION
   =================================== */

.normal-cases-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  position: relative;
}

.normal-cases-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.normal-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
  direction: rtl; /* Right-to-left layout for newest-first ordering */
}

/* Normal Case Cards */
.normal-case-card {
  background: linear-gradient(145deg, #2a2a3e 0%, #1e1e32 100%);
  direction: ltr; /* Keep card content left-to-right */
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  max-width: 380px;
  margin: 0 auto;
  cursor: pointer;
}

.normal-case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4a90e2 0%, #357abd 100%);
  opacity: 0.7;
}

.normal-case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(74, 144, 226, 0.2);
  border-color: rgba(74, 144, 226, 0.3);
}

.normal-case-card:hover::before {
  opacity: 1;
}

/* Add Normal Case Card */
.add-normal-case-card {
  background: linear-gradient(145deg, #2a2a3e 0%, #1e1e32 100%);
  border-radius: 15px;
  padding: 2rem;
  border: 2px dashed rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  max-width: 380px;
  margin: 0 auto;
}

.add-normal-case-card:hover {
  border-color: rgba(74, 144, 226, 0.5);
  background: linear-gradient(145deg, #2e2e42 0%, #222236 100%);
  transform: translateY(-3px);
}

.add-normal-case-card .add-case-content {
  text-align: center;
  color: #ffffff;
}

.add-normal-case-card .add-case-icon {
  font-size: 3rem;
  color: #4a90e2;
  margin-bottom: 1rem;
}

.add-normal-case-card .add-case-text h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.add-normal-case-card .add-case-text p {
  color: #b0b0b0;
  margin-bottom: 1.5rem;
}

.normal-case-btn {
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.normal-case-btn:hover {
  background: linear-gradient(135deg, #357abd 0%, #2a5f8f 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.normal-case-btn i {
  font-size: 0.9rem;
}

/* Responsive Design for Normal Cases */
@media (max-width: 992px) {
  .normal-cases-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .normal-cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .normal-case-card,
  .add-normal-case-card {
    max-width: 100%;
    margin: 0;
  }

  .normal-cases-section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .normal-cases-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .normal-case-card,
  .add-normal-case-card {
    padding: 1rem;
  }

  .add-normal-case-card {
    min-height: 250px;
  }

  .add-normal-case-card .add-case-icon {
    font-size: 2.5rem;
  }

  .normal-case-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.8rem;
  }
}

/* ===================================
   MODULAR CONVERSION - INLINE STYLE REPLACEMENTS
   =================================== */

/* Replace inline display: none with hidden class */
.admin-hidden {
  display: none !important;
}

/* Filter chevron rotation */
.filter-chevron-rotated {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

/* Filters open state */
.filters-open {
  background-color: rgba(0, 255, 255, 0.1);
}

/* ===================================
   REAL CASE CARD ENHANCEMENTS
   =================================== */

/* Platform Badge */
.platform-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 3;
}

.platform-badge.steam {
  background: linear-gradient(135deg, #171a21 0%, #2a475e 100%);
  color: #66c0f4;
  border: 1px solid #66c0f4;
}

.platform-badge.non-steam {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  color: #ffa500;
  border: 1px solid #ffa500;
}

/* Video Duration */
.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  z-index: 3;
}

/* Vote Breakdown */
.vote-breakdown {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  margin: 10px 0;
}

.breakdown-item {
  flex: 1;
  text-align: center;
  padding: 5px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.breakdown-item.cheating {
  background: rgba(255, 0, 0, 0.2);
  color: #ff4444;
  border: 1px solid rgba(255, 0, 0, 0.3);
}

.breakdown-item.innocent {
  background: rgba(0, 255, 0, 0.2);
  color: #44ff44;
  border: 1px solid rgba(0, 255, 0, 0.3);
}

.breakdown-item.griefing {
  background: rgba(255, 165, 0, 0.2);
  color: #ffa500;
  border: 1px solid rgba(255, 165, 0, 0.3);
}

/* Case Meta Information */
.case-meta {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.submission-date,
.view-count {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Case Actions */
.case-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.action-icon {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.action-icon:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: #00ffff;
  color: #00ffff;
  transform: translateY(-2px);
}

.timestamp-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #00ffff;
  font-size: 0.8rem;
}

/* Hide case title for pending cases */
.boosted-case-card[data-verdict='pending'] .case-title,
.vip-case-card[data-verdict='pending'] .case-title,
.normal-case-card[data-verdict='pending'] .case-title {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .vote-breakdown {
    flex-direction: column;
    gap: 5px;
  }

  .case-meta {
    flex-direction: column;
    gap: 5px;
  }

  .case-actions {
    flex-wrap: wrap;
    gap: 5px;
  }
}

/* ===================================
   NEWLY CREATED CASE HIGHLIGHT
   =================================== */

/* Highlight animation for newly created cases */
.newly-created {
  animation: highlightPulse 2s ease-in-out 3;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.8) !important;
  border: 2px solid #00ffff !important;
  position: relative;
}

.newly-created::before {
  content: 'NEW';
  position: absolute;
  top: -10px;
  right: 10px;
  background: linear-gradient(135deg, #00ffff 0%, #0080ff 100%);
  color: #000;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 10;
  animation: bounce 1s ease-in-out infinite;
}

@keyframes highlightPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 50px rgba(0, 255, 255, 1);
  }
}

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

/* Smooth scroll behavior for case highlighting */
html {
  scroll-behavior: smooth;
}
