/* ========================================================
   Gen Z Slang Translator — WordPress Plugin Stylesheet
   All classes are prefixed with "gzst-" to avoid conflicts
   ======================================================== */

/* ── Root / Reset ── */
.gzst-wrap * {
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-sizing: border-box;
}
.gzst-wrap {
  width: 100%;
  max-width: 100%;
  padding: 24px 0 48px;
  background: transparent;
  color: #111827;
}

/* ── Utilities ── */
.gzst-hidden { display: none !important; }
.gzst-gradient-text {
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Badge ── */
.gzst-badge-row { display: flex; justify-content: center; margin-bottom: 32px; }
.gzst-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 9999px;
  border: 1px solid #e5e7eb; background: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #6b7280;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

/* ── Headings ── */
.gzst-h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800; text-align: center;
  line-height: 1.15; margin-bottom: 20px;
  color: #111827;
}
.gzst-subtitle {
  text-align: center; color: #6b7280; font-size: 1.05rem;
  margin-bottom: 40px; max-width: 520px; margin-left: auto;
  margin-right: auto; line-height: 1.65;
}

/* ── Search ── */
.gzst-search-row {
  display: flex; align-items: center; gap: 0;
  background: #fff; border: 2px solid #e9d5ff;
  border-radius: 9999px; box-shadow: 0 4px 16px rgba(0,0,0,.07);
  padding: 8px 12px; margin-bottom: 16px;
  transition: box-shadow .2s;
}
.gzst-search-row:focus-within {
  box-shadow: 0 0 0 4px rgba(168,85,247,.2), 0 4px 16px rgba(0,0,0,.07);
}
.gzst-search-icon {
  width: 20px; height: 20px; color: #9ca3af;
  margin-left: 8px; margin-right: 4px; flex-shrink: 0;
}
.gzst-search-input {
  flex: 1; background: transparent; border: none; outline: none;
  font-size: 1rem; color: #374151; padding: 6px 12px;
  font-family: inherit;
}
.gzst-search-input::placeholder { color: #9ca3af; }
.gzst-translate-btn {
  flex-shrink: 0; padding: 10px 24px; border-radius: 9999px;
  background: #a855f7; color: #fff; font-weight: 700;
  font-size: .875rem; border: none; cursor: pointer;
  transition: background .15s; font-family: inherit;
}
.gzst-translate-btn:hover { background: #9333ea; }
.gzst-search-hint {
  text-align: center; font-size: .75rem; color: #9ca3af; margin-bottom: 32px;
}

/* ── Result Area ── */
.gzst-result-area { margin-bottom: 40px; }

.gzst-state-idle,
.gzst-state-loading {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 40px 16px; color: #9ca3af;
  font-size: .875rem; font-weight: 500;
}
.gzst-idle-icon {
  width: 48px; height: 48px; margin-bottom: 12px; color: #e5e7eb;
}
.gzst-spinner {
  width: 32px; height: 32px; border-radius: 50%;
  border: 4px solid #e9d5ff; border-top-color: #a855f7;
  animation: gzst-spin .7s linear infinite;
  margin-bottom: 12px;
}
@keyframes gzst-spin { to { transform: rotate(360deg); } }

/* Found state */
.gzst-result-card {
  background: #fff; border-radius: 24px;
  border: 1px solid #f3f4f6;
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
  padding: 32px;
  animation: gzst-fadeUp .25s ease;
}
@keyframes gzst-fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.gzst-result-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.gzst-result-term-row { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.gzst-result-term { font-size: 1.5rem; font-weight: 800; color: #111827; margin: 0; }
.gzst-result-source {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 10px;
  border-radius: 9999px; background: #faf5ff; color: #9333ea;
}
.gzst-result-pron { font-size: .875rem; color: #9ca3af; font-family: monospace; }
.gzst-divider { height: 1px; background: #f9fafb; margin-bottom: 20px; }
.gzst-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #9ca3af; margin: 0 0 8px;
}
.gzst-result-body { margin-bottom: 8px; }
.gzst-result-meaning { color: #374151; font-size: 1.1rem; line-height: 1.6; font-weight: 500; margin: 0; }
.gzst-example-wrap {
  background: #f9fafb; border-radius: 16px; padding: 16px 20px; margin-top: 20px;
}
.gzst-result-example { color: #6b7280; font-size: .875rem; font-style: italic; line-height: 1.6; margin: 0; }
.gzst-result-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

.gzst-btn-copy {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 9999px;
  border: 1px solid #e5e7eb; background: #fff;
  font-size: .875rem; font-weight: 500; color: #4b5563;
  cursor: pointer; transition: background .15s; font-family: inherit;
}
.gzst-btn-copy:hover { background: #f9fafb; }
.gzst-btn-icon { width: 16px; height: 16px; }
.gzst-btn-tw {
  padding: 8px 16px; border-radius: 9999px;
  background: #0ea5e9; color: #fff;
  font-size: .875rem; font-weight: 700;
  border: none; cursor: pointer; transition: background .15s; font-family: inherit;
}
.gzst-btn-tw:hover { background: #0284c7; }
.gzst-btn-wa {
  padding: 8px 16px; border-radius: 9999px;
  background: #22c55e; color: #fff;
  font-size: .875rem; font-weight: 700;
  border: none; cursor: pointer; transition: background .15s; font-family: inherit;
}
.gzst-btn-wa:hover { background: #16a34a; }

/* Not found */
.gzst-not-found {
  background: #fff; border-radius: 24px;
  border: 1px solid #fde68a;
  box-shadow: 0 8px 32px rgba(0,0,0,.07);
  padding: 32px; text-align: center;
  animation: gzst-fadeUp .25s ease;
}
.gzst-nf-emoji { font-size: 2.5rem; margin: 0 0 12px; }
.gzst-nf-title { font-size: 1.25rem; font-weight: 800; color: #1f2937; margin: 0 0 8px; }
.gzst-nf-desc { color: #6b7280; font-size: .875rem; margin: 0; }

/* ── Trending Chips ── */
.gzst-trending-wrap { margin-bottom: 64px; }
.gzst-trending-header { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.gzst-trending-title { font-size: 1.1rem; font-weight: 800; color: #1f2937; margin: 0; }
.gzst-trending-arrow { color: #9ca3af; font-size: .875rem; }
.gzst-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gzst-chip {
  padding: 6px 14px; border-radius: 9999px;
  border: 1px solid #e5e7eb; background: #fff;
  color: #4b5563; font-size: .875rem; font-weight: 500;
  cursor: pointer; transition: background .15s, color .15s;
  font-family: inherit;
}
.gzst-chip:hover { background: #a855f7; color: #fff; border-color: #a855f7; }

/* ── Sections ── */
.gzst-section { margin-bottom: 64px; }
.gzst-section-divider {
  display: flex; align-items: center; gap: 16px; margin-bottom: 40px;
}
.gzst-section-divider::before,
.gzst-section-divider::after {
  content: ""; flex: 1; height: 1px; background: #f3f4f6;
}
.gzst-section-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #d1d5db;
}
.gzst-section-h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800; color: #111827; line-height: 1.2;
  margin: 0 0 20px;
}
.gzst-body-text { color: #6b7280; line-height: 1.7; margin: 0 0 20px; }

/* ── Highlight Box ── */
.gzst-highlight-box {
  background: linear-gradient(to right, #faf5ff, #fdf2f8);
  border: 1px solid #e9d5ff;
  border-radius: 24px; padding: 24px 32px; margin-bottom: 32px;
}
.gzst-highlight-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #a855f7; margin: 0 0 12px;
}
.gzst-highlight-text {
  font-size: 1.1rem; font-weight: 600; color: #1f2937; line-height: 1.6; margin: 0;
}

/* ── 2-col Cards ── */
.gzst-cards-2col {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gzst-card {
  background: #fff; border-radius: 16px;
  border: 1px solid #f3f4f6;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  padding: 24px;
}
.gzst-card-flex { display: flex; align-items: flex-start; gap: 16px; }
.gzst-card-emoji { font-size: 1.75rem; margin-bottom: 12px; }
.gzst-card-big-emoji { font-size: 1.75rem; flex-shrink: 0; margin-top: 2px; }
.gzst-card-title { font-weight: 700; color: #1f2937; margin: 0 0 8px; font-size: .95rem; }
.gzst-card-text { font-size: .875rem; color: #6b7280; line-height: 1.6; margin: 0; }

/* ── Term Cards ── */
.gzst-term-card {
  border-radius: 16px; padding: 20px;
}
.gzst-term-name { font-weight: 900; font-size: 1.1rem; margin: 0 0 8px; }
.gzst-term-def  { font-size: .875rem; line-height: 1.6; margin: 0; }
.gzst-span-2    { grid-column: span 2; }

.gzst-term-purple { background: linear-gradient(135deg,#faf5ff,#f3e8ff); border: 1px solid #d8b4fe; }
.gzst-term-purple .gzst-term-name { color: #7e22ce; }
.gzst-term-purple .gzst-term-def  { color: rgba(88,28,135,.7); }

.gzst-term-pink { background: linear-gradient(135deg,#fdf2f8,#fce7f3); border: 1px solid #f9a8d4; }
.gzst-term-pink .gzst-term-name { color: #be185d; }
.gzst-term-pink .gzst-term-def  { color: rgba(131,24,67,.7); }

.gzst-term-amber { background: linear-gradient(135deg,#fffbeb,#fef3c7); border: 1px solid #fde68a; }
.gzst-term-amber .gzst-term-name { color: #b45309; }
.gzst-term-amber .gzst-term-def  { color: rgba(120,53,15,.7); }

.gzst-term-gray { background: linear-gradient(135deg,#f9fafb,#f3f4f6); border: 1px solid #e5e7eb; }
.gzst-term-gray .gzst-term-name { color: #374151; }
.gzst-term-gray .gzst-term-def  { color: rgba(55,65,81,.7); }

.gzst-term-red { background: linear-gradient(135deg,#fff1f2,#ffe4e6); border: 1px solid #fca5a5; }
.gzst-term-red .gzst-term-name { color: #b91c1c; }
.gzst-term-red .gzst-term-def  { color: rgba(127,29,29,.7); }

.gzst-term-emerald { background: linear-gradient(135deg,#ecfdf5,#d1fae5); border: 1px solid #6ee7b7; }
.gzst-term-emerald .gzst-term-name { color: #065f46; }
.gzst-term-emerald .gzst-term-def  { color: rgba(6,78,59,.7); }

.gzst-term-violet { background: linear-gradient(135deg,#f5f3ff,#ede9fe); border: 1px solid #c4b5fd; }
.gzst-term-violet .gzst-term-name { color: #5b21b6; }
.gzst-term-violet .gzst-term-def  { color: rgba(46,16,101,.7); }

@media (max-width: 500px) {
  .gzst-span-2 { grid-column: span 1; }
}

/* ── Reference Table ── */
.gzst-table-wrap { border-radius: 24px; border: 1px solid #f3f4f6; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.gzst-table-header {
  background: #111827; padding: 16px 24px;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #9ca3af;
}
.gzst-table-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 24px;
}
.gzst-table-row:nth-child(odd)  { background: #fff; }
.gzst-table-row:nth-child(even) { background: rgba(249,250,251,.5); }
.gzst-table-slang { font-weight: 700; color: #111827; width: 112px; flex-shrink: 0; }
.gzst-table-sep   { width: 1px; height: 16px; background: #e5e7eb; flex-shrink: 0; }
.gzst-table-def   { color: #6b7280; font-size: .875rem; }

/* ── List Stack ── */
.gzst-list-stack { display: flex; flex-direction: column; gap: 12px; }
.gzst-list-item {
  display: flex; align-items: flex-start; gap: 16px;
  background: #fff; border-radius: 16px;
  border: 1px solid #f3f4f6;
  box-shadow: 0 1px 3px rgba(0,0,0,.05); padding: 20px;
}
.gzst-list-emoji { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.gzst-list-title { font-weight: 700; color: #1f2937; margin: 0 0 4px; font-size: .95rem; }
.gzst-list-text  { font-size: .875rem; color: #6b7280; line-height: 1.6; margin: 0; }

/* ── Steps ── */
.gzst-step-item {
  display: flex; align-items: flex-start; gap: 20px;
  background: #fff; border-radius: 16px;
  border: 1px solid #f3f4f6;
  box-shadow: 0 1px 3px rgba(0,0,0,.05); padding: 20px;
}
.gzst-step-num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: #a855f7; color: #fff; font-size: .8rem;
  font-weight: 900; display: flex; align-items: center; justify-content: center;
}
.gzst-step-title { font-weight: 700; color: #1f2937; margin: 0 0 4px; font-size: .95rem; }

/* ── Context Items ── */
.gzst-context-stack { display: flex; flex-direction: column; gap: 12px; }
.gzst-context-item {
  background: #fff; border-radius: 16px;
  border: 1px solid #f3f4f6;
  box-shadow: 0 1px 3px rgba(0,0,0,.05); padding: 20px;
}
.gzst-context-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.gzst-context-row strong { color: #374151; font-weight: 700; }
.gzst-context-text { font-size: .875rem; color: #6b7280; margin: 0; }
.gzst-badge-pill {
  padding: 4px 12px; border-radius: 9999px;
  font-size: .8rem; font-weight: 700;
}
.gzst-badge-green  { background: #dcfce7; color: #15803d; }
.gzst-badge-red    { background: #fee2e2; color: #b91c1c; }
.gzst-badge-amber  { background: #fef3c7; color: #92400e; }
.gzst-badge-purple { background: #f3e8ff; color: #7e22ce; }

/* ── FAQ ── */
.gzst-faq-list { display: flex; flex-direction: column; gap: 12px; }
.gzst-faq-item {
  border-radius: 16px; border: 1px solid #f3f4f6;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.05);
  overflow: hidden;
}
.gzst-faq-btn {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  padding: 20px 24px; text-align: left;
  background: transparent; border: none; cursor: pointer;
  font-family: inherit;
}
.gzst-faq-question { font-weight: 700; color: #1f2937; font-size: .9rem; line-height: 1.45; }
.gzst-faq-toggle {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: #f3f4f6; display: flex; align-items: center;
  justify-content: center; transition: background .2s, color .2s;
}
.gzst-faq-toggle.open { background: #a855f7; }
.gzst-faq-chevron {
  width: 16px; height: 16px; color: #9ca3af;
  transition: transform .2s ease;
}
.gzst-faq-toggle.open .gzst-faq-chevron { transform: rotate(180deg); color: #fff; }
.gzst-faq-answer {
  display: none; padding: 0 24px 20px;
}
.gzst-faq-answer.open {
  display: block; animation: gzst-fadeUp .2s ease;
}
.gzst-faq-sep { height: 1px; background: #f9fafb; margin-bottom: 16px; }
.gzst-faq-text { font-size: .875rem; color: #6b7280; line-height: 1.65; margin: 0; }

/* ── CTA Box ── */
.gzst-cta-box {
  border-radius: 24px;
  background: linear-gradient(135deg, #111827 0%, #1f2937 50%, #111827 100%);
  padding: 48px 32px; text-align: center;
}
.gzst-cta-eyebrow {
  font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #c084fc; margin: 0 0 16px;
}
.gzst-cta-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800; color: #fff; margin: 0 0 16px; line-height: 1.2;
}
.gzst-cta-accent { color: #c084fc; }
.gzst-cta-desc {
  color: #9ca3af; line-height: 1.7; max-width: 560px;
  margin: 0 auto 32px;
}
.gzst-cta-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.gzst-cta-pill {
  padding: 8px 16px; border-radius: 9999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.7);
}

/* ── Responsive tweaks ── */
@media (max-width: 600px) {
  .gzst-wrap { padding: 32px 12px 64px; }
  .gzst-result-card { padding: 20px; }
  .gzst-result-actions { flex-direction: column; }
  .gzst-result-actions button { width: 100%; justify-content: center; }
  .gzst-cta-box { padding: 32px 20px; }
  .gzst-table-slang { width: 80px; }
}
