/* ============================================================
   ФУТЕР САЙТА (юридический блок, копирайт, ссылки на блог/проекты/страницу "Обо мне") — (.footer-*, .fp-*).
   ============================================================ */

.footer-legal {
  margin: 0 auto;
  max-width: var(--container-max);
  padding: 18px;
  border-radius: var(--r-lg);
  background: linear-gradient(145deg, rgba(20, 16, 32, 0.7), rgba(10, 8, 18, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-text,
.footer-copy {
  font-size: 12px;
  line-height: 1.7;
  color: #AEB7C5;
}

.footer-text a {
  color: var(--gold);
  text-decoration: none;
}

.footer-divider {
  height: 1px;
  margin: 14px 0;
  background: rgba(255, 255, 255, 0.06);
}

.footer-hl {
  color: #fff;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 0 20px;
}

@media (min-width: 1024px) {
  .footer-bottom {
    padding: 0 160px;
    margin-bottom: 14px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .footer-bottom {
    padding: 0 60px;
    margin-top: 8px;
  }
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    padding: 0 12px;
    margin-top: 6px;
  }
  .footer-bottom__center {
    font-size: 10px;
    gap: 4px;
  }
}

.footer-bottom__left {
  font-size: 12px;
  color: #7F8A9A;
}

.footer-bottom__center {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
}

.footer-bottom__right {
  font-size: 12px;
}

.footer-made__link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  font-family: var(--f-display);
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
}

.footer-made__link:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.footer-made__year {
  color: rgba(255, 255, 255, 0.15);
}

.footer-blog-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 8px 0 4px;
}

.footer-blog-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 184, 48, 0.08), rgba(255, 140, 0, 0.04));
  border: 1px solid rgba(255, 184, 48, 0.15);
  color: var(--gold);
  font-family: var(--f-display, "Oswald", sans-serif);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.footer-blog-link:hover {
  background: linear-gradient(135deg, rgba(255, 184, 48, 0.15), rgba(255, 140, 0, 0.08));
  border-color: rgba(255, 184, 48, 0.35);
  transform: translateX(4px);
  box-shadow: 0 0 24px rgba(255, 184, 48, 0.06);
}

.footer-blog-icon {
  font-size: 16px;
  line-height: 1;
}

.footer-blog-arrow {
  font-size: 13px;
  transition: transform 0.3s ease;
}

.footer-blog-link:hover .footer-blog-arrow {
  transform: translateX(4px);
}

@media (max-width: 600px) {
  .footer-blog-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-blog-desc {
    font-size: 11px;
    padding-left: 4px;
  }
  .footer-blog-link {
    font-size: 13px;
    padding: 6px 14px 6px 12px;
  }
}

.footer-projects-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 44px; /* фиксированная высота, как у других кнопок */
    padding: 0 24px 0 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 184, 48, 0.08), rgba(255, 140, 0, 0.04));
    border: 1px solid rgba(255, 184, 48, 0.2);
    color: var(--gold);
    font-family: var(--f-display, "Oswald", sans-serif);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 184, 48, 0.02);
    flex-shrink: 0;
}

.footer-projects-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 184, 48, 0.3), rgba(255, 140, 0, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: opacity 0.35s;
}

.footer-projects-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(255, 184, 48, 0.15), rgba(255, 140, 0, 0.08));
    border-color: rgba(255, 184, 48, 0.45);
    box-shadow: 0 8px 30px rgba(255, 184, 48, 0.12), 0 0 40px rgba(255, 184, 48, 0.04);
}

.footer-projects-btn:active {
    transform: translateY(0) scale(0.98);
}

.footer-projects-btn .fp-icon {
    font-size: 16px;
    line-height: 1;
    transition: transform 0.35s ease;
    flex-shrink: 0;
}

.footer-projects-btn:hover .fp-icon {
    transform: rotate(-5deg) scale(1.1);
}

.footer-projects-btn .fp-arrow {
    font-size: 13px;
    transition: transform 0.35s ease;
    flex-shrink: 0;
}

.footer-projects-btn:hover .fp-arrow {
    transform: translateX(4px);
}

.footer-projects-btn .fp-glow {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 184, 48, 0.15), transparent 70%);
    top: -20px;
    right: -20px;
    pointer-events: none;
    transition: transform 0.6s ease;
}

.footer-projects-btn:hover .fp-glow {
    transform: scale(1.4) translate(10px, 10px);
}

.footer-blog-link,
.footer-projects-btn {
    height: 44px !important;
    padding: 0 20px !important;
    font-size: 13px !important;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .footer-blog-link,
    .footer-projects-btn {
        height: 38px !important;
        padding: 0 16px !important;
        font-size: 11px !important;
        gap: 6px;
    }
    .footer-blog-link .footer-blog-icon,
    .footer-projects-btn .fp-icon {
        font-size: 13px;
    }
    .footer-blog-link .footer-blog-arrow,
    .footer-projects-btn .fp-arrow {
        font-size: 10px;
    }
    .footer-blog-link .footer-blog-icon {
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .footer-blog-link,
    .footer-projects-btn {
        height: 34px !important;
        padding: 0 12px !important;
        font-size: 10px !important;
        gap: 4px;
        letter-spacing: 0.4px;
    }
    .footer-blog-link .footer-blog-icon,
    .footer-projects-btn .fp-icon {
        font-size: 11px;
    }
    .footer-blog-link .footer-blog-arrow,
    .footer-projects-btn .fp-arrow {
        font-size: 9px;
    }
}

