/* 1000 BTC Puzzle Page Styles */
.thousand-btc-page {
  min-height: calc(100vh - 64px);
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  padding: 3rem 1rem;
}

.thousand-btc-page .container {
  max-width: 1100px;
  margin: 0 auto;
}

.thousand-btc-page .page-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.thousand-btc-page .page-icon {
  font-size: 3rem;
  color: #f7931a;
  margin-bottom: 1rem;
}

.thousand-btc-page .page-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1rem;
  letter-spacing: -0.5px;
}

.thousand-btc-page .page-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: #94a3b8;
  margin: 0 auto;
  max-width: 600px;
  line-height: 1.6;
}

/* Intro */
.btc-puzzle-intro {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(247, 147, 26, 0.2);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  color: #cbd5e1;
  line-height: 1.7;
}

.btc-puzzle-intro p {
  margin: 0 0 1rem;
}

.btc-puzzle-intro p:last-child {
  margin-bottom: 0;
}

/* Stats */
.btc-puzzle-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.btc-stat-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.btc-stat-card.highlight {
  border-color: rgba(247, 147, 26, 0.4);
}

.btc-stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
}

.btc-stat-card.highlight .btc-stat-number {
  color: #f7931a;
}

.btc-stat-label {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Table */
.btc-wallets-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 16px;
  overflow: hidden;
}

.btc-wallets-table-wrapper {
  overflow-x: auto;
}

.btc-wallets-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.btc-wallets-table th {
  text-align: left;
  padding: 0.85rem 1rem;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  white-space: nowrap;
}

.btc-wallets-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  color: #cbd5e1;
  white-space: nowrap;
}

.btc-wallets-table tbody tr:last-child td {
  border-bottom: none;
}

.btc-wallets-table tbody tr:hover {
  background: rgba(247, 147, 26, 0.05);
}

.btc-wallets-table tr.is-solved td {
  color: #64748b;
}

.btc-col-number {
  font-weight: 600;
  color: #f7931a;
}

.btc-wallets-table tr.is-solved .btc-col-number {
  color: #64748b;
}

.btc-col-range sup {
  font-size: 0.7em;
}

.btc-address-link {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  color: #cbd5e1;
  text-decoration: none;
}

.btc-address-link:hover {
  color: #f7931a;
  text-decoration: underline;
}

tr.is-solved .btc-address-link {
  color: #64748b;
}

.btc-col-prize {
  font-weight: 600;
}

tr.is-unsolved .btc-col-prize {
  color: #f7931a;
}

.btc-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.btc-badge.solved {
  background: rgba(100, 116, 139, 0.2);
  color: #94a3b8;
}

.btc-badge.unsolved {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

/* Source note */
.btc-puzzle-source {
  margin-top: 1.5rem;
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
}

.btc-puzzle-source a {
  color: #94a3b8;
}

.btc-puzzle-source a:hover {
  color: #f7931a;
}

@media (max-width: 640px) {
  .thousand-btc-page {
    padding: 2rem 0.5rem;
  }

  .btc-puzzle-intro {
    padding: 1.25rem;
  }

  .btc-wallets-table th,
  .btc-wallets-table td {
    padding: 0.55rem 0.65rem;
  }

  .btc-address-link {
    font-size: 0.75rem;
  }
}
