﻿/* Shared footer (matches index.php look on all pages that include includes/footer.php) */

.footer {
  background: linear-gradient(180deg, rgba(14, 14, 20, 0.96) 0%, #060607 100%);
  padding: 3.5rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lc-footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.25rem;
}

.lc-footer-social .lc-play-badge {
  display: block;
  line-height: 0;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
  transition: transform 0.2s ease;
}

.lc-footer-social .lc-play-badge:hover {
  transform: translateY(-2px);
}

.lc-footer-social .lc-play-badge img {
  height: 52px;
  width: auto;
}

.lc-social {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.lc-footer-social .lc-social svg {
  width: 22px;
  height: 22px;
}

.lc-social:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.lc-social:focus-visible {
  outline: 2px solid #ffc107;
  outline-offset: 3px;
}

.lc-social-insta {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.lc-social-yt {
  background: linear-gradient(145deg, #ff6b8d 0%, #ff0033 42%, #b31217 100%);
}

.lc-social-discord {
  background: linear-gradient(145deg, #7289da 0%, #5865f2 50%, #4752c4 100%);
}

.lc-footer-legal a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.lc-footer-legal a:hover {
  color: #ffc107;
}

.lc-footer-copy {
  color: rgba(255, 255, 255, 0.45);
}

/* Trustpilot */
.trustpilot-custom-link {
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease;
}

.trustpilot-custom-link:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.trustpilot-badge {
  background: rgba(0, 182, 122, 0.08);
  border: 1.5px solid rgba(0, 182, 122, 0.25);
  border-radius: 10px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.trustpilot-custom-link:hover .trustpilot-badge {
  background: rgba(0, 182, 122, 0.15);
  border-color: rgba(0, 182, 122, 0.4);
  box-shadow: 0 4px 12px rgba(0, 182, 122, 0.15);
}

.trustpilot-logo-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trustpilot-logo-text svg {
  flex-shrink: 0;
}

.trustpilot-brand {
  color: #00b67a;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.trustpilot-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.trustpilot-stars {
  color: #00b67a;
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 1;
}

.trustpilot-info {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trustpilot-score {
  color: #f1f5f9;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.trustpilot-separator {
  color: #888;
  font-size: 14px;
}

.trustpilot-reviews {
  color: #aaa;
  font-size: 13px;
  line-height: 1;
}

html:not([data-bs-theme="dark"]) .footer .trustpilot-score {
  color: #1a1a1a;
}

html:not([data-bs-theme="dark"]) .footer .trustpilot-separator {
  color: #adb5bd;
}

html:not([data-bs-theme="dark"]) .footer .trustpilot-reviews {
  color: #6c757d;
}

@media (max-width: 768px) {
  .trustpilot-badge {
    flex-direction: column;
    padding: 14px 18px;
    gap: 12px;
  }

  .trustpilot-rating {
    align-items: center;
  }

  .trustpilot-info {
    flex-direction: column;
    gap: 2px;
  }

  .trustpilot-separator {
    display: none;
  }
}

/* Footer social row: keep Play + Instagram + YouTube + Discord on one line on mobile */
@media (max-width: 767.98px) {
  .lc-footer-social {
    flex-wrap: nowrap;
    gap: clamp(0.35rem, 2.2vw, 0.55rem);
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding-inline: 0.25rem;
  }

  .lc-footer-social .lc-play-badge {
    flex: 0 1 auto;
    min-width: 0;
  }

  .lc-footer-social .lc-play-badge img {
    height: 40px;
    width: auto;
    max-width: min(128px, 34vw);
  }

  .lc-footer-social .lc-social {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .lc-footer-social .lc-social svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 380px) {
  .lc-footer-social {
    gap: 0.3rem;
  }

  .lc-footer-social .lc-play-badge img {
    height: 34px;
    max-width: min(108px, 30vw);
  }

  .lc-footer-social .lc-social {
    width: 34px;
    height: 34px;
  }

  .lc-footer-social .lc-social svg {
    width: 18px;
    height: 18px;
  }
}
