/* =========================================
   CINEMATIC VERTICALS (EDITORIAL LAYOUT)
   ========================================= */

:root {
    --vert-gold: #e7b65c;
    --vert-black: #050505;
    --vert-trans: cubic-bezier(0.19, 1, 0.22, 1);
}

.cine-vert-editorial {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Full screen impact */
    background-color: var(--vert-black);
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.relative-z { position: relative; z-index: 5; }

/* --- DYNAMIC BACKGROUNDS --- */
.editorial-bg-wrapper {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    background: #000;
}

.editorial-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease, transform 8s ease;
    transform: scale(1.1); /* Start zoomed in */
}

/* Active background animation */
.editorial-bg.active {
    opacity: 0.6; /* Dimmed for text readability */
    transform: scale(1); /* Slow zoom out effect */
    z-index: 1;
}

.editorial-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 40%, rgba(0,0,0,0.2) 100%);
    z-index: 2;
}

.editorial-grain {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.05;
    background-image: 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.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    z-index: 3;
    pointer-events: none;
}

/* --- LIST STYLES --- */
.vert-list-wrap {
    position: relative;
    z-index: 10;
}

.cine-subtitle {
    font-family: 'Outfit', serif;
    color: var(--vert-gold);
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 600;
}

.vert-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vert-item {
    position: relative;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
    cursor: pointer;
}

.vert-link {
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.vert-num {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    color: rgba(255,255,255,0.3);
    transition: color 0.3s ease;
}

.vert-name {
    font-family: 'Outfit', serif;
    font-size: 3.5rem; /* Massive text */
    line-height: 1.1;
    font-weight: 700;
    color: white;
    -webkit-text-stroke: 1px rgba(255,255,255,0.6); /* Outline text */
    transition: all 0.4s var(--vert-trans);
}

.vert-desc {
    height: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0;
    padding-left: 45px; /* Align with text */
    color: var(--vert-gold);
    font-size: 1rem;
    font-style: italic;
    transition: all 0.4s ease;
    transform: translateY(10px);
}

/* Hover Effects (The Magic) */
.vert-item:hover {
    border-bottom-color: rgba(231, 182, 92, 0.5);
    padding-left: 20px; /* Slight movement */
}

.vert-item:hover .vert-num {
    color: var(--vert-gold);
}

.vert-item:hover .vert-name {
    color: #fff; /* Fill text */
    -webkit-text-stroke: 0px;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.vert-item:hover .vert-desc {
    height: 30px; /* Reveal description */
    opacity: 1;
    transform: translateY(0);
    margin-top: 5px;
}

/* --- CTA BOX --- */
.editorial-cta-box {
    text-align: right;
    color: #fff;
}
.circle-btn {
    width: 80px; height: 80px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-left: auto;
    margin-top: 15px;
    transition: all 0.3s ease;
}
.circle-btn i { font-size: 1.5rem; transform: rotate(-45deg); transition: transform 0.3s ease; }

.vert-item:hover ~ .editorial-cta-box .circle-btn {
    border-color: var(--vert-gold);
    background: var(--vert-gold);
    color: #000;
}

/* --- SCROLL REVEAL ANIMATION --- */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.reveal-text.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- MOBILE RESPONSIVE --- */
/* Transform list into Cards on mobile */
@media (max-width: 991px) {
    .cine-vert-editorial { padding: 60px 0; height: auto; }
    
    /* Disable the full screen background logic on mobile */
    .editorial-bg-wrapper { display: none; }
    
    .vert-item {
        background-color: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.1);
        margin-bottom: 15px;
        padding: 30px 20px;
        border-radius: 12px;
        background-size: cover;
        background-position: center;
        position: relative;
        overflow: hidden;
    }

    /* Add overlay to mobile cards */
    .vert-item::before {
        content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.7); z-index: 0;
    }

    /* Set backgrounds via CSS variables or inline JS logic if needed, 
       but here we rely on the JS fallback to set bg image */
    
    .vert-link, .vert-desc { position: relative; z-index: 2; }

    .vert-name {
        font-size: 2rem;
        color: #fff;
        -webkit-text-stroke: 0;
    }

    .vert-desc {
        height: auto; opacity: 1; transform: none; padding-left: 0;
        margin-top: 10px; color: #ccc;
    }

    .vert-item:hover { padding-left: 30px; } /* Disable shift on mobile */
}