/* torzon.bestdarknetmarket.net */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  size-adjust: 105%;
  ascent-override: 90%;
  descent-override: 20%;
  line-gap-override: 0%;
  src: url(fonts/inter-latin.woff2) format("woff2");
}

@font-face {
  font-family: Orbitron;
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  size-adjust: 110%;
  ascent-override: 85%;
  descent-override: 22%;
  line-gap-override: 0%;
  src: url(fonts/orbitron-latin.woff2) format("woff2");
}

:root {
  --bg: #08080c;
  --surface: #111118;
  --card: #16161f;
  --border: #2a2a38;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-muted: rgba(59, 130, 246, 0.12);
  --cyan: #06b6d4;
  --text: #ececf1;
  --text-secondary: #a1a1b0;
  --text-muted: #6b6b7b;
  --success: #22c55e;
  --warning: #eab308;
  --danger: #ef4444;
  --radius: 10px;
  --radius-lg: 14px;
  --container: 1200px;
  --header-h: 72px;
  --font: Inter, system-ui, sans-serif;
  --font-display: Orbitron, var(--font);
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.mobile-menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  display: block;
  flex-shrink: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--cyan);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.main {
  padding-block: 2rem 3rem;
}

.matrix-bg,
.animated-bg {
  display: none !important;
}

/* —— Header —— */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 12, 0.95);
  border-bottom: 1px solid var(--border);
}

.header .container {
  padding-block: 1rem;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-text {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.5vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text);
  text-transform: uppercase;
}

.logo-text:hover {
  color: var(--accent);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: color 0.15s var(--ease), background 0.15s var(--ease), border-color 0.15s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: var(--accent-muted);
  border-color: rgba(59, 130, 246, 0.35);
}

.nav-icon {
  width: 16px;
  height: 16px;
}

.dropdown-arrow {
  width: 12px;
  height: 12px;
  transition: transform 0.2s var(--ease);
}

#markets-toggle.active .dropdown-arrow,
#torzon-toggle.active .dropdown-arrow {
  transform: rotate(180deg);
}

.markets-dropdown {
  position: relative;
}

.markets-menu.dropdown-simple {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: min(300px, 90vw);
  padding: 0.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 200;
}

.markets-menu.dropdown-simple.show,
.markets-dropdown:focus-within .markets-menu.dropdown-simple {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.markets-list {
  list-style: none;
}

.markets-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  color: var(--text-secondary);
  border-radius: 8px;
}

.markets-list a:hover {
  background: var(--accent-muted);
  color: var(--text);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.online {
  background: var(--success);
}

.status-dot.offline {
  background: var(--warning);
}

.status-dot.closed {
  background: var(--danger);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  background: var(--accent-muted);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius);
  cursor: pointer;
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(320px, 88vw);
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-header h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
}

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.mobile-menu-close svg {
  width: 24px;
  height: 24px;
}

.mobile-menu-content {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  margin-bottom: 2px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--text);
  background: var(--accent-muted);
}

.mobile-menu-section {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.mobile-section-title {
  padding: 0.25rem 1rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* —— Typography / sections —— */
.page-header {
  padding: 2rem 0 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.page-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 42rem;
  margin-inline: auto;
}

.main > h2,
.main > section > h2,
.market-advantages > h2,
.safety-tips > h2,
.faq-section > h2,
.step-section > h2,
.product-categories-deep > h2,
.community-forum > h2,
.troubleshooting > h2,
.history-section > h2,
.related-markets > h3,
#access-guide > h2,
.verification-section > h2 {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
  color: var(--text);
}

/* —— Cards —— */
.card,
.about-card,
.advantage,
.tip-item,
.detail-card,
.step-card,
.related-card,
.mirror-card,
.trouble-item,
.history-item,
.category-deep-card,
.forum-thread,
.faq-item,
.quick-link,
.req-item,
.requirement-item,
.security-item,
.market-info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

/* —— Market homepage —— */
.market-overview,
.market-details,
.market-advantages,
.safety-tips,
.product-categories-deep,
.community-forum,
.related-markets {
  margin-bottom: 2.5rem;
}

.market-hero {
  display: grid;
  gap: 1.5rem;
}

.market-actions {
  order: -1;
}

.market-links-container {
  padding: 1.25rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.market-links-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.onion-link-plain {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.onion-link-plain:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.onion-link-plain .link-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.onion-link-plain .link-url {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text);
  word-break: break-all;
  user-select: text;
}

.market-info-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  margin-bottom: 0.75rem;
}

.market-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.status {
  display: inline-flex;
  padding: 0.25rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 4px;
}

.status.online {
  color: var(--success);
  background: rgba(34, 197, 94, 0.12);
}

.rating {
  color: var(--warning);
  font-size: 0.9rem;
}

.market-description {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.market-photo {
  margin-top: 1rem;
  text-align: center;
}

.market-screenshot {
  max-width: 520px;
  margin-inline: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.details-grid,
.advantages-grid,
.tips-list,
.categories-deep-grid,
.trouble-grid,
.mirrors-grid,
.quick-links-grid,
.req-grid,
.security-grid,
.related-grid {
  display: grid;
  gap: 1rem;
}

.details-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.advantages-grid,
.tips-list {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.categories-deep-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.mirrors-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.detail-card h4,
.advantage h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.advantage strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.advantage p,
.tip-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

.categories-list,
.payment-methods,
.security-features,
.shipping-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.category-item,
.payment-method,
.security-feature,
.shipping-option {
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feature-tag {
  display: inline-block;
  margin: 0.35rem 0.35rem 0 0;
  padding: 0.2rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-muted);
  border-radius: 4px;
}

.tip-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

/* Boxes */
.warning-box,
.tip-box,
.info-box {
  padding: 1.15rem 1.25rem;
  margin: 1.25rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.warning-box {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
}

.warning-box h3,
.warning-box h4 {
  color: var(--danger);
  margin-bottom: 0.35rem;
}

.tip-box {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.3);
}

.tip-box h4 {
  color: var(--success);
  margin-bottom: 0.35rem;
}

.warning-box p,
.tip-box p,
.info-box p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.bookmark-reminder {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  margin: 1.5rem 0;
  background: var(--accent-muted);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-lg);
}

.bookmark-icon svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
}

.bookmark-content h4 {
  margin-bottom: 0.35rem;
}

.bookmark-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.verification-steps {
  display: grid;
  gap: 1rem;
}

.verification-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.verification-step .step-number,
.verification-step .vstep-num,
.step-card .step-number,
.step-card[data-step]::before {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
}

#access-guide,
.verification-section {
  margin: 2rem 0;
}

.bookmark-icon {
  flex-shrink: 0;
}

.warning-box h3 {
  margin-bottom: 0.75rem;
}

.bookmark-content h4 {
  color: var(--text);
  margin-bottom: 0.5rem;
}

.verification-step h4 {
  color: var(--text);
  margin-bottom: 0.25rem;
}

.verification-step p {
  line-height: 1.6;
}

.verification-step a {
  color: var(--accent);
}

.step-card {
  position: relative;
  margin-bottom: 1rem;
  padding-top: 1.75rem;
}

.step-card[data-step]::before {
  content: attr(data-step);
  position: absolute;
  top: -0.65rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.step-card p,
.step-card li {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.step-card ul,
.step-card ol {
  margin: 0.75rem 0 0.75rem 1.25rem;
}

#access-guide p,
.verification-section > p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.subcategories-list {
  list-style: none;
  margin: 0.5rem 0 0.75rem;
}

.subcategories-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.15rem 0;
}

.product-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

.category-deep-icon {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.thread-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}

.thread-author {
  font-weight: 600;
}

.thread-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: var(--surface);
  color: var(--text-muted);
}

.thread-badge.admin {
  color: var(--accent);
  background: var(--accent-muted);
}

.thread-badge.verified {
  color: var(--success);
  background: rgba(34, 197, 94, 0.12);
}

.thread-badge.mod {
  color: var(--warning);
  background: rgba(234, 179, 8, 0.12);
}

.thread-date {
  color: var(--text-muted);
  margin-left: auto;
}

.thread-title {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.thread-preview {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.thread-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* FAQ */
.quick-links {
  margin-bottom: 2rem;
}

.quick-links h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.quick-links-grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  text-align: center;
  color: var(--text);
  transition: border-color 0.15s;
}

.quick-link svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.quick-link:hover {
  border-color: var(--accent);
  color: var(--text);
}

.faq-section {
  margin-bottom: 2rem;
}

.faq-item {
  margin-bottom: 0.65rem;
  padding: 0;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  font: inherit;
  text-align: left;
  color: var(--text);
  background: transparent;
  border: none;
  cursor: pointer;
}

.faq-question:hover {
  background: var(--accent-muted);
}

.faq-question h3 {
  font-size: 0.95rem;
  font-weight: 600;
}

.faq-question .icon svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.faq-item.active .faq-question .icon svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-item.active .faq-answer {
  max-height: 1200px;
}

.faq-answer-content {
  padding: 0 1.15rem 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.faq-answer-content ul,
.faq-answer-content ol {
  margin: 0.5rem 0 0.5rem 1.25rem;
}

/* Status page */
.status-hero {
  text-align: center;
  padding: 2rem 1.25rem;
  margin-bottom: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.status-icon svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  color: var(--success);
}

.status-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--success);
  margin-bottom: 0.5rem;
}

.status-subtitle,
.last-checked {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.enhanced-status {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.uptime-display {
  text-align: center;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.uptime-percentage {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--success);
}

.uptime-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.status-bars {
  display: flex;
  gap: 4px;
  margin: 0.75rem 0;
}

.day-bar {
  flex: 1;
  min-height: 44px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4px;
  border-radius: 4px;
  font-size: 0.55rem;
  color: var(--text-muted);
}

.day-bar.online {
  background: rgba(34, 197, 94, 0.35);
}

.day-bar.degraded {
  background: rgba(234, 179, 8, 0.35);
}

.day-bar.down {
  background: rgba(239, 68, 68, 0.35);
}

.status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.25rem;
}

.legend-dot.online {
  background: var(--success);
}

.legend-dot.degraded {
  background: var(--warning);
}

.legend-dot.down {
  background: var(--danger);
}

.incident {
  padding: 0.85rem;
  margin-bottom: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.incident-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.incident-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.incident-status.resolved {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--success);
}

.incident-type {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.mirror-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.mirror-name {
  font-weight: 600;
}

.mirror-status.online {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--success);
}

.mirror-url {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.72rem;
  word-break: break-all;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.mirror-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  text-align: center;
}

.mirror-stats .stat-value {
  font-weight: 700;
  color: var(--accent);
}

.mirror-stats .stat-label {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.history-item {
  border-left: 3px solid var(--accent);
}

.history-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.history-event {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.history-detail {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.alt-markets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.alt-market-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.alt-market-btn svg {
  width: 18px;
  height: 18px;
}

.alt-market-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Guides */
.requirements-box,
.requirements-list {
  margin-bottom: 2rem;
}

.requirements-box h2,
.requirements-list h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.req-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.req-item,
.requirement-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.req-icon svg,
.requirement-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.req-info h4,
.requirement-item h4 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.req-info p,
.requirement-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.download-btn {
  display: inline-flex;
  margin-top: 0.75rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius);
}

.download-btn:hover {
  background: var(--accent-hover);
  color: #fff;
}

.security-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.cta-section {
  text-align: center;
  padding: 2rem 1.25rem;
  margin: 2rem 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.cta-section p {
  color: var(--text-secondary);
  margin: 0.5rem 0 1.25rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.15rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius);
}

.cta-btn svg {
  width: 20px;
  height: 20px;
}

.cta-btn.primary {
  color: #fff;
  background: var(--accent);
}

.cta-btn.primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.cta-btn.secondary {
  color: var(--text);
  border: 1px solid var(--border);
}

.cta-btn.secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Related & breadcrumb */
.breadcrumb-nav {
  margin: 2rem 0 0.5rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.35rem;
  color: var(--text-muted);
}

.related-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.related-card {
  display: block;
  color: inherit;
  transition: border-color 0.15s;
}

.related-card:hover {
  border-color: var(--accent);
  color: inherit;
}

.related-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.related-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Footer */
.footer {
  margin-top: 2rem;
  padding: 2.5rem 0 1.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.5rem 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.footer-section p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.scroll-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s, background 0.15s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--accent-hover);
}

.scroll-to-top svg {
  width: 20px;
  height: 20px;
}

/* —— Responsive —— */
@media (min-width: 900px) {
  .market-hero {
    grid-template-columns: 1fr minmax(280px, 340px);
    align-items: start;
  }

  .market-actions {
    order: 0;
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    align-self: start;
  }

  .enhanced-status {
    grid-template-columns: auto 1fr;
  }
}

@media (max-width: 768px) {
  .nav,
  .markets-dropdown {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }
}

.research-disclaimer {
  margin: 0 0 1.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #94a3b8;
  border-left: 3px solid rgba(59, 130, 246, 0.5);
  background: rgba(15, 23, 42, 0.4);
}

.research-disclaimer p {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
