@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

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

:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --warm: #fdf8f6;
  --sun: #FFBF00;
  --earth: #E2725B;
  --onyx: #1A1A1A;
  --text-main: #2D241E;
  --text-muted: #6B7280;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 40px -12px rgba(163,112,88,0.12);
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--warm);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.app {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 280px;
  background: linear-gradient(180deg, var(--amber-50) 0%, var(--warm) 100%);
  border-right: 1px solid rgba(255,191,0,0.15);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--sun);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: white;
  font-size: 1.2rem;
  font-family: 'Outfit';
  box-shadow: 0 8px 16px rgba(255,191,0,0.2);
}

.sidebar-title {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav-group {
  margin-bottom: 1.5rem;
}

.nav-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.nav-item:hover {
  background: rgba(255,191,0,0.08);
}

.nav-item.active {
  background: rgba(245,158,11,0.12);
  color: var(--amber-600);
  font-weight: 600;
}

.nav-item svg {
  width: 20px;
  height: 20px;
}

/* Main Content */
.main-content {
  margin-left: 280px;
  flex: 1;
  padding: 2rem 3rem;
  max-width: 1200px;
}

/* Hero */
.hero {
  position: relative;
  height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 3rem;
  background: linear-gradient(135deg, var(--amber-100) 0%, rgba(255,191,0,0.3) 100%);
  margin-bottom: 2.5rem;
}

.hero-content {
  z-index: 2;
  max-width: 550px;
}

.hero-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.5);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--amber-600);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
}

.btn-primary {
  background: var(--onyx);
  color: white;
  padding: 0.9rem 1.8rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(26,26,26,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--onyx);
  padding: 0.9rem 1.8rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid var(--onyx);
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--onyx);
  color: white;
}

/* Cards & Grids */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(245,158,11,0.1);
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(245,158,11,0.3);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(245,158,11,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-600);
  margin-bottom: 1rem;
}

.section {
  margin-bottom: 2.5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 1.75rem;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(245,158,11,0.08);
}

.feature-card svg {
  width: 40px;
  height: 40px;
  color: var(--amber-600);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Dog Card */
.dog-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  border: 1px solid rgba(245,158,11,0.12);
}

.dog-avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--amber-100), var(--amber-500));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.dog-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.dog-breed {
  color: var(--amber-600);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.dog-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 700;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(245,158,11,0.15);
  padding-bottom: 0.5rem;
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  border-radius: var(--radius-sm);
}

.tab-btn:hover {
  color: var(--text-main);
}

.tab-btn.active {
  color: var(--amber-600);
  background: rgba(245,158,11,0.08);
}

/* List Items */
.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(245,158,11,0.08);
}

.list-item:last-child {
  border-bottom: none;
}

.list-item-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.list-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(245,158,11,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-600);
}

.list-badge {
  background: var(--amber-100);
  color: var(--amber-600);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Feed Posts */
.feed-post {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(245,158,11,0.08);
  margin-bottom: 1rem;
}

.feed-header {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}

.feed-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--amber-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--amber-600);
}

.feed-meta {
  display: flex;
  flex-direction: column;
}

.feed-author {
  font-weight: 600;
  font-size: 0.95rem;
}

.feed-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.feed-content {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.feed-image {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--amber-100), var(--earth));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feed-actions {
  display: flex;
  gap: 1.5rem;
}

.feed-action {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
}

.feed-action:hover {
  color: var(--amber-600);
}

/* Map Box */
.map-box {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,191,0,0.1), rgba(226,114,91,0.1));
  border: 1px solid rgba(245,158,11,0.1);
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
}

.map-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--amber-600);
}

/* Badges */
.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
}

.badge-item {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  border: 1px solid rgba(245,158,11,0.1);
  transition: all 0.3s;
}

.badge-item:hover {
  background: rgba(245,158,11,0.05);
  transform: translateY(-3px);
}

.badge-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-name {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-locked {
  opacity: 0.5;
  filter: grayscale(1);
}

/* Responsive */
@media (max-width: 1024px) {
  .sidebar {
    width: 80px;
    padding: 1.5rem 0.75rem;
  }
  .sidebar-title, .nav-label, .nav-item span {
    display: none;
  }
  .sidebar-header {
    justify-content: center;
  }
  .main-content {
    margin-left: 80px;
    padding: 1.5rem;
  }
  .feature-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .dog-card {
    flex-direction: column;
    text-align: center;
  }
  .dog-stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .sidebar {
    display: none;
  }
  .main-content {
    margin-left: 0;
    padding: 1rem;
  }
  .feature-cards {
    grid-template-columns: 1fr;
  }
  .hero {
    height: 400px;
    padding: 2rem;
  }
}
