/* ==========================================================================
   STORY DETAIL ZOOM-IN OVERLAY STYLES
   ========================================================================== */

.story-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 200;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
    cursor: pointer;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.5) 100%);
}

.story-overlay.show {
    display: flex;
}

.story-overlay-card {
    max-width: 520px;
    width: 100%;
    text-align: center;
    padding: 2.5rem 2rem 1.5rem;
    margin-bottom: 3rem;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    animation: storyCardIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes storyCardIn {
    from { opacity: 0; transform: translateY(40px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.story-overlay-label {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: #c9b99a;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.story-overlay-divider {
    width: 50px;
    height: 1px;
    background: rgba(201, 185, 154, 0.35);
    margin: 0 auto 1.2rem;
}

.story-overlay-text {
    font-size: 1rem;
    color: #ccc;
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.3px;
    margin-bottom: 1.5rem;
}

.story-overlay-hint {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .story-overlay-card {
        margin-bottom: 2rem;
        padding: 2rem 1.5rem 1.2rem;
    }
    .story-overlay-label {
        font-size: 1.3rem;
    }
    .story-overlay-text {
        font-size: 0.9rem;
    }
}
