/* use_eisenhower_matrix.css */
@import url("https://fonts.googleapis.com/css2?family=Kaisei+Opti:wght@400;700&family=Zen+Kaku+Gothic+New:wght@400;500;700&family=Outfit:wght@400;700;800&display=swap");

:root {
  --matrix-bg-1: #fff1f2; /* Quadrant I: Soft Red */
  --matrix-bg-2: #f0fdf4; /* Quadrant II: Soft Green (Ideal) */
  --matrix-bg-3: #eff6ff; /* Quadrant III: Soft Blue */
  --matrix-bg-4: #f8fafc; /* Quadrant IV: Soft Slate */

  --matrix-border-1: #fecdd3;
  --matrix-border-2: #bbf7d0;
  --matrix-border-3: #dbeafe;
  --matrix-border-4: #e2e8f0;

  --matrix-accent-1: #e11d48;
  --matrix-accent-2: #16a34a;
  --matrix-accent-3: #2563eb;
  --matrix-accent-4: #64748b;
}

/* --- Hero Section --- */
.page-hero {
  text-align: center;
  padding: 4rem 1rem;
  background: linear-gradient(135deg, #fcfdfe 0%, #f4f7f2 100%);
  border-radius: 30px;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(140, 153, 134, 0.2);
}

.page-hero h1 {
  font-size: 2.5rem;
  font-family: "Kaisei Opti", serif;
  color: #4a5d44;
}
/* --- Background Decoration & Wood Leak Light --- */
.bg-decoration {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 70% 20%, rgba(244, 247, 242, 1) 0%, rgba(255, 255, 255, 1) 100%);
  overflow: hidden;
}

.komorebi-light {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.4) 0%, transparent 20%),
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.3) 0%, transparent 25%),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.3) 0%, transparent 30%);
    filter: blur(60px);
    opacity: 0.5;
    animation: rotateLight 30s linear infinite;
    z-index: 1;
}

@keyframes rotateLight {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.page-hero .hero-tag {
  background: rgba(140, 153, 134, 0.1);
  color: #8c9986;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.subtitle {
  font-size: 1.2rem;
  color: #64748b;
  margin-top: 0.5rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Eisenhower Matrix Visualization --- */
.matrix-wrapper {
    position: relative;
    padding: 2rem 0;
}

.matrix-container {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  grid-template-rows: 50px 1fr 1fr;
  gap: 2rem;
  position: relative;
  transition: all 0.5s ease;
}

/* Step Arrows (Visual Guide) */
.matrix-container::before {
    content: '';
    position: absolute;
    top: 55px;
    left: 65px;
    right: 5px;
    bottom: 5px;
    border: 2px dashed rgba(140, 153, 134, 0.15);
    border-radius: 40px;
    pointer-events: none;
    z-index: 0;
}

/* Focus Effect: Dim other quadrants when one is hovered */
.matrix-container:hover .quadrant:not(:hover) {
    opacity: 0.4;
    filter: blur(2px) grayscale(0.5);
    transform: scale(0.98);
}

/* Axes Labels */
.axis-label {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #94cfb1;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: "Outfit", sans-serif;
}

.axis-vertical {
  grid-row: 2 / span 2;
  grid-column: 1;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  border-left: 2px solid rgba(148, 207, 177, 0.2);
}

.axis-horizontal {
  grid-row: 1;
  grid-column: 2 / span 2;
  border-bottom: 2px solid rgba(148, 207, 177, 0.2);
  margin-bottom: 1rem;
}

/* Quadrants */
.quadrant {
    padding: 3.5rem 2rem 2rem;
    border-radius: 30px;
    border: 1px solid transparent;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    min-height: 300px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    z-index: 2;
}

.quadrant:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 40px 80px rgba(0,0,0,0.1);
    z-index: 10;
    border-color: rgba(255,255,255,0.8);
}

/* Step Number Badge */
.step-badge {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Outfit", sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 5;
    border: 3px solid transparent;
}

.quadrant-1 .step-badge { color: var(--matrix-accent-1); border-color: var(--matrix-bg-1); }
.quadrant-2 .step-badge { color: var(--matrix-accent-2); border-color: var(--matrix-bg-2); }
.quadrant-3 .step-badge { color: var(--matrix-accent-3); border-color: var(--matrix-bg-3); }
.quadrant-4 .step-badge { color: var(--matrix-accent-4); border-color: var(--matrix-bg-4); }

/* Explicit Grid Placement Fix: Clockwise Clock Fix (Starting Right-Top) */
.quadrant-1 { grid-area: 2 / 3 / 3 / 4; }
.quadrant-2 { grid-area: 3 / 3 / 4 / 4; }
.quadrant-3 { grid-area: 3 / 2 / 4 / 3; }
.quadrant-4 { grid-area: 2 / 2 / 3 / 3; }

.quadrant-tag {
    font-size: 4rem;
    font-weight: 900;
    font-family: "Outfit", sans-serif;
    opacity: 0.05;
    position: absolute;
    bottom: -10px;
    right: 15px;
    line-height: 1;
}

.quad-title {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.quad-action {
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  display: inline-block;
  width: fit-content;
}

.quad-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}

/* Quadrant Specific Colors */
.quadrant-1 {
  background: var(--matrix-bg-1);
  border-color: var(--matrix-border-1);
}
.quadrant-1 .quad-title {
  color: var(--matrix-accent-1);
}
.quadrant-1 .quad-action {
  background: var(--matrix-accent-1);
  color: #fff;
}

.quadrant-2 {
  background: var(--matrix-bg-2);
  border-color: var(--matrix-border-2);
}
.quadrant-2 .quad-title {
  color: var(--matrix-accent-2);
}
.quadrant-2 .quad-action {
  background: var(--matrix-accent-2);
  color: #fff;
}
.quadrant-2::before {
  content: "BEST AREA";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--matrix-accent-2);
  color: #fff;
  padding: 0.2rem 1rem;
  border-radius: 50px;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.quadrant-1 { 
    --quad-bg: linear-gradient(135deg, #fff9f8 0%, #fff 100%);
    --matrix-accent: var(--matrix-accent-1); 
    box-shadow: inset 0 0 40px rgba(239, 68, 68, 0.03);
}
.quadrant-2 { 
    --quad-bg: linear-gradient(135deg, #f9faf8 0%, #fff 100%);
    --matrix-accent: var(--matrix-accent-2); 
    box-shadow: inset 0 0 40px rgba(140, 153, 134, 0.05);
}
.quadrant-3 { 
    --quad-bg: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
    --matrix-accent: var(--matrix-accent-3); 
    box-shadow: inset 0 0 40px rgba(59, 130, 246, 0.03);
}
.quadrant-4 { 
    --quad-bg: linear-gradient(135deg, #f1f5f9 0%, #fff 100%);
    --matrix-accent: var(--matrix-accent-4); 
    box-shadow: inset 0 0 40px rgba(100, 116, 139, 0.05);
}

.quadrant {
    background: var(--quad-bg);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.quadrant .quad-title {
  font-family: "Kaisei Opti", serif;
  font-size: 1.4rem;
  color: var(--matrix-accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.quadrant .quad-action {
  display: inline-block;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  background: var(--matrix-accent);
  color: #fff;
}

/* --- Background Blobs --- */
.blob-1 {
    width: 500px;
    height: 500px;
    left: -10%;
    top: -10%;
    background: rgba(140, 153, 134, 0.15);
}

.blob-2 {
    width: 400px;
    height: 400px;
    right: -5%;
    bottom: 10%;
    background: rgba(242, 166, 141, 0.1);
}
/* --- Content Blocks --- */
.section-title {
  font-family: "Kaisei Opti", serif;
  font-size: 1.8rem;
  color: #4a5d44;
  margin: 4rem 0 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(140, 153, 134, 0.4), transparent);
}

.action-card {
    background: #fff;
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(140, 153, 134, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    margin-bottom: 2.5rem;
    position: relative;
    transition: all 0.4s ease;
}

.action-card:hover {
    box-shadow: 0 20px 40px rgba(140, 153, 134, 0.05);
    border-color: rgba(140, 153, 134, 0.2);
}

.action-card h3 {
    font-size: 1.4rem;
    font-family: "Kaisei Opti", serif;
    color: #4a5d44;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.action-card h3 i {
    color: #8c9986;
}

.action-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
    margin: 0;
}

/* 3 Actions List Enhancement */
.action-card ul {
    list-style: none;
    padding: 0;
}

.action-card li {
    padding: 1.5rem 0;
    border-bottom: 1px dashed rgba(140, 153, 134, 0.2);
}

.action-card li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.action-card li:first-child {
    padding-top: 0;
}

.action-card li strong {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.2rem;
    color: #4a5d44;
    margin-bottom: 0.5rem;
    font-family: "Kaisei Opti", serif;
}

.action-card li strong i {
    color: #8c9986;
    font-size: 1.1rem;
}

/* --- Benefit List --- */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.benefit-item {
    background: rgba(140, 153, 134, 0.03);
    padding: 1.8rem;
    border-radius: 20px;
    border: 1px solid rgba(140, 153, 134, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateY(20px);
}

.reveal.is-visible .benefit-item {
    opacity: 1;
    transform: translateY(0);
}

.benefit-item:nth-child(1) { transition-delay: 0.1s; }
.benefit-item:nth-child(2) { transition-delay: 0.2s; }
.benefit-item:nth-child(3) { transition-delay: 0.3s; }
.benefit-item:nth-child(4) { transition-delay: 0.4s; }

.benefit-item:hover {
    background: #fff;
    box-shadow: 0 15px 30px rgba(0,0,0,0.03);
    transform: translateY(-5px);
}

.benefit-item i {
    font-size: 1.8rem;
    color: #8c9986;
}

.benefit-item h4 {
    font-size: 1.15rem;
    color: #4a5d44;
    font-family: "Kaisei Opti", serif;
    margin: 0;
}

.benefit-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

/* --- Flap Card (Concrete Changes) --- */
.change-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    perspective: 1500px;
}

.flap-card {
    position: relative;
    width: 100%;
    height: 300px; /* Consistent height for cards */
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.flap-card:hover {
    transform: rotateY(180deg);
}

/* Corner Peel Hint */
.flap-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(225deg, transparent 45%, rgba(140, 153, 134, 0.1) 50%, rgba(140, 153, 134, 0.05) 55%, transparent 100%);
    z-index: 5;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.flap-card:hover::before {
    opacity: 0;
}

.card-face {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(140, 153, 134, 0.1);
}

/* Front Side */
.card-face-front {
    background: #fff;
    background-image: radial-gradient(circle at 20% 20%, rgba(140, 153, 134, 0.05) 0%, transparent 40%);
}

.card-face-front i {
    font-size: 3.5rem;
    color: #8c9986;
    margin-bottom: 1.5rem;
    transition: transform 0.5s ease;
}

.flap-card:hover .card-face-front i {
    transform: scale(0.8);
}

.card-face-front h3 {
    font-size: 1.4rem;
    font-family: "Kaisei Opti", serif;
    color: #4a5d44;
    margin: 0;
    line-height: 1.4;
}

/* Back Side */
.card-face-back {
    background: linear-gradient(135deg, #fdfbf9 0%, #f4f7f2 100%);
    transform: rotateY(180deg);
    justify-content: center;
    border: 1px solid rgba(140, 153, 134, 0.2);
}

.card-face-back p {
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
    margin: 0;
}

.card-face-back::after {
    content: 'Click to Flip';
    position: absolute;
    bottom: 1rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #94a3b8;
    font-weight: 700;
}

/* --- Cleaning Method Grid (The Desk Surface) --- */
.cleaning-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 4rem -2rem; /* Pull out slightly to create a wider surface */
    padding: 4rem 2rem;
    position: relative;

    /* Desk Surface Aesthetics */
    background: #fdfbf9; /* Soft warm desk color */
    border-radius: 40px;
    border: 1px solid rgba(140, 153, 134, 0.15);
    box-shadow:
        inset 0 0 40px rgba(255, 255, 255, 0.8),
        0 20px 50px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

/* Desk Light Sweep Animation */
.cleaning-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%
    );
    transform: skewX(-25deg);
    z-index: 2;
    pointer-events: none;
}

.reveal.is-visible .cleaning-grid::before {
    animation: deskSweep 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes deskSweep {
    0% { left: -150%; }
    30% { left: 150%; }
    100% { left: 150%; }
}

/* Markers for the drawn lines */
.cleaning-grid::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: #8c9986;
    font-family: serif;
    opacity: 0.4;
    z-index: 1;
}

/* The actual cross lines (moved to child elements or new pseudo) */
.cleaning-grid-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.cleaning-grid-lines::before,
.cleaning-grid-lines::after {
    content: '';
    position: absolute;
    background: #8c9986;
    opacity: 0.15;
    z-index: 0;
    border-radius: 10px;
}

.cleaning-grid-lines::before {
    top: 4rem;
    bottom: 4rem;
    left: 50%;
    width: 4px;
    transform: translateX(-50%);
}

.cleaning-grid-lines::after {
    left: 4rem;
    right: 4rem;
    top: 50%;
    height: 4px;
    transform: translateY(-50%);
}

.corner-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(140, 153, 134, 0.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.03);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    z-index: 1; /* Above the lines */
}

.corner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(140, 153, 134, 0.1);
    border-color: rgba(140, 153, 134, 0.3);
}

.corner-card i {
    font-size: 3rem;
    color: #8c9986;
    opacity: 0.6;
}

.corner-card h4 {
    font-size: 1.3rem;
    font-family: "Kaisei Opti", serif;
    color: #4a5d44;
}

.rules-box {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 20px;
  border-left: 5px solid #8c9986;
  margin: 3rem 0;
}

.rules-box ul {
  list-style: none;
  padding: 0;
}

.rules-box li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-weight: 700;
  color: #475569;
}

.rules-box li i {
  color: #8c9986;
  margin-top: 0.3rem;
}

/* --- Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .matrix-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .axis-label {
    display: none;
  }
  .cleaning-grid {
    grid-template-columns: 1fr;
  }
  .page-hero h1 {
    font-size: 1.8rem;
  }
}

/* ==========================================
   PREMIUM VIDEO THEATER (SUMMARY)
   ========================================== */
.movie-summary-section {
  background: linear-gradient(to bottom, #ffffff, rgba(140, 153, 134, 0.05));
  border: 1px solid rgba(140, 153, 134, 0.1);
  padding: 4rem 2rem;
  border-radius: 30px;
  margin-top: 6rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.movie-summary-section h3 {
  color: #4a5d44;
  font-family: "Kaisei Opti", serif;
  font-size: 2rem;
  margin: 0 0 2rem 0;
  text-align: left;
  border: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.video-theater-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  background: #1a1a1a;
  padding: 15px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 8px;
  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;
  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: #c9a96e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(201, 169, 110, 0.5);
  position: relative;
}

.play-circle i {
  color: white;
  font-size: 2.5rem;
  margin-left: 5px;
}

.play-circle::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid #c9a96e;
  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 {
  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;
}

.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%;
  display: block;
}

.play-trigger, .replay-trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.replay-trigger i {
  font-size: 3rem;
  color: #c9a96e;
  margin-bottom: 1rem;
}

/* --- Cinema Mode Styling --- */
body.cinema-mode {
  overflow: hidden;
}

.cinema-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  animation: fadeInBackdrop 0.4s ease forwards;
  cursor: pointer;
}

@keyframes fadeInBackdrop {
  to { opacity: 1; }
}

.video-theater-container.cinema-active {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 90vw;
  max-width: 1000px;
  z-index: 10000;
  padding: 0;
  border-radius: 12px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
  background: #000;
  animation: modalPop 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.video-theater-container.cinema-active::after {
  content: "× 画面の外側をタップして閉じる";
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 0.95rem;
  opacity: 0.7;
  white-space: nowrap;
}

@keyframes modalPop {
  0% { transform: translate(-50%, -45%) scale(0.95); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

@media (max-width: 768px) {
  .movie-summary-section {
    padding: 2rem 1.5rem;
  }
  .play-circle {
    width: 60px;
    height: 60px;
  }
  .play-circle i {
    font-size: 1.5rem;
  }
}

/* --- Added Component Styles --- */
.action-card.accent-border {
    border-left: 5px solid #8c9986;
}

.benefit-header-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: #8c9986;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    display: block;
}

.benefit-grid-title {
    font-family: 'Kaisei Opti', serif;
    color: #4a5d44;
    margin-top: 0.5rem;
    font-size: 1.5rem;
}

.transitional-box {
    background: rgba(140, 153, 134, 0.05);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    margin: 3rem 0;
    border: 1px dashed #8c9986;
}

.transitional-box p {
    margin-bottom: 0;
    font-style: italic;
    color: #4a5d44;
}

.sub-section {
    margin-bottom: 3.5rem;
}

.sub-section-title {
    font-family: 'Kaisei Opti', serif;
    font-size: 1.5rem;
    color: #4a5d44;
    margin-bottom: 1.5rem;
    border-left: 4px solid #8c9986;
    padding-left: 1rem;
}

.sub-section-title.small {
    font-size: 1.3rem;
    border-left: none;
    padding-left: 0;
    margin-bottom: 1.2rem;
}

.special-message-box {
    background: rgba(140, 153, 134, 0.03);
    padding: 2.5rem;
    border-radius: 30px;
    border: 1px solid rgba(140, 153, 134, 0.1);
    margin-top: 8rem; /* 深い呼吸のための大きな余白 */
}

.special-message-box p {
    color: #4a5d44;
    font-weight: 500;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.personal-signature {
    margin-top: 2rem;
    text-align: right;
    font-family: 'Kaisei Opti', serif;
    font-style: italic;
    color: #8c9986;
    position: relative;
    padding-right: 4rem;
}

.personal-signature::after {
    content: '';
    position: absolute;
    right: 0.5rem;
    top: -1rem;
    width: 50px;
    height: 50px;
    background: rgba(242, 166, 141, 0.2);
    border: 2px solid rgba(242, 166, 141, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.personal-signature::before {
    content: '元気';
    position: absolute;
    right: 1.2rem;
    top: 0.2rem;
    font-size: 0.7rem;
    color: #f2a68d;
    font-weight: 900;
    font-style: normal;
    z-index: 2;
}

#global-footer {
    text-align: center;
    padding: 4rem 2rem;
    color: #64748b;
}
