/* Runeterra Specialized Theme Components & Ornaments */

/* Hextech Runic Corners */
.runic-frame {
  position: relative;
  border: 1px solid var(--border-gold);
  background: rgba(10, 16, 32, 0.9);
}

.runic-frame::before, .runic-frame::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold-300);
  pointer-events: none;
}

.runic-frame::before {
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
}

.runic-frame::after {
  bottom: -2px;
  right: -2px;
  border-left: none;
  border-top: none;
}

/* Magic System & Glyphs Grid */
.glyphs-visualizer {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.glyph-step-card {
  background: rgba(14, 22, 42, 0.75);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.glyph-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--hex-teal);
}

.glyph-step-number {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--hex-teal);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.glyph-step-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold-200);
  margin-bottom: 0.5rem;
}

.magic-schools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.school-card {
  background: rgba(8, 12, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.85rem;
  transition: all 0.25s ease;
  position: relative;
}

.school-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-300);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.school-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-100);
  display: flex;
  align-items: center;
  gap: 6px;
}

.school-color-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.school-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.4;
}

/* Legend Archives Cards */
.legends-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.legend-card {
  background: linear-gradient(180deg, rgba(16, 25, 48, 0.85) 0%, rgba(8, 13, 26, 0.95) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.legend-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-200);
  box-shadow: 0 6px 20px rgba(200, 170, 110, 0.25);
}

.legend-card-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold-100);
  margin-bottom: 0.5rem;
}

.legend-card-preview {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.legend-read-btn {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: var(--hex-teal);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Chronicle Dispatches */
.chronicle-article {
  background: rgba(14, 20, 36, 0.7);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.chronicle-headline {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #ffd700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-gold);
  padding-bottom: 0.5rem;
}

.chronicle-text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #cbd5e1;
}

/* Full Session Log Modal View */
.session-log-view {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.session-log-header {
  border-bottom: 1px solid var(--border-gold);
  padding-bottom: 1rem;
}

.session-log-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-100);
}

.session-log-meta {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--hex-teal);
}

.session-log-body {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #e2e8f0;
}
