/* 
 * accept_now.css
 * Theme: Premium Gold & Deep Forest Green
 * Structure: Variables -> Base -> Content Blocks -> Interactions -> Special Sections -> Utils -> Responsive
 */

/* ==========================================
   1. VARIABLES & FOUNDATION
   ========================================== */
:root {
  --page-green-deep: #1b4332;
  --page-green-mid: #2d6a4f;
  --page-green-light: #f0fdf4;
  --page-gold: #c5a028;
  --page-gold-bright: #f1c40f;
  --page-gold-soft: #fdfaf0;
  --page-gold-deep: #9b7d1c;
  --holmes-color: #1e3a8a;
  --watson-color: #15803d;
  --text-main: #2c3e50;
  --text-muted: #475569;
  --glass-bg: rgba(255, 255, 255, 0.7);
}

/* Page Theme Layout */
.manuscript-card {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.article-header {
  text-align: center;
  padding: 5rem 2rem;
  background: white;
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.article-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--page-gold), var(--page-green-deep), var(--page-gold));
}

.article-header .title {
  display: inline-block;
  color: var(--page-green-deep); /* Fallback */
  font-size: 3.5rem;
  font-family: "Kaisei Opti", serif;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  
  /* Rich Gradient Text */
  background: linear-gradient(135deg, var(--page-green-deep) 0%, #15803d 50%, var(--page-gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 0px rgba(255,255,255,0.9));
  
  position: relative;
  z-index: 2;
}

.article-header .subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;

  color: var(--page-gold-deep);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.article-header .subtitle::before,
.article-header .subtitle::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--page-gold);
  opacity: 0.6;
}

/* ==========================================
   2. CONTENT BLOCKS & CARDS
   ========================================== */
.content-block {
  background: white;
  padding: 4rem;
  border-radius: 30px;
  margin-bottom: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.content-block h3 {
  color: var(--page-green-deep);
  font-family: "Kaisei Opti", serif;
  font-size: 1.8rem;
  margin: 0 0 2.5rem 0;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--page-gold-soft);
  display: block;
  position: relative;
}

.content-block h3::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--page-gold);
}

.content-block p {
  margin-bottom: 1.8rem;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* --- Common Components --- */
.insight-box {
  background: rgba(253, 250, 240, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--page-gold);
  border-left-width: 8px;
  padding: 2.5rem;
  margin: 3rem 0;
  border-radius: 0 20px 20px 0;
  position: relative;
}

.insight-box p {
  color: var(--page-green-deep);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.8;
  margin: 0;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.check-list li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.2rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--page-gold);
  font-size: 1.2rem;
}

.challenge-box {
  background: linear-gradient(to right, var(--page-green-light), transparent);
  border-left: 5px solid var(--page-gold);
  padding: 2rem;
  margin: 3rem 0;
  border-radius: 0 16px 16px 0;
}

.challenge-box p {
  margin: 0;
  font-style: italic;
  font-weight: 600;
  color: var(--page-green-deep);
}

/* ==========================================
   3. INTERACTIVE FEATURES
   ========================================== */

/* --- A. Camp Theater --- */
.theater-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 3rem auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  background: #000;
}

.theater-stage { position: relative; line-height: 0; }
.theater-image { width: 100%; height: auto; transition: filter 0.5s ease; }
.theater-container.is-playing .theater-image { filter: brightness(0.6); }

/* Overlays */
.theater-overlay, .replay-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 10;
  background: rgba(0, 0, 0, 0.2);
  transition: opacity 0.5s ease;
}

.replay-overlay {
  background: rgba(0, 0, 0, 0.7);
  display: none;
  z-index: 30;
  color: white;
}

.theater-container.is-playing .theater-overlay { opacity: 0; pointer-events: none; }
.theater-container.is-finished .replay-overlay { display: flex; }

/* Buttons */
.play-button {
  width: 80px; height: 80px;
  background: var(--page-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(197, 160, 40, 0.5);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
}
.play-button i { color: white; font-size: 2rem; margin-left: 5px; }
.play-button:hover { transform: scale(1.1); background: var(--page-gold-bright); }
.play-label {
  color: white; margin-top: 1rem; font-weight: 700; letter-spacing: 0.1em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5); font-family: "Kaisei Opti", serif;
}

/* Speech Bubbles */
.theater-bubble {
  position: absolute; padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(5px);
  border-radius: 15px; font-size: 0.95rem; line-height: 1.6;
  max-width: 250px; opacity: 0; transform: translateY(10px);
  transition: all 0.5s ease; z-index: 20;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2); pointer-events: none;
}
.theater-bubble::after { content: ""; position: absolute; border: 10px solid transparent; }
.theater-bubble.speaker-holmes { left: 15%; top: 15%; border-left: 4px solid var(--holmes-color); }
.theater-bubble.speaker-holmes::after { bottom: -20px; left: 20px; border-top-color: rgba(255, 255, 255, 0.95); }
.theater-bubble.speaker-watson { right: 15%; top: 20%; border-right: 4px solid var(--watson-color); }
.theater-bubble.speaker-watson::after { bottom: -20px; right: 20px; border-top-color: rgba(255, 255, 255, 0.95); }
.theater-bubble.active { opacity: 1; transform: translateY(0); }

/* Custom Overrides for Split Bubbles */
#bubble-4-2 {
  max-width: 340px;
  right: 5%;
  left: auto;
}

/* Impact Effects */
.bubble-impact {
  font-weight: 900; color: #e11d48; font-size: 1.1em;
  text-decoration: underline wavy var(--page-gold);
}
.theater-bubble.impact-active {
  animation: bubbleShake 0.5s ease-in-out;
  border-left: 6px solid #e11d48 !important; transform: scale(1.05);
}
@keyframes bubbleShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px) rotate(-1deg); }
  75% { transform: translateX(5px) rotate(1deg); }
}

/* --- B. Wisdom Revealer (Glasses) --- */
.wisdom-revealer {
  opacity: 0; transform: translateY(30px); filter: blur(10px);
  transition: all 7s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none; max-height: 0; overflow: hidden;
}
.wisdom-revealer.is-revealed {
  opacity: 1; transform: translateY(0); filter: blur(0);
  pointer-events: all; max-height: 2000px; margin-top: 2rem; margin-bottom: 2rem;
}
.reveal-btn-container { text-align: center; margin: 2rem 0; }
.reveal-btn {
  background: linear-gradient(135deg, var(--page-gold), var(--page-gold-bright));
  color: white; border: none; padding: 1rem 2.5rem; border-radius: 50px;
  font-family: "Kaisei Opti", serif; font-weight: 700; font-size: 1.1rem;
  cursor: pointer; box-shadow: 0 10px 25px rgba(197, 160, 40, 0.3);
  transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 0.8rem;
}
.reveal-btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 15px 35px rgba(197, 160, 40, 0.4); }

/* --- C. 1mm Progress Stage --- */
.stage-1mm {
  margin: 4rem 0; padding: 3rem; background: #fafaf9;
  border-radius: 24px; border: 1px dashed var(--page-gold-soft);
  text-align: center; position: relative; transition: all 0.5s ease;
}
.stage-1mm.is-goal { background: white; border: 2px solid var(--page-gold); box-shadow: 0 0 30px rgba(197, 160, 40, 0.15); }
.step-track { width: 100%; height: 6px; background: #e7e5e4; border-radius: 3px; margin: 4rem 0 3rem 0; position: relative; }
.step-marker {
  position: absolute; top: 50%; left: 0%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; background: white; border: 2px solid var(--page-gold);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(197, 160, 40, 0.2); transition: left 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
}
.step-marker i { color: var(--page-gold); font-size: 1.25rem; }
.step-progress-fill {
  position: absolute; top: 0; left: 0; height: 100%; background: linear-gradient(90deg, var(--page-gold-soft), var(--page-gold));
  width: 0%; transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.step-buttons { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.reveal-btn.step-btn { min-width: 160px; padding: 0.8rem 1.5rem; }
.reveal-btn.btn-1mm { background: white; color: var(--page-gold); border: 2px solid var(--page-gold); box-shadow: none; }
.reveal-btn.btn-1mm:hover { background: #fffdf9; border-color: var(--page-gold-bright); }
.step-text-reveal { opacity: 0.5; margin-top: 1rem; transition: all 0.5s ease; font-size: 1.2rem; font-weight: 700; color: var(--page-green-deep); }
.stage-1mm.is-goal .step-text-reveal { opacity: 1; transform: scale(1.1); color: var(--page-gold-deep); }
.goal-message { display: none; font-family: "Kaisei Opti", serif; font-size: 1.8rem; font-weight: 800; color: var(--page-gold); margin-top: 2rem; animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55); }
@keyframes bounceIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.stage-1mm.is-goal .goal-message { display: block; }
.stage-1mm.is-goal .step-buttons { display: none; }
.step-label { position: absolute; top: -30px; font-size: 0.8rem; color: var(--page-gold); font-weight: 700; letter-spacing: 0.1em; }
.step-label.end { right: 0; color: #a8a29e; }

/* ==========================================
   4. SPECIAL SECTIONS & EFFECTS
   ========================================== */

/* --- Truth Spotlight --- */
.truth-spotlight {
  background: var(--page-green-deep); color: white; padding: 2.5rem;
  border-radius: 20px; margin: 3rem 0; position: relative; text-align: center;
  box-shadow: 0 15px 35px rgba(27, 67, 50, 0.2);
}
.truth-spotlight::after {
  content: ""; position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%);
  border-left: 15px solid transparent; border-right: 15px solid transparent; border-top: 15px solid var(--page-green-deep);
}
.truth-spotlight p { color: #f1f5f9 !important; margin: 0; font-size: 1.2rem; font-weight: 500; }
.truth-spotlight strong { color: var(--page-gold-bright); font-size: 1.4rem; display: block; margin-top: 0.5rem; }

/* --- Reflection Note --- */
.reflection-note {
  background: #fffdf9; border: 1px solid #e2e8f0; border-radius: 12px; padding: 3rem; position: relative;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), inset 0 0 40px rgba(197, 160, 40, 0.03); overflow: hidden;
}
.reflection-note::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--page-gold-soft), var(--page-gold), var(--page-gold-soft)); }
.reflection-note h4 { font-family: "Kaisei Opti", serif; color: var(--page-green-deep); font-size: 1.4rem; margin-bottom: 2rem; display: flex; align-items: center; gap: 0.8rem; }
.reflection-note h4 i { color: var(--page-gold); font-size: 1.2rem; }
.reflection-question { font-size: 1.25rem; color: var(--page-green-deep); font-weight: 700; padding-left: 1.5rem; border-left: 3px solid var(--page-gold-soft); }

/* --- Step Emphasis Badge --- */
.step-emphasis {
  text-align: center; margin: 5rem 0; padding: 3.5rem 2rem;
  background: radial-gradient(circle at center, #ffffff, var(--page-green-light));
  border-radius: 40px; border: 2px solid var(--page-gold-soft);
  box-shadow: 0 15px 35px rgba(45, 106, 79, 0.05);
}
.step-emphasis .one-mm {
  font-size: 4rem; font-weight: 900; background: linear-gradient(135deg, var(--page-gold), var(--page-gold-bright));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: block;
  font-family: "Zen Kurenaido", sans-serif; filter: drop-shadow(0 4px 4px rgba(0,0,0,0.1));
}

/* --- Floating Visual Animation --- */
.glasses-visual {
  max-width: 450px; display: block; margin: 3rem auto; border-radius: 50%;
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.25); animation: floating 4s ease-in-out infinite;
}
@keyframes floating { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-15px) rotate(2deg); } }

/* --- Quotes Section --- */
.quotes-section {
  display: grid; 
  gap: 3.5rem; 
  margin-top: 3rem; 
  padding: 5rem 4rem;
  background: var(--page-green-deep); 
  border-radius: 30px; 
  color: white;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.2);
}
.quote-item { 
  position: relative; 
  padding-left: 3rem; 
}
.quote-item::before { 
  content: "“"; 
  position: absolute; 
  left: 0; 
  top: -1.5rem; 
  font-size: 5rem; 
  color: var(--page-gold); 
  opacity: 0.4; 
  font-family: serif;
}
.quote-text { 
  font-family: "Kaisei Opti", serif;
  font-size: 1.25rem; 
  line-height: 2.2; 
  font-style: normal; 
  color: #f8fafc !important; /* Brighter slate-white */
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.quote-author { 
  text-align: right; 
  color: var(--page-gold-bright) !important; /* Use brighter gold */
  font-weight: 700; 
  font-family: "Kaisei Opti", serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

/* ==========================================
   5. UTILS & RESPONSIVE
   ========================================== */
.fade-up { opacity: 0; transform: translateY(30px); transition: all 1s cubic-bezier(0.22, 1, 0.36, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ==========================================
   6. PREMIUM VIDEO THEATER (SUMMARY)
   ========================================== */
.movie-summary-section {
  background: linear-gradient(to bottom, #ffffff, var(--page-gold-soft));
  border: 2px solid var(--page-gold-soft);
}

/* YouTube styles for Video Title (Black footer inside the container) */
.video-theater-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 2rem auto;
  border-radius: 20px;
  background: #1a1a1a; /* Lighter black / Charcoal */
  padding: 15px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect */
  border-radius: 8px; /* Slightly rounded video corners if preferred */
  overflow: hidden;
}

.video-frame video {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
}

.video-overlay, .video-replay-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 10; cursor: pointer; transition: all 0.4s ease;
}
.video-overlay { background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(2px); }
.video-replay-overlay { background: rgba(0, 0, 0, 0.7); opacity: 0; visibility: hidden; backdrop-filter: blur(5px); }

.video-theater-container.is-playing .video-overlay { opacity: 0; visibility: hidden; }
.video-theater-container.is-finished .video-replay-overlay { opacity: 1; visibility: visible; }

.play-circle {
  width: 80px; height: 80px; background: var(--page-gold);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 30px rgba(197, 160, 40, 0.5); position: relative;
}
.play-circle i { color: white; font-size: 2.5rem; }
.play-circle::after {
  content: ""; position: absolute; top: -5px; left: -5px; right: -5px; bottom: -5px;
  border: 2px solid var(--page-gold); border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }

.video-title-label {
  background: transparent;
  color: #fff;
  padding: 1rem 0.5rem 0.5rem 0.5rem;
  font-size: 1.25rem;
  font-weight: 500;
  font-family: "Kaisei Opti", serif;
  text-align: left;
  letter-spacing: 0.05em;
}

.video-theater-container.is-playing .video-title-label {
  opacity: 1; /* Keep visible even while playing */
}

.play-text { color: white; margin-top: 1.5rem; font-weight: 700; letter-spacing: 0.2em; font-family: "Kaisei Opti", serif; text-align: center; width: 100%; }
.play-trigger { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; }
/* --- Cinema Mode (Video Modal) Styling --- */
body.cinema-mode {
  overflow: hidden;
}

.cinema-backdrop {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 9998;
  opacity: 0;
  animation: fadeInBackdrop 0.4s ease forwards;
}

@keyframes fadeInBackdrop {
  to { opacity: 1; }
}

.video-theater-container.cinema-active {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 92vw;
  max-width: 1100px;
  z-index: 10000;
  margin: 0; padding: 0;
  border-radius: 15px;
  background: #000;
  box-shadow: 0 50px 150px rgba(0, 0, 0, 0.9);
}

.video-theater-container.cinema-active::after {
  content: "× CLOSE";
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  opacity: 0.6;
}

.replay-trigger i { font-size: 3rem; color: var(--page-gold-bright); margin-bottom: 1rem; }

@media (max-width: 768px) {
  .movie-summary-section { padding: 2rem 1.5rem; }
  .play-circle { width: 60px; height: 60px; }
  .play-circle i { font-size: 1.5rem; }
}
