/* Enhanced cyberpunk styling with more retro elements */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "JetBrains Mono", monospace;
  background: radial-gradient(ellipse at center, #0a0a0a 0%, #000000 70%);
  color: #ffffff;
  overflow-x: hidden;
  position: relative;
}

/* Enhanced scanlines with more retro CRT effect */
.scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
  background: repeating-linear-gradient(0deg,
      transparent,
      transparent 2px,
      rgba(0, 255, 0, 0.03) 2px,
      rgba(0, 255, 0, 0.03) 4px);
  animation: scanlines-move 0.1s linear infinite;
}

.scanlines::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 255, 0, 0.02) 0%, transparent 50%, rgba(0, 255, 0, 0.02) 100%);
  animation: flicker 0.15s ease-in-out infinite alternate;
}

@keyframes scanlines-move {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(4px);
  }
}

@keyframes flicker {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0.98;
  }
}

.container {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 10;
}

/* Enhanced sidebar with more cyberpunk elements */
.sidebar {
  width: 280px;
  background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 50%, #0d0d0d 100%);
  border-right: 2px solid #00ff00;
  /* Made sidebar fixed position */
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow: hidden;
  box-shadow: inset -2px 0 10px rgba(0, 255, 0, 0.1), 2px 0 20px rgba(0, 255, 0, 0.2);
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.sidebar-content {
  flex: 1;
  padding: 30px 20px 20px;
  overflow-y: auto;
}

.sidebar-footer {
  padding: 20px;
  border-top: 1px solid #333333;
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Added custom scrollbar styles for sidebar */
.sidebar-content::-webkit-scrollbar {
  width: 6px;
}

.sidebar-content::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 3px;
}

.sidebar-content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00ff00, #00ffff);
  border-radius: 3px;
  box-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.sidebar-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00ffff, #00ff00);
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

/* Sidebar footer buttons */
.sidebar-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-family: "Orbitron", monospace;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.sidebar-button:hover::before {
  left: 100%;
}

.buy-button {
  background: linear-gradient(135deg, #ff6600 0%, #ff8800 100%);
  color: #000000;
  border: 2px solid #ff6600;
  box-shadow: 0 0 15px rgba(255, 102, 0, 0.3);
}

.buy-button:hover {
  background: linear-gradient(135deg, #ff8800 0%, #ffaa00 100%);
  box-shadow: 0 0 25px rgba(255, 102, 0, 0.5);
  transform: translateY(-2px);
}

.twitter-button {
  background: linear-gradient(135deg, #00ff00 0%, #00cc00 100%);
  color: #000000;
  border: 2px solid #00ff00;
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.twitter-button:hover {
  background: linear-gradient(135deg, #00cc00 0%, #00ff00 100%);
  box-shadow: 0 0 25px rgba(0, 255, 0, 0.5);
  transform: translateY(-2px);
}

.telegram-button {
  background: linear-gradient(135deg, #00ff00 0%, #00cc00 100%);
  color: #000000;
  border: 2px solid #00ff00;
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.telegram-button:hover {
  background: linear-gradient(135deg, #00cc00 0%, #00ff00 100%);
  box-shadow: 0 0 25px rgba(0, 255, 0, 0.5);
  transform: translateY(-2px);
}

.sidebar-button .button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.sidebar-button:hover .button-icon {
  transform: scale(1.1);
}

.sidebar-button .button-icon svg {
  filter: drop-shadow(0 0 3px currentColor);
}

.sidebar-button .button-text {
  font-weight: 700;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.sidebar::before {
  content: "";
  position: absolute;
  top: 0;
  right: -2px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, #00ff00 20%, #00ffff 50%, #00ff00 80%, transparent 100%);
  animation: border-pulse 2s ease-in-out infinite;
}

@keyframes border-pulse {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

.logo {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

/* Enhanced logo icon with SVG styling */
.logo-icon {
  margin-right: 12px;
  filter: drop-shadow(0 0 10px #00ff00);
  animation: logo-glow 3s ease-in-out infinite;
}

.logo-icon svg {
  width: 24px;
  height: 24px;
}

/* Added styles for local SVG logo image */
.logo-svg {
  width: 40px;
  height: 40px;
  filter: brightness(0) saturate(100%) invert(50%) sepia(100%) saturate(2000%) hue-rotate(90deg) brightness(1.2);
}

/* Added styles for header SVG logo image */
.header-logo-svg {
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%) invert(50%) sepia(100%) saturate(2000%) hue-rotate(90deg) brightness(1.2);
}

.logo-text {
  color: #00ff00;
  font-size: 20px;
  font-weight: 700;
  font-family: "Orbitron", monospace;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.8), 0 0 20px rgba(0, 255, 0, 0.4), 0 0 30px rgba(0, 255, 0, 0.2);
  letter-spacing: 2px;
}

.nav-subtitle {
  color: #888888;
  font-size: 11px;
  margin-bottom: 30px;
  margin-left: 36px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

.nav-menu {
  list-style: none;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
  position: relative;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 255, 0, 0.05) 100%);
}

.nav-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #00ff00 0%, rgba(0, 255, 0, 0.3) 100%);
  transition: width 0.3s ease;
  border-radius: 4px 0 0 4px;
}

.nav-item:hover::before,
.nav-item.active::before {
  width: 4px;
}

.nav-item:hover {
  background: linear-gradient(90deg, rgba(0, 255, 0, 0.1) 0%, rgba(0, 255, 0, 0.05) 100%);
  box-shadow: inset 0 0 20px rgba(0, 255, 0, 0.1);
}

.nav-item.active {
  background: linear-gradient(90deg, rgba(0, 255, 0, 0.15) 0%, rgba(0, 255, 0, 0.08) 100%);
  box-shadow: inset 0 0 20px rgba(0, 255, 0, 0.2), 0 0 10px rgba(0, 255, 0, 0.3);
}

.nav-arrow {
  color: #00ff00;
  margin-right: 12px;
  font-size: 10px;
  transition: transform 0.3s ease;
  text-shadow: 0 0 10px #00ff00;
}

.nav-item.active .nav-arrow {
  transform: rotate(90deg);
}

.nav-item span:last-child {
  color: #cccccc;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.nav-item:hover span:last-child,
.nav-item.active span:last-child {
  color: #00ff00;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.main-content {
  flex: 1;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  position: relative;
  margin-left: 280px;
  min-height: 100vh;
}

/* Enhanced fixed header with better positioning */
.fixed-header {
  position: fixed;
  top: 0;
  left: 280px;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  border-bottom: 2px solid #00ff00;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 255, 0, 0.3), inset 0 -2px 10px rgba(0, 255, 0, 0.1), 0 0 50px rgba(0, 255, 0, 0.1);
  backdrop-filter: blur(10px);
}

.fixed-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(0, 255, 0, 0.03) 50%, transparent 70%);
  pointer-events: none;
}

.fixed-header::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg,
      transparent 0%,
      #00ff00 20%,
      #00ffff 40%,
      #00ff00 60%,
      #ff00ff 80%,
      transparent 100%);
  animation: scan 4s linear infinite;
}

/* Enhanced content wrapper padding for fixed header */
.content-wrapper {
  padding-top: 90px;
}

/* Fixed radar chart container for proper square proportions */
.radar-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  height: 220px;
  width: 100%;
  position: relative;
  background: radial-gradient(circle at center, rgba(0, 255, 0, 0.05) 0%, transparent 70%);
  border-radius: 8px;
}

.radar-chart {
  width: 200px !important;
  height: 200px !important;
  cursor: pointer;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 15px rgba(0, 255, 0, 0.4));
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(0, 255, 0, 0.02) 0%, transparent 100%);
}

.radar-chart:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 25px rgba(0, 255, 0, 0.6));
}

/* Added experimental evaluation section styles */
.experimental-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  border: 2px solid #ff6600;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255, 102, 0, 0.2), inset 0 0 20px rgba(255, 102, 0, 0.05);
}

.experimental-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 102, 0, 0.1), transparent);
  animation: sweep 3s ease-in-out infinite;
}

@keyframes sweep {
  0% {
    left: -100%;
  }

  50% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

.experimental-subtitle {
  color: #cccccc;
  font-size: 16px;
  margin-bottom: 25px;
  line-height: 1.6;
  font-family: "JetBrains Mono", monospace;
}

.experimental-subtitle .subtitle-arrow {
  color: #ff6600;
  margin-right: 8px;
  font-weight: bold;
}

.experiment-button {
  background: linear-gradient(135deg, #ff6600 0%, #ff8800 100%);
  border: none;
  color: #000000;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: bold;
  font-family: "Orbitron", monospace;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 102, 0, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.experiment-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 25px rgba(255, 102, 0, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #ff8800 0%, #ffaa00 100%);
}

.experiment-button:active {
  transform: translateY(0);
}

.experiment-button .button-arrow {
  margin-right: 8px;
  font-size: 14px;
}

/* Enhanced radar tooltip styles */
.radar-tooltip {
  position: absolute;
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  border: 2px solid #00ff00;
  border-radius: 8px;
  padding: 15px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: #ffffff;
  z-index: 1000;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 255, 0, 0.3), inset 0 0 20px rgba(0, 255, 0, 0.05);
  backdrop-filter: blur(10px);
  min-width: 250px;
}

.radar-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.radar-tooltip::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #00ff00;
}

.loading-indicator {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 12px 0;
  border-bottom: 1px solid #333333;
}

.loading-icon {
  color: #00ff00;
  margin-right: 12px;
  font-size: 12px;
  animation: spin 2s linear infinite;
  text-shadow: 0 0 10px #00ff00;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.loading-text {
  color: #00ff00;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page {
  display: none;
  padding: 30px;
  animation: fadeIn 0.5s ease-in-out;
}

.page.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-header {
  margin-bottom: 30px;
}

.page-title {
  color: #00ff00;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  font-family: "Orbitron", monospace;
  text-shadow: 0 0 20px rgba(0, 255, 0, 0.8), 0 0 40px rgba(0, 255, 0, 0.4), 0 0 60px rgba(0, 255, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.page-subtitle {
  color: #cccccc;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.subtitle-arrow {
  color: #00ff00;
  margin-right: 8px;
  font-size: 12px;
  text-shadow: 0 0 10px #00ff00;
}

/* Enhanced warning box with more cyberpunk styling */
.warning-box {
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.1) 0%, rgba(255, 69, 0, 0.05) 100%);
  border: 2px solid #ff6600;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
  position: relative;
  box-shadow: 0 0 20px rgba(255, 102, 0, 0.2), inset 0 0 20px rgba(255, 102, 0, 0.05);
}

.warning-box::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #ff6600, #ff8800, #ff6600);
  border-radius: 8px;
  z-index: -1;
  animation: warning-glow 2s ease-in-out infinite;
}

@keyframes warning-glow {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 0.8;
  }
}

.warning-icon {
  color: #ff6600;
  font-size: 20px;
  margin-right: 16px;
  margin-top: 2px;
  text-shadow: 0 0 10px #ff6600;
  animation: warning-pulse 1.5s ease-in-out infinite;
}

@keyframes warning-pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.warning-content h3 {
  color: #ff6600;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "Orbitron", monospace;
}

.warning-content p {
  color: #cccccc;
  font-size: 12px;
  line-height: 1.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

/* Enhanced stat cards with more cyberpunk effects */
.stat-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
  border: 2px solid #333333;
  border-radius: 8px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

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

.stat-card:hover {
  border-color: #00ff00;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.3), inset 0 0 20px rgba(0, 255, 0, 0.1);
  transform: translateY(-2px);
}

.stat-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.stat-icon {
  color: #00ff00;
  margin-right: 8px;
  font-size: 12px;
  text-shadow: 0 0 10px #00ff00;
}

.stat-label {
  color: #00ff00;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-value {
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: "Orbitron", monospace;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.stat-description {
  color: #888888;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Model scores section */
.model-scores-section {
  margin-bottom: 40px;
}

.section-title {
  color: #00ff00;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  font-family: "Orbitron", monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.title-icon {
  color: #00ff00;
  margin-right: 12px;
  font-size: 14px;
  text-shadow: 0 0 10px #00ff00;
}

.scores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.score-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
  border: 2px solid #333333;
  border-radius: 8px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
}

.score-card:hover {
  border-color: #00ff00;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.3), inset 0 0 20px rgba(0, 255, 0, 0.1);
}

.score-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #2a2a2a;
}

.score-header .model-name {
  color: #ffffff;
  font-family: "Orbitron", monospace;
  font-size: 18px;
  font-weight: 600;
}

.overall-score {
  color: #00ff00;
  font-size: 24px;
  font-weight: 700;
  font-family: "Orbitron", monospace;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

/* Fixed radar container to maintain square aspect ratio */
.radar-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  height: 220px;
  width: 100%;
  position: relative;
}

.radar-chart {
  width: 200px;
  height: 200px;
  cursor: pointer;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(0, 255, 0, 0.3));
}

.radar-chart:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 20px rgba(0, 255, 0, 0.5));
}

.dimension-scores {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.dimension-score-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(0, 255, 0, 0.05);
  border: 1px solid #333333;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.dimension-score-item:hover {
  background: rgba(0, 255, 0, 0.1);
  border-color: #00ff00;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

.dimension-name {
  color: #cccccc;
  font-size: 12px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
}

.dimension-score {
  color: #00ff00;
  font-size: 14px;
  font-family: "Orbitron", monospace;
  font-weight: 600;
  text-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
}

.overall-score {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: linear-gradient(135deg, rgba(0, 255, 0, 0.1) 0%, rgba(0, 255, 0, 0.05) 100%);
  border: 2px solid #00ff00;
  border-radius: 6px;
  margin-top: 10px;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.overall-label {
  color: #ffffff;
  font-size: 14px;
  font-family: "Orbitron", monospace;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.overall-value {
  color: #00ff00;
  font-size: 18px;
  font-family: "Orbitron", monospace;
  font-weight: 700;
  text-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
  animation: scoreGlow 2s ease-in-out infinite;
}

@keyframes scoreGlow {

  0%,
  100% {
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
  }

  50% {
    text-shadow: 0 0 25px rgba(0, 255, 0, 0.8);
  }
}

/* Recent activity section */
.recent-activity {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border: 2px solid #333333;
  border-radius: 8px;
  padding: 24px;
  position: relative;
}

.recent-activity:hover {
  border-color: #00ff00;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.2), inset 0 0 20px rgba(0, 255, 0, 0.05);
}

.activity-list {
  max-height: 300px;
  overflow-y: auto;
}

.activity-list::-webkit-scrollbar {
  width: 8px;
}

.activity-list::-webkit-scrollbar-track {
  background: #2a2a2a;
  border-radius: 4px;
  border: 1px solid #333333;
}

.activity-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00ff00, #00ffff);
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.activity-list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00ffff, #00ff00);
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

.activity-item {
  display: flex;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #2a2a2a;
  transition: all 0.3s ease;
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-item:hover {
  background: rgba(0, 255, 0, 0.05);
  padding-left: 8px;
  margin-left: -8px;
  border-radius: 4px;
}

.activity-time {
  color: #00ff00;
  font-size: 11px;
  font-weight: 500;
  margin-right: 12px;
  min-width: 80px;
  font-family: "JetBrains Mono", monospace;
  text-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
}

.activity-text {
  color: #cccccc;
  font-size: 12px;
  line-height: 1.4;
}

/* Heroes page styles */
.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.model-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
  border: 2px solid #333333;
  border-radius: 8px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
}

.model-card:hover {
  border-color: #00ff00;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.3), inset 0 0 20px rgba(0, 255, 0, 0.1);
  transform: translateY(-2px);
}

.model-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.model-name {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  font-family: "Orbitron", monospace;
}

.model-status {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.model-status.online {
  background: rgba(0, 255, 0, 0.2);
  color: #00ff00;
  border: 1px solid #00ff00;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.model-status.testing {
  background: rgba(255, 165, 0, 0.2);
  color: #ffa500;
  border: 1px solid #ffa500;
  box-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
  animation: testing-pulse 1s ease-in-out infinite;
}

@keyframes testing-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.model-status.offline {
  background: rgba(255, 0, 0, 0.2);
  color: #ff0000;
  border: 1px solid #ff0000;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.model-stats {
  margin-bottom: 20px;
}

.model-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #2a2a2a;
}

.model-stat:last-child {
  border-bottom: none;
}

.model-stat .stat-label {
  color: #888888;
  font-size: 12px;
  text-transform: uppercase;
}

.model-stat .stat-value {
  color: #00ff00;
  font-weight: 600;
  font-size: 14px;
  font-family: "Orbitron", monospace;
  text-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
}

.test-button {
  width: 100%;
  background: linear-gradient(135deg, #00ff00 0%, #00cc00 100%);
  color: #000000;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Orbitron", monospace;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.test-button:hover:not(:disabled) {
  background: linear-gradient(135deg, #00cc00 0%, #00ff00 100%);
  box-shadow: 0 0 30px rgba(0, 255, 0, 0.5);
  transform: translateY(-2px);
}

.test-button:disabled {
  background: #333333;
  color: #666666;
  cursor: not-allowed;
  box-shadow: none;
}

/* Arena page styles */

/* Adding comprehensive test modal styles for conversation interface */
.test-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.test-modal {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  border: 2px solid #00ff00;
  border-radius: 8px;
  width: 90%;
  max-width: 1000px;
  height: 80%;
  max-height: 700px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 255, 0, 0.3);
  animation: modalSlideIn 0.4s ease;
  position: relative;
  overflow: hidden;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px) scale(0.9);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.test-modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(0, 255, 0, 0.03) 50%, transparent 70%);
  pointer-events: none;
}

.test-modal-header {
  padding: 20px 30px;
  border-bottom: 1px solid #333333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 255, 0, 0.05);
}

.test-modal-header h3 {
  color: #00ff00;
  font-family: "Orbitron", monospace;
  font-size: 18px;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.test-model-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.test-model-name {
  color: #ffffff;
  font-family: "Orbitron", monospace;
  font-size: 16px;
  font-weight: 600;
}

.test-status-indicator {
  background: rgba(255, 165, 0, 0.2);
  color: #ffa500;
  border: 1px solid #ffa500;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {

  0%,
  100% {
    box-shadow: 0 0 5px rgba(255, 165, 0, 0.3);
  }

  50% {
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.6);
  }
}

.test-modal-content {
  flex: 1;
  display: flex;
  padding: 20px;
  gap: 20px;
  overflow: hidden;
}

.test-conversation-panel {
  flex: 2;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid #333333;
  border-radius: 6px;
  overflow: hidden;
}

.conversation-header {
  padding: 15px 20px;
  background: rgba(0, 255, 0, 0.1);
  border-bottom: 1px solid #333333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.conversation-header span {
  color: #00ff00;
  font-family: "Orbitron", monospace;
  font-size: 14px;
  font-weight: 600;
}

.conversation-status {
  background: rgba(0, 255, 0, 0.2);
  color: #00ff00;
  border: 1px solid #00ff00;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 10px;
  text-transform: uppercase;
  animation: activePulse 1.5s ease-in-out infinite;
}

@keyframes activePulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.conversation-log {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  line-height: 1.6;
}

.conversation-message {
  margin-bottom: 15px;
  padding: 10px 15px;
  border-radius: 4px;
  border-left: 3px solid;
  animation: messageSlideIn 0.5s ease;
}

@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.conversation-message.system {
  background: rgba(0, 255, 255, 0.1);
  border-left-color: #00ffff;
  color: #00ffff;
}

.conversation-message.query {
  background: rgba(255, 255, 0, 0.1);
  border-left-color: #ffff00;
  color: #ffff00;
}

.conversation-message.response {
  background: rgba(0, 255, 0, 0.1);
  border-left-color: #00ff00;
  color: #ffffff;
}

.test-monitoring-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid #333333;
  border-radius: 6px;
  overflow: hidden;
}

.monitoring-header {
  padding: 15px 20px;
  background: rgba(0, 255, 0, 0.1);
  border-bottom: 1px solid #333333;
}

.monitoring-header span {
  color: #00ff00;
  font-family: "Orbitron", monospace;
  font-size: 14px;
  font-weight: 600;
}

.ecg-container {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
}

.ecg-canvas {
  border: 1px solid #333333;
  border-radius: 4px;
  background: #0a0a0a;
}

.test-metrics {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.metric-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #2a2a2a;
}

.metric-item:last-child {
  border-bottom: none;
}

.metric-label {
  color: #888888;
  font-size: 12px;
  font-family: "JetBrains Mono", monospace;
}

.metric-value {
  color: #00ff00;
  font-weight: 600;
  font-size: 14px;
  font-family: "Orbitron", monospace;
  text-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
}

.test-progress-bar {
  margin: 20px 30px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #333333;
  border-radius: 4px;
  height: 30px;
  position: relative;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00ff00 0%, #00cc00 100%);
  width: 0%;
  transition: width 0.5s ease;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.close-test-modal {
  margin: 0 30px 20px;
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Orbitron", monospace;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.close-test-modal:hover {
  background: linear-gradient(135deg, #cc0000 0%, #ff0000 100%);
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
  transform: translateY(-2px);
}

/* Custom scrollbar for conversation log */
.conversation-log::-webkit-scrollbar {
  width: 8px;
}

.conversation-log::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.conversation-log::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00ff00 0%, #00cc00 100%);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.conversation-log::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00cc00 0%, #00ff00 100%);
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

/* Responsive design for test modal */
@media (max-width: 768px) {
  .test-modal {
    width: 95%;
    height: 90%;
    margin: 20px;
  }

  .test-modal-content {
    flex-direction: column;
    padding: 15px;
  }

  .test-conversation-panel,
  .test-monitoring-panel {
    flex: none;
    height: 300px;
  }
}

/* Adding final scores overlay styles for test modal results display */
.final-scores-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  transition: all 0.4s ease;
}

.final-scores-overlay.visible {
  opacity: 1;
}

.final-scores-overlay.closing {
  opacity: 0;
  transform: scale(0.9);
}

.final-scores-container {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  border: 2px solid #00ff00;
  border-radius: 12px;
  padding: 30px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 255, 0, 0.4);
  animation: scoresSlideIn 0.5s ease;
  position: relative;
  height: 600px;
  overflow-y: auto;
}

@keyframes scoresSlideIn {
  from {
    transform: translateY(-30px) scale(0.95);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.final-scores-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(0, 255, 0, 0.03) 50%, transparent 70%);
  pointer-events: none;
}

.final-scores-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #333333;
}

.final-scores-header h3 {
  color: #00ff00;
  font-family: "Orbitron", monospace;
  font-size: 20px;
  font-weight: 700;
  text-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.scores-icon {
  color: #00ff00;
  font-size: 18px;
  text-shadow: 0 0 10px #00ff00;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {

  0%,
  100% {
    transform: scale(1);
    text-shadow: 0 0 10px #00ff00;
  }

  50% {
    transform: scale(1.1);
    text-shadow: 0 0 20px #00ff00;
  }
}

.overall-score-badge {
  background: linear-gradient(135deg, #00ff00 0%, #00cc00 100%);
  color: #000000;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: "Orbitron", monospace;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
  animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
  }

  50% {
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.8);
  }
}

.dimension-scores-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.dimension-score-row {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid #333333;
  border-radius: 8px;
  padding: 16px;
  transition: all 0.3s ease;
  animation: rowSlideIn 0.6s ease forwards;
  opacity: 0;
}

.dimension-score-row:nth-child(1) {
  animation-delay: 0.1s;
}

.dimension-score-row:nth-child(2) {
  animation-delay: 0.2s;
}

.dimension-score-row:nth-child(3) {
  animation-delay: 0.3s;
}

.dimension-score-row:nth-child(4) {
  animation-delay: 0.4s;
}

.dimension-score-row:nth-child(5) {
  animation-delay: 0.5s;
}

.dimension-score-row:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes rowSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.dimension-score-row:hover {
  background: rgba(0, 255, 0, 0.05);
  border-color: #00ff00;
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

.dimension-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.dimension-name {
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 600;
}

.dimension-value {
  color: #00ff00;
  font-family: "Orbitron", monospace;
  font-size: 16px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(0, 255, 0, 0.4);
}

.score-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #333333;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.score-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00ff00 0%, #00cc00 50%, #00ff00 100%);
  border-radius: 3px;
  transition: width 1s ease;
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
  animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {

  0%,
  100% {
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
  }

  50% {
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.9);
  }
}

.final-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.view-details-btn,
.close-scores-btn {
  background: linear-gradient(135deg, #333333 0%, #555555 100%);
  color: #ffffff;
  border: 1px solid #666666;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Orbitron", monospace;
  min-width: 140px;
}

.view-details-btn:hover {
  background: linear-gradient(135deg, #00ff00 0%, #00cc00 100%);
  color: #000000;
  border-color: #00ff00;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.4);
  transform: translateY(-2px);
}

.close-scores-btn {
  background: linear-gradient(135deg, #ff6600 0%, #ff8800 100%);
  border-color: #ff6600;
}

.close-scores-btn:hover {
  background: linear-gradient(135deg, #ff8800 0%, #ffaa00 100%);
  box-shadow: 0 0 20px rgba(255, 102, 0, 0.4);
  transform: translateY(-2px);
}

.dimension-scores-grid.detailed-view .dimension-score-row {
  background: rgba(0, 255, 0, 0.08);
  border-color: #00ff00;
}

/* Responsive design for final scores */
@media (max-width: 768px) {
  .final-scores-container {
    padding: 20px;
    margin: 20px;
  }

  .final-scores-header h3 {
    font-size: 16px;
  }

  .overall-score-badge {
    font-size: 14px;
    padding: 6px 12px;
  }

  .dimension-name {
    font-size: 12px;
  }

  .dimension-value {
    font-size: 14px;
  }

  .final-actions {
    flex-direction: column;
  }

  .view-details-btn,
  .close-scores-btn {
    width: 100%;
  }
}

/* Adding expanded modal styles for Arena response cards */
.expanded-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  animation: modalFadeIn 0.3s ease;
}

.expanded-modal {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  border: 2px solid #00ff00;
  border-radius: 8px;
  width: 90%;
  max-width: 900px;
  height: 85%;
  max-height: 700px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 255, 0, 0.3);
  animation: modalSlideIn 0.4s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-50px) scale(0.9);
  transition: all 0.3s ease;
}

.expanded-modal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.expanded-modal-header {
  padding: 20px 30px;
  border-bottom: 1px solid #333333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 255, 0, 0.05);
}

.expanded-modal-header h3 {
  color: #00ff00;
  font-family: "Orbitron", monospace;
  font-size: 18px;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
  margin: 0;
}

.close-expanded-modal {
  background: none;
  border: none;
  color: #ff0000;
  font-size: 24px;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.close-expanded-modal:hover {
  background: rgba(255, 0, 0, 0.2);
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.expanded-modal-content {
  flex: 1;
  padding: 30px;
  overflow-y: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  line-height: 1.6;
  color: #cccccc;
  background: rgba(0, 0, 0, 0.3);
  white-space: pre-wrap;
  word-wrap: break-word;
}

.expanded-modal-content::-webkit-scrollbar {
  width: 8px;
}

.expanded-modal-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.expanded-modal-content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00ff00 0%, #00cc00 100%);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.expanded-modal-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00cc00 0%, #00ff00 100%);
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.expanded-modal-metrics {
  padding: 15px 30px;
  border-top: 1px solid #333333;
  background: rgba(0, 255, 0, 0.05);
  color: #888888;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  text-align: center;
}

.expanded-modal-chat {
  padding: 20px 30px;
  border-top: 2px solid #333333;
  background: rgba(0, 0, 0, 0.3);
}

.chat-input-container {
  display: flex;
  gap: 15px;
  align-items: flex-end;
}

#expanded-chat-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #333333;
  border-radius: 6px;
  padding: 12px 16px;
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  line-height: 1.4;
  resize: vertical;
  min-height: 44px;
  max-height: 120px;
  transition: all 0.3s ease;
}

#expanded-chat-input:focus {
  outline: none;
  border-color: #00ff00;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
  background: rgba(0, 0, 0, 0.7);
}

#expanded-chat-input::placeholder {
  color: #666666;
  font-style: italic;
}

.chat-send-button {
  background: linear-gradient(135deg, #00ff00 0%, #00cc00 100%);
  color: #000000;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Orbitron", monospace;
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 80px;
  justify-content: center;
}

.chat-send-button:hover:not(:disabled) {
  background: linear-gradient(135deg, #00cc00 0%, #00ff00 100%);
  box-shadow: 0 0 25px rgba(0, 255, 0, 0.5);
  transform: translateY(-2px);
}

.chat-send-button:disabled {
  background: #333333;
  color: #666666;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.send-arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.chat-send-button:hover:not(:disabled) .send-arrow {
  transform: translateX(2px);
}

/* Adding expand button styles for response cards */
.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.expand-button {
  background: rgba(0, 255, 0, 0.1);
  border: 1px solid #00ff00;
  color: #00ff00;
  padding: 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expand-button:hover {
  background: rgba(0, 255, 0, 0.2);
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
  transform: scale(1.1);
}

.expand-button svg {
  width: 16px;
  height: 16px;
}

/* Adding custom scrollbar styles for expanded modal */
.expanded-modal-content::-webkit-scrollbar {
  width: 8px;
}

.expanded-modal-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.expanded-modal-content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00ff00 0%, #00cc00 100%);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.expanded-modal-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00cc00 0%, #00ff00 100%);
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

/* Responsive design for expanded modal */
@media (max-width: 768px) {
  .expanded-modal {
    width: 95%;
    height: 90%;
    margin: 20px;
    max-width: none;
  }

  .expanded-modal-header {
    padding: 15px 20px;
  }

  .expanded-modal-content {
    padding: 20px;
    font-size: 13px;
  }

  .expanded-modal-metrics {
    padding: 10px 20px;
  }

  .expanded-modal-chat {
    padding: 15px 20px;
  }

  .chat-input-container {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .chat-send-button {
    align-self: flex-end;
    min-width: 100px;
  }

  #expanded-chat-input {
    font-size: 16px;
    /* Prevent zoom on iOS */
  }
}

/* Arena page response card styles */
.arena-interface {
  max-width: 1200px;
  margin: 0 auto;
}

.query-section {
  margin-bottom: 40px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
  border: 2px solid #333333;
  border-radius: 8px;
  padding: 24px;
  transition: all 0.3s ease;
}

.query-section:hover {
  border-color: #00ff00;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.3), inset 0 0 20px rgba(0, 255, 0, 0.1);
}

#arena-query {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #333333;
  border-radius: 4px;
  padding: 16px;
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

#arena-query:focus {
  outline: none;
  border-color: #00ff00;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

#arena-query::placeholder {
  color: #666666;
}

.submit-button {
  background: linear-gradient(135deg, #00ff00 0%, #00cc00 100%);
  color: #000000;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Orbitron", monospace;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.submit-button:hover {
  background: linear-gradient(135deg, #00cc00 0%, #00ff00 100%);
  box-shadow: 0 0 30px rgba(0, 255, 0, 0.5);
  transform: translateY(-2px);
}

.responses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.response-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
  border: 2px solid #333333;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

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

.response-card:hover {
  border-color: #00ff00;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.3), inset 0 0 20px rgba(0, 255, 0, 0.1);
  transform: translateY(-2px);
}

.response-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #2a2a2a;
}

.response-header .model-name {
  color: #ffffff;
  font-family: "Orbitron", monospace;
  font-size: 16px;
  font-weight: 600;
}

.response-status {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.response-status.ready {
  background: rgba(0, 255, 0, 0.2);
  color: #00ff00;
  border: 1px solid #00ff00;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.response-status.processing {
  background: rgba(255, 165, 0, 0.2);
  color: #ffa500;
  border: 1px solid #ffa500;
  box-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
  animation: processing-pulse 1s ease-in-out infinite;
}

@keyframes processing-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.response-status.completed {
  background: rgba(0, 255, 255, 0.2);
  color: #00ffff;
  border: 1px solid #00ffff;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.response-content {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid #333333;
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 16px;
  min-height: 120px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  line-height: 1.5;
  color: #cccccc;
  overflow-y: auto;
  max-height: 300px;
}

.response-content::-webkit-scrollbar {
  width: 6px;
}

.response-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

.response-content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00ff00 0%, #00cc00 100%);
  border-radius: 3px;
  box-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
}

.response-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00cc00 0%, #00ff00 100%);
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.response-metrics {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #2a2a2a;
}

.response-metrics .metric {
  color: #888888;
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.response-metrics .metric:last-child {
  color: #00ff00;
  text-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
}

/* Responsive design for Arena cards */
@media (max-width: 768px) {
  .responses-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .response-card {
    padding: 16px;
  }

  .query-section {
    padding: 16px;
  }
}

/* W
hitepaper Page Styles */
.whitepaper-content {
  max-width: 1000px;
  margin: 0 auto;
}

.whitepaper-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
  border: 2px solid #333333;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.whitepaper-section:hover::before {
  left: 100%;
}

.whitepaper-section:hover {
  border-color: #00ff00;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.3), inset 0 0 20px rgba(0, 255, 0, 0.1);
  transform: translateY(-2px);
}

.whitepaper-text {
  color: #cccccc;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  font-family: "JetBrains Mono", monospace;
}

.whitepaper-text:last-child {
  margin-bottom: 0;
}

.whitepaper-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.whitepaper-list li {
  color: #cccccc;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
  font-family: "JetBrains Mono", monospace;
}

.whitepaper-list li::before {
  content: "▶";
  color: #00ff00;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 12px;
  text-shadow: 0 0 10px #00ff00;
}

.process-step {
  margin-bottom: 25px;
  padding: 20px;
  background: rgba(0, 255, 0, 0.05);
  border: 1px solid #333333;
  border-radius: 6px;
  border-left: 4px solid #00ff00;
}

.step-title {
  color: #00ff00;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  font-family: "Orbitron", monospace;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.whitepaper-quote {
  background: rgba(0, 255, 0, 0.1);
  border: 2px solid #00ff00;
  border-radius: 8px;
  padding: 25px;
  margin: 30px 0;
  font-size: 18px;
  font-style: italic;
  color: #ffffff;
  text-align: center;
  font-family: "Orbitron", monospace;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.action-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.action-button {
  background: linear-gradient(135deg, #00ff00 0%, #00cc00 100%);
  color: #000000;
  border: none;
  padding: 15px 30px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Orbitron", monospace;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.action-button:hover {
  background: linear-gradient(135deg, #00cc00 0%, #00ff00 100%);
  box-shadow: 0 0 30px rgba(0, 255, 0, 0.5);
  transform: translateY(-2px);
}

.action-button .button-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.action-button:hover .button-arrow {
  transform: translateX(2px);
}

/* Social Links Page Styles */
.social-content {
  max-width: 1000px;
  margin: 0 auto;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.social-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
  border: 2px solid #333333;
  border-radius: 8px;
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

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

.social-card:hover {
  border-color: #00ff00;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.3), inset 0 0 20px rgba(0, 255, 0, 0.1);
  transform: translateY(-2px);
}

.social-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #333333;
}

.social-icon {
  margin-right: 15px;
  padding: 12px;
  background: rgba(0, 255, 0, 0.1);
  border: 1px solid #00ff00;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.social-icon svg {
  filter: drop-shadow(0 0 5px #00ff00);
}

.social-title {
  color: #00ff00;
  font-size: 20px;
  font-weight: 700;
  font-family: "Orbitron", monospace;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
  margin: 0;
}

.social-info {
  margin-bottom: 25px;
}

.social-handle {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  font-family: "JetBrains Mono", monospace;
}

.social-description {
  color: #cccccc;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
  font-family: "JetBrains Mono", monospace;
}

.social-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  color: #888888;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: "JetBrains Mono", monospace;
}

.stat-value {
  color: #00ff00;
  font-size: 16px;
  font-weight: 700;
  font-family: "Orbitron", monospace;
  text-shadow: 0 0 8px rgba(0, 255, 0, 0.4);
}

.social-button {
  background: linear-gradient(135deg, #00ff00 0%, #00cc00 100%);
  color: #000000;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Orbitron", monospace;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
}

.social-button:hover {
  background: linear-gradient(135deg, #00cc00 0%, #00ff00 100%);
  box-shadow: 0 0 30px rgba(0, 255, 0, 0.5);
  transform: translateY(-2px);
}

.social-button .button-arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.social-button:hover .button-arrow {
  transform: translateX(2px);
}

.community-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
  border: 2px solid #333333;
  border-radius: 8px;
  padding: 30px;
  transition: all 0.3s ease;
}

.community-section:hover {
  border-color: #00ff00;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.3), inset 0 0 20px rgba(0, 255, 0, 0.1);
}

.guidelines-grid {
  display: grid;
  gap: 15px;
  margin-top: 20px;
}

.guideline-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  background: rgba(0, 255, 0, 0.05);
  border: 1px solid #333333;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.guideline-item:hover {
  background: rgba(0, 255, 0, 0.1);
  border-color: #00ff00;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

.guideline-icon {
  color: #00ff00;
  font-size: 12px;
  margin-top: 2px;
  text-shadow: 0 0 5px #00ff00;
  flex-shrink: 0;
}

.guideline-text {
  color: #cccccc;
  font-size: 14px;
  line-height: 1.5;
  font-family: "JetBrains Mono", monospace;
}

/* Additional responsive styles for whitepaper and social */
@media (max-width: 768px) {

  /* Whitepaper responsive */
  .whitepaper-section {
    padding: 20px;
  }

  .whitepaper-text {
    font-size: 14px;
  }

  .action-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  /* Social responsive */
  .social-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .social-card {
    padding: 20px;
  }

  .social-stats {
    justify-content: space-between;
  }

  .guidelines-grid {
    gap: 12px;
  }

  .guideline-item {
    padding: 12px;
  }

  /* Sidebar responsive */
  .sidebar {
    width: 260px;
  }

  .sidebar-content {
    padding: 20px 15px 15px;
  }

  .sidebar-footer {
    padding: 15px;
    gap: 10px;
  }

  .sidebar-button {
    padding: 10px 12px;
    font-size: 11px;
  }

  .sidebar-button .button-text {
    display: none;
  }

  .sidebar-button .button-icon {
    font-size: 16px;
  }
}

/* Compr
ehensive Mobile Responsive Design */

/* Hide mobile menu button by default */
.mobile-menu-button {
  display: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-button.hidden {
  opacity: 0;
  transform: translateX(-20px);
  pointer-events: none;
}

/* Hide header logo text by default (desktop) */
.header-logo-text {
  display: none;
}

/* Desktop header styles */
@media (min-width: 769px) {

  .fixed-header .header-title,
  .fixed-header .header-status {
    display: block;
  }

  .fixed-header .header-icon {
    flex: none;
    gap: 0;
  }

  .fixed-header .header-logo-svg {
    width: 16px;
    height: 16px;
  }

  .fixed-header .header-logo-text {
    display: none;
  }
}



/* Tablet styles (768px - 1024px) */
@media (max-width: 1024px) {
  .sidebar {
    width: 240px;
  }

  .main-content {
    margin-left: 240px;
  }

  .fixed-header {
    left: 240px;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
  }

  .scores-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }

  .models-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .responses-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
  }

  .page {
    padding: 25px;
  }
}

/* Mobile styles (up to 768px) */
@media (max-width: 768px) {

  /* Show mobile menu button */
  .mobile-menu-button {
    display: block;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1002;
    background: linear-gradient(135deg, #00ff00 0%, #00cc00 100%);
    color: #000000;
    border: none;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    transition: all 0.3s ease;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu-button:hover {
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.5);
    transform: scale(1.05);
  }

  /* Hide sidebar by default on mobile */
  .sidebar {
    width: 280px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1001;
  }

  .sidebar.mobile-open {
    transform: translateX(0);
  }

  /* Adjust main content for mobile */
  .main-content {
    margin-left: 0;
    width: 100%;
  }

  .fixed-header {
    left: 0;
    right: 0;
    padding: 15px 20px 15px 70px;
    /* Space for mobile menu button */
    justify-content: center;
  }

  /* Hide header elements on mobile except logo */
  .fixed-header .header-title,
  .fixed-header .header-status {
    display: none;
  }

  .fixed-header .header-icon {
    display: flex;
    align-items: center;
    justify-content: start;
    flex: 1;
    gap: 12px;
  }

  .fixed-header .header-logo-svg {
    width: 32px;
    height: 32px;
    filter: brightness(0) saturate(100%) invert(50%) sepia(100%) saturate(2000%) hue-rotate(90deg) brightness(1.2);
    drop-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
  }

  .fixed-header .header-logo-text {
    display: block;
    color: #00ff00;
    font-size: 20px;
    font-weight: 700;
    font-family: "Orbitron", monospace;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8), 0 0 20px rgba(0, 255, 0, 0.4);
    letter-spacing: 2px;
  }

  .content-wrapper {
    padding-top: 70px;
  }

  .page {
    padding: 20px 15px;
  }

  /* Mobile typography */
  .page-title {
    font-size: 24px;
  }

  .page-subtitle {
    font-size: 13px;
  }

  .header-title {
    font-size: 20px;
  }

  /* Mobile stats grid */
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
  }

  .stat-card {
    padding: 16px;
  }

  .stat-value {
    font-size: 24px;
  }

  .stat-description {
    font-size: 11px;
  }

  /* Mobile scores grid */
  .scores-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .score-card {
    padding: 16px;
  }

  .score-header .model-name {
    font-size: 14px;
  }

  .score-header .overall-score {
    font-size: 12px;
  }

  .radar-container {
    height: 140px;
  }

  .radar-chart {
    width: 120px !important;
    height: 120px !important;
  }

  .dimension-scores {
    gap: 6px;
  }

  .dimension-item {
    padding: 6px 8px;
  }

  .dimension-name {
    font-size: 14px;
  }

  .dimension-score {
    font-size: 12px;
  }

  /* Mobile models grid */
  .models-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .model-card {
    padding: 20px;
  }

  /* Mobile arena */
  .arena-interface {
    max-width: none;
  }

  .query-section {
    padding: 16px;
    margin-bottom: 20px;
  }

  #arena-query {
    font-size: 16px;
    /* Prevent zoom on iOS */
    padding: 12px;
  }

  .responses-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
  }

  .response-card {
    padding: 16px;
  }

  .response-content {
    min-height: 100px;
    max-height: 200px;
  }

  /* Mobile whitepaper */
  .whitepaper-content {
    max-width: none;
  }

  .whitepaper-section {
    padding: 20px;
    margin-bottom: 20px;
  }

  .whitepaper-text {
    font-size: 14px;
    line-height: 1.6;
  }

  .process-step {
    padding: 16px;
    margin-bottom: 20px;
  }

  .step-title {
    font-size: 16px;
  }

  .whitepaper-quote {
    padding: 20px;
    font-size: 16px;
  }

  .action-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .action-button {
    width: 100%;
    max-width: 280px;
  }

  /* Mobile social */
  .social-content {
    max-width: none;
  }

  .social-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .social-card {
    padding: 20px;
  }

  .social-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .social-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .social-stats {
    justify-content: space-between;
    gap: 15px;
  }

  .community-section {
    padding: 20px;
  }

  .guidelines-grid {
    gap: 12px;
  }

  .guideline-item {
    padding: 12px;
  }

  /* Mobile sidebar adjustments */
  .sidebar-content {
    padding: 20px 15px 15px;
  }

  .sidebar-footer {
    padding: 15px;
    gap: 10px;
  }

  .sidebar-button {
    padding: 12px;
    font-size: 11px;
    justify-content: center;
  }

  .sidebar-button .button-text {
    display: none;
  }

  .sidebar-button .button-icon {
    font-size: 18px;
  }
}

/* Small mobile styles (up to 480px) */
@media (max-width: 480px) {
  .mobile-menu-button {
    padding: 6px;
    top: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
  }

  .fixed-header {
    padding: 12px 15px 12px 60px;
  }

  .fixed-header .header-logo-svg {
    width: 28px;
    height: 28px;
  }

  .fixed-header .header-logo-text {
    font-size: 18px;
  }

  .header-title {
    font-size: 18px;
  }

  .content-wrapper {
    padding-top: 60px;
  }

  .page {
    padding: 15px 10px;
  }

  .page-title {
    font-size: 20px;
  }

  /* Extra small stats grid */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .stat-card {
    padding: 12px;
  }

  .stat-value {
    font-size: 20px;
  }

  .stat-description {
    font-size: 10px;
  }

  /* Extra small radar charts */
  .scores-grid {
    gap: 8px;
  }

  .radar-container {
    height: 120px;
  }

  .radar-chart {
    width: 100px !important;
    height: 100px !important;
  }

  .score-card {
    padding: 12px;
  }

  .score-header .model-name {
    font-size: 12px;
  }

  .score-header .overall-score {
    font-size: 12px;
  }

  .dimension-item {
    padding: 4px 6px;
  }

  .dimension-name {
    font-size: 14px;
  }

  .dimension-score {
    font-size: 11px;
  }

  .model-card {
    padding: 16px;
  }

  .response-card {
    padding: 12px;
  }

  .query-section {
    padding: 12px;
  }

  .whitepaper-section {
    padding: 16px;
  }

  .social-card {
    padding: 16px;
  }

  .sidebar {
    width: 260px;
  }

  /* Full screen modals on small devices */
  .expanded-modal {
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    max-width: none;
    max-height: none;
  }

  .expanded-modal-header {
    padding: 15px;
  }

  .expanded-modal-content {
    padding: 15px;
    font-size: 13px;
  }

  .expanded-modal-chat {
    padding: 15px;
  }

  #expanded-chat-input {
    font-size: 16px;
  }
}

/* Landscape mobile styles */
@media (max-width: 768px) and (orientation: landscape) {
  .content-wrapper {
    padding-top: 55px;
  }

  .fixed-header {
    padding: 8px 60px 8px 20px;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .scores-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .models-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .responses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {

  /* Increase touch target sizes */
  .nav-item,
  .test-button,
  .submit-button,
  .sidebar-button,
  .expand-button,
  .chat-send-button {
    min-height: 44px;
    /* iOS recommended touch target size */
    min-width: 44px;
  }

  .sidebar-button {
    padding: 14px 16px;
  }

  /* Remove hover effects on touch devices */
  .nav-item:hover,
  .stat-card:hover,
  .score-card:hover,
  .model-card:hover,
  .response-card:hover,
  .whitepaper-section:hover,
  .social-card:hover,
  .community-section:hover,
  .guideline-item:hover {
    transform: none;
    box-shadow: inherit;
  }

  .nav-item:hover::before,
  .stat-card:hover::before,
  .score-card:hover::before,
  .model-card:hover::before,
  .response-card:hover::before,
  .whitepaper-section:hover::before,
  .social-card:hover::before {
    left: -100%;
  }

  /* Improve button interactions */
  .test-button:active,
  .submit-button:active,
  .sidebar-button:active,
  .expand-button:active {
    transform: scale(0.95);
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

  .logo-svg,
  .header-logo-svg {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}
