/* shining_life.css - Page Specific Styles */

.shining-life-page {
  --shine-gold: #f59e0b;
  --shine-light: #fcd34d;
  --shine-bg: #fffbeb;
}

.shining-life-page .intro-quote {
  text-align: center;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  color: #78350f;
  line-height: 2.2;
  margin-bottom: 3rem;
  font-size: 1.15rem;
  font-weight: 500;
}

.shining-life-page .main-content {
  background: transparent;
  box-shadow: none;
}

.shining-life-page .page-title {
  color: #78350f;
  font-size: 2rem;
  font-weight: bold;
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
}

.shining-life-page .page-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #f59e0b, #fcd34d);
  position: absolute;
  bottom: 0;
  left: 0;
}

.shining-life-page .shine-quote-section {
  background: radial-gradient(circle at center, #fff7ed 0%, #ffffff 80%);
  border: 2px solid #fcd34d;
  border-radius: 16px;
  padding: 3rem 2rem;
  margin: 3rem 0;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.15);
  overflow: hidden;
}

.shining-life-page .twinkle-star {
  position: absolute;
  color: #fbbf24;
  opacity: 0;
  animation: twinkle 3s infinite ease-in-out;
}

.shining-life-page .twinkle-star:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; font-size: 1.2rem; }
.shining-life-page .twinkle-star:nth-child(2) { top: 20%; right: 15%; animation-delay: 1s; font-size: 1rem; }
.shining-life-page .twinkle-star:nth-child(3) { bottom: 15%; left: 20%; animation-delay: 0.5s; font-size: 1.5rem; }
.shining-life-page .twinkle-star:nth-child(4) { bottom: 10%; right: 10%; animation-delay: 1.5s; font-size: 1rem; }

@keyframes twinkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.shining-life-page .shine-icon-wrapper {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: white;
  padding: 0 1rem;
  border-radius: 50%;
  border: 1px solid #fef3c7;
}

.shining-life-page .shine-quote-section i.main-icon {
  font-size: 2.5rem;
  color: #f59e0b;
}

.shining-life-page .shine-text {
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
  line-height: 2;
  color: #b45309;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.shining-life-page .shine-author {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 1.5rem;
  font-weight: bold;
  color: #d97706;
}

.shining-life-page .main-article h3 {
  color: #d97706;
  border-bottom: 2px solid #fcd34d;
  padding-bottom: 0.5rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
  font-size: 1.4rem;
}

.shining-life-page .main-article p {
  line-height: 2;
  margin-bottom: 1.5rem;
  color: #334155;
}

.shining-life-page .dancing-fool-quote {
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #d97706;
  margin: 2rem 0;
  padding: 1rem;
  background: #fffbeb;
  border-radius: 12px;
  font-family: "Yu Mincho", serif;
}

.shining-life-page .action-highlight {
  background: linear-gradient(120deg, #fde68a 0%, #fde68a 100%);
  background-repeat: no-repeat;
  background-size: 100% 40%;
  background-position: 0 88%;
  font-weight: bold;
  color: #451a03;
}

.shining-life-page .action-button-container {
  text-align: center;
  margin: 4rem 0;
}

.shining-life-page .action-instruction {
  margin-bottom: 1.5rem;
  font-weight: bold;
  color: #b45309;
}

.shining-life-page .final-encouragement {
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #f59e0b;
  margin-top: 3rem;
}

.shining-life-page .footer-nav-wrap {
  margin-top: 2rem;
  text-align: center;
}

.shining-life-page .action-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.shining-life-page .action-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
}

.shining-life-page .action-btn:active {
  transform: translateY(1px);
}

.shining-life-page .action-highlight-box {
  background: #fffbeb;
  border-left: 5px solid #f59e0b;
  padding: 2.5rem;
  margin: 3rem 0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.05);
}

.shining-life-page .action-highlight-box h4 {
  color: #d97706;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.shining-life-page .action-highlight-box p {
  margin: 0;
  color: #451a03;
  line-height: 1.8;
}

.shining-life-page .highlight-orange {
  color: #f59e0b;
  font-weight: bold;
}

/* Sidebar structure already uses layout.css. 
   Theme overrides below if needed. */
.shining-life-page .sidebar-widget h3 {
  border-bottom-color: #fcd34d;
  color: #d97706;
}

.shining-life-page .sidebar-nav-list a.active {
    background: #fffbeb;
    color: #d97706;
    border-left-color: #d97706;
}

#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

.sparkle-star {
  position: absolute;
  color: #fcd34d;
  pointer-events: none;
  opacity: 0;
  animation: sparkleAnim 2s linear forwards;
  z-index: 1;
}

@keyframes sparkleAnim {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) rotate(45deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.5) rotate(90deg);
  }
}
