/* Index Page Specific Styles */

/* Live video section */
.video-section {
    position: relative;
    width: 90vw;
    max-width: 900px;
    min-height: 480px;
    margin-bottom: 30px;
    border-radius: 4px;
    overflow: hidden;
}

.video-photo {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    margin-bottom: 0;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 420px;
    max-height: 90%;
    overflow-y: auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    border-radius: 6px;
    text-align: center;
}

.video-overlay h2 {
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: #333;
    margin-bottom: 14px;
}

.video-quote {
    margin-top: 14px;
    font-size: 0.85rem;
    color: #333;
    font-style: italic;
    line-height: 1.5;
    text-align: center;
}

.video-quote cite {
    display: block;
    margin-top: 6px;
    font-style: normal;
    font-size: 0.75rem;
    color: #777;
}

/* ASCII scene / EP explorer */
.scene-section {
    width: 90vw;
    max-width: 700px;
    margin-bottom: 30px;
    text-align: center;
}

.scene-section .scene-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.scene-section h2 {
    font-size: 1rem;
    letter-spacing: 2px;
    color: #333;
    margin-bottom: 6px;
}

.scene-hint {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 10px;
}

.ep-mascot {
    position: relative;
    display: inline-block;
    font-family: monospace;
    white-space: pre;
    font-size: 0.7rem;
    line-height: 1.05;
    color: #444;
    cursor: pointer;
    margin-bottom: 6px;
    transition: color 0.2s;
}

.ep-mascot:hover {
    color: #e63946;
}

.ep-mascot .bubble {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #333;
    color: white;
    font-family: monospace;
    white-space: pre;
    font-size: 0.65rem;
    padding: 6px 10px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
}

.ep-mascot:hover .bubble {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

.scene {
    position: relative;
    width: 100%;
    height: 320px;
    background: #fff;
    border: 1px dashed #ccc;
    overflow: hidden;
    cursor: grab;
    perspective: 900px;
}

.scene.dragging {
    cursor: grabbing;
}

.scene-inner {
    position: absolute;
    width: 1200px;
    height: 420px;
    transform-style: preserve-3d;
}

.ascii-obj {
    position: absolute;
    font-family: 'Courier New', Courier, monospace;
    white-space: pre;
    font-size: 0.8rem;
    line-height: 1.1;
    color: #444;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    user-select: none;
}

.ascii-obj:hover,
.ascii-obj.active {
    color: #e63946;
    transform: scale(1.15);
}

.song-reveal {
    margin-top: 14px;
    min-height: 50px;
    font-size: 0.9rem;
    color: #333;
}

.song-reveal .track-title {
    font-weight: bold;
    letter-spacing: 1px;
}

.song-reveal .track-desc {
    color: #777;
    font-size: 0.8rem;
    margin-top: 4px;
}

/* Mobile adjustments for video section */
@media (max-width: 640px) {
    .video-section {
        min-height: 420px;
    }

    .video-overlay {
        padding: 14px;
    }

    .video-overlay h2 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .video-quote {
        margin-top: 10px;
        font-size: 0.68rem;
        line-height: 1.35;
    }

    .video-quote cite {
        margin-top: 4px;
        font-size: 0.62rem;
    }
}