/* =========================
   Crypto Info Page
========================= */

.cryptoInfo {
  height:100vh;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Noto Sans KR", Arial, sans-serif;
  color: #1f2937;
}

.cryptoInfo__title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 24px;
}

/* -------------------------
   Layout
------------------------- */
.cryptoInfo__layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
}

/* -------------------------
   Coin List (Left)
------------------------- */
.coinList {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
  padding: 14px 0;
}

.coinList ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.coinList li {
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  border-left: 4px solid transparent;
}

.coinList li:hover {
  background: #f1f5f9;
}

.coinList li.active {
  background: #eef6ff;
  border-left-color: #2563eb;
  color: #1d4ed8;
}

/* -------------------------
   Coin Detail (Right)
------------------------- */
.coinDetail {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  padding: 28px 32px;
}

/* -------------------------
   Coin Header
------------------------- */
.coinHeader {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.coinHeader h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
}

.coinHeader h2 span {
  font-size: 14px;
  font-weight: 700;
  color: #6b7280;
  margin-left: 6px;
}

.coinSubtitle {
  margin-top: 6px;
  font-size: 14px;
  color: #4b5563;
}

.coinHeader a {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
}

.coinHeader a:hover {
  text-decoration: underline;
}

/* -------------------------
   Info Table
------------------------- */
.coinTable {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
}

.coinTable th,
.coinTable td {
  padding: 12px 10px;
  font-size: 14px;
  vertical-align: top;
}

.coinTable th {
  width: 160px;
  color: #6b7280;
  font-weight: 700;
  text-align: left;
}

.coinTable tr {
  border-bottom: 1px solid #f1f5f9;
}

/* -------------------------
   Text Sections
------------------------- */
.coinBlock h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 26px 0 10px;
}

.coinBlock p {
  font-size: 14px;
  line-height: 1.7;
  color: #374151;
}

.coinBlock ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.coinBlock li {
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
}

/* -------------------------
   Responsive
------------------------- */
@media (max-width: 900px) {
  .cryptoInfo__layout {
    grid-template-columns: 1fr;
  }

  .coinList {
    order: 2;
  }

  .coinDetail {
    order: 1;
  }
}

/* CRYPTO INFO theme overrides */
.cryptoInfo {
  background: var(--bg);
  color: var(--text);
}

.cryptoInfo__title {
  color: var(--text);
}

.coinList,
.coinDetail {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.coinList li {
  color: var(--text);
  border-left: 3px solid transparent;
}

.coinList li:hover {
  background: var(--surface2);
}

.coinList li.active {
  background: var(--surface2);
  border-left-color: var(--primary);
}

.coinTable th {
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.coinTable td {
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.coinBlock h3 {
  color: var(--text);
}
.coinBlock p,
.coinBlock li,
.coinSubtitle {
  color: var(--muted);
}

/* 링크 */
#coinOfficial {
  color: var(--primary);
}
#coinOfficial:hover {
  color: var(--primary2);
}
