/* ═══════════════════════════════════════════════════════════════
   W3NN COMMAND HUB — Testing Area Styles
   ═══════════════════════════════════════════════════════════════ */

/* ─── CONTAINER ─── */
.testing-container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px 100px;
  z-index: 2;
  position: relative;
}

/* ─── HEADER ─── */
.testing-header {
  text-align: center;
  margin-bottom: 50px;
}

.testing-desc {
  font-family: var(--font-ui);
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

body.theme-minecraft .testing-desc {
  font-family: 'MinecraftRegular', monospace;
  color: #aaaaaa;
}

/* ─── GRID LAYOUT ─── */
.testing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* ─── PROJECT CARD ─── */
.test-card {
  background: rgba(10, 15, 30, 0.45);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.test-card:hover {
  transform: translateY(-4px);
  border-color: rgba(157, 111, 255, 0.4);
  background: rgba(15, 22, 45, 0.6);
  box-shadow: 0 10px 30px rgba(157, 111, 255, 0.15);
}

body.theme-minecraft .test-card {
  background: #3c3c3c;
  border: 3px solid #000;
  border-radius: 0;
  box-shadow: inset -2px -2px 0px #222, inset 2px 2px 0px #666;
  min-height: 230px;
}

body.theme-minecraft .test-card:hover {
  background: #4a4a4a;
  transform: none;
  box-shadow: none;
}

/* ─── BADGES ─── */
.test-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 12px;
}

.test-name {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--diamond);
}

body.theme-minecraft .test-name {
  font-family: 'MinecraftRegular', monospace;
  color: #55ffff;
  text-shadow: 1px 1px 0px #005555;
  font-size: 16px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

body.theme-minecraft .status-badge {
  font-family: 'MinecraftRegular', monospace;
  font-size: 9px;
  border-radius: 0;
  border: 2px solid #000;
  padding: 2px 6px;
}

/* Status variants */
.status-badge--testing {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

body.theme-minecraft .status-badge--testing {
  background: #55ff55;
  color: #000;
}

.status-badge--dev {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}

body.theme-minecraft .status-badge--dev {
  background: #ffaa00;
  color: #000;
}

.status-badge--planned {
  background: rgba(167, 139, 250, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.35);
  color: #c084fc;
}

body.theme-minecraft .status-badge--planned {
  background: #ff55ff;
  color: #000;
}

/* ─── CARD DETAILS ─── */
.test-body {
  margin-bottom: 24px;
}

.test-desc {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

body.theme-minecraft .test-desc {
  font-family: 'MinecraftRegular', monospace;
  color: #aaaaaa;
}

/* ─── FOOTER LINK ─── */
.test-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--arcane-light);
  transition: color 0.2s ease;
}

.test-card:hover .test-footer {
  color: var(--arcane);
}

.test-footer svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.test-card:hover .test-footer svg {
  transform: translateX(4px);
}

body.theme-minecraft .test-footer {
  font-family: 'MinecraftRegular', monospace;
  color: #ffff55;
  text-shadow: 1px 1px 0px #3f3f00;
}

body.theme-minecraft .test-card:hover .test-footer svg {
  transform: none;
}

/* Disabled styling for planned states */
.test-card--disabled {
  pointer-events: none;
  opacity: 0.75;
}

.test-card--disabled .test-footer {
  color: var(--text-muted);
}

body.theme-minecraft .test-card--disabled .test-footer {
  color: #8b8b8b;
  text-shadow: 1px 1px 0px #222;
}
