/* Hero Section */
.hero-section {
    text-align: center;
    padding: 3rem 1.5rem 4rem;
    background: linear-gradient(135deg, rgba(140, 153, 134, 0.1), rgba(229, 168, 140, 0.05));
    border-radius: 20px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 2.2rem;
    color: #4a5d4e;
    font-family: 'Kaisei Opti', serif;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.hero-section .subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    line-height: 1.8;
}

/* Common Section Titles */
.content-block h2 {
    color: #4a5d4e;
    border-bottom: 1px solid rgba(140, 153, 134, 0.3);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    margin-top: 3.5rem;
    font-size: 1.6rem;
    font-family: 'Kaisei Opti', serif;
    letter-spacing: 0.05em;
}

/* Experience 1: Empty */
.experience-box {
    margin: 2.5rem auto;
    width: 220px;
    height: 160px;
    background: rgba(140, 153, 134, 0.05);
    border: 3px dashed #8c9986;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.experience-box .box-icon {
    font-size: 3rem;
    color: #8c9986;
    transition: transform 0.3s;
}

.experience-box .box-items {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.experience-box .item {
    position: absolute;
    font-size: 1.8rem;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 1;
}

.experience-box .item:nth-child(1) { top: 30%; left: 30%; color: #e5a88c; }
.experience-box .item:nth-child(2) { top: 40%; left: 60%; color: #557A95; }
.experience-box .item:nth-child(3) { top: 60%; left: 45%; color: #7AA3C1; }

.experience-box:hover, .experience-box.is-empty {
    background: rgba(255, 255, 255, 0.8);
    border-color: #e5a88c;
}

.experience-box:hover .item, .experience-box.is-empty .item {
    opacity: 0;
    transform: translateY(-80px) scale(0.5) rotate(45deg);
}

.experience-box .box-message {
    position: absolute;
    bottom: -35px;
    font-size: 0.95rem;
    color: #999;
}

/* Experience 2: Crystal Lens (Replaces Polish) */
.experience-lens {
    position: relative;
    width: 100%;
    min-height: 250px;
    margin: 2.5rem 0;
    background: #fdfdfd;
    /* Diagonal stripes matching the required image */
    background-image: repeating-linear-gradient(
        -45deg, 
        rgba(0,0,0,0.02), 
        rgba(0,0,0,0.02) 25px, 
        transparent 25px, 
        transparent 50px
    );
    border: 1px solid #eaeaea;
    border-radius: 16px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.02);
    overflow: hidden;
    cursor: crosshair;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

.lens-instruction {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #888;
    font-weight: bold;
    font-size: 1.3rem;
    z-index: 5;
    pointer-events: none;
    transition: opacity 0.3s;
    background: rgba(255, 255, 255, 0.7);
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

.experience-lens:hover .lens-instruction,
.experience-lens.is-interacting .lens-instruction {
    opacity: 0;
}

.lens-text-content {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 4rem;
    font-size: 1.25rem;
    line-height: 1.8;
    text-align: center;
    font-family: 'Kaisei Opti', serif;
    box-sizing: border-box;
    z-index: 1;
}

.base-text {
    color: #8c9986;
    opacity: 0.15;
    filter: blur(4px) grayscale(1);
    pointer-events: none;
}

.crystal-lens {
    position: absolute;
    top: 0; left: 0;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    pointer-events: none;
    opacity: 0;
    z-index: 10;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1), inset 0 0 30px rgba(255,255,255,0.7);
    backdrop-filter: brightness(1.2) contrast(1.1);
    -webkit-backdrop-filter: brightness(1.2) contrast(1.1);
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.3) 100%);
    overflow: hidden;
    will-change: transform, opacity;
    transition: opacity 0.3s;
}

.experience-lens:hover .crystal-lens,
.experience-lens.is-interacting .crystal-lens {
    opacity: 1;
}

.clear-text {
    color: #4a5d4e;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(255,255,255,0.9), 0 0 5px rgba(255,255,255,1);
    will-change: transform;
}
/* Experience 3: Sorting Containers */
.sorting-containers {
    margin: 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.sort-container {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.sort-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border-color: #dcdcdc;
}

.sort-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
    border-bottom: 2px dashed rgba(140, 153, 134, 0.2);
    padding-bottom: 1rem;
}

.sort-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #4a5d4e;
    font-family: 'Kaisei Opti', serif;
    letter-spacing: 0.05em;
}

.sort-header i {
    font-size: 1.5rem;
    padding: 12px;
    border-radius: 14px;
    background: #f9f9f9;
}

/* Colors for each container */
.sort-container.keep { border-top: 4px solid #e5a88c; }
.sort-container.keep .sort-header i {
    color: #e5a88c;
    background: rgba(229, 168, 140, 0.1);
}
.sort-container.keep .sort-quote { color: #d68f70; }

.sort-container.throw { border-top: 4px solid #64748b; }
.sort-container.throw .sort-header i {
    color: #64748b;
    background: rgba(100, 116, 139, 0.1);
}
.sort-container.throw .sort-quote { color: #556677; }

.sort-container.pending { border-top: 4px solid #8c9986; }
.sort-container.pending .sort-header i {
    color: #8c9986;
    background: rgba(140, 153, 134, 0.1);
}
.sort-container.pending .sort-quote { color: #73806e; }

.sort-quote {
    font-weight: bold;
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    letter-spacing: 0.03em;
}

.sort-body p {
    line-height: 1.9;
    color: #555;
    margin-bottom: 0.5rem;
}

/* G-chan Premium: Tracking Spotlight on Containers */
.sort-container {
    overflow: hidden; /* Contain the light */
}

.sort-container::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s;
}

.sort-container:hover::before {
    opacity: 1;
}

.sort-container > * {
    position: relative;
    z-index: 1; /* Keep text above the light */
}

.sort-container.keep::before {
    background: radial-gradient(600px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(229, 168, 140, 0.12), transparent 40%);
}

.sort-container.throw::before {
    background: radial-gradient(600px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(100, 116, 139, 0.08), transparent 40%);
}

.sort-container.pending::before {
    background: radial-gradient(600px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(140, 153, 134, 0.12), transparent 40%);
}

/* G-chan Premium: Purification Full-Screen Wave */
.purification-wave {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(229, 240, 227, 0.2) 50%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    z-index: 9999;
    pointer-events: none;
    animation: purifyWave 2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    mix-blend-mode: overlay;
}

@keyframes purifyWave {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(300); opacity: 0; }
}

/* ==========================================
   PREMIUM VIDEO THEATER (SUMMARY)
   ========================================== */
.movie-summary-section {
    background: transparent;
    border: none;
    padding: 0;
    margin-top: 4rem;
}

.video-theater-container {
    position: relative;
    width: 100%;
    margin: 2rem auto 0;
    border-radius: 20px;
    background: #1a1a1a;
    padding: 15px;
    overflow: hidden;
    cursor: pointer;
}

.video-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.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: #8c9986;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 30px rgba(140, 153, 134, 0.5); position: relative;
}
.play-circle i { color: white; font-size: 2.5rem; margin-left: 6px; }
.play-circle::after {
    content: ""; position: absolute; top: -5px; left: -5px; right: -5px; bottom: -5px;
    border: 2px solid #8c9986; 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.15rem;
    font-weight: bold;
    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%; }
.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: #8c9986; margin-bottom: 1rem; }

/* Cinema Mode */
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-weight: bold; letter-spacing: 0.2em; font-size: 0.9rem; opacity: 0.6;
}

@media (max-width: 650px) {
    .movie-summary-section { padding: 1.5rem 1rem; }
    .play-circle { width: 60px; height: 60px; }
    .play-circle i { font-size: 1.5rem; margin-left: 4px; }
    .sort-container {
        padding: 1.8rem;
    }
}

/* Experience 4: Gather */
.experience-gather {
    margin: 3rem 0;
    position: relative;
    height: 250px;
    background: #fbfbfb;
    border: 1px solid #eaeaea;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 2rem;
}

.gather-zone {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
}

.g-item {
    position: absolute;
    font-size: 1.8rem;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.g-item.i1 { top: 20%; left: 20%; color: #8c9986; }
.g-item.i2 { top: 30%; right: 20%; color: #557A95; rotate: 45deg; }
.g-item.i3 { top: 50%; left: 30%; color: #e5a88c; rotate: -20deg; }

.g-box {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 70px;
    background: #fff;
    border: 2px solid #ddd;
    border-top: none;
    border-radius: 0 0 12px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #888;
    z-index: 2;
    box-shadow: inset 0 -5px 10px rgba(0,0,0,0.02);
}

.experience-gather.gathered .g-item {
    top: calc(100% - 85px);
    left: 50%;
    transform: translateX(-50%) scale(0.6) rotate(0deg);
    opacity: 0.7;
}

.gather-btn {
    position: relative;
    z-index: 3;
    padding: 0.6rem 2rem;
    background: #8c9986;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(140, 153, 134, 0.3);
}

.gather-btn:hover {
    background: #73806e;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(140, 153, 134, 0.4);
}

/* Experience 5: Enjoy */
.experience-enjoy {
    margin: 3rem 0;
    text-align: center;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.enjoy-btn {
    padding: 1.2rem 4rem;
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #e5a88c, #d59273);
    border-radius: 40px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(229, 168, 140, 0.4);
    transition: all 0.3s;
    user-select: none;
}

.enjoy-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 12px 30px rgba(229, 168, 140, 0.5);
}

.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
}

@keyframes sparkleAnim {
    0% { transform: scale(0) translateY(0); opacity: 1; }
    50% { opacity: 1; }
    100% { transform: scale(2) translateY(-100px); opacity: 0; }
}

/* Final Conclusion Box */
.final-conclusion {
    text-align: center;
    margin-top: 2rem;
    padding: 3rem 2rem;
    background: rgba(140, 153, 134, 0.05);
    border-radius: 20px;
}

.final-conclusion p {
    font-size: 1.2rem;
    font-weight: bold;
    color: #555;
    margin: 0;
    line-height: 1.8;
}

/* Responsive Overrides */
