/* ===== Life Page Styles ===== */
/* Inspired by playful, colorful illustration aesthetic */

.life-container {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: var(--nav-height);
  overflow-x: hidden;
}

/* ===== Hero Section ===== */
.life-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: var(--spacing-xl) var(--spacing-md);
  overflow: hidden;
}

.hero-content {
  text-align: center;
  z-index: 2;
  position: relative;
}

.life-title {
  font-size: 4rem;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-md);
  text-shadow: 2px 2px 0 rgba(255, 205, 178, 0.3);
}

.life-subtitle {
  font-size: 1.5rem;
  color: var(--color-text-secondary);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

/* Colorful Background Shapes */
.colorful-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
}

.shape-circle-1 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, #ffd700, #ffa500);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-circle-2 {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, #ff69b4, #ff1493);
  top: 20%;
  right: 15%;
  animation-delay: 1s;
}

.shape-circle-3 {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, #00bfff, #1e90ff);
  bottom: 15%;
  left: 20%;
  animation-delay: 2s;
}

.shape-blob-1 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #98fb98, #32cd32);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  bottom: 10%;
  right: 10%;
  animation-delay: 1.5s;
}

.shape-blob-2 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, #ffb6c1, #ff69b4);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  top: 50%;
  right: 5%;
  animation-delay: 0.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-20px) translateX(10px);
  }
  50% {
    transform: translateY(-10px) translateX(-10px);
  }
  75% {
    transform: translateY(-15px) translateX(5px);
  }
}

/* ===== Hobbies Section ===== */
.hobbies-section {
  padding: var(--spacing-xl) var(--spacing-md);
}

.hobbies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-xl);
  margin: 0 auto;
}

/* Hobby Cards */
.hobby-card {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s ease;
  min-height: 450px;
  display: flex;
  flex-direction: column;
}

.hobby-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Reading Card */
.reading-card {
  border-top: 6px solid #ffd700;
}

.reading-card:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.05) 0%,
    rgba(255, 255, 255, 1) 50%
  );
}

/* Fitness Card */
.fitness-card {
  border-top: 6px solid #ff6b6b;
}

.fitness-card:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 107, 0.05) 0%,
    rgba(255, 255, 255, 1) 50%
  );
}

/* Pets Card */
.pets-card {
  border-top: 6px solid #4ecdc4;
}

.pets-card:hover {
  background: linear-gradient(
    135deg,
    rgba(78, 205, 196, 0.05) 0%,
    rgba(255, 255, 255, 1) 50%
  );
}

/* Hobby Icon */
.hobby-icon-wrapper {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.hobby-icon {
  font-size: 5rem;
  display: inline-block;
  animation: bounce-gentle 2s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

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

/* Hobby Content */
.hobby-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hobby-title {
  font-size: 2rem;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
  text-align: center;
}

.hobby-description {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
  text-align: center;
  flex: 1;
}

/* Hobby Details */
.hobby-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-top: auto;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  background: rgba(255, 205, 178, 0.1);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.detail-item:hover {
  background: rgba(255, 205, 178, 0.2);
  transform: translateX(5px);
}

.detail-emoji {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.detail-text {
  font-size: 1rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* Card Decorations */
.card-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

.deco-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

/* Reading decorations */
.decoration-reading .deco-1 {
  width: 80px;
  height: 80px;
  background: #ffd700;
  top: 10%;
  right: 10%;
}

.decoration-reading .deco-2 {
  width: 60px;
  height: 60px;
  background: #ffa500;
  bottom: 15%;
  left: 5%;
}

.decoration-reading .deco-3 {
  width: 40px;
  height: 40px;
  background: #ffb347;
  top: 50%;
  left: 10%;
}

/* Fitness decorations */
.decoration-fitness .deco-4 {
  width: 90px;
  height: 90px;
  background: #ff6b6b;
  top: 5%;
  left: 5%;
}

.decoration-fitness .deco-5 {
  width: 70px;
  height: 70px;
  background: #ee5a6f;
  bottom: 10%;
  right: 8%;
}

.decoration-fitness .deco-6 {
  width: 50px;
  height: 50px;
  background: #ff8787;
  top: 40%;
  right: 15%;
}

/* Pets decorations */
.decoration-pets .deco-7 {
  width: 85px;
  height: 85px;
  background: #4ecdc4;
  top: 8%;
  right: 12%;
}

.decoration-pets .deco-8 {
  width: 65px;
  height: 65px;
  background: #45b7aa;
  bottom: 12%;
  left: 8%;
}

.decoration-pets .deco-9 {
  width: 45px;
  height: 45px;
  background: #95e1d3;
  top: 45%;
  left: 5%;
}

/* ===== Fun Facts Section ===== */
.fun-facts-section {
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-xl);
}

.facts-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.fact-bubble {
  padding: var(--spacing-lg);
  border-radius: 50%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  animation: float 6s ease-in-out infinite;
}

.bubble-1 {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  animation-delay: 0s;
}

.bubble-2 {
  background: linear-gradient(135deg, #ff6b6b, #ff8787);
  animation-delay: 1s;
}

.bubble-3 {
  background: linear-gradient(135deg, #4ecdc4, #95e1d3);
  animation-delay: 2s;
}

.bubble-4 {
  background: linear-gradient(135deg, #ff69b4, #ffb6c1);
  animation-delay: 1.5s;
}

.fact-bubble:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.fact-text {
  font-size: 1.1rem;
  color: white;
  font-weight: 600;
  padding: var(--spacing-md);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  line-height: 1.6;
}

/* ===== Quote Section ===== */
.quote-section {
  padding: var(--spacing-xl) var(--spacing-md);
  background: linear-gradient(
    135deg,
    rgba(255, 205, 178, 0.1) 0%,
    rgba(255, 180, 162, 0.1) 100%
  );
  margin: var(--spacing-xl) 0;
}

.life-quote {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: var(--spacing-xl);
  position: relative;
}

.quote-text {
  font-size: 1.8rem;
  font-style: italic;
  color: var(--color-text-primary);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
  font-family: var(--font-display);
}

.quote-text::before,
.quote-text::after {
  content: '"';
  font-size: 3rem;
  color: var(--color-cottoncandy);
  opacity: 0.3;
}

.quote-author {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  font-weight: 600;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .life-title {
    font-size: 2.5rem;
  }

  .life-subtitle {
    font-size: 1.2rem;
  }

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

  .facts-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .fact-bubble {
    aspect-ratio: auto;
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
  }

  .quote-text {
    font-size: 1.3rem;
  }

  .shape {
    opacity: 0.3;
  }

  .shape-circle-1,
  .shape-circle-2,
  .shape-circle-3 {
    width: 80px;
    height: 80px;
  }

  .shape-blob-1,
  .shape-blob-2 {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .hobby-card {
    padding: var(--spacing-md);
    min-height: auto;
  }

  .hobby-icon {
    font-size: 3.5rem;
  }

  .hobby-title {
    font-size: 1.5rem;
  }

  .hobby-description {
    font-size: 1rem;
  }
}