/* CSS Custom Properties & Variables */
:root {
  /* Common variables */
  --font-heading: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --primary: hsl(5, 100%, 66%); /* Product Hunt Orange */
  --primary-hover: hsl(5, 100%, 60%);
  --primary-active: hsl(5, 100%, 55%);
  --primary-light: hsla(5, 100%, 66%, 0.15);
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 15px var(--primary-light);
}

/* Dark Theme (Default) */
html[data-theme="dark"] {
  --bg-app: hsl(222, 28%, 7%);
  --bg-header: hsla(222, 28%, 7%, 0.85);
  --bg-card: hsla(222, 24%, 12%, 0.6);
  --bg-card-hover: hsla(222, 24%, 16%, 0.7);
  --bg-input: hsla(222, 24%, 10%, 0.8);
  --bg-pill: hsla(222, 24%, 15%, 0.8);
  --bg-pill-hover: hsla(222, 24%, 22%, 0.9);
  --border-color: hsla(222, 20%, 22%, 0.4);
  --border-color-hover: hsla(222, 20%, 30%, 0.6);
  
  --text-main: hsl(222, 15%, 92%);
  --text-sub: hsl(222, 12%, 68%);
  --text-muted: hsl(222, 10%, 48%);
  
  --glass-bg: rgba(23, 28, 41, 0.7);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --backdrop-blur: 12px;
}

/* Light Theme */
html[data-theme="light"] {
  --bg-app: hsl(210, 20%, 98%);
  --bg-header: rgba(255, 255, 255, 0.85);
  --bg-card: rgba(255, 255, 255, 0.7);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --bg-input: rgba(241, 243, 245, 0.9);
  --bg-pill: rgba(233, 236, 239, 0.8);
  --bg-pill-hover: rgba(222, 226, 230, 0.9);
  --border-color: rgba(0, 0, 0, 0.06);
  --border-color-hover: rgba(0, 0, 0, 0.12);
  
  --text-main: hsl(222, 25%, 12%);
  --text-sub: hsl(222, 12%, 40%);
  --text-muted: hsl(222, 10%, 55%);
  
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.04);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  --backdrop-blur: 12px;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-app);
  color: var(--text-main);
  line-height: 1.5;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
  background-image: 
    radial-gradient(at 10% 20%, var(--primary-light) 0px, transparent 50%),
    radial-gradient(at 90% 80%, hsla(210, 100%, 50%, 0.05) 0px, transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-app);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Buttons */
.primary-btn {
  background-color: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px 0 rgba(255, 97, 84, 0.3);
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.primary-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px 0 rgba(255, 97, 84, 0.45);
}

.primary-btn:active {
  background-color: var(--primary-active);
  transform: translateY(1px);
}

.secondary-btn {
  background-color: var(--bg-pill);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.secondary-btn:hover {
  background-color: var(--bg-pill-hover);
  border-color: var(--border-color-hover);
}

.icon-btn {
  background: none;
  border: 1px solid var(--border-color);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--text-sub);
  transition: all var(--transition-fast);
}

.icon-btn:hover {
  background-color: var(--bg-pill);
  color: var(--text-main);
  border-color: var(--border-color-hover);
  transform: scale(1.05);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-header);
  backdrop-filter: blur(var(--backdrop-blur));
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-icon {
  background-color: var(--primary);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 97, 84, 0.3);
}

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

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.search-bar {
  flex: 1;
  max-width: 480px;
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-bar input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background-color: var(--bg-input);
  transition: all var(--transition-normal);
  outline: none;
}

.search-bar input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
  background-color: var(--bg-card);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Main Container Layout */
.main-container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 24px;
  flex: 1;
}

/* Category Filter Tabs */
.category-nav-wrapper {
  overflow-x: auto;
  margin-bottom: 24px;
  padding-bottom: 4px;
}

.category-nav-wrapper::-webkit-scrollbar {
  height: 4px;
}

.category-nav {
  display: flex;
  gap: 8px;
  white-space: nowrap;
}

.cat-pill {
  background-color: var(--bg-pill);
  border: 1px solid var(--border-color);
  color: var(--text-sub);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.cat-pill:hover {
  background-color: var(--bg-pill-hover);
  color: var(--text-main);
  border-color: var(--border-color-hover);
}

.cat-pill.active {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
}

/* Responsive Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
}

/* Left Column Feed */
.feed-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.feed-header h2 {
  font-size: 1.25rem;
  color: var(--text-main);
}

.feed-sorting {
  display: flex;
  gap: 4px;
  background-color: var(--bg-pill);
  padding: 3px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.sort-btn {
  background: none;
  border: none;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.sort-btn.active {
  background-color: var(--bg-card);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

/* Skills List Feed */
.skills-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Skill Card */
.skill-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--backdrop-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
}

.skill-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-color-hover);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

.skill-logo {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.skill-details-brief {
  flex: 1;
  min-width: 0;
}

.skill-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.skill-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.skill-author {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.skill-tagline {
  font-size: 0.875rem;
  color: var(--text-sub);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.skill-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.meta-badge {
  background-color: var(--bg-pill);
  border: 1px solid var(--border-color);
  color: var(--text-sub);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.meta-badge.category-badge {
  background-color: var(--primary-light);
  color: var(--primary);
  border-color: transparent;
  font-weight: 600;
}

.comments-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 8px;
  transition: color var(--transition-fast);
}

.skill-card:hover .comments-link {
  color: var(--text-sub);
}

/* Upvote Button */
.upvote-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.upvote-btn {
  background: var(--bg-pill);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  width: 52px;
  height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.upvote-btn:hover {
  background-color: var(--bg-pill-hover);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.upvote-btn.upvoted {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.upvote-btn.upvoted .vote-arrow {
  transform: translateY(-2px);
}

.vote-arrow {
  transition: transform var(--transition-fast);
}

.vote-count {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8125rem;
}

/* Sidebar Section */
.sidebar-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--backdrop-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.sidebar-card h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.info-card p {
  font-size: 0.875rem;
  color: var(--text-sub);
  margin-bottom: 14px;
}

.text-link {
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.text-link:hover {
  text-decoration: underline;
}

/* Leaderboard */
.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.leaderboard-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hunter-rank {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-muted);
  width: 16px;
  font-size: 0.875rem;
}

.hunter-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
}

.hunter-info {
  display: flex;
  flex-direction: column;
}

.hunter-name {
  font-size: 0.8125rem;
  font-weight: 600;
}

.hunter-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Promo Card */
.promo-card {
  background: linear-gradient(135deg, hsla(5, 100%, 66%, 0.1) 0%, hsla(220, 100%, 50%, 0.05) 100%);
  border: 1px solid hsla(5, 100%, 66%, 0.2);
}

.promo-card .badge {
  background-color: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 8px;
}

.promo-card h4 {
  font-size: 0.9375rem;
  margin-bottom: 6px;
}

.promo-card p {
  font-size: 0.8125rem;
  color: var(--text-sub);
  margin-bottom: 12px;
}

.promo-card pre {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  overflow-x: auto;
  border: 1px solid var(--border-color);
}

.promo-card code {
  font-family: 'Courier New', Courier, monospace;
  color: var(--text-main);
}

/* Modals */
.modal {
  border: none;
  background: transparent;
  padding: 0;
  max-width: 100vw;
  max-height: 100vh;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color-hover);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 640px;
  max-width: calc(100vw - 32px);
  margin: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  outline: none;
  animation: modal-fade-in var(--transition-slow);
}

@keyframes modal-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-body {
  padding: 28px;
  max-height: 85vh;
  overflow-y: auto;
}

/* Detail Modal Styling */
.detail-header {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.detail-logo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.detail-header-info {
  flex: 1;
}

.detail-header-info h2 {
  font-size: 1.5rem;
  margin-bottom: 4px;
  line-height: 1.2;
}

.detail-author-row {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.detail-author-row strong {
  color: var(--text-sub);
}

.detail-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.detail-desc {
  font-size: 0.9375rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 24px;
  white-space: pre-line;
}

.detail-actions {
  display: flex;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  margin-bottom: 24px;
}

.detail-actions .upvote-btn {
  flex-direction: row;
  width: auto;
  height: auto;
  padding: 10px 18px;
  gap: 8px;
  font-size: 0.875rem;
}

/* Comments Section */
.comments-section h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.comment-count-badge {
  background-color: var(--bg-pill);
  color: var(--text-sub);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.comment-item {
  background-color: var(--bg-pill);
  border-radius: var(--radius-md);
  padding: 14px;
  border: 1px solid var(--border-color);
}

.comment-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.75rem;
}

.comment-author {
  font-weight: 600;
  color: var(--text-main);
}

.comment-date {
  color: var(--text-muted);
}

.comment-text {
  font-size: 0.875rem;
  color: var(--text-sub);
  white-space: pre-wrap;
}

.no-comments {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.875rem;
  margin-bottom: 20px;
}

/* Comment Form */
.comment-form {
  background-color: var(--bg-input);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border-color);
}

.comment-form h4 {
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.comment-form-grid {
  display: grid;
  gap: 12px;
}

.comment-form input,
.comment-form textarea {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  outline: none;
  font-size: 0.875rem;
  transition: border-color var(--transition-fast);
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--primary);
}

.comment-form textarea {
  resize: vertical;
}

/* Submit Modal Styling */
.submit-modal-content {
  width: 720px;
}

.submit-modal-content h2 {
  font-size: 1.5rem;
  padding: 28px 28px 0 28px;
}

.modal-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 4px 28px 20px 28px;
  border-bottom: 1px solid var(--border-color);
}

#submit-skill-form {
  padding: 24px 28px 28px 28px;
  max-height: 70vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-sub);
}

.form-group input,
.form-group select,
.form-group textarea {
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  outline: none;
  font-size: 0.875rem;
  transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background-color: var(--bg-card);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.help-text {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.logo-customizer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-customizer input[type="text"] {
  width: 80px;
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
}

.logo-customizer input[type="color"] {
  -webkit-appearance: none;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: none;
}

.logo-customizer input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.logo-customizer input[type="color"]::-webkit-color-swatch {
  border: 1px solid var(--border-color-hover);
  border-radius: var(--radius-md);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  margin-top: 8px;
}

/* Empty State / Loading State */
.empty-state, .loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  color: var(--text-sub);
  text-align: center;
  font-size: 0.9375rem;
}

.spinner {
  border: 3px solid var(--border-color);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius-full);
  width: 24px;
  height: 24px;
  animation: spin 0.8s linear infinite;
  margin-bottom: 12px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Footer Section */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 24px 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: auto;
  background-color: var(--bg-header);
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Responsive Breakpoints */
@media (max-width: 820px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .sidebar-section {
    order: 2;
  }
  
  .feed-section {
    order: 1;
  }
  
  .header-container {
    padding: 12px 16px;
  }
  
  .search-bar {
    display: none; /* Hide standard search bar in mobile header */
  }
  
  .main-container {
    padding: 16px;
  }
}
