/* Footer Styles */
.footer {
  background: linear-gradient(135deg, var(--background-color) 0%, var(--card-background) 100%);
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.footer-link {
  color: var(--text-80);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
}

.footer-link:after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  .footer-redesign {
    padding-left: 0;
    padding-right: 0;
    min-width: 0;
    overflow-x: auto;
  }
  .footer-menu.redesigned-menu li {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
  transition: width 0.3s ease;
}

.footer-link:hover {
  color: white;
}

.footer-link:hover:after {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.footer-bottom p {
  color: var(--text-60);
  font-size: 0.875rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .footer {
    padding: 1.5rem 0;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Footer Widgets Grid */
.footer-widgets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
}

.footer-widget h3 {
  color: var(--text-color);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1rem;
  background: var(--card-background-40);
  color: var(--text-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.social-link:hover {
  background: var(--card-background-60);
  color: var(--text-color);
  transform: translateY(-2px);
  border-color: var(--border-color);
}

.footer-category-list,
.footer-games-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-category-list li,
.footer-games-list li {
  margin-bottom: 0.75rem;
}

.footer-category-list li:last-child,
.footer-games-list li:last-child {
  margin-bottom: 0;
}

.footer-category-list a,
.footer-games-list a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
  padding: 0.25rem 0;
}

.footer-category-list a:hover,
.footer-games-list a:hover {
  color: var(--text-color);
  padding-left: 0.5rem;
}

/* Simple Creative Footer Design for GameHub Theme - Color Scheme Compatible */
.footer-redesign {
  background: var(--background-color, #f8fafc);
  color: var(--text-color, #64748b);
  padding: 0;
  margin-top: 40px;
  font-family: var(--body-font, 'Inter', sans-serif);
  box-shadow: none;
  border-top: 1px solid var(--border-color, #e5e7eb);
}
.footer-main {
  margin: 0 auto;
  padding: 32px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-menu-section {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-nav {
  width: auto;
}
.footer-menu.redesigned-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 40px;
}
.footer-menu.redesigned-menu li {
  margin: 0;
  display: flex;
  align-items: center;
}
.footer-link, .footer-menu-link-text {
  color: var(--text-color, #64748b);
  font-size: 1rem;
  text-decoration: none;
  font-weight: 500;
  background: none;
  padding: 0 2px;
  border-radius: 0;
  transition: color 0.2s;
  position: relative;
  line-height: 1.2;
  display: inline-block;
}
.footer-link::after, .footer-menu-link-text::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: var(--accent-color, #667eea);
  position: absolute;
  left: 0;
  bottom: -2px;
  opacity: 0.7;
  transform: scaleX(0);
  transition: transform 0.2s;
}
.footer-link:hover::after, .footer-menu-link-text:hover::after {
  transform: scaleX(1);
}
.footer-link:hover, .footer-menu-link-text:hover {
  color: var(--accent-color, #667eea);
}
.footer-divider {
  width: 100%;
  height: 1px;
  background: var(--border-color, #e5e7eb);
  margin: 24px 0 18px 0;
}
.footer-copyright {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-color, #64748b);
  margin-bottom: 24px;
}
@media (max-width: 600px) {
  .footer-menu.redesigned-menu {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .footer-menu.redesigned-menu li {
    width: 100%;
    justify-content: center;
    text-align: center;
    margin: 0 !important;
    padding: 0 !important;
  }
  .footer-link, .footer-menu-link-text {
    display: block !important;
    width: 100%;
    text-align: center;
    padding: 8px 0 !important;
    font-size: 1rem !important;
  }
  .footer-main {
    padding: 18px 0 0 0;
    max-width: 100vw;
    min-width: 0;
  }
  .footer-menu-section {
    margin-bottom: 12px;
  }
  .footer-divider {
    margin: 16px 0 12px 0;
  }
  .footer-copyright {
    font-size: 0.9rem;
    margin-bottom: 12px;
    padding: 0 8px;
  }
}
