/*
 * Kouider — Red & Black Glassmorphism
 * Aesthetic layer only. Layout handled by theme.json.
 */

/* --- Footer --- */
.k-footer-wrap {
  background: #0b0b0d;
  border-top: 1px solid rgba(255,38,56,.16);
  padding: 56px 20px 28px;
}
.k-footer-inner { max-width: 1100px; margin: 0 auto; }
.k-footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr 1.1fr; gap: 40px; }

.k-footer-brand {
  color: var(--wp--preset--color--k-white);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.k-footer-tagline { font-size: .84rem; line-height: 1.7; color: var(--wp--preset--color--k-muted); max-width: 300px; margin-bottom: 1.2rem; }
.k-footer-socials { display: flex; gap: 8px; }
.k-footer-socials a {
  font-family: ui-monospace, 'Cascadia Code', 'JetBrains Mono', Menlo, Consolas, monospace;
  font-size: .74rem;
  font-weight: 700;
  color: var(--wp--preset--color--k-muted);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  padding: 5px 9px;
  text-decoration: none;
  transition: color .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.k-footer-socials a:hover { color: #fff; border-color: rgba(255,38,56,.6); background: rgba(255,38,56,.1); box-shadow: 0 0 16px rgba(255,38,56,.2); }

.k-footer-heading {
  font-family: ui-monospace, 'Cascadia Code', 'JetBrains Mono', Menlo, Consolas, monospace;
  color: var(--wp--preset--color--k-red-bright);
  font-weight: 800;
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.k-footer-links, .k-footer-contact { list-style: none; margin: 0; padding: 0; }
.k-footer-links li, .k-footer-contact li { margin-bottom: .55rem; }
.k-footer-links a, .k-footer-contact a, .k-footer-contact span {
  font-family: ui-monospace, 'Cascadia Code', 'JetBrains Mono', Menlo, Consolas, monospace;
  font-size: .8rem;
  color: var(--wp--preset--color--k-muted);
  text-decoration: none;
  transition: color .25s ease, padding-left .25s ease;
}
.k-footer-links a:hover, .k-footer-contact a:hover { color: var(--wp--preset--color--k-white); padding-left: 6px; }

.k-footer-term {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 14px 16px;
}
.k-footer-term pre {
  margin: 0;
  font-family: ui-monospace, 'Cascadia Code', 'JetBrains Mono', Menlo, Consolas, monospace;
  font-size: .76rem;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
}
.k-f-cmd { color: var(--wp--preset--color--k-red-bright); }
.k-f-out { color: #c9c9cf; }
.k-f-cursor { color: var(--wp--preset--color--k-red-bright); animation: k-cursor-blink 1s steps(1) infinite; }

.k-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2.6rem;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .72rem;
  color: #555;
}
.k-footer-echo {
  font-family: ui-monospace, 'Cascadia Code', 'JetBrains Mono', Menlo, Consolas, monospace;
  color: rgba(255,38,56,.45);
}

@media (max-width: 900px) {
  .k-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .k-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .k-footer-bottom { flex-direction: column; align-items: flex-start; }
}
