/* =====================================================
   linuxrocks.online - Classic Amber Terminal (Balanced)
   ===================================================== */

:root {
  --bg: #0f0c08;
  --bg-card: #16130e;
  --text: #e8d5a3;
  --text-muted: #b89e6e;
  --accent: #ffaa00;
  --accent-dim: #cc8800;
  --border: #3a2f1f;
  --amber-glow: rgba(255, 170, 0, 0.2);
}

/* === Base === */
body,
.ui {
  background-color: var(--bg) !important;
  color: var(--text);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Courier New", monospace;
}

/* === Status Cards === */
.status,
.detailed-status,
.status__wrapper {
  background-color: var(--bg-card) !important;
  border: 1px solid var(--border);
  border-radius: 3px;
  box-shadow: 0 0 8px var(--amber-glow);
  margin-bottom: 12px;
}

.status:hover {
  border-color: var(--accent);
  box-shadow: 0 0 14px var(--amber-glow);
}

/* === Text & Links === */
.status__content,
.display-name {
  color: var(--text);
}

a {
  color: var(--accent) !important;
}

a:hover {
  color: var(--accent-dim) !important;
}

/* === Buttons === */
.button {
  background: transparent !important;
  border: 1px solid var(--accent) !important;
  color: var(--accent) !important;
  border-radius: 2px;
  font-family: ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  box-shadow: 0 0 6px var(--amber-glow);
  transition: all 0.1s ease;
}

.button:hover {
  background: var(--accent) !important;
  color: #000 !important;
  box-shadow: 0 0 12px var(--amber-glow);
}

/* === Compose & Sidebar === */
.compose-form,
.column-header,
.drawer__inner,
.navigation-bar {
  background-color: var(--bg-card) !important;
  border: 1px solid var(--border);
}

/* === Profile Header === */
.account__header {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
}

/* === Hashtags & Mentions === */
.hashtag,
.mention {
  color: var(--accent) !important;
}

/* === Active Icons === */
.icon-button.active {
  color: var(--accent) !important;
}

/* === Scrollbars === */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background-color: #3a2f1f;
  border: 1px solid var(--accent);
}

/* === Instance Name === */
.instance-name {
  color: var(--accent) !important;
  font-weight: bold;
}

/* === Code Blocks === */
.status__content pre,
.status__content code {
  background-color: #1a160f !important;
  border: 1px solid var(--border);
  color: var(--accent);
}

/* ============================================
   More Mastodon Elements + Mobile Support
   ============================================ */

/* Notifications */
.notification {
  background-color: var(--bg-card);
  border-left: 3px solid var(--accent);
}

/* Search */
.search {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
}

.search input {
  color: var(--text);
  font-family: ui-monospace, monospace;
}

/* Reblog Indicator */
.status__prepend {
  color: var(--text-muted);
  font-style: italic;
}

/* Media */
.media-gallery,
.video-player {
  border: 1px solid var(--border);
}

/* === Mobile Improvements === */
.tabs-bar__wrapper {
  background-color: var(--bg-card) !important;
  border-top: 1px solid var(--border);
}

.tabs-bar__link {
  color: var(--text) !important;
}

.tabs-bar__link.active {
  color: var(--accent) !important;
  border-bottom: 2px solid var(--accent);
}

@media (max-width: 600px) {
  .status,
  .detailed-status {
    margin-bottom: 10px;
    border-radius: 0;
  }
}

/* Subtle retro texture */
body {
  background-image: 
    radial-gradient(circle, rgba(232, 213, 163, 0.012) 1px, transparent 1px);
  background-size: 3px 3px;
}

