/* Explore CSS v2 */
.explore-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 7rem 2rem 5rem;
  position: relative;
  z-index: 1;
}

/* HEADER */
.explore-header {
  text-align: center;
  margin-bottom: 3rem;
}

.explore-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 0.6rem;
  background: linear-gradient(135deg, var(--text-1) 40%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeUp 0.6s ease both;
}

.explore-header p {
  color: var(--text-2);
  font-size: 1rem;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s 0.1s ease both;
}

/* SEARCH BAR */
.explore-search {
  display: flex;
  align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 0.45rem 0.45rem 0.45rem 1.25rem;
  max-width: 620px;
  margin: 0 auto;
  transition: border-color 0.2s, box-shadow 0.2s;
  animation: fadeUp 0.6s 0.15s ease both;
}

.explore-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.search-icon {
  font-size: 0.9rem;
  flex-shrink: 0;
  opacity: 0.5;
}

.explore-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-1);
  font-family: var(--font);
  font-size: 0.9rem;
  padding: 0.35rem 0.75rem;
}

.explore-search input::placeholder {
  color: var(--text-3);
}

.explore-search button {
  background: linear-gradient(135deg, var(--accent), #0099cc);
  color: #000;
  border: none;
  border-radius: 100px;
  padding: 0.55rem 1.5rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.explore-search button:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

/* STATS */
.explore-stats {
  font-size: 0.82rem;
  color: var(--text-3);
  margin-bottom: 1.75rem;
  min-height: 1.5em;
  font-family: var(--mono);
  letter-spacing: 0.3px;
}

/* GRID */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

/* EXPLORE CARD */
.explore-card {
  background: var(--bg-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--r);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.explore-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 0.25s;
}

.explore-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 212, 255, 0.05);
}

.explore-card:hover::before {
  opacity: 1;
}

.ec-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.ec-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ec-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-1);
  text-decoration: none;
  transition: color 0.15s;
}

.ec-name:hover {
  color: var(--accent);
}

.ec-author {
  font-size: 0.75rem;
  color: var(--text-3);
  text-decoration: none;
  font-family: var(--mono);
  transition: color 0.15s;
}

.ec-author:hover {
  color: var(--text-2);
}

.ec-desc {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.6;
  flex: 1;
}

.ec-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.73rem;
  color: var(--text-3);
  font-family: var(--mono);
}

.ec-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.ec-btn {
  flex: 1;
  background: var(--bg-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  padding: 0.45rem 0.75rem;
  color: var(--text-2);
  font-size: 0.78rem;
  font-family: var(--font);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.15s;
}

.ec-btn:hover {
  border-color: rgba(0, 212, 255, 0.3);
  color: var(--accent);
  background: rgba(0, 212, 255, 0.05);
}

/* EMPTY / LOADING STATE */
.explore-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 5rem 2rem;
  color: var(--text-3);
}

.explore-empty .empty-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  opacity: 0.4;
}

.explore-empty p {
  font-size: 0.9rem;
}

/* PAGINATION */
.explore-pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.page-btn {
  background: var(--bg-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  padding: 0.48rem 0.9rem;
  color: var(--text-2);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.page-btn:hover {
  border-color: rgba(0, 212, 255, 0.3);
  color: var(--accent);
  background: rgba(0, 212, 255, 0.05);
}

.page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 700;
}

.page-dots {
  color: var(--text-3);
  padding: 0.48rem 0.5rem;
  font-size: 0.82rem;
}