/* websites-page.css — /websites discovery hub */
.ca-websites {
  --ws-primary: #8254e9;
  --ws-accent: #b06cf7;
  --ws-panel: #ffffff;
  --ws-text: #13131a;
  --ws-muted: #64748b;
  --ws-line: #e6e8f0;
  font-family: system-ui, -apple-system, sans-serif;
}
body.dark-mode .ca-websites {
  --ws-panel: #2a242f;
  --ws-text: #efeff5;
  --ws-muted: #a49fb5;
  --ws-line: #493758;
}

.ca-websites-hero {
  background: linear-gradient(135deg, #1a0a33 0%, #3d2278 55%, #6b3fd4 100%);
  color: #fff;
  border-radius: 20px;
  padding: 42px 24px;
  text-align: center;
  margin-bottom: 24px;
  box-shadow: 0 20px 48px rgba(130, 84, 233, 0.22);
}
.ca-websites-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  margin: 0 0 10px;
}
.ca-websites-hero p {
  margin: 0 auto 20px;
  max-width: 42rem;
  opacity: 0.92;
  font-size: 1.05rem;
}

.ca-websites-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.ca-websites-kpi {
  text-align: center;
  padding: 16px 10px;
  border-radius: 14px;
  background: var(--ws-panel);
  border: 1px solid var(--ws-line);
}
.ca-websites-kpi .num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ws-primary);
}
body.dark-mode .ca-websites-kpi .num { color: #c9b8ff; }
.ca-websites-kpi .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ws-muted);
  font-weight: 600;
}
@media (max-width: 720px) { .ca-websites-kpis { grid-template-columns: repeat(2, 1fr); } }

.ca-websites-search {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.ca-websites-search input {
  flex: 1;
  border: 1px solid rgba(130, 84, 233, 0.28);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 15px;
  background: var(--ws-panel);
  color: var(--ws-text);
}
body.dark-mode .ca-websites-search input {
  background: #1f1a26;
  border-color: rgba(176, 108, 247, 0.32);
}
.ca-websites-search button {
  border: 0;
  border-radius: 14px;
  padding: 12px 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--ws-primary), var(--ws-accent));
  color: #fff;
}

.ca-websites-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.ca-websites-filters select {
  border-radius: 10px;
  border: 1px solid var(--ws-line);
  padding: 8px 12px;
  background: var(--ws-panel);
  color: var(--ws-text);
  font-size: 13px;
  font-weight: 600;
}

.ca-websites-info {
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(130, 84, 233, 0.2);
  background: linear-gradient(135deg, rgba(130, 84, 233, 0.08), rgba(176, 108, 247, 0.03));
  font-size: 13px;
  color: var(--ws-muted);
}
.ca-websites-info b { color: var(--ws-text); }

.ca-websites-stats {
  font-size: 13px;
  color: var(--ws-muted);
  margin-bottom: 14px;
}

.ca-websites-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .ca-websites-grid { grid-template-columns: 1fr; } }

.ca-websites-card {
  border: 1px solid var(--ws-line);
  border-radius: 16px;
  background: var(--ws-panel);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ca-websites-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(130, 84, 233, 0.12);
}
body.dark-mode .ca-websites-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.ca-websites-card-head {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--ws-line);
}
.ca-websites-card-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #0b0714;
}
.ca-websites-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}
.ca-websites-card-title a {
  color: var(--ws-text);
  text-decoration: none;
}
.ca-websites-card-title a:hover { color: var(--ws-primary); }
.ca-websites-card-meta {
  font-size: 12px;
  color: var(--ws-muted);
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.ca-websites-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ca-websites-badge--coin { background: rgba(130, 84, 233, 0.15); color: var(--ws-primary); }
.ca-websites-badge--presale { background: rgba(240, 185, 11, 0.15); color: #b8860b; }
body.dark-mode .ca-websites-badge--presale { color: #fcd34d; }

.ca-websites-card-body {
  padding: 14px 16px;
  flex: 1;
}
.ca-websites-card-desc {
  font-size: 13px;
  color: var(--ws-muted);
  line-height: 1.5;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ca-websites-card-url {
  font-size: 12px;
  color: var(--ws-muted);
  word-break: break-all;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ca-websites-card-url img {
  width: 16px;
  height: 16px;
  border-radius: 3px;
}

.ca-websites-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--ws-line);
  flex-wrap: wrap;
}
.ca-websites-socials {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.ca-websites-socials a {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--ws-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ws-text);
  background: transparent;
  text-decoration: none;
  transition: background 0.15s;
}
.ca-websites-socials a:hover {
  background: rgba(130, 84, 233, 0.12);
  color: var(--ws-primary);
}
.ca-websites-socials svg { width: 14px; height: 14px; }

.ca-websites-ca-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--ws-primary);
  text-decoration: none;
  white-space: nowrap;
}
.ca-websites-ca-link:hover { text-decoration: underline; }

.ca-websites-pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 16px;
  flex-wrap: wrap;
}
.ca-websites-pager .btn {
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}
.ca-websites-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--ws-muted);
  grid-column: 1 / -1;
}