.footer {
  background: var(--surface);
  border-top: 1px solid var(--border-color-current);
  padding: 60px 24px 24px;
  margin-top: auto;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.05);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand-header {
  display: flex;
  animation: float 4s ease-in-out infinite;
}

.footer-logo-container {
  padding: 20px;
  background: var(--bg);
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 6px 20px var(--shadow-color-current);
  flex: 1;
}

.footer-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 20px;
  flex-shrink: 0;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.footer-description {
  font-size: 16px;
  color: var(--text-secondary-current);
  line-height: 1.8;
  margin: 0;
  flex: 1;
}

.footer-brand-actions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.footer-brand, .footer-section {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.footer-brand { animation-delay: 0s; }
.footer-section:nth-child(2) { animation-delay: 0.1s; }
.footer-section:nth-child(3) { animation-delay: 0.2s; }
.footer-section:nth-child(4) { animation-delay: 0.3s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-section h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary-current);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-lighter));
  border-radius: 4px;
}

.footer-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.footer-categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.footer-categories-grid ul {
  gap: 12px;
}

.footer-section ul li a {
  font-size: 14px;
  color: var(--text-tertiary-current);
  transition: all 0.3s ease;
  display: inline-block;
  padding: 4px 0;
  font-weight: 500;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
  transform: translateX(-4px);
}

.footer-bottom {
  max-width: 1400px;
  margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border-color-current);
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-bottom-content {
  text-align: center;
}

.copyright {
  color: var(--text-tertiary-current);
  font-size: 13px;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.social-links a {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border-color-current);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary-current);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  color: white;
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}

.footer-google-play {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--primary-color);
  color: white;
  padding: 14px 24px;
  border-radius: 18px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  width: fit-content;
  box-shadow: 0 6px 24px rgba(13, 110, 253, 0.4);
}

.footer-google-play:hover {
  background: var(--primary-darker);
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(13, 110, 253, 0.5);
}

.footer-google-play .footer-google-play-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.google-play-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.google-play-label {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.9;
}

.google-play-store {
  font-size: 20px;
  font-weight: 800;
}

@media (max-width: 768px) {
  .footer-brand-actions {
    align-items: center;
  }
  .footer-google-play {
    padding: 12px 20px;
  }
  .google-play-store {
    font-size: 18px;
  }
}

@media (max-width: 1100px) {
  .footer-container {
    grid-template-columns: 1.5fr 1fr 1.2fr;
  }
}

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-categories-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 16px 16px;
    border-radius: 24px 24px 0 0;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-logo-container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-categories-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-logo {
    width: 100px;
    height: 100px;
  }
  
  .footer-bottom {
    margin-top: 32px;
  }
}

@media (max-width: 480px) {
  .footer-categories-grid {
    grid-template-columns: 1fr;
  }
}
