/* ═══════════════════════════════════════════════════════════
   L2 PAGE-SPECIFIC STYLES
   ═══════════════════════════════════════════════════════════ */

/* ── HOME PAGE ── */
.home-status-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.home-status-card {
  flex: 1 1 200px;
  text-align: center;
}
.home-status-card__label {
  font-family: var(--font-heading);
  font-size: 10px;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.home-status-card__value {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--color-text-gold);
}
.home-status-card__sub {
  font-size: 11px;
  color: var(--color-text-dim);
}
.home-online-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 8px var(--color-green);
  margin-right: 6px;
  animation: pulse 2s infinite;
}

.home-news__item {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(74, 61, 46, 0.35);
}
.home-news__item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.home-news__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 4px;
}
.home-news__title {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--color-text-primary);
  font-weight: 600;
}
.home-news__date {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--color-text-dim);
}
.home-news__text {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.55;
}
.home-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ── DOWNLOAD PAGE ── */
.download-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(74, 61, 46, 0.3);
}
.download-item:last-child {
  border-bottom: none;
}
.download-item__name {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--color-text-primary);
}
.download-item__desc {
  font-size: 12px;
  color: var(--color-text-muted);
}
.download-item__size {
  color: var(--color-gold);
}
.download-progress {
  margin-top: 10px;
  height: 18px;
  background: #1a1510;
  border: 1px solid var(--color-border-light);
  position: relative;
  overflow: hidden;
}
.download-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, #2a5a1a, #40a420);
  transition: width 0.2s;
}
.download-progress__text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--color-text-primary);
}

/* ── CHAT PAGE ── */
.chat-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 180px);
  min-height: 400px;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px var(--panel-padding);
}
.chat-msg {
  margin-bottom: 8px;
}
.chat-msg--system {
  text-align: center;
  font-size: 11px;
  color: var(--color-text-dim);
  font-style: italic;
}
.chat-msg__author {
  font-family: var(--font-heading);
  font-size: 12px;
}
.chat-msg__author--self {
  color: var(--color-text-gold);
}
.chat-msg__author--other {
  color: var(--color-gold);
}
.chat-msg__text {
  font-size: 13px;
  color: var(--color-text-primary);
}
.chat-input-bar {
  padding: 12px var(--panel-padding);
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 8px;
}
.chat-input-bar__hint {
  text-align: center;
  width: 100%;
  color: var(--color-text-dim);
  font-size: 13px;
  font-family: var(--font-heading);
}

/* ── FORUM PAGE ── */
.forum-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}
.forum-cats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.forum-cat-tag {
  padding: 4px 10px;
  font-size: 10px;
  font-family: var(--font-heading);
  background: rgba(30, 25, 18, 0.8);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.forum-cat-tag:hover {
  filter: brightness(1.3);
}
.forum-thread {
  padding: 12px 10px;
  cursor: pointer;
  transition: background var(--transition-fast);
  border-bottom: 1px solid rgba(58, 45, 30, 0.25);
}
.forum-thread:hover {
  background: var(--color-bg-hover);
}
.forum-thread--pinned {
  background: rgba(139, 115, 85, 0.04);
}
.forum-thread:last-child {
  border-bottom: none;
}
.forum-thread__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.forum-thread__title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.forum-thread__title {
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--color-text-primary);
}
.forum-thread__replies {
  font-size: 11px;
  color: var(--color-text-dim);
}
.forum-thread__meta {
  font-size: 11px;
  color: var(--color-text-dim);
  margin-top: 3px;
}

/* ── DONATE PAGE ── */
.donate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.donate-card {
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}
.donate-card--selected {
  border-color: var(--color-text-gold) !important;
}
.donate-card__popular {
  position: absolute;
  top: -1px;
  right: 12px;
  background: var(--color-text-gold);
  color: #1a1510;
  font-size: 9px;
  padding: 2px 8px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.donate-card__name {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}
.donate-card__price {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--color-text-gold);
  margin-bottom: 8px;
}
.donate-card__desc {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}
.donate-wallet {
  margin-bottom: 12px;
  padding: 10px;
  background: rgba(10, 8, 5, 0.5);
  border: 1px solid var(--color-border);
}
.donate-wallet__coin {
  font-family: var(--font-heading);
  font-size: 12px;
  color: var(--color-gold);
  margin-bottom: 3px;
}
.donate-wallet__addr {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-primary);
  word-break: break-all;
}

/* ── ADMIN PAGE ── */
.admin-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.admin-sidebar {
  flex: 1 1 280px;
  min-width: 260px;
}
.admin-main {
  flex: 2 1 400px;
}
.admin-char-list {
  max-height: 420px;
  overflow-y: auto;
}
.admin-char-item {
  padding: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  margin-bottom: 2px;
}
.admin-char-item:hover {
  background: rgba(139, 115, 85, 0.06);
}
.admin-char-item--active {
  background: var(--color-bg-active) !important;
  border-color: rgba(139, 115, 85, 0.25);
}
.admin-char-item__name {
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--color-text-primary);
}
.admin-char-item__class {
  font-size: 11px;
  color: var(--color-text-dim);
}
.admin-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
  margin-bottom: 16px;
}
.admin-detail-row {
  display: flex;
  justify-content: space-between;
}
.admin-detail-row__key {
  font-size: 12px;
  color: var(--color-text-dim);
}
.admin-detail-row__val {
  font-size: 12px;
  color: var(--color-text-primary);
  font-family: var(--font-mono);
}
.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-service {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  background: rgba(10, 8, 5, 0.4);
  border: 1px solid var(--color-border);
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 8px;
}
.admin-service__name {
  font-size: 13px;
  color: var(--color-text-primary);
}
.admin-service__right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-service__price {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-text-gold);
}
