:root {
  --background: #101010;
  --txt: #ffffff;
  --mtd: #e5e5e5;
  --red: #dc2626;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.footer {
  background: var(--background);
  color: var(--txt);
  font-family: Arial, sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2rem 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-column h3 {
  margin-bottom: 1rem;
}

.links {
  list-style: none;
  margin-bottom: 0.5rem;
}

.links li {
  margin-bottom: 0.5rem;
}

.links a {
  text-decoration: none;
  color: var(--mtd);
  transition: color 0.2s;
}

.links a:hover {
  color: #fff;
}

.center {
  text-align: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
}

.tagline {
  margin: 0.5rem 0 1rem;
  font-size: 0.9rem;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.socials a {
  border: 1px solid #fff;
  padding: 0.5rem;
  border-radius: 6px;
  color: white;
  text-decoration: none;
  transition: background 0.2s;
}

.socials a:hover {
  background: rgba(255,255,255,0.2);
}

.footer-column p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

input {
  padding: 0.5rem;
  border: 2px solid var(--red);
  border-radius: 4px;
  outline: none;
}

button {
  padding: 0.5rem;
  background: var(--red);
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: opacity 0.2s;
}

button:hover {
  opacity: 0.85;
}

.footer-bottom {
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}