/* ==================== SOLUMBRA WEBSITE STYLES ==================== */
/* Easy to customize colors and layout */

:root {
  --bg-dark: #0d0b12;
  --bg-card: #16131f;
  --gold: #e8c872;
  --purple: #9b59b6;
  --text: #e0dce8;
  --text-dim: #a09ab0;
  --border: #2a2438;
  --accent: #c9a227;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* Title Header */
.title-header {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 0;
}

.title-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(155, 89, 182, 0.25), 0 0 20px rgba(232, 200, 114, 0.15);
  border: 2px solid var(--border);
}

/* Tabs Navigation */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 24px 20px 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.tab-btn {
  background: var(--bg-card);
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.tab-btn.active {
  background: linear-gradient(135deg, #2a1f3d, #1a1525);
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(232, 200, 114, 0.3);
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px 60px;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

h1 {
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(232, 200, 114, 0.3);
}

h3 {
  color: var(--purple);
  margin-bottom: 10px;
}

p {
  margin-bottom: 16px;
  color: var(--text-dim);
}

/* Editable boxes – clearly marked for easy editing */
.editable-box {
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 20px;
  margin-top: 28px;
}

.editable-box h3 {
  margin-top: 0;
}

/* Type Chart Table */
.table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.type-chart {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: var(--bg-card);
}

.type-chart th {
  background: #1f1a2b;
  color: var(--gold);
  padding: 12px 10px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 2px solid var(--border);
}

.type-chart td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.type-chart tr:hover {
  background: rgba(155, 89, 182, 0.08);
}

/* Type name colors */
.type-fire { color: #ff6b35; font-weight: 700; }
.type-water { color: #4fc3f7; font-weight: 700; }
.type-earth { color: #a1887f; font-weight: 700; }
.type-wind { color: #80cbc4; font-weight: 700; }
.type-electric { color: #ffd54f; font-weight: 700; }
.type-ice { color: #81d4fa; font-weight: 700; }
.type-light { color: #fff59d; font-weight: 700; }
.type-dark { color: #ce93d8; font-weight: 700; }
.type-nature { color: #81c784; font-weight: 700; }
.type-metal { color: #b0bec5; font-weight: 700; }
.type-spirit { color: #b39ddb; font-weight: 700; }
.type-crystal { color: #80deea; font-weight: 700; }
.type-magma { color: #ff8a65; font-weight: 700; }
.type-mist { color: #b0bec5; font-weight: 700; }
.type-void { color: #9575cd; font-weight: 700; }
.type-aether { color: #90caf9; font-weight: 700; }
.type-blight { color: #aed581; font-weight: 700; }
.type-plasma { color: #f48fb1; font-weight: 700; }

/* Lustra entry example */
.lustra-entry {
  background: #1a1625;
  border-left: 3px solid var(--gold);
  padding: 12px 16px;
  margin-top: 12px;
  border-radius: 0 8px 8px 0;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 20px;
  color: var(--text-dim);
  font-size: 13px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 700px) {
  .tab-btn {
    padding: 8px 14px;
    font-size: 13px;
  }
  h1 {
    font-size: 1.5rem;
  }
  .type-chart {
    font-size: 12px;
  }
}
