/* Blog Styles - Consistent with LoungeFinder Design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --background-dark: #0f172a;
  --background-light: #f8fafc;
  --card-dark: #1e293b;
  --card-light: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #f1f5f9;
  --border-color: #e2e8f0;
  --border-radius: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  background: var(--background-light);
  color: var(--text-primary);
  min-height: 100vh;
}

/* Blog Index Styles */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  min-height: 100vh;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 2rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

/* Blog List Styles */
ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

li {
  background: var(--card-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

li:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

li a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

li a:hover {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

li p {
  color: var(--text-secondary);
  margin: 0.5rem 0;
  font-size: 1rem;
}

li small {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Article Styles */
article {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  background: var(--card-light);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

article header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

article h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

article time {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
}

article img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin: 1.5rem 0;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

article h2 {
  font-size: 1.875rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem 0;
  color: var(--text-primary);
  position: relative;
}

article h2::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 3rem;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

article p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

article ul {
  padding-left: 1.5rem;
  margin: 1.5rem 0;
}

article li {
  background: transparent;
  padding: 0.5rem 0;
  margin: 0;
  border: none;
  box-shadow: none;
  font-size: 1.125rem;
  list-style: disc;
}

article li:hover {
  transform: none;
  box-shadow: none;
}

article footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Navigation Links */
.nav-link {
  display: inline-block;
  margin: 2rem 0;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
  main, article {
    padding: 2rem 1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  article h1 {
    font-size: 1.875rem;
  }
  
  article h2 {
    font-size: 1.5rem;
  }
  
  article p, article li {
    font-size: 1rem;
  }
}

/* Back to Top Button */
.back-to-home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary-gradient);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: transform 0.3s ease;
  margin-top: 2rem;
}

.back-to-home:hover {
  transform: translateY(-2px);
  color: white;
}
