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

:root {
  --background: #0a0a0a;
  --foreground: #ededed;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --border: #374151;
  --card: #111827;
  --muted: #6b7280;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --blue-400: #60a5fa;
  --blue-300: #93c5fd;
  --purple-500: #8b5cf6;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  min-height: 100vh;
  position: relative;
  line-height: 1.6;
}

/* Cute cat outline background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' fill='none'%3E%3Cpath d='M200 100C220 100 240 120 240 140C240 160 220 180 200 180C180 180 160 160 160 140C160 120 180 100 200 100Z' stroke='%23374151' stroke-width='1' opacity='0.1'/%3E%3Cpath d='M175 130C180 125 185 125 190 130' stroke='%23374151' stroke-width='1' opacity='0.1'/%3E%3Cpath d='M210 130C215 125 220 125 225 130' stroke='%23374151' stroke-width='1' opacity='0.1'/%3E%3Ccircle cx='185' cy='145' r='2' fill='%23374151' opacity='0.1'/%3E%3Ccircle cx='215' cy='145' r='2' fill='%23374151' opacity='0.1'/%3E%3Cpath d='M200 155L195 165L205 165Z' stroke='%23374151' stroke-width='1' opacity='0.1'/%3E%3Cpath d='M150 90L160 100' stroke='%23374151' stroke-width='1' opacity='0.1'/%3E%3Cpath d='M250 90L240 100' stroke='%23374151' stroke-width='1' opacity='0.1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 200px;
  opacity: 0.03;
  pointer-events: none;
  z-index: -1;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--gray-700);
  color: white;
}

.btn-primary:hover {
  background-color: var(--gray-600);
}

/* Main Layout */
.main-container {
  min-height: 100vh;
  background: linear-gradient(to bottom right, var(--gray-900), black, var(--gray-900));
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 8rem 0;
}

.hero-content {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Cat Container */
.cat-container {
  margin-bottom: 2rem;
  margin-left: -8rem;
}

.cat-glow {
  position: relative;
}

.cat-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 20rem;
  height: 20rem;
  background: linear-gradient(to bottom right, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.2));
  border-radius: 50%;
  filter: blur(3rem);
  transform: translateX(3.75rem);
}

.cat-wrapper {
  position: relative;
  transform: scale(0.75);
}

@media (min-width: 640px) {
  .cat-wrapper {
    transform: scale(1);
  }
}

/* Social Links */
.social-links {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.social-link {
  color: var(--gray-400);
  transition: all 0.2s ease;
  text-decoration: none;
}

.social-link:hover {
  color: white;
  transform: scale(1.1);
}

.social-icon {
  width: 1.75rem;
  height: 1.75rem;
  fill: currentColor;
}

/* About Section */
.about-section {
  padding: 4rem 0;
  background-color: rgba(17, 24, 39, 0.5);
}

.about-content {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.about-title {
  text-align: center;
  margin-bottom: 3rem;
}

.about-title h2 {
  font-size: 1.875rem;
  font-weight: bold;
  color: white;
  margin-bottom: 2rem;
}

.about-card {
  background-color: rgba(31, 41, 55, 0.5);
  border: 1px solid var(--gray-700);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}

.about-list {
  list-style: none;
  font-size: 1.125rem;
  color: white;
  margin-bottom: 1.5rem;
}

.about-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.about-bullet {
  color: white;
  margin-right: 0.75rem;
  margin-top: 0.125rem;
}

.about-link {
  color: var(--blue-400);
  text-decoration: underline;
}

.about-link:hover {
  color: var(--blue-300);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(55, 65, 81, 0.3);
  padding: 1rem 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Blog Page Styles */
.blog-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 1rem 3rem 1rem;
}

.blog-header {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-title {
  font-size: 2.25rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
    background-color: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}.blog-card:hover {
  transform: translateY(-2px);
  border-color: var(--gray-600);
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.blog-card-excerpt {
  color: var(--gray-300);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--gray-400);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0 5rem 0;
  }
  
  .cat-container {
    margin-left: 0;
  }
  
  .social-links {
    gap: 1.5rem;
  }
  
  .nav-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .blog-title {
    font-size: 1.875rem;
  }
}

/* Loading animation */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  color: var(--gray-400);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--gray-700);
  border-top: 4px solid var(--blue-400);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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