/* Footer CTA & Footer Wrapper */
.footer-cta-wrapper {
  background: #030712;
  background-image:
    radial-gradient(at 20% 30%, rgba(59, 130, 246, 0.15) 0px, transparent 50%),
    radial-gradient(at 80% 70%, rgba(139, 92, 246, 0.15) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(16, 185, 129, 0.08) 0px, transparent 50%),
    radial-gradient(at 40% 80%, rgba(251, 191, 36, 0.12) 0px, transparent 50%),
    radial-gradient(at 90% 20%, rgba(252, 211, 77, 0.08) 0px, transparent 45%);
  position: relative;
  overflow: hidden;
}

.footer-cta-wrapper svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
}

.footer-cta-wrapper .gradients-container {
  filter: url(#goo) blur(40px);
  width: 100%;
  height: 50%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

@keyframes moveInCircle {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes moveVertical {
  0% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(50%);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes moveHorizontal {
  0% {
    transform: translateX(-50%) translateY(-10%);
  }
  50% {
    transform: translateX(50%) translateY(10%);
  }
  100% {
    transform: translateX(-50%) translateY(-10%);
  }
}

.footer-cta-wrapper .g1 {
  position: absolute;
  background: radial-gradient(circle at center, rgba(143, 194, 255, 0.25) 0, rgba(143, 194, 255, 0) 50%) no-repeat;
  mix-blend-mode: hard-light;
  width: 80%;
  height: 80%;
  top: calc(50% - 40%);
  left: calc(50% - 40%);
  transform-origin: center center;
  animation: moveVertical 30s ease infinite;
  opacity: 1;
}

.footer-cta-wrapper .g2 {
  position: absolute;
  background: radial-gradient(circle at center, rgba(255, 157, 155, 0.25) 0, rgba(255, 157, 155, 0) 50%) no-repeat;
  mix-blend-mode: hard-light;
  width: 80%;
  height: 80%;
  top: calc(50% - 40%);
  left: calc(50% - 40%);
  transform-origin: calc(50% - 400px);
  animation: moveInCircle 20s reverse infinite;
  opacity: 1;
}

.footer-cta-wrapper .g3 {
  position: absolute;
  background: radial-gradient(circle at center, rgba(255, 182, 134, 0.25) 0, rgba(255, 182, 134, 0) 50%) no-repeat;
  mix-blend-mode: hard-light;
  width: 80%;
  height: 80%;
  top: calc(50% - 40% + 200px);
  left: calc(50% - 40% - 500px);
  transform-origin: calc(50% + 400px);
  animation: moveInCircle 40s linear infinite;
  opacity: 1;
}

.footer-cta-wrapper .g4 {
  position: absolute;
  background: radial-gradient(circle at center, rgba(255, 216, 99, 0.25) 0, rgba(255, 216, 99, 0) 50%) no-repeat;
  mix-blend-mode: hard-light;
  width: 80%;
  height: 80%;
  top: calc(50% - 40%);
  left: calc(50% - 40%);
  transform-origin: calc(50% - 200px);
  animation: moveHorizontal 40s ease infinite;
  opacity: 0.3;
}

.footer-cta-wrapper .g5 {
  position: absolute;
  background: radial-gradient(circle at center, rgba(143, 194, 255, 0.2) 0, rgba(143, 194, 255, 0) 50%) no-repeat;
  mix-blend-mode: hard-light;
  width: 160%;
  height: 160%;
  top: calc(50% - 80%);
  left: calc(50% - 80%);
  transform-origin: calc(50% - 800px) calc(50% + 200px);
  animation: moveInCircle 20s ease infinite;
  opacity: 1;
}

.footer-cta-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  opacity: 1;
  padding: 3rem 1.5rem;
  text-align: center;
}

.footer-cta-title {
  font-family: 'Newsreader', serif;
  font-size: 2rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.footer-cta-subtitle {
  font-family: 'Roboto Flex', sans-serif;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.footer-cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--color-primary, #c71f0d) 0%, var(--color-primary-light, #d62916) 100%);
  color: var(--color-white, #ffffff);
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(199, 31, 13, 0.3);
  will-change: transform, box-shadow;
}

.footer-cta-button:hover {
  background: linear-gradient(135deg, var(--color-primary-hover, #a01808) 0%, var(--color-primary, #c71f0d) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(199, 31, 13, 0.4);
}

.footer-cta-facebook {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  margin-top: 2rem;
}

.footer-cta-facebook-logo {
  height: 20px;
  width: auto;
}

.footer-cta-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-cta-rating-stars {
  color: #f8c307;
  font-size: 1rem;
  letter-spacing: 1px;
  line-height: 1;
}

.footer-cta-rating-text {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.875rem;
  line-height: 1;
}

.footer-cta-rating-count {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  line-height: 1.4;
}

/* Divider between CTA and Footer */
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 0 1.5rem;
  position: relative;
  z-index: 10;
}

/* Footer Styles */
.footer {
  background: transparent;
  color: #ffffff;
  padding: 3rem 1.5rem 2rem;
  position: relative;
  z-index: 10;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-logo-column {
  display: flex;
  justify-content: center;
}

.footer-logo {
  height: 2rem;
  width: auto;
}

.footer-column-header {
  font-family: 'Roboto Flex', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem 0;
}

.footer-column-no-header ul {
  margin-top: 2rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin: 0;
  text-align: center;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  transition: opacity 0.3s ease;
}

.footer-legal a:hover {
  opacity: 1;
  color: #ffffff;
}

/* Desktop Styles */
@media (min-width: 768px) {
  .footer-cta-content {
    padding: 6rem 3rem;
  }

  .footer-cta-title {
    font-size: 3.5rem;
  }

  .footer-cta-subtitle {
    font-size: 1.25rem;
  }
  
  .footer-divider {
    margin: 0 3rem;
  }

  .footer-cta-facebook {
    flex-direction: row;
    gap: 0.75rem;
    margin-top: 2.5rem;
    align-items: center;
    justify-content: center;
  }

  .footer-cta-facebook-logo {
    height: 24px;
    width: auto;
  }

  .footer-cta-rating {
    gap: 0.5rem;
    justify-content: flex-start;
  }

  .footer-cta-rating-stars {
    font-size: 1.25rem;
    line-height: 1;
  }

  .footer-cta-rating-text {
    font-size: 1rem;
    line-height: 1;
  }

  .footer-cta-rating-count {
    font-size: 0.875rem;
    margin-left: 0.5rem;
    text-align: left;
  }

  .footer {
    padding: 5rem 3rem 2.5rem;
  }

  .footer-columns {
    grid-template-columns: auto repeat(5, 1fr);
    gap: 2.5rem;
    align-items: start;
  }

  .footer-logo-column {
    justify-content: flex-start;
  }

  .footer-column-no-header ul {
    margin-top: 2rem;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-copyright {
    text-align: left;
  }
}
