/* ===== BREED DETAIL PAGE ===== */
.breed-detail-hero {
  position: relative; height: 420px; overflow: hidden; background: #1a1a2e;
}
.breed-detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.breed-detail-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.3) 55%, transparent 100%);
  display: flex; align-items: flex-end; padding: 2.5rem;
}
.breed-detail-hero-info { color: #fff; max-width: 700px; }
.breed-detail-hero-info h1 { color: #fff; margin-bottom: .5rem; font-size: clamp(2rem,4vw,3.2rem); }
.breed-stat-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.breed-stat-pill {
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  color: #fff; padding: .3rem .9rem; border-radius: 50px; font-size: .8rem; font-weight: 500;
}
.breed-detail-hero-shimmer {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
}

/* Trait / rating bars */
.trait-bar { display:flex; align-items:center; gap:1rem; padding:.55rem 0; border-bottom:1px solid var(--border); }
.trait-bar:last-child { border-bottom: none; }
.trait-name { width:148px; font-size:.88rem; font-weight:500; color:var(--text-muted); flex-shrink:0; }
.trait-track { flex:1; height:8px; background:var(--bg2); border-radius:50px; overflow:hidden; }
.trait-fill { height:100%; background:var(--primary); border-radius:50px; width:0; transition: width 1s ease .2s; }
.trait-value { font-size:.82rem; color:var(--text-muted); width:28px; text-align:right; flex-shrink:0; }

/* Breed photo gallery */
.breed-photo-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:1rem; }
.breed-photo-item { border-radius:var(--radius-sm); overflow:hidden; aspect-ratio:1; cursor:pointer; background:var(--bg2); }
.breed-photo-item img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.breed-photo-item:hover img { transform:scale(1.06); }

/* Suitability tags */
.suitability-tag {
  display:inline-flex; align-items:center; gap:.4rem;
  background: linear-gradient(135deg, #fff8f0, var(--bg2)); border:1px solid var(--primary-light);
  color:var(--primary-dark); padding:.35rem .9rem; border-radius:50px; font-size:.83rem; font-weight:500;
}

/* Breadcrumb */
.breadcrumb { font-size:.85rem; color:var(--text-muted); margin-bottom:1.5rem; }
.breadcrumb a { color:var(--primary); }
.breadcrumb span { margin:0 .4rem; }

/* ===== PAGE HEROES ===== */
.page-hero {
  padding: 4.5rem 1.5rem 3rem;
  text-align: center; color: #fff;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}
.page-hero-badge {
  display: inline-block; background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.9);
  padding: .35rem 1.1rem; border-radius: 50px; font-size: .78rem;
  font-weight: 600; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 1rem;
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: .8rem; }
.page-hero p { color: rgba(255,255,255,.72); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.page-hero--feeding    { background: linear-gradient(135deg, #1e3d0f, #2e6e1f); }
.page-hero--ailments   { background: linear-gradient(135deg, #3d0f0f, #6e2020); }
.page-hero--behaviours { background: linear-gradient(135deg, #0f1e3d, #1f3570); }
.page-hero--caring     { background: linear-gradient(135deg, #3d0f2a, #6e1f4e); }
.page-hero--toys       { background: linear-gradient(135deg, #3d2a0f, #6e4a1f); }
.page-hero--breeds     { background: linear-gradient(135deg, #0f3d2a, #1f6e4a); }
.page-hero--gallery    { background: linear-gradient(135deg, #2a0f3d, #4a1f6e); }
.page-hero--cartoons   { background: linear-gradient(135deg, #3d0f2a, #6e1f4a); }
.page-hero--videos     { background: linear-gradient(135deg, #0a0a1a, #0f3460); }

/* ===== SHIMMER (breed image loading) ===== */
.shimmer {
  background: linear-gradient(90deg, var(--bg2) 25%, #ddd8ce 50%, var(--bg2) 75%);
  background-size: 400% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ===== HOME PAGE SECTION CARDS ===== */
.section-nav-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.2rem;
}
.section-nav-card {
  background: var(--card); border-radius: var(--radius); padding: 1.8rem 1.4rem;
  box-shadow: var(--shadow); border: 1px solid var(--border); transition: all .3s;
  text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: .6rem;
}
.section-nav-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--primary-light); color: var(--text); }
.section-nav-card .snc-icon { font-size: 2.4rem; }
.section-nav-card h3 { font-size: 1.05rem; margin: 0; }
.section-nav-card p { font-size: .85rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
.section-nav-card .snc-arrow { margin-top: auto; font-size: .85rem; color: var(--primary); font-weight: 600; }

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #e8753a;
  --primary-light: #f9a87a;
  --primary-dark: #c45a20;
  --accent: #3d5a80;
  --accent-light: #6b8fb5;
  --bg: #faf8f5;
  --bg2: #f0ece4;
  --card: #ffffff;
  --text: #2c2c2c;
  --text-muted: #6b6b6b;
  --border: #e0d8cc;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 40px rgba(232,117,58,0.2);
  --radius: 16px;
  --radius-sm: 8px;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 0.8rem; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

/* ===== HEADER & NAV ===== */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
#header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }

.header-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700;
  color: var(--primary); text-decoration: none;
}
.logo-icon { font-size: 1.8rem; }

nav { display: flex; align-items: center; gap: 0.2rem; }
nav a {
  padding: 0.4rem 0.7rem; border-radius: var(--radius-sm);
  font-size: 0.82rem; font-weight: 500; color: var(--text);
  transition: all 0.2s; white-space: nowrap;
}
nav a:hover, nav a.active { background: var(--primary); color: #fff; }

.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 0.4rem; color: var(--text); font-size: 1.4rem;
}

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 70%, #533483 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 6rem 1.5rem 3rem;
  position: relative; overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content { position: relative; z-index: 1; max-width: 860px; }

.hero-badge {
  display: inline-block; background: rgba(232,117,58,0.2); border: 1px solid var(--primary-light);
  color: var(--primary-light); padding: 0.4rem 1.2rem; border-radius: 50px;
  font-size: 0.85rem; font-weight: 500; margin-bottom: 1.5rem; letter-spacing: 0.05em;
}

#hero h1 {
  color: #fff; margin-bottom: 1.2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto;
}

.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  padding: 0.85rem 2rem; border-radius: 50px; font-weight: 600;
  font-size: 0.95rem; cursor: pointer; border: none; transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,117,58,0.4); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; transform: translateY(-2px); }

.hero-stats {
  display: flex; gap: 2.5rem; justify-content: center; margin-top: 3rem;
  padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--primary-light); display: block; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.08em; }

.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.4); font-size: 1.5rem; animation: bounce 2s infinite;
}
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }

/* ===== SECTIONS ===== */
.section {
  padding: 5rem 1.5rem;
}
.section-alt { background: var(--bg2); }

.container { max-width: 1200px; margin: 0 auto; }
.container-wide { max-width: 1400px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block; background: var(--primary); color: #fff;
  padding: 0.3rem 1rem; border-radius: 50px; font-size: 0.75rem;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.8rem;
}
.section-header h2 { color: var(--text); margin-bottom: 0.8rem; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ===== DAILY TICKER ===== */
.daily-ticker {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-light));
  color: #fff; padding: 0.7rem 0; overflow: hidden; white-space: nowrap;
}
.ticker-inner { display: flex; animation: ticker 30s linear infinite; }
.ticker-item { padding: 0 2rem; font-size: 0.85rem; font-weight: 500; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== CARDS ===== */
.card {
  background: var(--card); border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow); border: 1px solid var(--border); transition: all 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--primary-light); }

.card-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.6rem; color: var(--text); }
.card p { color: var(--text-muted); font-size: 0.93rem; line-height: 1.65; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }

/* ===== FEEDING SECTION ===== */
.recipe-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border); transition: all 0.3s;
}
.recipe-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.recipe-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 1.2rem 1.5rem; color: #fff;
}
.recipe-header h4 { font-family: var(--font-head); font-size: 1.1rem; }
.recipe-header .recipe-meta { font-size: 0.78rem; opacity: 0.85; margin-top: 0.3rem; }
.recipe-body { padding: 1.5rem; }
.recipe-body ul { list-style: none; }
.recipe-body ul li { padding: 0.3rem 0; font-size: 0.9rem; color: var(--text-muted); }
.recipe-body ul li::before { content: '• '; color: var(--primary); font-weight: bold; }

.warning-box {
  background: #fff8f0; border-left: 4px solid var(--primary);
  padding: 1.2rem 1.5rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 1rem;
}
.warning-box h4 { color: var(--primary-dark); margin-bottom: 0.5rem; }
.warning-box ul { list-style: none; }
.warning-box ul li { font-size: 0.9rem; color: var(--text-muted); padding: 0.2rem 0; }
.warning-box ul li::before { content: '⚠️ '; }

/* ===== AILMENTS ===== */
.ailment-card {
  background: var(--card); border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow); border: 1px solid var(--border); transition: all 0.3s;
  display: flex; flex-direction: column; gap: 0.8rem;
}
.ailment-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.ailment-severity {
  display: inline-block; padding: 0.2rem 0.7rem; border-radius: 50px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; width: fit-content;
}
.sev-high { background: #fde8e8; color: #c0392b; }
.sev-med { background: #fef3cd; color: #856404; }
.sev-low { background: #d4edda; color: #155724; }
.ailment-card h3 { font-size: 1.05rem; margin: 0; }
.ailment-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }
.symptoms-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.symptom-tag {
  background: var(--bg2); padding: 0.2rem 0.6rem; border-radius: 50px;
  font-size: 0.78rem; color: var(--text-muted); border: 1px solid var(--border);
}

/* ===== BEHAVIOURS ===== */
.behaviour-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border); transition: all 0.3s;
}
.behaviour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.behaviour-icon-wrap {
  background: linear-gradient(135deg, var(--bg2), var(--bg));
  padding: 2rem; text-align: center; font-size: 3rem;
  border-bottom: 1px solid var(--border);
}
.behaviour-body { padding: 1.5rem; }
.behaviour-body h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.behaviour-body p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ===== CARING ===== */
.caring-timeline { position: relative; padding-left: 2.5rem; }
.caring-timeline::before {
  content: ''; position: absolute; left: 0.6rem; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--primary), var(--primary-light));
}
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-dot {
  position: absolute; left: -2.5rem; top: 0.2rem;
  width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--primary); border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--primary-light);
}
.timeline-content {
  background: var(--card); border-radius: var(--radius); padding: 1.4rem;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.timeline-content h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.timeline-content p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ===== TOYS ===== */
.toy-card {
  background: var(--card); border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow); border: 1px solid var(--border); transition: all 0.3s;
  text-align: center;
}
.toy-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.toy-icon { font-size: 2.8rem; margin-bottom: 0.8rem; }
.toy-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.toy-card p { font-size: 0.85rem; color: var(--text-muted); }
.toy-rating { color: #f4b942; margin-top: 0.5rem; font-size: 0.85rem; }

/* ===== BREEDS ===== */
.breed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.breed-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border); transition: all 0.3s; cursor: pointer;
}
.breed-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(232,117,58,0.25); }
.breed-img-wrap { height: 200px; overflow: hidden; position: relative; background: var(--bg2); }
.breed-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.breed-card:hover .breed-img-wrap img { transform: scale(1.08); }
.breed-img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 4rem; background: linear-gradient(135deg, var(--bg2), var(--bg));
}
.breed-info { padding: 1.4rem; }
.breed-info h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.breed-origin { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.8rem; }
.breed-traits { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.8rem; }
.trait-tag {
  background: var(--bg2); color: var(--text-muted);
  padding: 0.2rem 0.6rem; border-radius: 50px; font-size: 0.75rem;
}
.breed-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.breed-stat { text-align: center; background: var(--bg2); border-radius: var(--radius-sm); padding: 0.5rem; }
.breed-stat-val { font-weight: 700; color: var(--primary); font-size: 1rem; display: block; }
.breed-stat-label { font-size: 0.7rem; color: var(--text-muted); }

/* Breed filter */
.breed-filters {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; justify-content: center;
}
.filter-btn {
  padding: 0.45rem 1.1rem; border-radius: 50px; border: 2px solid var(--border);
  background: var(--card); color: var(--text-muted); font-size: 0.83rem; font-weight: 500;
  cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== SOCIAL GALLERY ===== */
.gallery-tabs {
  display: flex; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; justify-content: center;
}
.tab-btn {
  padding: 0.55rem 1.3rem; border-radius: 50px; border: 2px solid var(--border);
  background: var(--card); font-size: 0.88rem; font-weight: 600; cursor: pointer;
  transition: all 0.2s; display: flex; align-items: center; gap: 0.4rem;
}
.tab-btn:hover { border-color: var(--primary); color: var(--primary); }
.tab-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem;
  min-height: 300px;
}
.gallery-item {
  border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1;
  position: relative; cursor: pointer; background: var(--bg2);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .gallery-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s; color: #fff; font-size: 1.5rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; background: linear-gradient(135deg, var(--bg2), var(--bg));
  min-height: 200px; border-radius: var(--radius);
  color: var(--text-muted); flex-direction: column; gap: 0.5rem; text-align: center; padding: 1rem;
}
.gallery-placeholder p { font-size: 0.85rem; }

.social-embeds { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.social-embed-box {
  background: var(--card); border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.social-embed-header { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.social-icon { font-size: 1.4rem; }
.social-embed-header h4 { font-size: 1rem; }
.social-embed-header .social-handle { font-size: 0.8rem; color: var(--text-muted); }

/* ===== LOADING ===== */
.loading {
  display: flex; align-items: center; justify-content: center; padding: 3rem;
  flex-direction: column; gap: 1rem; color: var(--text-muted);
}
.spinner {
  width: 36px; height: 36px; border: 3px solid var(--bg2);
  border-top-color: var(--primary); border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== CARTOONS ===== */
.cartoon-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem;
}
.cartoon-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border); transition: all 0.3s;
}
.cartoon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.cartoon-thumb {
  height: 180px; background: linear-gradient(135deg, #2d2d2d, #1a1a2e);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; position: relative; overflow: hidden;
}
.cartoon-thumb iframe { width: 100%; height: 100%; border: none; }
.cartoon-info { padding: 1.2rem; }
.cartoon-info h4 { font-size: 1rem; margin-bottom: 0.3rem; }
.cartoon-info p { font-size: 0.83rem; color: var(--text-muted); margin: 0; }
.cartoon-tag {
  display: inline-block; background: var(--bg2); color: var(--text-muted);
  padding: 0.2rem 0.6rem; border-radius: 50px; font-size: 0.75rem; margin-top: 0.5rem;
}

/* ===== VIDEOS ===== */
.video-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem;
}
.video-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border); transition: all 0.3s;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.video-info { padding: 1.2rem; }
.video-info h4 { font-size: 1rem; margin-bottom: 0.3rem; }
.video-info p { font-size: 0.83rem; color: var(--text-muted); margin: 0; }
.video-meta { display: flex; align-items: center; gap: 0.8rem; margin-top: 0.5rem; }
.video-views { font-size: 0.78rem; color: var(--text-muted); }

/* ===== DAILY CAT FACT ===== */
.fact-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border-radius: var(--radius); padding: 2rem 2.5rem;
  text-align: center; margin: 2rem 0;
}
.fact-box .fact-emoji { font-size: 2.5rem; margin-bottom: 0.8rem; }
.fact-box h3 { font-size: 1rem; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.8rem; }
.fact-box p { font-size: 1.15rem; font-style: italic; font-family: var(--font-head); line-height: 1.5; margin: 0; }
.fact-refresh {
  background: rgba(255,255,255,0.2); border: none; color: #fff;
  padding: 0.5rem 1.2rem; border-radius: 50px; margin-top: 1.2rem;
  cursor: pointer; font-size: 0.85rem; transition: all 0.2s;
}
.fact-refresh:hover { background: rgba(255,255,255,0.3); }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 9999;
  display: none; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); object-fit: contain; }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem; background: rgba(255,255,255,0.1);
  border: none; color: #fff; font-size: 1.5rem; padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm); cursor: pointer; transition: all 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }

/* ===== FOOTER ===== */
footer {
  background: #1a1a2e; color: rgba(255,255,255,0.7); padding: 4rem 1.5rem 2rem;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand .logo { color: var(--primary-light); font-size: 1.3rem; display: flex; }
.footer-brand p { margin-top: 0.8rem; font-size: 0.88rem; line-height: 1.6; }
.footer-col h4 { color: #fff; margin-bottom: 1rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: 0.82rem;
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none; flex-direction: column; gap: 0.3rem;
  padding: 1rem 1.5rem; border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.98);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 0.6rem 0.8rem; border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--text); transition: all 0.2s;
}
.mobile-nav a:hover { background: var(--primary); color: #fff; }

/* ===== BREADCRUMB ===== */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 500;
  background: var(--primary); color: #fff; border: none;
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.1rem;
  cursor: pointer; box-shadow: 0 4px 16px rgba(232,117,58,0.4);
  transition: all 0.3s; opacity: 0; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ===== BLOG ===== */
.page-hero--blog { background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 100%); }

.blog-cat-tag {
  display: inline-block; padding: .2rem .7rem; border-radius: 50px;
  font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
}
.blog-cat-behaviour { background: #e8f4fd; color: #1565c0; }
.blog-cat-feeding    { background: #e8f5e9; color: #2e7d32; }
.blog-cat-health     { background: #fce4ec; color: #c62828; }
.blog-cat-breeds     { background: #fff3e0; color: #e65100; }
.blog-cat-caring     { background: #f3e5f5; color: #6a1b9a; }
.blog-cat-toys       { background: #e0f7fa; color: #00695c; }
.blog-cat-general    { background: #f5f5f5; color: #424242; }

.blog-card { transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }

.blog-post-body { line-height: 1.8; font-size: 1.02rem; color: var(--text); }
.blog-post-body h2 { font-size: 1.35rem; margin: 2rem 0 .8rem; color: var(--heading); }
.blog-post-body p  { margin-bottom: 1.2rem; }
.blog-post-body ul, .blog-post-body ol { padding-left: 1.4rem; margin-bottom: 1.2rem; }
.blog-post-body li { margin-bottom: .5rem; }
.blog-post-body strong { color: var(--heading); }

/* ===== FAMOUS CATS ===== */
.page-hero--famous { background: linear-gradient(135deg, #1a1a2e 0%, #3a2a0e 100%); }

.famous-card { margin-bottom: 2rem; padding: 0; overflow: hidden; }
.famous-card-inner {
  display: flex; align-items: stretch; gap: 0;
}
.famous-cover {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 220px; width: 220px; padding: 2rem 1.2rem; flex-shrink: 0;
  border-radius: 0; overflow: hidden; position: relative;
}
.famous-cover-img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}
.famous-emoji { font-size: 3.5rem; margin-bottom: .8rem; }
.famous-years { font-size: .75rem; color: rgba(255,255,255,.65); text-align: center; font-weight: 500; }
.famous-body { padding: 2rem; flex: 1; }
.famous-meta { display: flex; align-items: center; gap: .8rem; margin-bottom: .7rem; flex-wrap: wrap; }
.famous-owner { font-size: .8rem; color: var(--text-muted); }
.famous-name { font-size: 1.5rem; margin-bottom: .3rem; }
.famous-headline { font-size: .95rem; color: var(--primary); font-weight: 600; margin-bottom: 1rem; }
.famous-text { font-size: .9rem; line-height: 1.75; color: var(--text); margin-bottom: 1.2rem; }
.famous-fun-fact {
  background: linear-gradient(135deg, #fff8f0, var(--bg2));
  border-radius: var(--radius-sm); padding: .8rem 1rem;
  font-size: .85rem; line-height: 1.6;
}
.fun-fact-label { display: block; font-weight: 700; font-size: .75rem; text-transform: uppercase;
  letter-spacing: .06em; color: var(--primary); margin-bottom: .3rem; }

.famous-cat-tag {
  display: inline-block; padding: .2rem .7rem; border-radius: 50px;
  font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
}
.famous-cat-celebrity  { background: #fce4ec; color: #880e4f; }
.famous-cat-political  { background: #e3f2fd; color: #0d47a1; }
.famous-cat-internet   { background: #f3e5f5; color: #4a148c; }
.famous-cat-historical { background: #efebe9; color: #3e2723; }
.famous-cat-community  { background: #e8f5e9; color: #1b5e20; }

@media (max-width: 640px) {
  .famous-card-inner { flex-direction: column !important; }
  .famous-cover { width: 100%; min-width: unset; min-height: 200px; flex-direction: row; gap: 1rem; padding: 1.2rem; border-radius: 0; }
  .famous-emoji { font-size: 2.5rem; margin-bottom: 0; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: block; }
  .hero-stats { gap: 1.5rem; }
  .section { padding: 3.5rem 1.2rem; }
  .caring-timeline { padding-left: 1.8rem; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
