/* ================================================================
   PROMPT VAULT STYLES
   Extends style.css for the Prompt Engineering Library
================================================================ */

.pr-hero {
  padding: 180px 5% 80px;
  background: var(--surf);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.pr-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 1200px;
  background: radial-gradient(circle, rgba(196,255,71,.03) 0%, transparent 60%);
  pointer-events: none;
}
.pr-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(196,255,71,0.1);
  color: var(--lime);
  font-family: var(--fm);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid rgba(196,255,71,0.3);
}
.pr-title {
  font-family: var(--fh);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 5rem);
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.pr-desc {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Search & Filters */
.pr-controls {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.pr-search {
  width: 100%;
  padding: 20px 24px;
  background: var(--ink);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1.2rem;
  color: var(--white);
  font-family: var(--fb);
  transition: border-color 0.3s, box-shadow 0.3s;
  margin-bottom: 24px;
}
.pr-search:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 4px rgba(196,255,71,0.1);
}
.pr-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.pf-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 20px;
  font-family: var(--fm);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  transition: all 0.3s var(--ease);
}
.pf-btn:hover, .pf-btn.active {
  background: rgba(196,255,71,0.08);
  border-color: rgba(196,255,71,0.3);
  color: var(--lime);
}

/* Grid layout */
.pr-vault {
  padding: 80px 5% 120px;
  max-width: 1400px;
  margin: 0 auto;
}
.pr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 30px;
}

/* Prompt Card */
.pcard {
  background: var(--ink3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.pcard:hover {
  transform: translateY(-4px);
  border-color: var(--bord2);
}
.pc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.pc-cat {
  font-family: var(--fm);
  font-size: 0.65rem;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: rgba(255,87,34,0.1);
  padding: 4px 10px;
  border-radius: 4px;
}
.pc-copy {
  background: var(--surf);
  border: 1px solid var(--border);
  color: var(--dim);
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.pc-copy:hover {
  color: var(--lime);
  border-color: var(--lime);
}
.pc-copy.copied {
  background: var(--lime);
  color: #000;
  border-color: var(--lime);
}
.pc-title {
  font-family: var(--fh);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.3;
}
.pc-body {
  background: #0d0d12;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
  font-family: var(--fm);
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  white-space: pre-wrap;
  flex: 1;
  max-height: 200px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.pc-body::-webkit-scrollbar {
  width: 4px;
}
.pc-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

/* Lock state for the rest of 300+ prompts */
.pr-locked {
  margin-top: 60px;
  text-align: center;
  padding: 60px 5%;
  background: linear-gradient(180deg, transparent, rgba(196,255,71,0.05));
  border: 1px solid var(--border);
  border-radius: 8px;
}
.pr-locked h3 {
  font-family: var(--fh);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 16px;
}
.pr-locked p {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 30px;
}
.pr-lbtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--lime);
  color: #000;
  padding: 16px 32px;
  font-family: var(--fm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  transition: transform 0.3s var(--ease);
}
.pr-lbtn:hover {
  transform: scale(1.05);
}
