@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap');

:root {
  /* Organic Feline Flow Palette */
  --primary-color: #e76f51; /* Burnt Sienna - Warm & Energetic */
  --primary-hover: #d35400;
  --secondary-color: #2a9d8f; /* Persian Green - Calming Nature */
  --background-color: #fdfcf5; /* Warm Cream Background */
  --card-bg: #ffffff;
  --text-main: #264653; /* Dark Charcoal Blue */
  --text-muted: #6d6875; /* Soft Muted Purple-Grey */
  --accent-color: #e9c46a; /* Sandy Yellow */
  
  --shadow-sm: 0 2px 8px rgba(38, 70, 83, 0.05);
  --shadow-md: 0 4px 12px rgba(38, 70, 83, 0.08);
  --shadow-lg: 0 8px 24px rgba(38, 70, 83, 0.12);
  
  --font-family: 'Nunito', sans-serif; /* Rounded, friendly font */
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-pill: 50px;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--background-color);
  color: var(--text-main);
  line-height: 1.6;
  background-image: radial-gradient(#e9c46a 0.5px, transparent 0.5px), radial-gradient(#2a9d8f 0.5px, #fdfcf5 0.5px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  /* Very subtle dot pattern for texture */
  background-blend-mode: multiply;
  opacity: 0.98;
}

header {
  background: linear-gradient(120deg, var(--secondary-color), #21867a);
  color: white;
  padding: 4rem 1rem 6rem 1rem; /* Extra bottom padding for the curve */
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  border-bottom-left-radius: 50% 20px;
  border-bottom-right-radius: 50% 20px;
  margin-bottom: 2rem;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

#lang-toggle {
  position: absolute;
  top: -2rem; /* Adjusted for new padding */
  right: 0;
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-family);
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

#lang-toggle:hover {
  background: white;
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.nav-links {
  display: none;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  min-height: 80vh;
}

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

.hero h1 {
  font-size: 3rem; /* Larger title */
  margin-bottom: 0.5rem;
  color: var(--text-main); /* Dark Charcoal */
  font-weight: 800; /* Extra bold for bubbly effect */
  letter-spacing: -0.5px;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.25rem;
}

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

.loading {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-muted);
  padding: 2rem;
}

footer {
  text-align: center;
  padding: 2rem;
  background-color: var(--card-bg);
  color: var(--text-muted);
  margin-top: 3rem;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  nav {
    flex-direction: column;
    gap: 1rem;
  }
}