/* ==========================================================================
   Phones Arcade — Professional Footer
   Loaded LAST so it consistently styles the footer on every page.
   ========================================================================== */

.footer {
  position: relative;
  background: linear-gradient(180deg, #0d1a3a 0%, #0a1430 100%) !important;
  color: #fff;
  margin-top: 4.5rem !important;
  padding: 0 !important;
  overflow: hidden;
}

/* Brand gradient accent line across the very top */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1e5fff 0%, #7c3aed 50%, #a855f7 100%);
}

/* Soft glow accents */
.footer::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18), transparent 70%);
  pointer-events: none;
}

.footer > .container {
  position: relative;
  z-index: 1;
  padding-top: 3rem;
  padding-bottom: 0;
}

/* ---------- Trust strip ---------- */
.footer-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-trust-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-trust-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.footer-trust-item small {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Main grid ---------- */
.footer-grid {
  display: grid !important;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr !important;
  gap: 2.5rem !important;
  margin-bottom: 2.5rem !important;
}

.footer-brand .site-logo--footer {
  height: 84px;
  margin-bottom: 1rem;
}

.footer-about {
  color: rgba(255, 255, 255, 0.72) !important;
  line-height: 1.8;
  font-size: 0.9rem;
  max-width: 340px;
}

.footer-section h3 {
  position: relative;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  margin-bottom: 1.4rem !important;
  padding-bottom: 0.65rem;
  color: #fff;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #1e5fff, #7c3aed);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.7rem !important;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
  color: #fff !important;
  transform: translateX(3px);
}

/* Contact rows a touch bigger for tap targets */
.footer-contact a {
  align-items: flex-start;
  line-height: 1.5;
}

/* ---------- Social links ---------- */
.footer-brand .social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff !important;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.social-link:hover {
  background: linear-gradient(135deg, #1e5fff, #7c3aed);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

/* ---------- Bottom bar ---------- */
.footer-bottom {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 1.5rem 0 !important;
  margin-top: 0 !important;
  text-align: left !important;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin: 0;
}

.footer-pay {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-pay span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-pay-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .footer-trust {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-trust {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
    text-align: left !important;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-about {
    max-width: 100%;
  }
}
