* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #120204;
}

body {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  color: #f8fafc;
}

.site-footer {
  width: 100%;
  min-height: 428px;
  background: #120204;
  border-top: 1px solid #2a0b12;
  color: #f8fafc;
}

.footer-inner {
  width: min(992px, calc(100% - 48px));
  min-height: 427px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.footer-main {
  flex: 1;
  display: grid;
  grid-template-columns: 1.95fr 0.86fr 0.84fr 0.88fr 0.82fr;
  column-gap: 36px;
  padding-top: 43px;
  padding-bottom: 41px;
}

.brand-column {
  min-width: 0;
}

.brand-mark {
  display: block;
  width: 74px;
  height: auto;
  margin: -14px 0 10px -7px;
}

.brand-mark svg,
.brand-mark img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.brand-copy {
  margin: 0;
  color: #d6a0aa;
  font-size: 11px;
  line-height: 18px;
  letter-spacing: 0.01em;
}

.discord-card {
  width: 233px;
  height: 50px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 5px;
  background: #dc2626;
  color: #fff;
  text-decoration: none;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.discord-card:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.discord-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 22px;
}

.discord-icon svg {
  width: 22px;
  height: 22px;
}

.discord-name {
  margin-left: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.discord-members {
  margin-left: auto;
  font-size: 8px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0.98;
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 26px;
}

.socials a {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid #3b1218;
  border-radius: 5px;
  background: #16070b;
  color: #d09aa4;
  text-decoration: none;
}

.socials a:hover {
  color: #dbe3f0;
  border-color: #7f1d1d;
}

.socials svg {
  width: 14px;
  height: 14px;
}

.footer-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-column h3 {
  margin: 0 0 16px;
  color: #f8fafc;
  font-size: 10px;
  line-height: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.footer-column a,
.footer-column span {
  display: block;
  margin-bottom: 10px;
  color: #d1a2aa;
  font-size: 10px;
  line-height: 11px;
  font-weight: 400;
  text-decoration: none;
}

.footer-column a::before {
  content: "•";
  color: #ef4444;
  margin-right: 7px;
}

.footer-column a:hover {
  color: #ffe4e6;
}

.about-column span {
  margin-bottom: 10px;
}

.about-column .email {
  margin-top: 2px;
  white-space: nowrap;
  font-size: 9px;
}

.footer-bottom {
  height: 85px;
  border-top: 1px solid #3b1218;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.system-status {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fca5a5;
  font-size: 9px;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 7px rgba(34, 197, 94, 0.45);
}

.copyright {
  color: #d18b96;
  font-size: 9px;
  white-space: nowrap;
}

.payments {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ssl {
  height: 21px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #3b1218;
  border-radius: 11px;
  color: #f5b3bc;
  font-size: 8px;
}

.lock {
  font-size: 11px;
  line-height: 1;
}

.payment {
  height: 16px;
  min-width: 25px;
  padding: 0 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  background: #f8fafc;
  color: #2a0b12;
  font-size: 7px;
  font-weight: 900;
  line-height: 1;
}

.visa {
  color: #991b1b;
  font-size: 8px;
  font-style: italic;
}

.mc {
  position: relative;
  width: 26px;
  overflow: hidden;
}

.mc i {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mc i:first-child {
  left: 4px;
  background: #e11d48;
}

.mc i:last-child {
  right: 4px;
  background: #f59e0b;
  mix-blend-mode: multiply;
}

.apple {
  color: #2a0b12;
  font-size: 8px;
}

.gpay {
  color: #b91c1c;
  background: #f8fafc;
  font-size: 7px;
}

.other {
  background: #f3f4f6;
  color: #d19a00;
  letter-spacing: 1px;
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
  }

  .about-column {
    grid-column: 2 / -1;
    margin-top: 14px;
  }
}

@media (max-width: 680px) {
  .site-footer {
    min-height: auto;
  }

  .footer-inner {
    width: min(100% - 32px, 520px);
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 28px;
    padding-top: 32px;
    padding-bottom: 30px;
  }

  .brand-column {
    grid-column: 1 / -1;
  }

  .about-column {
    grid-column: auto;
    margin-top: 0;
  }

  .footer-bottom {
    height: auto;
    padding: 20px 0 24px;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 14px;
  }

  .payments {
    justify-self: start;
    flex-wrap: wrap;
  }

  .desktop-break {
    display: none;
  }
}

@media (max-width: 400px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
  }

  .discord-card {
    width: 100%;
    max-width: 233px;
  }

  .discord-members {
    font-size: 7px;
  }
}
