/* ============================================================
   App Footer
   ============================================================ */

#app-footer {
  width: 100%;
  background: var(--surface-color);
  border-top: 1px solid var(--soft-border-color);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 24px var(--shadow-color);
  padding: 18px 20px;
  padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 2px;
}

.footer-link {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.70rem;
  font-weight: 600;
  color: var(--secondary-color);
  padding: 4px 7px;
  border-radius: 8px;
  transition: color 0.15s, background-color 0.15s;
  font-family: inherit;
  white-space: nowrap;
  line-height: 1.4;
  opacity: 0.85;
}
.footer-link:hover {
  color: var(--primary-color);
  background-color: var(--accent-soft-color);
  opacity: 1;
}

.footer-sep {
  color: var(--soft-border-color);
  font-size: 0.6rem;
  user-select: none;
  flex-shrink: 0;
  opacity: 0.6;
}

/* ============================================================
   Info pages (О проекте, Манифест, etc.)
   ============================================================ */

.info-view {
  overflow-y: auto;
}

.info-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 12px;
  flex-shrink: 0;
}

.info-back {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-color);
  padding: 6px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.info-back:hover { background-color: var(--accent-soft-color); }

.info-title {
  flex: 1;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
}

.info-body {
  padding: 4px 24px 28px;
  display: flex;
  flex-direction: column;
}

.info-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-color);
  margin: 4px 0 10px;
}

.info-para {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--secondary-color);
  margin: 0 0 14px;
}

.info-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 8px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-list li {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--secondary-color);
  padding-left: 18px;
  position: relative;
}

.info-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
}

.info-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0 0 16px;
  line-height: 1.4;
}

.info-lang-divider {
  border: none;
  border-top: 1px solid var(--soft-border-color);
  margin: 28px 0 20px;
}

.info-lang-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary-color);
  opacity: 0.5;
  margin: 0 0 16px;
}

.info-copyright {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--soft-border-color);
  font-size: 0.7rem;
  color: var(--secondary-color);
  text-align: center;
  opacity: 0.6;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 20px;
}
.info-table th {
  padding: 6px 8px;
  text-align: left;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--secondary-color);
  border-bottom: 2px solid var(--soft-border-color);
}
.info-table th:not(:first-child) { text-align: center; }
.info-table td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--soft-border-color);
  vertical-align: top;
  color: var(--secondary-color);
  font-size: 0.78rem;
  line-height: 1.4;
}
.info-table td:not(:first-child) { text-align: center; white-space: nowrap; }
.info-table-note {
  display: block;
  margin-top: 2px;
  font-size: 0.67rem;
  opacity: 0.65;
  line-height: 1.3;
}
.info-table-sep td {
  padding: 6px 0 0;
  border-bottom: none;
}

.info-link-row {
  margin: 2px 0 10px;
}
.info-link {
  font-size: 0.85rem;
  color: var(--primary-color);
  text-decoration: none;
  word-break: break-all;
}
.info-link:hover {
  text-decoration: underline;
}
