/**
 * public-pages.css - Shared styles for public pages (news, vote, shop, giveaways)
 *
 * Includes:
 * - Footer styles for all public pages
 * - Mobile navbar adjustments for public pages
 * - Responsive breakpoints
 */

/* ===== FOOTER STYLES ===== */
.site-footer {
  margin-top: 4rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 3rem 0 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.footer-brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-tagline {
  color: var(--primary-color);
  font-weight: 500;
  margin: 0;
  font-size: 0.95rem;
}

.footer-description {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.footer-section h4 {
  margin: 0 0 1.25rem 0;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}

.footer-section a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1.5rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ===== MOBILE NAVBAR ADJUSTMENTS ===== */
@media (max-width: 768px) {
  .navbar-user {
    gap: 0.5rem;
  }

  /* Smaller padding for container */
  .container {
    padding: 0 0.75rem;
  }
}

/* ===== FOOTER RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 0.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-brand-header {
    justify-content: center;
  }
}
