.site-footer {
  margin-top: 10%;
  background: linear-gradient(to top, #181616, rgba(48, 44, 44, 0));
  padding: 60px 20px 20px;
  border-top: 1px solid rgba(0, 255, 157, 0.1);
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-color),
    transparent
  );
}

/* Layout stopki */
.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 40px;
  align-items: start;
}

/* Kolumna z logo */
.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo .custom-logo img,
.footer-logo .site-title {
  max-width: 200px;
  height: auto;
}

.footer-logo .site-title {
  margin: 0;
  font-size: 1.8rem;
  font-family: var(--font-secondary);
  color: var(--accent-color);
}

.footer-logo .site-title a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition-standard);
}

.footer-logo .site-title a:hover {
  color: var(--text-color);
}

.footer-description {
  color: var(--text-color-dim);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  max-width: 250px;
}

/* Social Media Links */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition-standard);
  border: 1px solid transparent;
}

.social-link:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  border-color: var(--accent-color);
}

.social-icon {
  font-weight: bold;
  font-size: 1.1rem;
}

/* Menu stopki */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-menu li {
  position: relative;
}

.footer-menu a {
  color: var(--text-color);
  text-decoration: none;
  font-family: var(--font-code), monospace;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  transition: var(--transition-standard);
  display: inline-block;
  position: relative;
  padding: 0.5rem 0;
}

.footer-menu a::before {
  content: "▶ ";
  color: var(--accent-color);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.footer-menu a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-menu a:hover {
  color: var(--accent-color);
  transform: translateX(15px);
}

.footer-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.footer-menu a:hover::after {
  width: 100%;
}

/* Widgety stopki */
.footer-widgets {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-widget-area {
  background-color: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 255, 157, 0.1);
  transition: var(--transition-standard);
}

.footer-widget-area:hover {
  border-color: rgba(0, 255, 157, 0.3);
  background-color: rgba(255, 255, 255, 0.05);
}

.footer-widget-title {
  color: var(--accent-color);
  font-family: var(--font-secondary);
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-widget p {
  color: var(--text-color-dim);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-widget ul {
  list-style: none;
  padding: 0;
}

.footer-widget li {
  margin-bottom: 0.5rem;
  color: var(--text-color-dim);
  font-size: 0.9rem;
}

/* Copyright */
.copy-right {
    border-top: 1px solid rgba(0, 255, 157, 0.2);
    padding: 30px 20px; /* Zwiększony padding */
    margin-top: 20px;
    position: relative;
}

/* Dodaj subtelną linię świetlną na górze */
.copy-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color, #00ff9d), transparent);
}

.copy-right p {
    font-family: var(--font-primary, 'Montserrat'), sans-serif;
    text-align: center;
    color: var(--text-color, #ffffff); /* Zmiana z dim na pełny biały */
    font-size: 0.85rem; 
    font-weight: 500; /* Dodany weight */
    margin: 0;
    letter-spacing: 1px; /* Zwiększony letter-spacing */
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); /* Dodany text-shadow */
}

/* Dodaj akcent kolorystyczny */
.copy-right p strong,
.copy-right p .brand-name {
    color: var(--accent-color, #00ff9d);
    font-weight: 700;
}

/* ==========================================================================
   18. RESPONSYWNOŚĆ STOPKI
   ========================================================================== */

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .footer-widgets {
    grid-column: 1 / -1;
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 40px 15px 15px;
    margin-top: 15%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-logo {
    align-items: center;
  }

  .footer-description {
    max-width: none;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-menu {
    align-items: center;
  }

  .footer-menu a:hover {
    transform: none;
  }

  .footer-widgets {
    margin-top: 1rem;
  }

  .footer-widget-area {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 30px 10px 10px;
    margin-top: 10%;
  }

  .footer-content {
    gap: 1.5rem;
  }

  .footer-logo .site-title {
    font-size: 1.5rem;
  }

  .footer-menu a {
    font-size: 0.8rem;
    padding: 0.3rem 0;
  }

  .social-link {
    width: 35px;
    height: 35px;
  }

  .footer-widget-area {
    padding: 0.8rem;
  }

  .copy-right {
    padding-top: 20px;
  }

  .copy-right p {
    font-size: 0.75rem;
  }
}
