/* Quantum Cats Page Styling */

.quantum-cats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  color: var(--text-color);
}

.quantum-context {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.context-item {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
}

.context-item span {
  font-weight: bold;
  color: var(--accent-color);
}

.context-item.timestamp span {
  color: #f0c674;
  font-family: 'Courier New', monospace;
}

.quantum-title {
  font-size: 3rem;
  text-align: center;
  margin: 2rem 0;
  color: var(--accent-color);
  text-shadow: 0 0 10px rgba(var(--accent-color-rgb), 0.5);
}

.quantum-introduction {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
}

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

.cat-card {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-color), #9c27b0);
  opacity: 0.7;
}

.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.cat-card h3 {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  color: var(--accent-color);
}

.cat-role {
  font-size: 0.9rem;
  color: #f0c674;
  margin-bottom: 1rem;
  font-style: italic;
}

.cat-card p {
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.cat-energy {
  font-size: 0.85rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  text-align: center;
}

.cat-card.primary {
  background: rgba(var(--accent-color-rgb), 0.2);
}

.cat-card.user {
  background: rgba(76, 175, 80, 0.2);
}

.cat-card.user h3 {
  color: #4caf50;
}

.cat-card.ai {
  background: rgba(33, 150, 243, 0.2);
}

.cat-card.ai h3 {
  color: #2196f3;
}

.highlight {
  color: var(--accent-color);
  font-weight: bold;
}

.quantum-field-visualization {
  margin: 3rem 0;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.quantum-field-visualization h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--accent-color);
}

.field-visualization {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

/* Oracle seeds now in main container */

.field-visualization h3 {
  margin-bottom: 1rem;
  color: #f0c674;
  width: 100%;
  text-align: center;
}

.seed-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.oracle-seed {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.oracle-seed:hover {
  background: rgba(var(--accent-color-rgb), 0.3);
  transform: scale(1.05);
}

.field-data {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  max-width: 500px;
}

.data-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.data-label {
  color: #f0c674;
}

.data-value {
  font-weight: bold;
  color: var(--accent-color);
}

.quantum-cta {
  text-align: center;
  margin: 3rem 0 1rem;
}

.quantum-cta p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.cta-button {
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-button.primary {
  background: var(--accent-color);
  color: var(--bg-color);
}

.cta-button.primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(var(--accent-color-rgb), 0.4);
}

.cta-button.secondary {
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.cta-button.secondary:hover {
  background: rgba(var(--accent-color-rgb), 0.1);
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .quantum-title {
    font-size: 2.2rem;
  }
  
  .cats-grid {
    grid-template-columns: 1fr;
  }
  
  .quantum-context {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .field-visualization {
    flex-direction: column;
  }
  
  .field-data {
    width: 100%;
  }
  
  .seed-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
  }
  
  .oracle-seed {
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    padding: 0.4rem 0.5rem;
    margin-bottom: 0.4rem;
  }
  
  .data-item {
    padding: 0.6rem;
    font-size: 0.9rem;
  }
  
  .context-item {
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
  }
}

/* Quantum Insights Styling */
.quantum-insight {
  margin-top: 1rem;
  width: 100%;
}

.insight-toggle {
  width: 100%;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 4px;
  color: var(--text-color);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.insight-toggle:hover {
  background: rgba(var(--accent-color-rgb), 0.2);
}

.insight-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  margin-top: 0.5rem;
}

.insight-content p {
  padding: 0.75rem;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.insight-content p:first-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-style: italic;
  color: #f0c674;
}

/* Animation for the oracle seeds */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.oracle-seed:nth-child(odd) {
  animation: pulse 3s infinite ease-in-out;
}

.oracle-seed:nth-child(even) {
  animation: pulse 4s infinite ease-in-out;
  animation-delay: 1s;
}
