/* ============================================================
   FOOTER STYLES — CriszoneSport
   Màu chủ đạo: --primary (#3AE000 xanh lá neon) / --bg (nền tối)
   Dùng CSS variables từ theme, khớp với header
   ============================================================ */

/* ---------- Layout ---------- */
.site-footer {
  background: #0b0f0b;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-body, sans-serif);
  font-size: 14px;
  line-height: 1.7;
}

.footer-top {
  padding: 60px 0 40px;
  border-top: 1px solid rgba(58, 224, 0, 0.15);
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(58, 224, 0, 0.1);
  background: rgba(0, 0, 0, 0.3);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 25px;
}

/* ---------- Widget grid ---------- */
.footer-widgets {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px 48px;
  align-items: start;
}

/* ---------- Logo ---------- */
.footer-logo {
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  filter: brightness(1.1);
}

/* ---------- About text ---------- */
.footer-desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 18px;
  line-height: 1.75;
  margin: 0 0 20px;
}

/* ---------- Social icons ---------- */
.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.social-link:hover {
  background: rgba(58, 224, 0, 0.15);
  border-color: rgba(58, 224, 0, 0.4);
  color: var(--primary, #3AE000);
}

/* ---------- Column headings ---------- */
.footer-heading {
  font-family: var(--font-display, sans-serif);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary, #3AE000);
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(58, 224, 0, 0.2);
}

/* ---------- Link lists ---------- */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 20px;
  padding: 5px 0;
  display: inline-block;
  transition: color 0.2s ease, padding-left 0.2s ease;
  position: relative;
}

.footer-links li a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--primary, #3AE000);
  margin-right: 0;
  vertical-align: middle;
  transition: width 0.2s ease, margin-right 0.2s ease;
}

.footer-links li a:hover {
  color: var(--primary, #3AE000);
  padding-left: 8px;
}

.footer-links li a:hover::before {
  width: 8px;
  margin-right: 4px;
}

/* ---------- Contact list ---------- */
.footer-contact-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer-contact-icon {
  width: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary, #3AE000);
  font-size: 14px;
  text-align: center;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-item a:hover {
  color: var(--primary, #3AE000);
}

/* ---------- Newsletter ---------- */
.footer-newsletter-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 10px;
}

.footer-newsletter-input-wrap {
  display: flex;
  border: 1px solid rgba(58, 224, 0, 0.25);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 0.2s;
}

.footer-newsletter-input-wrap:focus-within {
  border-color: rgba(58, 224, 0, 0.6);
}

.footer-newsletter-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 18px;
  margin:0px;
}

.footer-newsletter-input-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.footer-newsletter-input-wrap button {
  background: var(--primary, #3AE000);
  border: none;
  color: #0b0f0b;
  width: 42px;
  cursor: pointer;
  font-size: 14px;
  flex-shrink: 0;
  transition: background 0.2s;
}

.footer-newsletter-input-wrap button:hover {
  background: #5af520;
}

/* ---------- Site info bar ---------- */
.site-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.site-info__copy p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.site-info__copy a {
  color: var(--primary, #3AE000);
  text-decoration: none;
}

.site-info__payment {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.payment-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.payment-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.3px;
  transition: background 0.2s, color 0.2s;
}

.payment-badge:hover {
  background: rgba(58, 224, 0, 0.1);
  border-color: rgba(58, 224, 0, 0.3);
  color: var(--primary, #3AE000);
}

.site-info__policy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
}

.site-info__policy a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.site-info__policy a:hover {
  color: var(--primary, #3AE000);
}

.site-info__policy .sep {
  color: rgba(255, 255, 255, 0.2);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-widgets {
    grid-template-columns: 1fr 1fr;
    gap: 32px 36px;
  }

  .footer-col--about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-top {
    padding: 40px 0 28px;
  }

  .footer-widgets {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-col--about {
    grid-column: auto;
  }

  .site-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-info__payment {
    order: -1;
  }
}

@media (max-width: 560px) {
  .footer-container {
    padding: 0 16px;
  }
}