/* PolySoCal — Are You A Slut? — Quiz Styles */

:root {
  --psq-primary:       #7b3f6e;
  --psq-primary-dark:  #5e2e54;
  --psq-primary-light: #f5edf3;
  --psq-border:        #e0cedd;
  --psq-text:          #2a2a2a;
  --psq-muted:         #666666;
  --psq-gold:          #c9a84c;
  --psq-gold-light:    #fdf6e3;
  --psq-card-bg:       #fdf8fc;
  --psq-correct:       #2d6a4f;
  --psq-bar-track:     #e8d5e4;
}

#psq-wrap {
  font-family: Arial, sans-serif;
  max-width: 680px;
  margin: 0 auto;
  padding: 20px;
  color: var(--psq-text);
}

.psq-screen { display: none; }
.psq-screen.active { display: block; }

/* ---- CARD ---- */
.psq-card {
  background: var(--psq-card-bg);
  border: 1px solid var(--psq-border);
  border-radius: 10px;
  padding: 32px 28px;
  margin-bottom: 20px;
}

.psq-center { text-align: center; }

/* ---- LOGO ---- */
.psq-logo    { display: block; max-width: 140px; margin: 0 auto 20px; }
.psq-logo-sm { display: block; max-width: 80px;  margin: 0 auto 16px; }

/* ---- TYPOGRAPHY ---- */
.psq-title {
  font-family: Georgia, serif;
  font-size: 2.2em;
  color: var(--psq-primary);
  margin: 0 0 8px;
  line-height: 1.2;
}

.psq-subtitle {
  font-size: 1em;
  color: var(--psq-muted);
  margin-bottom: 24px;
}

.psq-section-title {
  font-family: Georgia, serif;
  font-size: 1.5em;
  color: var(--psq-primary);
  margin: 0 0 8px;
  text-align: center;
}

.psq-sub {
  text-align: center;
  color: var(--psq-muted);
  font-size: 0.88em;
  margin-bottom: 28px;
  line-height: 1.5;
}

.psq-hint {
  font-size: 0.8em;
  color: var(--psq-muted);
  font-style: italic;
  margin: 4px 0 8px;
}

/* ---- DISCLAIMER BOX ---- */
.psq-disclaimer-box {
  background: var(--psq-primary-light);
  border: 1px solid var(--psq-border);
  border-radius: 8px;
  padding: 20px 24px;
  text-align: left;
  margin-bottom: 24px;
}

.psq-disclaimer-box h3 {
  font-family: Georgia, serif;
  color: var(--psq-primary);
  margin: 0 0 12px;
  font-size: 1.05em;
}

.psq-disclaimer-box p {
  font-size: 0.88em;
  color: var(--psq-text);
  margin: 0 0 10px;
  line-height: 1.6;
}

.psq-disclaimer-box p:last-child { margin-bottom: 0; }

/* ---- AGE GATE ---- */
.psq-age-gate {
  margin-bottom: 20px;
}

.psq-checkbox-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9em;
  color: var(--psq-text);
  cursor: pointer;
}

.psq-checkbox-label input[type=checkbox] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--psq-primary);
}

/* ---- BASELINE FORM ---- */
.psq-form-group {
  margin-bottom: 24px;
}

.psq-label {
  display: block;
  font-weight: bold;
  font-size: 0.9em;
  color: var(--psq-text);
  margin-bottom: 10px;
}

.psq-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.psq-option-btn {
  padding: 10px 16px;
  background: white;
  border: 2px solid var(--psq-border);
  border-radius: 6px;
  font-size: 0.88em;
  font-family: Arial, sans-serif;
  color: var(--psq-text);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.psq-option-btn:hover {
  border-color: var(--psq-primary);
  background: var(--psq-primary-light);
}

.psq-option-btn.selected {
  border-color: var(--psq-primary);
  background: var(--psq-primary);
  color: white;
  font-weight: bold;
}

/* ---- BUTTONS ---- */
.psq-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 0.95em;
  font-family: Arial, sans-serif;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border: none;
  text-decoration: none;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.psq-btn-primary {
  background: var(--psq-primary);
  color: white;
}
.psq-btn-primary:hover:not(:disabled) { background: var(--psq-primary-dark); }
.psq-btn-primary:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.psq-btn-secondary {
  background: transparent;
  color: var(--psq-primary);
  border: 2px solid var(--psq-primary);
}
.psq-btn-secondary:hover { background: var(--psq-primary-light); }
.psq-btn-secondary.copied {
  background: var(--psq-correct);
  border-color: var(--psq-correct);
  color: white;
}

.psq-btn-lg {
  width: 100%;
  padding: 15px;
  font-size: 1.05em;
  margin-top: 8px;
}

/* ---- PROGRESS BAR ---- */
.psq-progress-wrap {
  height: 6px;
  background: var(--psq-bar-track);
  border-radius: 4px;
  margin-bottom: 20px;
  overflow: hidden;
}

.psq-progress-fill {
  height: 100%;
  background: var(--psq-primary);
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* ---- QUESTION ---- */
.psq-q-meta {
  margin-bottom: 12px;
}

.psq-q-num {
  font-size: 0.78em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--psq-muted);
}

.psq-q-text {
  font-family: Georgia, serif;
  font-size: 1.4em;
  line-height: 1.55;
  color: var(--psq-text);
  margin-bottom: 24px;
  text-align: center;
}

/* ---- ANSWER BUTTONS ---- */
.psq-options {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.psq-answer-btn {
  width: 100%;
  padding: 14px 18px;
  background: white;
  border: 2px solid var(--psq-border);
  border-radius: 6px;
  font-size: 0.95em;
  font-family: Arial, sans-serif;
  color: var(--psq-text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  line-height: 1.4;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.psq-answer-btn:hover {
  border-color: var(--psq-primary);
  background: var(--psq-primary-light);
}

.psq-answer-btn.selected {
  border-color: var(--psq-primary);
  background: var(--psq-primary);
  color: white;
  font-weight: bold;
}

/* ---- CERTIFICATE ---- */
.psq-certified-banner {
  background: linear-gradient(135deg, var(--psq-primary) 0%, #c97d3f 50%, var(--psq-gold) 100%);
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 0.78em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 8px 8px 0 0;
  margin-bottom: -10px;
}

.psq-certificate {
  background: var(--psq-card-bg);
  border: 3px solid var(--psq-primary);
  border-radius: 10px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}

.psq-certificate.certified {
  border-color: var(--psq-gold);
  background: linear-gradient(160deg, #fdf8fc 0%, var(--psq-gold-light) 100%);
}

.psq-certificate::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid var(--psq-border);
  border-radius: 6px;
  pointer-events: none;
}

.psq-cert-inner { position: relative; z-index: 1; }

.psq-cert-presents {
  font-size: 0.78em;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--psq-muted);
  margin-bottom: 10px;
}

.psq-cert-title {
  font-family: Georgia, serif;
  font-size: 2em;
  color: var(--psq-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.psq-cert-title.certified {
  color: var(--psq-gold);
  font-size: 2.4em;
  text-shadow: 0 0 20px rgba(201, 168, 76, 0.4);
}

.psq-cert-score-wrap {
  margin-bottom: 16px;
}

.psq-cert-score {
  font-size: 4em;
  font-weight: bold;
  color: var(--psq-primary);
  line-height: 1;
}

.psq-cert-score.certified { color: var(--psq-gold); }

.psq-cert-score-label {
  font-size: 0.82em;
  color: var(--psq-muted);
}

.psq-cert-flavor {
  font-style: italic;
  color: var(--psq-muted);
  font-size: 0.95em;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 20px;
}

.psq-enm-note {
  font-size: 0.8em;
  color: var(--psq-primary);
  font-style: italic;
  margin-bottom: 16px;
}

/* Wax seal effect */
.psq-cert-seal {
  margin: 16px auto 12px;
}

.psq-seal-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #9a5e8a, var(--psq-primary-dark));
  border: 3px solid var(--psq-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.psq-seal-text {
  color: white;
  font-size: 0.52em;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-transform: uppercase;
}

.psq-cert-date {
  font-size: 0.72em;
  color: var(--psq-muted);
  margin-top: 8px;
}

/* ---- SHARE SECTION ---- */
.psq-share-section {
  text-align: center;
}

.psq-share-section p {
  font-size: 0.88em;
  color: var(--psq-muted);
  margin-bottom: 12px;
}

.psq-share-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.psq-share-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--psq-border);
  border-radius: 6px;
  font-size: 0.8em;
  color: var(--psq-muted);
  background: white;
}

/* ---- SHARED BANNER ---- */
.psq-shared-banner {
  background: var(--psq-primary-light);
  border: 1px solid var(--psq-border);
  border-radius: 8px;
  padding: 14px 20px;
  text-align: center;
  margin-bottom: 20px;
  font-size: 0.88em;
  color: var(--psq-muted);
  line-height: 1.5;
}

.psq-shared-banner strong { color: var(--psq-primary); }

/* ---- RESPONSIVE ---- */
@media (max-width: 520px) {
  .psq-card { padding: 20px 16px; }
  .psq-cert-title { font-size: 1.5em; }
  .psq-cert-score { font-size: 3em; }
  .psq-share-row  { flex-direction: column; }
  .psq-btn-group  { flex-direction: column; }
  .psq-option-btn { width: 100%; text-align: left; }
}
