/* ===== MODERN FOOTER STYLES ===== */

:root {
  --primary-color: #007bff;
  --success-color: #28a745;
  --dark-color: #1a1a1a;
  --light-gray: #f8f9fa;
  --border-color: #e0e0e0;
}

.modern-footer {
  background: linear-gradient(to bottom, var(--light-gray) 0%, #ffffff 100%);
  margin-top: 0;
  border-top: 1px solid #ddd;
}

/* Match product page container width */
.modern-footer .container {
  max-width: 1400px;
}

/* === Footer Benefits Section === */
.footer-benefits {
  background: #fff;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
  padding: 40px 0;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
}

.benefit-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  min-width: 50px;
}

.benefit-text {
  display: flex;
  flex-direction: column;
}

.benefit-text strong {
  font-size: 15px;
  color: #1a1a1a;
  font-weight: 600;
  margin-bottom: 4px;
}

.benefit-text span {
  font-size: 13px;
  color: #666;
}

/* === Main Footer Content === */
.footer-main {
  padding: 60px 0 40px;
  background: #fff;
}

.footer-section {
  margin-bottom: 30px;
}

.footer-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.footer-heading {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f0f0f0;
  color: #666;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  color: #fff;
}

.social-link.facebook:hover {
  background: #1877f2;
  color: #fff;
}

.social-link.telegram:hover {
  background: #0088cc;
  color: #fff;
}

.social-link.tiktok:hover {
  background: #000;
  color: #fff;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  display: inline-block;
  position: relative;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 8px;
}

.footer-links a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.footer-links a:hover::before {
  width: 4px;
}

/* Footer Contacts */
.footer-contacts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contacts li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-contacts i {
  font-size: 20px;
  color: var(--primary-color);
  min-width: 20px;
  margin-top: 3px;
}

.footer-contacts div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-contacts strong {
  font-size: 13px;
  color: #1a1a1a;
  font-weight: 600;
}

.footer-contacts span,
.footer-contacts a {
  font-size: 14px;
  color: #666;
  text-decoration: none;
}

.footer-contacts a:hover {
  color: var(--primary-color);
}

.chat-link-footer {
  text-decoration: none !important;
  color: inherit !important;
}

.chat-link-footer:hover strong {
  color: var(--primary-color);
}

/* === Footer SEO Section === */
.footer-seo-section {
  background: var(--light-gray);
  padding: 50px 0;
  border-top: 1px solid var(--border-color);
}

.seo-section-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.seo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-tags a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  background: #fff;
  color: #666;
  text-decoration: none;
  font-size: 13px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.seo-tags a:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.tag-count {
  font-size: 11px;
  opacity: 0.7;
  font-weight: 500;
}

/* SEO Text Block */
.footer-seo-text {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.seo-text-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.footer-seo-text p {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 15px;
}

.seo-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.seo-features span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #1a1a1a;
  font-weight: 500;
}

.seo-features i {
  color: var(--success-color);
  font-size: 16px;
}

/* === Footer Bottom === */
.footer-bottom {
  background: var(--dark-color);
  color: #999;
  padding: 25px 0;
}

.copyright {
  margin: 0;
  font-size: 14px;
}

.payment-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.payment-label {
  font-size: 14px;
  margin-right: 5px;
}

.payment-methods i {
  font-size: 32px;
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.payment-methods i:hover {
  opacity: 1;
}

/* === Responsive === */
@media (max-width: 991px) {
  .footer-main {
    padding: 40px 0 30px;
  }

  .footer-section {
    margin-bottom: 35px;
  }
}

@media (max-width: 767px) {
  .modern-footer {
    margin-top: 40px;
  }

  .footer-benefits {
    padding: 30px 0;
  }

  .benefit-item {
    justify-content: center;
    text-align: center;
  }

  .benefit-text {
    align-items: center;
  }

  .footer-main {
    padding: 30px 0 20px;
  }

  .footer-seo-section {
    padding: 30px 0;
  }

  .footer-bottom {
    padding: 20px 0;
    text-align: center;
  }

  .payment-methods {
    justify-content: center;
    margin-top: 15px;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .benefit-item {
    flex-direction: column;
    text-align: center;
  }

  .benefit-item i {
    font-size: 2rem;
  }

  .benefit-text strong {
    font-size: 14px;
  }

  .benefit-text span {
    font-size: 12px;
  }
}

/* Disable hover effects on touch devices */
@media (hover: none) {
  .social-link:hover {
    transform: none;
    box-shadow: none;
  }

  .footer-links a:hover {
    padding-left: 0;
    color: #666;
  }

  .footer-links a:hover::before {
    width: 0;
  }

  .seo-tags a:hover {
    background: #fff;
    color: #666;
    border-color: #e0e0e0;
    transform: none;
    box-shadow: none;
  }
}

/* ===========================
   Time2Play Dark Theme Override
   =========================== */
.modern-footer {
  background: #f8f9fa;
  border-top: none;
}

/* Benefits bar */
.footer-benefits {
  background: #ffffff;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.benefit-item i {
  color: #FF6B35;
}

.benefit-text strong {
  color: #1f2937;
}

.benefit-text span {
  color: #6b7280;
}

/* Colorful benefit icons */
.benefit-item:nth-child(1) i { color: #FF6B35; }
.benefit-item:nth-child(2) i { color: #6B48FF; }
.benefit-item:nth-child(3) i { color: #10b981; }
.benefit-item:nth-child(4) i { color: #0ea5e9; }

/* Main footer */
.footer-main {
  background: #f8f9fa;
}

.footer-title {
  color: #1f2937;
  font-size: 22px;
}

.footer-heading {
  color: #6b7280;
  font-size: 12px;
  letter-spacing: 1.5px;
}

.footer-description {
  color: #6b7280;
}

/* Social links — кольорові */
.social-link {
  background: #f0f0f0;
  color: #374151;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 18px;
}

.social-link:hover {
  transform: translateY(-3px);
}

.social-link.instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: white; }
.social-link.facebook  { background: #1877f2; color: white; }
.social-link.telegram  { background: #0088cc; color: white; }
.social-link.tiktok    { background: #010101; color: white; }

/* Footer links */
.footer-links a {
  color: #6b7280;
}

.footer-links a:hover {
  color: #FF6B35;
  padding-left: 8px;
}

.footer-links a::before {
  background: #FF6B35;
}

/* Footer contacts */
.footer-contacts i {
  color: #FF6B35;
}

.footer-contacts strong {
  color: #1f2937;
}

.footer-contacts span,
.footer-contacts a {
  color: #6b7280;
}

.footer-contacts a:hover {
  color: #FF6B35;
}

/* SEO section */
.footer-seo-section {
  background: #f0f4ff;
  border-top: 1px solid #e5e7eb;
}

.seo-section-title {
  color: #6b7280;
}

.seo-text-title {
  color: #1f2937;
}

.footer-seo-text p {
  color: #6b7280;
}

.seo-features span {
  color: #374151;
}

.seo-features i {
  color: #10b981;
}

.seo-tags a {
  background: #ffffff;
  color: #6b7280;
  border-color: #e5e7eb;
}

.seo-tags a:hover {
  background: #FF6B35;
  color: white;
  border-color: #FF6B35;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,107,53,0.35);
}

/* Footer bottom */
.footer-bottom {
  background: #1f2937;
  border-top: none;
}

.copyright {
  color: rgba(255,255,255,0.5);
}

.payment-methods i {
  color: rgba(255,255,255,0.7);
}

.payment-methods i:hover {
  color: white;
}