
/* Coin Collection Page Styles */
.coin-gallery {
  margin-top: 2rem;
  padding: 1rem;
  background: #141414;
  border: 2px solid #f0f; /* magenta accent */
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(255,0,255,0.12);
}

.coin-gallery h2 {
  font-family: 'Verdana', sans-serif;
  color: #f0f;
  margin-bottom: 0.25rem;
}

.gallery-hint {
  color: #aaa;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.coin-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  justify-items: center;
}

.coin-photos img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border: 2px solid #333;
  border-radius: 8px;
  background: #000;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.coin-photos img:hover {
  transform: scale(1.05);
  border-color: #0ff;
  box-shadow: 0 0 16px rgba(0,255,255,0.2);
}

.coin-catalog {
  margin-top: 2rem;
  padding: 1rem;
  background: #141414;
  border: 2px solid #00f; /* blue accent */
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(0,0,255,0.12);
  overflow-x: auto;
}

.coin-catalog h2 {
  font-family: 'Verdana', sans-serif;
  color: #fff;
  margin-bottom: 0.25rem;
}

.catalog-hint {
  color: #aaa;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.coin-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Courier New', monospace;
  color: #eee;
}

.coin-table th,
.coin-table td {
  padding: 0.5rem; /* may try .75rem */
  border: 1px solid #333;
  text-align: left;
  vertical-align: top;
}

.coin-table th {
  background: #222;
  color: #0ff;
  font-weight: bold;
}

.coin-table tbody tr:nth-child(even) {
  background: #1a1a1a;
}

.coin-table tbody tr:hover {
  background: #2a2a2a;
}

/* mobile styling for coin table */
@media (max-width: 768px) {
  .coin-table,
  .coin-table thead,
  .coin-table tbody,
  .coin-table th,
  .coin-table td,
  .coin-table tr {
    display: block;
  }

  .coin-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .coin-table tbody tr {
    margin-bottom: 1rem;
    border: 1px solid #333;
    border-radius: 8px;
    background: #1a1a1a;
    padding: 0.5rem;
  }

  .coin-table td {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0.5rem;
    border: none;
    border-bottom: 1px solid #2b2b2b;
    padding: 0.6rem 0.5rem;
  }

  .coin-table td:last-child {
    border-bottom: none;
  }

  .coin-table td::before {
    content: attr(data-label);
    font-weight: bold;
    color: #0ff;
  }
}

/* Interest Index */
.interests {
  margin-top: 2rem;
  padding: 0;
}

.interests h2 {
  font-family: 'Verdana', sans-serif;
  color: #fff;
  margin-bottom: 1rem;
}

.interest-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.interest-card {
  padding: 1.5rem;
  background: #141414;
  border: 2px solid #f0f; /* magenta accent */
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(255, 0, 255, 0.12);
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.interest-card:hover {
  transform: translateY(-4px);
  border-color: #0ff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.interest-card h3 {
  font-family: 'Verdana', sans-serif;
  color: #f0f;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.interest-description {
  color: #aaa;
  font-size: 0.95rem;
  /* margin-bottom: 1rem; */
  line-height: 1.4;
}

.interest-link {
  display: inline-block;
  color: #0ff;
  font-weight: bold;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 120ms ease, text-shadow 120ms ease;
}

.interest-link:hover {
  border-bottom-color: #0ff;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.8);
}