/* ===== EchoForge Support Portal ===== */

/* --- Layout Overrides --- */
.support-home .page-content { padding-top: 0; }

/* --- Support Hero --- */
.support-hero {
  padding: 140px 0 60px;
  text-align: center;
}
.support-hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 12px;
}
.support-hero-sub {
  font-size: clamp(14px, 1.3vw, 17px);
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* --- Game Selector Pills --- */
.game-selector {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.game-pill {
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.15s ease;
}
.game-pill:hover {
  border-color: rgba(212, 160, 74, 0.4);
  color: var(--text);
}
.game-pill.active {
  background: rgba(212, 160, 74, 0.15);
  border-color: var(--gold);
  color: var(--gold);
}

/* --- Quick Links Grid --- */
.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.quick-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(36, 42, 58, 0.6) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  transition: all 0.15s ease;
}
.quick-link:hover {
  border-color: rgba(212, 160, 74, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  color: var(--white);
}
.quick-link-icon {
  font-size: 24px;
  width: 36px;
  text-align: center;
  flex-shrink: 0;
}
.quick-link-text h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 2px;
}
.quick-link-text p {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

/* --- Search Bar (Phase 2 placeholder) --- */
.search-wrap {
  max-width: 520px;
  margin: 0 auto 40px;
  position: relative;
}
.search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.15s ease;
}
.search-input::placeholder { color: var(--muted); }
.search-input:focus { border-color: rgba(212, 160, 74, 0.4); }
.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--muted);
  pointer-events: none;
}

/* --- Issue / Ticket Cards --- */
.issue-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}
.issue-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(36, 42, 58, 0.6) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease;
}
.issue-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.issue-severity {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.issue-severity.critical { background: #e74c3c; box-shadow: 0 0 8px rgba(231, 76, 60, 0.5); }
.issue-severity.major { background: #e67e22; }
.issue-severity.minor { background: #f1c40f; }
.issue-severity.cosmetic { background: #7f8c8d; }

.issue-body { flex: 1; min-width: 0; }
.issue-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px;
  line-height: 1.4;
}
.issue-desc {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 0 0 8px;
  line-height: 1.5;
}
.issue-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.issue-tag {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.issue-tag.game-eq { background: rgba(59, 168, 255, 0.15); color: var(--blue-soft); }
.issue-tag.game-omn { background: rgba(231, 76, 60, 0.15); color: #e89a93; }
.issue-tag.status-investigating { background: rgba(241, 196, 15, 0.12); color: #f1c40f; }
.issue-tag.status-confirmed { background: rgba(230, 126, 34, 0.12); color: #e67e22; }
.issue-tag.status-in-progress { background: rgba(59, 168, 255, 0.12); color: var(--blue); }
.issue-tag.status-scheduled { background: rgba(155, 89, 182, 0.12); color: #bb8fce; }
.issue-tag.status-resolved { background: rgba(46, 204, 113, 0.12); color: #2ecc71; }
.issue-date {
  font-size: 0.72rem;
  color: var(--muted);
}

/* --- Status Filter Bar --- */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 7px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
}
.filter-btn.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

/* --- Roadmap --- */
.roadmap {
  max-width: 820px;
  margin: 0 auto;
}
.roadmap-phase {
  margin-bottom: 48px;
}
.roadmap-phase-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.roadmap-phase-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.roadmap-phase-dot.now { background: var(--gold); box-shadow: 0 0 10px rgba(212, 160, 74, 0.5); }
.roadmap-phase-dot.next { background: var(--blue); }
.roadmap-phase-dot.later { background: var(--muted); }
.roadmap-phase-dot.done { background: #2ecc71; }

.roadmap-phase-title {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}
.roadmap-phase-desc {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 0;
}

.roadmap-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 6px;
  border-left: 2px solid var(--border);
  margin-left: 5px;
}
.roadmap-item {
  padding: 16px 20px;
  margin-left: 20px;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(36, 42, 58, 0.6) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.roadmap-item-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.roadmap-item-title {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}
.roadmap-item-desc {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* --- Game Picker --- */
.game-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 700px;
  margin: 0 auto 48px;
}
.game-picker-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 28px 32px;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(36, 42, 58, 0.6) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s ease;
}
.game-picker-card:hover {
  border-color: rgba(212, 160, 74, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.game-picker-icon {
  font-size: 48px;
  margin-bottom: 16px;
  line-height: 1;
}
.game-picker-card h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 8px;
}
.game-picker-card p {
  font-size: 0.87rem;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.5;
}
.game-picker-link {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
}
.game-picker-card:hover .game-picker-link {
  text-decoration: underline;
}

/* --- Help Breadcrumb --- */
.help-breadcrumb {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 0 0 8px;
}
.help-breadcrumb a {
  color: var(--blue);
  text-decoration: none;
}
.help-breadcrumb a:hover {
  color: var(--blue-soft);
  text-decoration: underline;
}

/* --- Help General Section --- */
.help-general-section {
  max-width: 820px;
  margin: 0 auto;
}
.help-general-section h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--white);
  margin: 0 0 6px;
}
.help-general-section > p {
  font-size: 0.87rem;
  color: var(--muted);
  margin: 0 0 20px;
}

/* --- Help / FAQ --- */
.help-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}
.help-category {
  padding: 28px;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(36, 42, 58, 0.6) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.help-category h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 12px;
}
.help-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.help-category a {
  font-size: 0.9rem;
  color: var(--blue);
  text-decoration: none;
  transition: color 0.15s ease;
  line-height: 1.5;
}
.help-category a:hover { color: var(--blue-soft); }

.faq-section {
  max-width: 720px;
  margin: 48px auto 0;
}
.faq-section h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--white);
  margin: 0 0 24px;
  text-align: center;
}

/* --- Coming Soon Banner --- */
.coming-soon {
  max-width: 520px;
  margin: 60px auto;
  text-align: center;
  padding: 48px 32px;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(36, 42, 58, 0.6) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.coming-soon h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  color: var(--gold);
  margin: 0 0 12px;
}
.coming-soon p {
  font-size: 0.93rem;
  color: var(--muted);
  margin: 0 0 24px;
  line-height: 1.6;
}

/* --- Contact Info --- */
.contact-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 620px;
  margin: 32px auto 0;
}
.contact-channel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.15s ease;
}
.contact-channel:hover {
  border-color: rgba(212, 160, 74, 0.3);
  color: var(--white);
}
.contact-channel-icon { font-size: 20px; width: 28px; text-align: center; }

/* --- Empty State --- */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  font-size: 0.93rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .quick-links { grid-template-columns: 1fr; }
  .help-categories { grid-template-columns: 1fr; }
  .contact-channels { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .support-hero { padding: 120px 0 40px; }
  .issue-card { flex-direction: column; gap: 8px; padding: 16px; }
  .issue-severity { margin-top: 0; }
}
