.footer {
  background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
  color: #fff;
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer .section-divider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #ff000d 20%, #ff000d 80%, transparent 100%);
  opacity: 0.3;
}

.footer .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col {
  padding: 0 15px;
}

.footer-col-logo {
  max-width: 320px;
}

.footer-logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  filter: brightness(1.2) drop-shadow(0 2px 4px rgba(229, 9, 20, 0.2));
}

.footer-about {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  background: rgba(229, 9, 20, 0.1);
  color: #e50914;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(229, 9, 20, 0.2);
  transition: all 0.3s ease;
}

.badge:hover {
  background: rgba(229, 9, 20, 0.2);
  transform: translateY(-2px);
}

.badge i {
  font-size: 0.7rem;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.title-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #e50914, transparent);
  border-radius: 1px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-links-list a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.footer-links-list a::before {
  content: "";
  position: absolute;
  left: -100%;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #e50914;
  transition: left 0.3s ease;
}

.footer-links-list a:hover {
  color: #e50914;
  padding-left: 5px;
}

.footer-links-list a:hover::before {
  left: 0;
}

.footer-links-list i {
  font-size: 0.8rem;
  color: #e50914;
  transition: transform 0.3s ease;
}

.footer-links-list a:hover i {
  transform: translateX(3px);
}

.newsletter-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.newsletter-form {
  margin-bottom: 30px;
  position: relative;
}

.input-group {
  display: flex;
  margin-bottom: 15px;
}

.input-group input {
  flex: 1;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-right: none;
  border-radius: 5px 0 0 5px;
  color: #fff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.input-group input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: #e50914;
}

.input-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-btn {
  background: #e50914;
  color: #fff;
  border: none;
  padding: 0 20px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.newsletter-btn:hover {
  background: #cc0000;
  transform: scale(1.05);
}

.newsletter-btn.success {
  background: #2ecc71 !important;
  animation: pulse 0.5s ease;
}

.newsletter-btn.error {
  background: #e74c3c !important;
  animation: shake 0.5s ease;
}

.footer-social-section {
  margin-top: 30px;
}

.footer-social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 15px;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.social-btn:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-btn.instagram:hover {
  background: linear-gradient(45deg, #405de6, #833ab4, #fd1d1d);
  color: #fff;
}

.social-btn.facebook:hover {
  background: #1877f2;
  color: #fff;
}

.social-btn.whatsapp:hover {
  background: #25d366;
  color: #fff;
}

.social-btn.youtube:hover {
  background: #ff0000;
  color: #fff;
}

.social-btn i {
  font-size: 1rem;
  width: 20px;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.849), transparent);
  margin: 30px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-left {
  flex: 1;
  min-width: 300px;
}

.footer-bottom-left p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer-bottom-left strong {
  color: #e50914;
  font-weight: 700;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal-links a:hover {
  color: #e50914;
}

.separator {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

.footer-bottom-right {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 15px;
}

.payment-methods span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.payment-icons {
  display: flex;
  gap: 12px;
  font-size: 1.2rem;
}

.payment-icons i {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.payment-icons i:hover {
  color: #e50914;
  transform: translateY(-2px);
}

.developer-credits {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.floating-buttons {
  position: fixed;
  bottom: 5px;
  right: 5px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1000;
}

.floating-buttons .back-to-top {
  position: relative;
  width: 56px;
  height: 56px;
  background: #e50914;
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
  transform: scale(0.8);
  text-decoration: none;
}

.floating-buttons .back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.floating-buttons .back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(229, 9, 20, 0.5);
  background: #ff0a16;
}

.floating-buttons .back-to-top:active {
  transform: scale(0.95);
}

.floating-buttons .back-to-top i {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.floating-buttons .back-to-top:hover i {
  transform: translateY(-3px);
}

.floating-buttons .back-to-top span {
  font-size: 0.65rem;
  margin-top: 2px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.floating-buttons .back-to-top .top-tooltip {
  position: absolute;
  right: 70px;
  background: #e50914;
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.floating-buttons .back-to-top .top-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent #e50914;
}

.floating-buttons .back-to-top:hover .top-tooltip {
  opacity: 1;
  visibility: visible;
  right: 75px;
}

.float-whatsapp {
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  position: relative;
  text-decoration: none;
  animation: pulse-whatsapp 2s infinite;
}

.float-whatsapp i {
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.float-whatsapp:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.6);
  animation: none;
  background: #2ecc71;
}

.float-whatsapp:hover i {
  transform: scale(1.1);
}

.float-whatsapp:active {
  transform: scale(0.95);
}

.float-whatsapp .whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #25d366;
  color: #fff;
  padding: 8px 15px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.float-whatsapp .whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent #25d366;
}

.float-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 75px;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 0 25px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-col {
    padding: 0;
  }

  .footer-col-logo {
    max-width: 100%;
    text-align: center;
  }

  .footer-logo-container {
    justify-content: center;
  }

  .footer-badges {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .footer-bottom-left,
  .footer-bottom-right {
    min-width: 100%;
    align-items: center;
  }

  .footer-legal-links {
    justify-content: center;
  }

  .payment-methods {
    flex-direction: column;
    gap: 10px;
  }

  .footer-social-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .floating-buttons {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }

  .floating-buttons .back-to-top,
  .float-whatsapp {
    width: 48px;
    height: 48px;
  }

  .floating-buttons .back-to-top i,
  .float-whatsapp i {
    font-size: 1.4rem;
  }

  .floating-buttons .back-to-top span {
    display: none;
  }

  .floating-buttons .back-to-top .top-tooltip,
  .float-whatsapp .whatsapp-tooltip {
    display: none;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 50px 0 20px;
  }

  .footer-logo-img {
    height: 50px;
  }

  .footer-social-grid {
    grid-template-columns: 1fr;
  }

  .floating-buttons {
    bottom: 15px;
    right: 5px;
    gap: 8px;
  }

  .floating-buttons .back-to-top,
  .float-whatsapp {
    width: 44px;
    height: 44px;
  }

  .floating-buttons .back-to-top i,
  .float-whatsapp i {
    font-size: 1.3rem;
  }
}

@media (max-width: 360px) {
  .floating-buttons {
    bottom: 10px;
    right: 10px;
    gap: 6px;
  }

  .floating-buttons .back-to-top,
  .float-whatsapp {
    width: 40px;
    height: 40px;
  }

  .floating-buttons .back-to-top i,
  .float-whatsapp i {
    font-size: 1.2rem;
  }
}

@media (min-height: 800px) {
  .floating-buttons {
    bottom: 10px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .floating-buttons {
    bottom: 10px;
    right: 10px;
  }

  .floating-buttons .back-to-top,
  .float-whatsapp {
    width: 40px;
    height: 40px;
  }

  .floating-buttons .back-to-top i,
  .float-whatsapp i {
    font-size: 1.2rem;
  }
}