/* =====================================================
   GameVault — SEO content blocks & admin SEO tool
   ===================================================== */

/* ================= Generated copy on the game page ================= */
.seo-intro {
  color: #cbd5e1 !important;
  font-size: 14.5px !important;
  line-height: 1.75 !important;
  margin-bottom: 14px;
}

.seo-sections {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.seo-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.seo-list {
  list-style: none;
  display: grid;
  gap: 11px;
}

.seo-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.6;
}

.seo-list .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--success);
}

.seo-steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 12px;
}

.seo-steps li {
  counter-increment: step;
  position: relative;
  padding-inline-start: 34px;
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.6;
}

.seo-steps li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: var(--primary-hover);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
}

.seo-table th,
.seo-table td {
  padding: 9px 0;
  font-size: 13px;
  text-align: start;
  border-top: 1px solid var(--border);
  vertical-align: top;
}

.seo-table tr:first-child th,
.seo-table tr:first-child td {
  border-top: none;
}

.seo-table th {
  color: var(--text-muted);
  font-weight: 500;
  width: 42%;
  padding-inline-end: 12px;
}

.seo-table td {
  color: #e2e8f0;
  font-weight: 600;
}

.seo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid var(--border);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  transition: all 150ms ease;
}

.seo-chip:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ================= Admin SEO generator ================= */
.seo-tool-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.seo-tool-head h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin-inline-end: auto;
}

.seo-select {
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: #e2e8f0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  max-width: 240px;
}

.seo-select:focus { border-color: var(--primary); }

.seo-out {
  display: grid;
  gap: 14px;
}

.seo-field {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.seo-field-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.seo-field-head label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.seo-len {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.14);
  color: #4ade80;
}

.seo-len.warn { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }

.seo-len.bad { background: rgba(239, 68, 68, 0.15); color: #f87171; }

.seo-copy {
  margin-inline-start: auto;
  height: 28px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 600;
  transition: all 150ms ease;
}

.seo-copy:hover { border-color: var(--primary); color: #fff; }

.seo-value {
  font-size: 13.5px;
  color: #e2e8f0;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.seo-value.mono {
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
  font-size: 12px;
  color: #94a3b8;
  max-height: 220px;
  overflow: auto;
}

/* Google result preview */
.serp {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  direction: ltr;
  text-align: left;
}

.serp-url { color: #202124; font-size: 12.5px; }

.serp-title {
  color: #1a0dab;
  font-size: 18px;
  line-height: 1.3;
  margin: 3px 0 4px;
  font-weight: 400;
}

.serp-desc { color: #4d5156; font-size: 13px; line-height: 1.58; }

.seo-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-kw {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
  font-size: 12px;
  font-weight: 600;
}

/* ================= Responsive ================= */
@media (max-width: 1100px) {
  .seo-sections { grid-template-columns: 1fr; }
}
