/* throw_away_unnecessary_things.css - Premium Simple Life Design */

:root {
  --simple-primary: #8c9986; /* Sage Green */
  --simple-secondary: #f4f5f3; /* Soft Light Gray */
  --simple-accent: #c9a96e; /* Gold/Brass for accents */
  --simple-text: #444b40; /* Deep Moss Green for text */
  --simple-bg: #ffffff;
  --simple-gradient: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
  --paper-texture: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
}

/* --- Global Texture --- */
body {
  background-color: var(--simple-bg);
  transition: background-color 1.5s ease;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  background-image: var(--paper-texture);
  z-index: -1;
  transform: translateZ(0);
}

body.mid-page {
  background-color: #fcfdfb;
}

body.end-page {
  background-color: #ffffff;
}

/* --- Hero Area --- */
.article-hero {
  background: var(--simple-gradient);
  padding: 6rem 2rem;
  border-radius: 40px;
  margin-bottom: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(140, 153, 134, 0.1);
}

.article-hero .sub-title {
  display: inline-block;
  padding: 0.6rem 2rem;
  background: rgba(140, 153, 134, 0.15);
  color: var(--simple-primary);
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.article-hero h1 {
  font-size: 3.5rem;
  color: var(--simple-text);
  font-family: "Kaisei Opti", serif;
  margin: 0;
  line-height: 1.3;
  letter-spacing: 0.05em;
}

.hero-icons {
  margin-top: 2rem;
  color: var(--simple-primary);
  font-size: 1.25rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* --- Hero Particles --- */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: var(--simple-accent);
  border-radius: 50%;
  opacity: 0.2;
  animation: floatParticle linear infinite;
}

.p1 { width: 6px; height: 6px; left: 10%; top: 20%; animation-duration: 15s; }
.p2 { width: 4px; height: 4px; left: 80%; top: 40%; animation-duration: 25s; }
.p3 { width: 8px; height: 8px; left: 30%; top: 70%; animation-duration: 20s; }
.p4 { width: 5px; height: 5px; left: 70%; top: 80%; animation-duration: 18s; }
.p5 { width: 7px; height: 7px; left: 50%; top: 30%; animation-duration: 22s; }

@keyframes floatParticle {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* Intro Text */
.intro-text {
  font-size: 1.2rem;
  line-height: 2;
  color: var(--simple-text);
  margin-bottom: 2rem;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
}

/* --- Content Blocks --- */
.content-block {
  margin-bottom: 4rem;
}

.content-block h2 {
  font-family: "Kaisei Opti", serif;
  color: var(--simple-primary);
  font-size: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(140, 153, 134, 0.2);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.content-block h3 {
  font-family: "Zen Maru Gothic", sans-serif;
  color: var(--simple-text);
  font-size: 1.5rem;
  margin: 3rem 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* --- Impact Section --- */
.impact-section {
  margin: 6rem 0;
  padding: 4rem 2rem;
  background: rgba(140, 153, 134, 0.03);
  border-radius: 40px;
}

.impact-num {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  color: rgba(140, 153, 134, 0.2);
}

.benefit-card {
  height: auto;
  min-height: 220px;
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(140, 153, 134, 0.05);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(140, 153, 134, 0.1);
  border-color: var(--simple-primary);
}

.benefit-card h4 {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-top: 1rem;
}

/* --- Hint Box --- */
.hint-box {
  background: #f8faf7;
  border-left: 5px solid var(--simple-primary);
  padding: 2.5rem;
  border-radius: 0 20px 20px 0;
  margin: 3rem 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.hint-header {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 800;
  color: var(--simple-primary);
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hint-box p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
}

/* --- Action Challenge Card --- */
.action-challenge-card {
  background: #fff;
  border: 2px solid var(--simple-primary);
  border-radius: 24px;
  padding: 3rem 2rem;
  margin-top: 2.5rem;
  position: relative;
  text-align: center;
  box-shadow: 0 15px 35px rgba(140, 153, 134, 0.1);
}

.challenge-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--simple-primary);
  color: #fff;
  padding: 0.5rem 2rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 10px rgba(140, 153, 134, 0.3);
}

.action-challenge-card h4 {
  font-family: "Zen Maru Gothic", sans-serif;
  color: var(--simple-text);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
}

.action-challenge-card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

.challenge-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(140, 153, 134, 0.3);
  font-size: 0.9rem;
  color: var(--simple-primary);
  font-weight: 700;
}

/* --- Interactive Gratitude Release --- */
.gratitude-release-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 4rem 2rem;
  background: rgba(140, 153, 134, 0.05);
  border-radius: 30px;
  margin: 4rem 0;
  border: 1px dashed rgba(140, 153, 134, 0.3);
  position: relative;
}

.release-item-wrapper {
  text-align: center;
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.item-visual {
  font-size: 5rem;
  color: #9d7b54;
  margin-bottom: 1rem;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.release-item-wrapper.released {
  transform: translateY(-50px) scale(0.5);
  opacity: 0;
  filter: blur(20px);
}

.btn-release {
  background: var(--simple-primary);
  color: #fff;
  border: none;
  padding: 1rem 3rem;
  border-radius: 50px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(140, 153, 134, 0.3);
  transition: all 0.3s ease;
}

.btn-release:hover {
  transform: scale(1.05);
  background: var(--simple-text);
}

.btn-release.hidden {
  display: none;
}

.release-message {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
  font-weight: 800;
  color: var(--simple-primary);
  font-size: 1.2rem;
}

.release-message.show {
  opacity: 1;
  transform: translateY(0);
}

/* --- Science Visual Box --- */
.science-visual {
  padding: 3rem !important;
  border: none !important;
  background: #fdfdfd !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05) !important;
  border-radius: 20px;
  margin: 2.5rem 0;
  position: relative;
}

.science-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2.5rem 0;
  gap: 1rem;
}

.science-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
}

.science-item i {
  font-size: 2.5rem;
  color: #ccc;
  transition: all 0.5s ease;
}

.science-item span {
  font-size: 0.85rem;
  font-weight: 700;
  color: #888;
}

.science-item.highlight i {
  color: var(--simple-accent);
  transform: scale(1.1);
}

.science-arrow {
  color: #eee;
  font-size: 1.2rem;
}

.impact-disclaimer {
  text-align: center;
  color: #888;
  font-size: 0.9rem;
}

.science-visual.is-visible .science-item i {
  color: var(--simple-primary);
}
.science-visual.is-visible .science-item.highlight i {
  color: var(--simple-accent);
}

/* --- Digital Detox Banner --- */
.detox-premium-banner {
  background: linear-gradient(135deg, #2c3e50 0%, #000000 100%);
  border-radius: 40px;
  padding: 5rem 4rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  text-align: center;
  transition: all 0.5s ease;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  text-align: left;
  max-width: 900px;
}

.banner-icon-area {
  position: relative;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.9);
}

.glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(201,169,110,0.3) 0%, transparent 70%);
  z-index: -1;
  animation: pulseGlow 4s infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.8; }
}

.banner-text h3 {
  color: #fff !important;
  font-size: 2.2rem !important;
  margin-top: 0 !important;
}

.banner-text p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  font-size: 1.1rem;
}

.banner-action {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.2rem 3rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  cursor: pointer;
}

.banner-action:hover {
  background: #fff;
  color: #000;
}

/* --- Whiteout Ritual for Detox --- */
#whiteoutOverlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #ffffff;
  opacity: 0;
  visibility: hidden;
  /* Returning to normal (Fading OUT): Takes 6 seconds */
  transition: opacity 6s ease-in-out, visibility 0s linear 6s;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

#whiteoutOverlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  /* Becoming white (Fading IN): Takes 1.5 seconds */
  transition: opacity 1.5s ease-in-out, visibility 0s;
}

.whiteout-message {
  font-family: "Kaisei Opti", serif;
  font-size: 2.5rem;
  color: var(--simple-primary);
  opacity: 0;
  transform: translateY(20px);
  /* Message returning to normal takes 6s */
  transition: all 6s ease-in-out;
}

#whiteoutOverlay.active .whiteout-message {
  opacity: 1;
  transform: translateY(0);
  /* Message fading IN takes 1.5s, starts after 0.5s delay */
  transition: opacity 1.5s ease-in-out 0.5s, transform 1.5s ease-in-out 0.5s;
}

.detox-premium-banner {
  transition: transform 0.3s ease;
}

.detox-premium-banner:hover {
  transform: scale(1.02);
}

/* --- Clearance Animated Section --- */
.clearance-animated-section {
  padding: 10rem 2rem;
  text-align: center;
  position: relative;
  background: transparent;
  margin: 6rem 0;
}

.clearance-content h2 {
  font-family: "Kaisei Opti", serif;
  font-size: 3rem;
  color: var(--simple-primary);
  margin-bottom: 2rem;
}

.icon-fly {
  font-size: 4rem;
  color: var(--simple-primary);
  opacity: 0.2;
  animation: flyWind 10s infinite linear;
  margin-bottom: 2rem;
}

@keyframes flyWind {
  0% { transform: translateX(-100vw) rotate(0deg); opacity: 0; }
  50% { opacity: 0.3; }
  100% { transform: translateX(100vw) rotate(360deg); opacity: 0; }
}

/* --- Ultra Premium Philosophy Footer --- */
.article-footer {
  margin-top: 10rem;
  padding-bottom: 5rem;
}

.philosophy-box {
  background: linear-gradient(135deg, #ffffff 0%, #f7f9f6 100%);
  border-radius: 60px;
  padding: 6rem 4rem;
  text-align: center;
  position: relative;
  border: 1px solid rgba(140, 153, 134, 0.1);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.02),
    inset 0 0 0 2px #fff;
  overflow: visible;
}

.philosophy-box i.fa-paper-plane {
  font-size: 5rem;
  color: var(--simple-accent);
  margin-bottom: 3rem;
  display: inline-block;
  filter: drop-shadow(0 0 20px rgba(201, 169, 110, 0.4));
  animation: planeFloat 4s ease-in-out infinite;
}

@keyframes planeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

.philosophy-box h3 {
  font-size: 2.8rem;
  color: var(--simple-text);
  font-family: "Kaisei Opti", serif;
  margin-bottom: 2.5rem;
  line-height: 1.4;
}

.philosophy-box p {
  font-size: 1.15rem;
  color: #555;
  line-height: 2;
  margin-bottom: 3rem;
}

.philosophy-highlight {
  margin-top: 4rem;
  padding: 3.5rem 2rem;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(140, 153, 134, 0.08);
  font-weight: 800 !important;
  color: var(--simple-primary) !important;
  font-size: 1.4rem !important;
  line-height: 1.8 !important;
  border-top: none !important;
  position: relative;
  display: block;
}

.philosophy-highlight::before {
  content: "THE NEW STORY";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--simple-accent);
  color: #fff;
  padding: 4px 15px;
  border-radius: 4px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  font-family: "Outfit", sans-serif;
}

.article-footer.is-visible .philosophy-box {
  animation: boxPop 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes boxPop {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* --- Highlights & Markers --- */
.highlight-text {
  background: linear-gradient(120deg,rgba(201, 169, 110, 0.3) 0%,rgba(201, 169, 110, 0.3) 100%);
  background-repeat: no-repeat;
  background-size: 0% 10px;
  background-position: 0 90%;
  font-weight: bold;
  transition: background-size 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.is-visible .highlight-text {
  background-size: 100% 10px;
}

/* --- Premium Flip Card --- */
.premium-flip-card-container {
  display: flex;
  justify-content: center;
  perspective: 1000px;
  margin: 4rem 0 1rem;
}

.premium-flip-card {
  width: 100%;
  max-width: 450px;
  height: 350px;
  position: relative;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  cursor: pointer;
}

.premium-flip-card:hover {
  transform: rotateY(180deg);
}

.flip-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 30px;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 20px 40px rgba(140, 153, 134, 0.15);
  border: 1px solid rgba(140, 153, 134, 0.1);
  box-sizing: border-box;
}

.flip-front {
  background: #ffffff;
  z-index: 2;
}

.flip-back {
  background: linear-gradient(135deg, var(--simple-primary) 0%, #768370 100%);
  color: #fff;
  transform: rotateY(180deg);
}

.flip-badge {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  font-family: "Outfit", sans-serif;
  color: #ccc;
}

.flip-badge.highlight {
  color: rgba(255, 255, 255, 0.6);
}

.flip-icon {
  font-size: 4rem;
  color: var(--simple-accent);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.flip-back .flip-icon {
  color: rgba(255, 255, 255, 0.9);
}

.flip-face h4 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--simple-text);
}

.flip-back h4 {
  color: #fff;
}

.flip-face p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #666;
  margin: 0;
}

.flip-back p {
  color: rgba(255, 255, 255, 0.9);
}

.flip-hint {
  position: absolute;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--simple-primary);
  font-weight: 700;
  animation: bounceHint 2s infinite ease-in-out;
}

@keyframes bounceHint {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

/* --- Sidebar Advice --- */
.sidebar-advice {
  background: #fffcf8 !important;
  border-radius: 8px !important;
  padding: 2rem !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(201, 169, 110, 0.2) !important;
  position: relative;
  font-family: "Zen Maru Gothic", sans-serif;
}

.sidebar-advice::before {
  content: "";
  position: absolute;
  top: 6px; left: 6px; right: 6px; bottom: 6px;
  border: 1px dashed rgba(201, 169, 110, 0.4);
  pointer-events: none;
}

/* --- Sidebar Recommendation Icons --- */
.recommendations-list .icon-seedling { color: #8C9986; }
.recommendations-list .icon-house { color: #6C7A65; }
.recommendations-list .icon-broom { color: #557A95; }

/* ==========================================
   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: var(--simple-primary);
  font-family: "Kaisei Opti", serif;
  font-size: 2rem;
  margin: 0 0 2rem 0;
  text-align: center;
}

.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);
}

.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;
  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(--simple-accent);
  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 var(--simple-accent);
  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;
}

.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 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.replay-trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}
.replay-trigger i {
  font-size: 3rem;
  color: var(--simple-accent);
  margin-bottom: 1rem;
}

/* --- 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.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;
  margin: 0;
  padding: 0;
  border-radius: 12px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
  background: #000;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  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-family: inherit;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  opacity: 0.7;
  white-space: nowrap;
  pointer-events: none;
}

@keyframes modalPop {
  0% { transform: translate(-50%, -45%) scale(0.95); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .article-hero h1 { font-size: 2.2rem; }
  .philosophy-box h3 { font-size: 2rem; }
  .banner-content { flex-direction: column; text-align: center; gap: 2rem; }
  .detox-premium-banner { padding: 4rem 2rem; }
}
