/* live_in_the_moment.css - Page Specific Styles */

.live-moment-page {
  --moment-blue: #0ea5e9;
  --moment-light: #e0f2fe;
  --moment-dark: #0369a1;
}

.live-moment-page .page-title {
  color: var(--moment-dark);
  font-size: 2rem;
  font-weight: bold;
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
}

.live-moment-page .page-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background: var(--moment-light);
  position: absolute;
  bottom: 0;
  left: 0;
}

/* Clock Header Animation */
.live-moment-page .clock-container {
  width: 150px;
  height: 150px;
  border: 8px solid var(--moment-blue);
  border-radius: 50%;
  position: relative;
  margin: 0 auto 2rem;
  background: white;
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.2);
}

.live-moment-page .clock-face {
  width: 100%;
  height: 100%;
  position: relative;
  transform: translateY(-3px); /* Alignment fix */
}

.live-moment-page .hand {
  width: 50%;
  height: 6px;
  background: #334155;
  position: absolute;
  top: 50%;
  transform-origin: 100%;
  transform: rotate(90deg);
  transition: all 0.05s;
  transition-timing-function: cubic-bezier(0.1, 2.7, 0.58, 1);
  border-radius: 6px;
}

.live-moment-page .hand-hour {
  width: 30%;
  left: 20%;
  background: #0f172a;
  z-index: 3;
}

.live-moment-page .hand-min {
  width: 40%;
  left: 10%;
  background: #334155;
  z-index: 2;
}

.live-moment-page .hand-second {
  width: 45%;
  background: #f43f5e;
  height: 2px;
  left: 5%;
  z-index: 4;
  transition: all 0.05s cubic-bezier(0, 0, 0.52, 2.51);
}

.live-moment-page .center-dot {
  width: 12px;
  height: 12px;
  background: #0f172a;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  border: 2px solid white;
  animation: pulse-dot 1s infinite;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(14, 165, 233, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(14, 165, 233, 0);
  }
}

/* Markings */
.live-moment-page .clock-mark {
  width: 4px;
  height: 10px;
  background: #cbd5e1;
  position: absolute;
  left: 50%;
  transform-origin: 50% 75px; /* Radius of clock */
  transform: translateX(-50%);
}
.live-moment-page .mark-12 {
  top: 10px;
  transform: translateX(-50%) rotate(0deg);
  height: 15px;
  background: var(--moment-blue);
}
.live-moment-page .mark-3 {
  top: 10px;
  transform: translateX(-50%) rotate(90deg);
  height: 15px;
  background: var(--moment-blue);
}
.live-moment-page .mark-6 {
  top: 10px;
  transform: translateX(-50%) rotate(180deg);
  height: 15px;
  background: var(--moment-blue);
}
.live-moment-page .mark-9 {
  top: 10px;
  transform: translateX(-50%) rotate(270deg);
  height: 15px;
  background: var(--moment-blue);
}

/* Typography */
.live-moment-page .moment-quote {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.5rem;
  color: var(--moment-dark);
  text-align: center;
  margin: 2rem 0;
  line-height: 1.8;
}

.live-moment-page .moment-author {
  font-size: 1rem;
  color: #64748b;
  text-align: right;
  margin-top: 1rem;
  font-weight: bold;
}

/* Time Visualization Bar */
.live-moment-page .time-bar-container {
  background: #f1f5f9;
  padding: 2rem;
  border-radius: 12px;
  margin: 3rem 0;
  text-align: center;
}

.live-moment-page .time-bar-label {
  margin-bottom: 1rem;
  font-weight: bold;
  color: #0f172a;
}

.live-moment-page .time-bar-note {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 1rem;
}

.live-moment-page .time-bar-track {
  width: 100%;
  height: 20px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  margin: 1rem 0;
  position: relative;
}

.live-moment-page .time-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--moment-blue), #38bdf8);
  border-radius: 10px;
  transition: width 1.5s ease-out;
}

.live-moment-page .time-highlight {
  color: var(--moment-blue);
  font-weight: bold;
  font-size: 1.2rem;
}

.live-moment-page .moment-focus-text {
  padding: 1.5rem;
  border-left: 4px solid var(--moment-blue);
  background: var(--moment-light);
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
  font-weight: bold;
  color: #0f172a;
}

/* Digital Clock */
.live-moment-page .digital-clock {
  text-align: center;
  font-family: "Courier New", Courier, monospace;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--moment-dark);
  margin-top: -1rem;
  margin-bottom: 2rem;
  letter-spacing: 2px;
}

/* Today's Progress Bar */
.live-moment-page .today-progress-container {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  text-align: center;
}

.live-moment-page .today-label {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.live-moment-page .today-percentage {
  font-size: 2rem;
  font-weight: bold;
  color: var(--moment-blue);
  line-height: 1;
}

.live-moment-page .progress-track {
  width: 100%;
  height: 12px;
  background: #f1f5f9;
  border-radius: 6px;
  margin-top: 0.5rem;
  overflow: hidden;
  position: relative;
}

.live-moment-page .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, var(--moment-blue));
  border-radius: 6px;
  transition: width 1s linear;
  position: relative;
}

.live-moment-page .progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.15) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.15) 75%,
    transparent 75%,
    transparent
  );
  background-size: 1rem 1rem;
  animation: progress-stripes 1s linear infinite;
}

@keyframes progress-stripes {
  0% {
    background-position: 1rem 0;
  }
  100% {
    background-position: 0 0;
  }
}

/* Page Specific Overrides */
.live-moment-page .main-article h3 {
  color: var(--moment-dark);
  border-bottom: 2px solid var(--moment-light);
  padding-bottom: 0.5rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
  font-size: 1.4rem;
}

.live-moment-page .sidebar-widget h3 {
  border-bottom-color: var(--moment-light);
  color: var(--moment-dark);
}

.live-moment-page .sidebar-advice {
  background: #fff;
  border: 1px solid var(--moment-blue);
  border-radius: 8px;
  padding: 1.5rem;
}

.live-moment-page .sidebar-advice .header {
  color: var(--moment-blue);
  border-bottom: 2px solid var(--moment-light);
  margin-bottom: 0.8rem;
  padding-bottom: 0.4rem;
  font-weight: bold;
}

.live-moment-page .recommendations-list li a.active {
    background: var(--moment-light);
    color: var(--moment-blue);
    border-left-color: var(--moment-blue);
}

.live-moment-page .highlight-blue {
    color: var(--moment-blue);
    font-weight: bold;
}

