/*
Theme Name: Dog Decider
Theme URI: https://dogdecider.com
Author: Dog Decider Team
Author URI: https://dogdecider.com
Description: A premium WordPress theme for Dog Decider featuring an interactive dog breed quiz, stunning UI, and comprehensive blog section.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dog-decider
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================
   CSS CUSTOM PROPERTIES
============================================ */
:root {
  --primary: #FF6B35;
  --primary-dark: #E55A24;
  --primary-light: #FF8C5A;
  --secondary: #2D3748;
  --accent: #F6C90E;
  --accent-dark: #D4A800;
  --bg-dark: #1A1A2E;
  --bg-medium: #16213E;
  --bg-card: #0F3460;
  --text-light: #F7FAFC;
  --text-muted: #A0AEC0;
  --text-dark: #1A202C;
  --success: #48BB78;
  --gradient-hero: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,107,53,0.1), rgba(246,201,14,0.05));
  --shadow-lg: 0 25px 50px rgba(0,0,0,0.4);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.3);
  --border-radius: 16px;
  --border-radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

/* ============================================
   SCROLLBAR
============================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ============================================
   UTILITY CLASSES
============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-light);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 20px rgba(255,107,53,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,107,53,0.6);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--text-dark);
  box-shadow: 0 4px 20px rgba(246,201,14,0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(246,201,14,0.5);
  color: var(--text-dark);
}

.tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(255,107,53,0.15);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============================================
   HEADER / NAVIGATION
============================================ */
#masthead {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}

#masthead.scrolled {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

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

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.site-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 0;
}

.site-title a {
  color: var(--text-light);
}

.site-title span {
  color: var(--primary);
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.main-navigation ul li a {
  color: var(--text-muted);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item a {
  color: var(--text-light);
  background: rgba(255,255,255,0.08);
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary)) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255,107,53,0.4);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* ============================================
   HERO SECTION
============================================ */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-elements {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.hero-blob-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  right: -100px;
  animation: blobMove 8s ease-in-out infinite;
}

.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: -100px;
  left: -50px;
  animation: blobMove 10s ease-in-out infinite reverse;
}

.hero-blob-3 {
  width: 300px;
  height: 300px;
  background: #7B2D8B;
  top: 40%;
  left: 40%;
  animation: blobMove 12s ease-in-out infinite;
}

@keyframes blobMove {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.floating-paws {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.paw {
  position: absolute;
  font-size: 2rem;
  opacity: 0.06;
  animation: float linear infinite;
}

@keyframes float {
  from { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.06; }
  90% { opacity: 0.06; }
  to { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
}

.hero-text .tag {
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-light);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  text-align: center;
  animation: heroCardFloat 4s ease-in-out infinite;
}

@keyframes heroCardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.hero-dog-emoji {
  font-size: 6rem;
  display: block;
  margin-bottom: 16px;
  animation: dogWag 2s ease-in-out infinite;
}

@keyframes dogWag {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

.hero-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

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

.hero-badges {
  position: absolute;
  top: -20px;
  right: -20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.badge {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.85rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================
   QUIZ SECTION
============================================ */
.quiz-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-medium) 100%);
  position: relative;
}

.quiz-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.quiz-header {
  text-align: center;
  margin-bottom: 60px;
}

.quiz-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

/* Progress Bar */
.quiz-progress {
  margin-bottom: 40px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.progress-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.progress-count {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
}

.progress-bar-track {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(255,107,53,0.4);
}

/* Question Card */
.question-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  margin-bottom: 24px;
  animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.question-number {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.question-number::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.question-text {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-light);
  line-height: 1.4;
}

.question-hint {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Answer Options */
.answers-grid {
  display: grid;
  gap: 12px;
}

.answers-grid.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.answers-grid.grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.answer-option {
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.06);
  border-radius: var(--border-radius);
  padding: 18px 24px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-light);
}

.answer-option:hover {
  background: rgba(255,107,53,0.08);
  border-color: rgba(255,107,53,0.3);
  transform: translateY(-2px);
}

.answer-option.selected {
  background: rgba(255,107,53,0.12);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}

.answer-option .answer-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.answer-option .answer-label {
  flex: 1;
  font-weight: 500;
}

.answer-option .answer-check {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.answer-option.selected .answer-check {
  background: var(--primary);
  border-color: var(--primary);
}

.answer-option.selected .answer-check::after {
  content: '✓';
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
}

/* Quiz Navigation */
.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
}

.quiz-nav .btn-back {
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  border: none;
  padding: 14px 28px;
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.quiz-nav .btn-back:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-light);
}

.quiz-dots {
  display: flex;
  gap: 6px;
}

.quiz-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: var(--transition);
}

.quiz-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

.quiz-dot.completed {
  background: var(--success);
}

/* ============================================
   RESULTS SECTION
============================================ */
#quiz-results {
  display: none;
}

.results-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 60px 0 0;
}

.results-celebration {
  font-size: 3rem;
  margin-bottom: 16px;
  animation: bounce 1s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.results-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.results-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.dog-result-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--border-radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.dog-result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: var(--transition);
}

.dog-result-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,107,53,0.2);
  box-shadow: var(--shadow-card);
}

.dog-result-card:hover::before {
  opacity: 1;
}

.dog-result-card.top-pick {
  border-color: rgba(255,107,53,0.3);
  background: rgba(255,107,53,0.04);
}

.dog-result-card.top-pick::before {
  opacity: 1;
}

.top-pick-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dog-emoji-result {
  font-size: 4.5rem;
  display: block;
  margin-bottom: 16px;
}

.dog-breed-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.dog-breed-type {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

/* Match Meter */
.match-meter {
  margin-bottom: 24px;
}

.match-meter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.match-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.match-percentage {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.match-bar-track {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.match-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0;
}

.match-bar-fill.high {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 0 10px rgba(255,107,53,0.4);
}

.match-bar-fill.medium {
  background: linear-gradient(90deg, #48BB78, #38A169);
  box-shadow: 0 0 10px rgba(72,187,120,0.4);
}

.match-bar-fill.low {
  background: linear-gradient(90deg, #4299E1, #3182CE);
  box-shadow: 0 0 10px rgba(66,153,225,0.4);
}

.dog-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 24px;
}

.trait-tag {
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
}

.dog-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.result-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255,107,53,0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(255,107,53,0.2);
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  justify-content: center;
}

.result-action:hover {
  background: var(--primary);
  color: white;
}

.results-actions {
  text-align: center;
  padding: 40px 0;
}

/* ============================================
   FEATURES SECTION
============================================ */
.features-section {
  padding: 100px 0;
  background: var(--bg-dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--border-radius);
  padding: 36px 28px;
  transition: var(--transition);
}

.feature-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,107,53,0.15);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(255,107,53,0.15), rgba(246,201,14,0.05));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  border: 1px solid rgba(255,107,53,0.1);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   BLOG SECTION
============================================ */
.blog-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,107,53,0.15);
  box-shadow: var(--shadow-card);
}

.blog-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-medium));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-image-placeholder {
  font-size: 4rem;
  opacity: 0.3;
}

.blog-card-category {
  position: absolute;
  top: 16px;
  left: 16px;
}

.blog-card-body {
  padding: 24px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-title a {
  color: var(--text-light);
}

.blog-card-title a:hover {
  color: var(--primary);
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
}

.author-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.read-more-link {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.read-more-link:hover {
  gap: 8px;
}

/* Featured Blog Post */
.blog-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
}

.blog-featured .blog-card-image {
  height: 100%;
  min-height: 280px;
}

.blog-featured .blog-card-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured .blog-card-title {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

/* ============================================
   CTA SECTION
============================================ */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(255,107,53,0.08), rgba(246,201,14,0.04));
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,53,0.4), transparent);
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-emoji {
  font-size: 4rem;
  display: block;
  margin-bottom: 24px;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
============================================ */
#colophon {
  background: #0D0D1A;
  padding: 80px 0 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .site-logo {
  margin-bottom: 20px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-link:hover {
  background: rgba(255,107,53,0.15);
  border-color: rgba(255,107,53,0.3);
  color: var(--primary);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-light);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-bottom-links li a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom-links li a:hover {
  color: var(--primary);
}

/* ============================================
   STANDARD WORDPRESS PAGES
============================================ */
.page-section {
  padding: 120px 0 80px;
  min-height: 80vh;
}

.page-header-section {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-medium));
  border-bottom: 1px solid rgba(255,255,255,0.04);
  text-align: center;
}

.page-header-section h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.page-content-area {
  padding: 60px 0;
}

.page-content-area .content-wrapper {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Entry content styling */
.entry-content {
  color: var(--text-light);
  line-height: 1.8;
}

.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
  font-family: var(--font-heading);
  margin: 32px 0 16px;
  color: var(--text-light);
}

.entry-content p {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.entry-content img {
  border-radius: var(--border-radius);
  margin: 24px 0;
}

.entry-content a {
  color: var(--primary);
  text-decoration: underline;
}

.entry-content ul, .entry-content ol {
  margin: 16px 0 20px 24px;
  color: var(--text-muted);
}

.entry-content li {
  margin-bottom: 8px;
}

.entry-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(255,107,53,0.05);
  border-radius: 0 12px 12px 0;
  color: var(--text-muted);
  font-style: italic;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.widget {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--border-radius);
  padding: 28px;
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Single Post */
.single-post-header {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-medium));
  text-align: center;
}

.post-meta-large {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.post-meta-large span {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================
   COMMENTS
============================================ */
.comments-area {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.comments-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 32px;
}

.comment-list {
  list-style: none;
}

.comment {
  margin-bottom: 24px;
}

.comment-body {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--border-radius);
  padding: 24px;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.comment-author img {
  border-radius: 50%;
}

.comment-content p {
  color: var(--text-muted);
  margin: 0;
}

.comment-reply-link {
  font-size: 0.85rem;
  color: var(--primary);
  display: inline-block;
  margin-top: 10px;
}

/* Comment Form */
.comment-form-wrapper {
  margin-top: 40px;
}

.comment-form-wrapper h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  margin-bottom: 16px;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}

.comment-form textarea {
  min-height: 130px;
  resize: vertical;
}

.comment-form label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.comment-form input[type="submit"] {
  width: auto;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  cursor: pointer;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  margin-bottom: 0;
  letter-spacing: 0.5px;
}

.comment-form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,107,53,0.5);
}

/* ============================================
   ARCHIVE / BLOG PAGE
============================================ */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}

.pagination .page-numbers {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text-muted);
  transition: var(--transition);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ============================================
   404 PAGE
============================================ */
.not-found-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 120px 0;
}

.not-found-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.not-found-emoji {
  font-size: 6rem;
  display: block;
  margin-bottom: 24px;
}

.not-found-404 {
  font-size: 8rem;
  font-weight: 900;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

/* ============================================
   LOADING STATE
============================================ */
.loading-state {
  text-align: center;
  padding: 60px;
}

.loading-dots {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 16px;
}

.loading-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  animation: loadingDot 1.4s ease-in-out infinite;
}

.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes loadingDot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-visual { display: none; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured .blog-card-image { min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-navigation { display: none; }
  .menu-toggle { display: flex; }
  .main-navigation.open { 
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    z-index: 999;
  }
  .main-navigation.open ul { flex-direction: column; gap: 4px; }
  .features-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-featured { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .answers-grid.grid-2, .answers-grid.grid-3 { grid-template-columns: 1fr; }
  .question-card { padding: 28px 20px; }
  .blog-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .page-content-area .content-wrapper { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .quiz-dots { display: none; }
}

@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 300px; justify-content: center; }
}

/* ============================================
   ANIMATIONS
============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Particles */
.particle {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  from { transform: translateY(0) translateX(0); opacity: 1; }
  to { transform: translateY(-100px) translateX(50px); opacity: 0; }
}

/* ============================================
   ACCESSIBILITY
============================================ */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ============================================
   PRINT
============================================ */
@media print {
  .hero-bg-elements, .floating-paws, #masthead { display: none; }
  body { background: white; color: black; }
}
