/* 🎨 Your Next Store - Whimsical & Fun Edition! 🎉 */

/* Import other stylesheets */
@import url('/ai-seo-small-business/nextdoor/button-styles.css');
@import url('/ai-seo-small-business/nextdoor/enhanced-styles.css');
@import url('/ai-seo-small-business/nextdoor/background-styles.css');

/* ✨ Whimsical Color Palette ✨ */
:root {
  --primary-color: #ff6b9d;
  --secondary-color: #c44569;
  --accent-color: #ffa502;
  --text-color: #2d3436;
  --light-text: #636e72;
  --background-color: #fff5f7;
  --light-background: #ffe5ec;
  --border-color: #ffd6e0;
  --success-color: #26de81;
  --warning-color: #fed330;
  --danger-color: #fc5c65;
  --purple: #a55eea;
  --blue: #45aaf2;
  --teal: #20bf6b;
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-fun: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  --border-radius: 20px;
  --box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
  --transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* 🌟 Base Styles with Bounce! 🌟 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--text-color);
  line-height: 1.8;
  background: linear-gradient(135deg, #fff5f7 0%, #ffe5ec 50%, #ffd6e0 100%);
  background-attachment: fixed;
  font-size: 18px;
  overflow-x: hidden;
}

/* 🧭 Navigator's Nook Return Link Styling 🧭 */
.back-navigation {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--gradient-fun);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.back-link:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(255, 107, 157, 0.4);
  background: var(--gradient-2);
}

.back-link i {
  font-size: 16px;
  transition: var(--transition);
}

.back-link:hover i {
  transform: translateX(-3px);
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .back-navigation {
    top: 10px;
    left: 10px;
  }
  
  .back-link {
    padding: 10px 16px;
    font-size: 13px;
  }
  
  .back-link span {
    display: none;
  }
  
  .back-link i {
    font-size: 18px;
  }
}

/* Fun floating animation for background */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

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

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes rainbow {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 🎪 Typography - Fun & Playful! 🎪 */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1.5rem;
  line-height: 1.3;
  font-weight: 800;
  color: var(--text-color);
  position: relative;
}

h1 {
  font-size: 3rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #fa709a 0%, #fee140 50%, #45aaf2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(255, 107, 157, 0.3);
  animation: pulse 3s ease-in-out infinite;
  letter-spacing: -1px;
}

h2 {
  font-size: 2.5rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
  border-bottom: 4px dashed var(--accent-color);
  padding-bottom: 1rem;
  position: relative;
  display: inline-block;
  width: 100%;
}

h2::before {
  content: "🎯";
  position: absolute;
  left: -50px;
  top: 0;
  font-size: 2rem;
  animation: bounce 2s ease-in-out infinite;
}

h2::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 150px;
  height: 4px;
  background: var(--gradient-fun);
  border-radius: 10px;
  animation: float 3s ease-in-out infinite;
}

h3 {
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  color: var(--purple);
  position: relative;
  padding-left: 2rem;
}

h3::before {
  content: "✨";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.5rem;
  animation: wiggle 2s ease-in-out infinite;
}

h4 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: var(--blue);
  position: relative;
  padding-left: 1.5rem;
}

h4::before {
  content: "🌟";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
}

p {
  margin-bottom: 1.5rem;
  line-height: 1.9;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  font-weight: 600;
}

a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-fun);
  transition: width 0.3s ease;
}

a:hover::after {
  width: 100%;
}

a:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.8rem;
  position: relative;
}

li::marker {
  color: var(--accent-color);
  font-weight: bold;
}

blockquote {
  border-left: 6px solid var(--accent-color);
  padding: 1.5rem;
  margin: 2rem 0;
  background: linear-gradient(135deg, rgba(255, 165, 2, 0.1) 0%, rgba(255, 107, 157, 0.1) 100%);
  border-radius: var(--border-radius);
  font-style: italic;
  color: var(--text-color);
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
}

blockquote::before {
  content: "💬";
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 3rem;
  opacity: 0.2;
}

code {
  font-family: 'Fira Code', monospace;
  background: linear-gradient(135deg, #ffd6e0 0%, #ffe5ec 100%);
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  font-size: 0.9rem;
  border: 2px solid var(--border-color);
}

/* 🎨 Header - Super Fun! 🎨 */
.header {
  background: var(--gradient-1);
  padding: 4rem 0;
  color: white;
  position: relative;
  overflow: hidden;
  border-bottom: 8px solid var(--accent-color);
}

.header::before {
  content: "🚀";
  position: absolute;
  top: 20px;
  left: 50px;
  font-size: 4rem;
  opacity: 0.2;
  animation: float 4s ease-in-out infinite;
}

.header::after {
  content: "⭐";
  position: absolute;
  bottom: 30px;
  right: 80px;
  font-size: 3rem;
  opacity: 0.2;
  animation: bounce 3s ease-in-out infinite;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.header h1 {
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
  color: white;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(to right, #ffffff, #fee140);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pulse 2s ease-in-out infinite;
}

.header p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 800px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-weight: 500;
}

/* 🎪 Hero Section - Playful! 🎪 */
.hero {
  background: linear-gradient(135deg, #ffeaa7 0%, #fd79a8 50%, #a29bfe 100%);
  padding: 5rem 0;
  margin: 3rem 0;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(255, 107, 157, 0.3);
  border: 5px solid white;
}

.hero::before {
  content: "🎉";
  position: absolute;
  top: 30px;
  left: 30px;
  font-size: 5rem;
  opacity: 0.3;
  animation: wiggle 3s ease-in-out infinite;
}

.hero::after {
  content: "🎨";
  position: absolute;
  bottom: 30px;
  right: 30px;
  font-size: 5rem;
  opacity: 0.3;
  animation: bounce 4s ease-in-out infinite;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  margin-top: 2rem;
  border: 8px solid white;
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hero-image:hover {
  transform: translateY(-15px) rotate(2deg) scale(1.02);
}

/* 📝 Article Content - Colorful! 📝 */
.article {
  padding: 3rem 0;
}

.article-meta {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(255, 107, 157, 0.2);
  border: 4px solid white;
  position: relative;
  overflow: hidden;
}

.article-meta::before {
  content: "👤";
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 3rem;
  opacity: 0.2;
}

.article-meta img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 1.5rem;
  border: 5px solid white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.article-meta img:hover {
  transform: scale(1.1) rotate(5deg);
}

.article-meta-info span {
  display: block;
}

.article-meta-info .author {
  font-weight: 800;
  color: var(--purple);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.article-meta-info .date {
  color: var(--blue);
  font-weight: 600;
  font-size: 1.1rem;
}

/* 🎁 Card Components - Super Fun! 🎁 */
.card {
  background: white;
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(255, 107, 157, 0.2);
  padding: 2.5rem;
  margin-bottom: 3rem;
  transition: var(--transition);
  border: 5px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 165, 2, 0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

.card:hover {
  transform: translateY(-10px) rotate(-1deg);
  box-shadow: 0 25px 60px rgba(255, 107, 157, 0.3);
  border-color: var(--accent-color);
}

.card-header {
  margin-bottom: 1.5rem;
  border-bottom: 3px dashed var(--accent-color);
  padding-bottom: 1rem;
  position: relative;
}

.card-header::after {
  content: "🎯";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 2rem;
  animation: bounce 2s ease-in-out infinite;
}

.card-header h3, .card-header h4 {
  color: var(--primary-color);
  font-weight: 800;
}

.card-body {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.card-footer {
  border-top: 3px dashed var(--border-color);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 165, 2, 0.05) 0%, rgba(255, 107, 157, 0.05) 100%);
  margin: 0 -2.5rem -2.5rem -2.5rem;
  padding: 1.5rem 2.5rem;
  border-radius: 0 0 20px 20px;
}

/* 🌈 Feature Grid - Colorful Boxes! 🌈 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.feature-item {
  background: white;
  border-radius: 25px;
  padding: 2.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  border: 5px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 165, 2, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-item:hover::before {
  opacity: 1;
}

.feature-item:nth-child(1) {
  border-color: #fa709a;
}

.feature-item:nth-child(2) {
  border-color: #fee140;
}

.feature-item:nth-child(3) {
  border-color: #45aaf2;
}

.feature-item:nth-child(4) {
  border-color: #a55eea;
}

.feature-item:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  animation: bounce 2s ease-in-out infinite;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-weight: 800;
}

/* 👍👎 Pros and Cons - Fun Style! 👍👎 */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.pros, .cons {
  background: white;
  border-radius: 25px;
  padding: 2.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  border: 5px solid;
}

.pros {
  border-color: var(--success-color);
  background: linear-gradient(135deg, rgba(38, 222, 129, 0.05) 0%, white 100%);
}

.cons {
  border-color: var(--danger-color);
  background: linear-gradient(135deg, rgba(252, 92, 101, 0.05) 0%, white 100%);
}

.pros::before {
  content: "👍";
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 4rem;
  opacity: 0.1;
  animation: bounce 3s ease-in-out infinite;
}

.cons::before {
  content: "👎";
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 4rem;
  opacity: 0.1;
  animation: wiggle 3s ease-in-out infinite;
}

.pros h3 {
  color: var(--success-color);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.cons h3 {
  color: var(--danger-color);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.pros ul li, .cons ul li {
  padding-left: 2rem;
  position: relative;
}

.pros ul li::before {
  content: "✅";
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.cons ul li::before {
  content: "❌";
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

/* 📊 Comparison Table - Colorful! 📊 */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 4rem;
  box-shadow: 0 20px 60px rgba(255, 107, 157, 0.2);
  border-radius: 25px;
  overflow: hidden;
  border: 5px solid white;
}

.comparison-table th, .comparison-table td {
  padding: 1.5rem;
  text-align: left;
  border-bottom: 2px dashed var(--border-color);
}

.comparison-table th {
  background: var(--gradient-fun);
  color: white;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-size: 1.1rem;
}

.comparison-table tr:nth-child(even) {
  background: linear-gradient(135deg, rgba(255, 165, 2, 0.05) 0%, rgba(255, 107, 157, 0.05) 100%);
}

.comparison-table tr:hover {
  background: linear-gradient(135deg, rgba(255, 165, 2, 0.1) 0%, rgba(255, 107, 157, 0.1) 100%);
  transform: scale(1.01);
}

.comparison-table td:nth-child(2) {
  font-weight: 700;
  color: var(--primary-color);
}

/* ⭐ Rating Component - Super Fun! ⭐ */
.rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4rem;
  padding: 4rem 3rem;
  background: linear-gradient(135deg, #ffeaa7 0%, #fd79a8 50%, #a29bfe 100%);
  border-radius: 30px;
  box-shadow: 0 25px 60px rgba(255, 107, 157, 0.3);
  position: relative;
  overflow: hidden;
  border: 8px solid white;
}

.rating::before {
  content: "🏆";
  position: absolute;
  top: 30px;
  left: 30px;
  font-size: 5rem;
  opacity: 0.2;
  animation: bounce 3s ease-in-out infinite;
}

.rating::after {
  content: "🎖️";
  position: absolute;
  bottom: 30px;
  right: 30px;
  font-size: 5rem;
  opacity: 0.2;
  animation: wiggle 3s ease-in-out infinite;
}

.rating-score {
  font-size: 7rem;
  font-weight: 900;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
  animation: pulse 2s ease-in-out infinite;
}

.rating-stars {
  display: flex;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.rating-stars svg {
  width: 3.5rem;
  height: 3.5rem;
  fill: #fed330;
  filter: drop-shadow(0 4px 8px rgba(254, 211, 48, 0.5));
  margin-right: 0.5rem;
  animation: bounce 2s ease-in-out infinite;
}

.rating-stars svg:nth-child(1) { animation-delay: 0s; }
.rating-stars svg:nth-child(2) { animation-delay: 0.1s; }
.rating-stars svg:nth-child(3) { animation-delay: 0.2s; }
.rating-stars svg:nth-child(4) { animation-delay: 0.3s; }
.rating-stars svg:nth-child(5) { animation-delay: 0.4s; }

.rating-categories {
  width: 100%;
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.rating-category {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 1.5rem;
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.rating-category-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-weight: 700;
  color: var(--text-color);
  font-size: 1.1rem;
}

.rating-bar {
  height: 1.2rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--border-color);
}

.rating-bar-fill {
  height: 100%;
  background: var(--gradient-fun);
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(255, 107, 157, 0.4);
  transition: width 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* 🎯 CTA Sections - Eye-Catching! 🎯 */
.cta {
  background: var(--gradient-1);
  color: white;
  padding: 5rem 4rem;
  border-radius: 30px;
  text-align: center;
  margin-bottom: 4rem;
  box-shadow: 0 25px 60px rgba(102, 126, 234, 0.4);
  position: relative;
  overflow: hidden;
  border: 8px solid white;
}

.cta::before {
  content: "🎁";
  position: absolute;
  top: 30px;
  left: 30px;
  font-size: 5rem;
  opacity: 0.2;
  animation: float 4s ease-in-out infinite;
}

.cta::after {
  content: "🚀";
  position: absolute;
  bottom: 30px;
  right: 30px;
  font-size: 5rem;
  opacity: 0.2;
  animation: bounce 3s ease-in-out infinite;
}

.cta h2 {
  color: white;
  border-bottom: none;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
  font-size: 3rem;
}

.cta h2::before {
  content: "";
}

.cta p {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
  font-size: 1.3rem;
  font-weight: 500;
}

.btn {
  display: inline-block;
  background: var(--gradient-fun);
  color: white;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(255, 107, 157, 0.6);
  color: white;
  text-decoration: none;
}

.btn::after {
  display: none;
}

.btn-outline {
  background: transparent;
  border: 4px solid white;
  color: white;
}

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

/* 📂 Expandable Sections - Interactive! 📂 */
.expandable {
  margin-bottom: 2rem;
}

.expandable-header {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  padding: 1.5rem;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  border: 4px solid white;
  box-shadow: 0 8px 20px rgba(255, 107, 157, 0.2);
  font-weight: 700;
  color: var(--text-color);
}

.expandable-header:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 107, 157, 0.3);
}

.expandable-icon {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.expandable.active .expandable-icon {
  transform: rotate(45deg);
}

.expandable-content {
  padding: 2rem;
  border: 4px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 20px 20px;
  display: none;
  background: white;
  box-shadow: 0 8px 20px rgba(255, 107, 157, 0.1);
}

.expandable.active .expandable-content {
  display: block;
}

/* 🖼️ Image Gallery - Fun Grid! 🖼️ */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  border: 5px solid white;
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-10px) rotate(2deg);
  box-shadow: 0 20px 40px rgba(255, 107, 157, 0.3);
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* 🎬 Video Embed - Stylish! 🎬 */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-bottom: 4rem;
  border-radius: 25px;
  box-shadow: 0 20px 60px rgba(255, 107, 157, 0.3);
  border: 8px solid white;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 17px;
}

/* 📊 Infographic - Eye-Catching! 📊 */
.infographic {
  max-width: 100%;
  height: auto;
  margin-bottom: 4rem;
  border-radius: 25px;
  box-shadow: 0 20px 60px rgba(255, 107, 157, 0.3);
  border: 8px solid white;
}

/* ✅ Checklist - Interactive! ✅ */
.checklist {
  margin-bottom: 4rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: white;
  border-radius: 15px;
  border: 3px solid var(--border-color);
  transition: var(--transition);
}

.checklist-item:hover {
  transform: translateX(10px);
  border-color: var(--accent-color);
  box-shadow: 0 8px 20px rgba(255, 107, 157, 0.2);
}

.checklist-item input[type="checkbox"] {
  margin-right: 1rem;
  margin-top: 0.3rem;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

/* 👤 Author Bio - Friendly! 👤 */
.author-bio {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  border-radius: 25px;
  border: 5px solid white;
  box-shadow: 0 15px 40px rgba(255, 107, 157, 0.2);
}

.author-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-right: 2rem;
  border: 6px solid white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.author-image:hover {
  transform: scale(1.1) rotate(5deg);
}

.author-info h3 {
  margin-top: 0;
  color: var(--primary-color);
}

/* 🤖 AI Transparency Notice - Clear! 🤖 */
.ai-notice {
  background: linear-gradient(135deg, rgba(69, 170, 242, 0.1) 0%, rgba(165, 94, 234, 0.1) 100%);
  padding: 2.5rem;
  border-radius: 25px;
  margin-bottom: 4rem;
  font-size: 1rem;
  color: var(--text-color);
  border: 4px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.ai-notice::before {
  content: "🤖";
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  opacity: 0.2;
}

.ai-notice h3 {
  margin-top: 0;
  font-size: 1.5rem;
  color: var(--blue);
}

/* 🔝 Scroll to Top Button - Fun! 🔝 */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--gradient-fun);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
  z-index: 1000;
  border: 4px solid white;
}

.scroll-top::before {
  content: "⬆️";
  font-size: 2rem;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-10px) scale(1.1);
  box-shadow: 0 15px 40px rgba(255, 107, 157, 0.6);
}

/* 📱 Mobile Responsive Design! 📱 */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h2::before {
    left: 0;
    position: relative;
    display: inline-block;
    margin-right: 10px;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.25rem;
  }

  .header {
    padding: 3rem 0;
  }

  .header h1 {
    font-size: 2.5rem;
  }

  .header p {
    font-size: 1.1rem;
  }

  .hero {
    padding: 3rem 0;
    margin: 2rem 0;
  }

  .pros-cons {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-table table {
    min-width: 600px;
  }

  .author-bio {
    flex-direction: column;
    text-align: center;
  }

  .author-image {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }

  .rating {
    padding: 3rem 2rem;
  }

  .rating-score {
    font-size: 5rem;
  }

  .rating-stars svg {
    width: 2.5rem;
    height: 2.5rem;
  }

  .cta {
    padding: 3rem 2rem;
  }

  .cta h2 {
    font-size: 2rem;
  }

  .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .scroll-top {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .scroll-top::before {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .header h1 {
    font-size: 2rem;
  }

  .rating-score {
    font-size: 4rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .image-gallery {
    grid-template-columns: 1fr;
  }
}

/* 🎨 Animations for Scroll Effects 🎨 */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* 🎯 Interactive Elements - Hover Effects! 🎯 */
.hover-card {
  transition: var(--transition);
}

.hover-card:hover {
  transform: translateY(-10px) rotate(-1deg);
  box-shadow: 0 20px 40px rgba(255, 107, 157, 0.3);
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 2px dotted var(--accent-color);
  cursor: help;
}

.tooltip .tooltip-text {
  visibility: hidden;
  width: 220px;
  background: var(--gradient-1);
  color: white;
  text-align: center;
  border-radius: 15px;
  padding: 1rem;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 3px solid white;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* 🖨️ Print Styles */
@media print {
  body {
    font-size: 12pt;
    color: #000;
    background: white;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .header, .hero, .cta, .video-container, .expandable-header, .scroll-top {
    background: white !important;
    color: #000 !important;
    border: 1px solid #000 !important;
  }

  .btn, .expandable-header, .gallery-item, .scroll-top {
    display: none !important;
  }

  .expandable-content {
    display: block !important;
    border: none;
    padding: 0;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    page-break-inside: avoid;
    color: #000 !important;
  }

  img, table {
    page-break-inside: avoid;
    max-width: 100% !important;
  }
}

/* ♿ Accessibility Enhancements */
:focus {
  outline: 4px solid var(--accent-color);
  outline-offset: 3px;
  border-radius: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* 🎉 Fun Loading Animation 🎉 */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading {
  animation: spin 2s linear infinite;
}