/* ════════════════════════════════════════
   FOOTER — Royal Gold Theme
   ════════════════════════════════════════ */

.footer {
  padding: 0 6% 25px;
  padding-top: 25px;
  background: linear-gradient(160deg, #0D56A9, #0A1440 70%);
  margin-top: -2px;
  height: 100%;
  position: relative;
}

/* ── Floating Newsletter Card ── */
.newsletter-card {
  max-width: 1000px;
  margin: -50px auto 60px;
  background: linear-gradient(135deg, #D4AF37, #E2D292);
  border-radius: 20px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 40px rgba(212, 175, 55, 0.15);
  position: relative;
  z-index: 2;
}

.newsletter-info h3 {
  color: #0A1440;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.newsletter-info p {
  color: rgba(10, 20, 64, 0.7);
  font-size: 13px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input {
  padding: 12px 18px;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  width: 240px;
  outline: none;
  font-family: 'Inter', sans-serif;
}

.newsletter-form input::placeholder {
  color: rgba(10, 20, 64, 0.4);
}

.newsletter-form button {
  padding: 12px 26px;
  border: none;
  border-radius: 50px;
  background: #0A1440;
  color: #E2D292;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: #E5295E;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(229, 41, 94, 0.4);
}

/* ── Footer Grid ── */
.footer-top {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  padding-bottom: 35px;
  border-bottom: 1px solid rgba(226, 210, 146, 0.15);
}

/* ── About ── */
.footer-about h2 {
  font-size: 36px;
  margin-bottom: 16px;
  color: #E2D292;
  font-weight: 800;
}

.footer-about p {
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 25px;
  font-size: 14px;
  max-width: 500px;
}

.socials {    
  display: flex;
  gap: 12px;
}

.socials a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  color: #E2D292;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.35s ease;
}

.socials a:hover {
  background: linear-gradient(135deg, #E5295E, #D4AF37);
  color: #fff;
  border-color: transparent;
  transform: translateY(-5px) rotate(-8deg);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

/* ── Links ── */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}

.footer-links h3 {
  margin-bottom: 8px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #D4AF37;
  font-weight: 700;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  transition: all 0.3s ease;
  width: fit-content;
  margin-left: 4px;
}

.footer-links a:hover {
  color: #D4AF37;
  padding-left: 8px;
}

/* ── Contact Row ── */
.footer-contact {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 22px 0;
}

.fc-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fc-item i {
  font-size: 18px;
  color: #D4AF37;
}

.fc-item a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.fc-item a:hover {
  color: #E2D292;
}

.fc-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.4);
  flex-shrink: 0;
}

/* ── Bottom ── */
.footer-bottom {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 25px;
  border-top: 1px solid rgba(226, 210, 146, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
}

.footer-bottom .tradingview-link a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom .tradingview-link a:hover {
  color: #c4b5fd;
}

#topBtn {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4AF37, #E2D292);
  color: #0A1440;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#topBtn:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.45);
}

/* ── Footer Responsive ── */
@media (max-width: 991px) {
  .footer {
    padding: 0 6% 25px;
  }

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    margin-left: 0;
  }

  .newsletter-card {
    margin: -40px 5% 50px;
    padding: 28px 30px;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-form input {
    width: 100%;
  }

  .footer-contact {
    flex-direction: column;
    gap: 14px;
  }

  .fc-divider {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 0 5% 20px;
  }

  .footer-top {
    flex-direction: column;
    gap: 35px;
  }

  .footer-about h2 {
    font-size: 30px;
  }

  .socials a {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .newsletter-card {
    margin: -30px 4% 40px;
    padding: 24px 20px;
  }

  .newsletter-form input,
  .newsletter-form button {
    padding: 12px 16px;
    font-size: 13px;
  }

  .fc-item a {
    font-size: 13px;
  }
}