/* I-Ging and Tarot Specific Styles */

/* I-Ging Styles */
.iching-reading {
  margin-top: 1rem;
}

.hexagram-card {
  padding: 0.75rem 0;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hexagram-card.primary {
  border-bottom-width: 2px;
  border-bottom-color: var(--accent);
}

.hexagram-card.changing {
  border-bottom-color: rgba(255, 193, 7, 0.5);
}

.hexagram-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.hexagram-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.hexagram-header h5 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text);
}

.hexagram-lines {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
}

.hexagram-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.line-solid {
  width: 100%;
  height: 4px;
  background: var(--text-primary);
  border-radius: 2px;
}

.line-broken {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.line-part {
  flex: 1;
  height: 4px;
  background: var(--text-primary);
  border-radius: 2px;
}

.moving-line-indicator {
  color: #ffc107;
  font-weight: 700;
  font-size: 1.2rem;
}

.hexagram-judgment,
.hexagram-image {
  margin-bottom: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  line-height: 1.4;
  opacity: 0.9;
}

/* Tarot Styles */
.tarot-reading {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.tarot-spread {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.tarot-card {
  width: 100%;
  padding: 0.75rem 0;
  border-bottom: 2px solid rgba(138, 43, 226, 0.3);
}

.card-position {
  font-size: 0.9rem;
  font-weight: 700;
  color: #8a2be2;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.card-emoji {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 0.75rem;
}

.card-header {
  text-align: center;
  margin-bottom: 1rem;
}

.card-header h5 {
  color: #8a2be2;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card-meta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.card-suit,
.card-number {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.card-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.keyword-tag {
  padding: 0.25rem 0.6rem;
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: 15px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
}

.card-interpretation {
  padding: 0.5rem 0 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
  border-left: 2px solid #8a2be2;
}

.card-interpretation p {
  color: var(--text-primary);
  line-height: 1.4;
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.9;
}

