
/* =========================================================
   SHOWREEL
   Added after Visual Portfolio.
   Previous sections remain unchanged.
   ========================================================= */

.actor-showreel-section {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
   
    color: #fff;
}

.actor-showreel-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.actor-showreel-bg img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top;
    filter: grayscale(100%);
    opacity: .52;
}

.actor-showreel-bg::after {
    content: "";
    position: absolute;
    inset: 0;
   
}

.actor-showreel-wrap {
    position: relative;
    z-index: 2;
    width: min(100% - 48px, 1720px);
    height: 650px;
    margin: 0 auto;
    display: flex;
    align-items: end;
    justify-content: center;
    margin-bottom: 70px;
}

.actor-showreel-content {
    width: min(100%, 720px);
    text-align: center;
}

.actor-showreel-title {
    margin: 0;
    color: #f5f5f0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 4.2vw, 80px);
    line-height: .95;
    font-weight: 500;
    letter-spacing: -1.6px;
    text-transform: uppercase;
}

.actor-showreel-play {
    width: 64px;
    height: 64px;
    margin: 18px auto 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 50%;
    background: rgba(0,0,0,.18);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
}

.actor-showreel-play:hover {
    transform: scale(1.08);
    background: var(--dark-accent);
    border-color: var(--dark-accent);
    color: #080b0b;
}

.actor-showreel-label {
    display: block;
    color: #f5f5f0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .2px;
    text-transform: uppercase;
}

.actor-showreel-duration {
    margin: 7px 0 0;
    color: rgba(245,245,240,.76);
    font-size: 15px;
}

.actor-showreel-signature {
    position: absolute;
    right: 3%;
    top: 50%;
    transform: translateY(-50%);
    width: 155px;
    color: rgba(245,245,240,.92);
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-size: 38px;
    line-height: .9;
    text-align: center;
    transform-origin: center;
    rotate: -7deg;
}

.actor-showreel-signature::after {
    content: "";
    display: block;
    width: 45px;
    height: 2px;
    margin: 19px auto 0;
    background: var(--dark-accent-2);
    rotate: 7deg;
}

.actor-showreel-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(0,0,0,.82);
    backdrop-filter: blur(7px);
}

.actor-showreel-modal-panel {
    position: relative;
    width: min(1100px, 100%);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    background: #000;
    box-shadow: 0 25px 80px rgba(0,0,0,.55);
}

.actor-showreel-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}

.actor-showreel-close {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;
    background: rgba(0,0,0,.58);
    color: #fff;
    cursor: pointer;
    font-size: 18px;
}

.actor-showreel-close:hover {
    background: rgba(255,255,255,.15);
}

/* Keep the showreel cinematic in both themes.
   Light mode changes only the surrounding section treatment,
   while the visual itself remains dark like the supplied UI. */
[data-theme="light"] .actor-showreel-section {
    background: #171717;
}

[data-theme="dark"] .actor-showreel-section {
    background: var(--dark-bg);
}

@media (max-width: 900px) {
    .actor-showreel-section,
    .actor-showreel-wrap {
        min-height: 285px;
    }

    .actor-showreel-signature {
        right: 2%;
        width: 120px;
        font-size: 30px;
    }

    .actor-showreel-title {
        font-size: clamp(38px, 7vw, 55px);
    }
}

@media (max-width: 600px) {
    .actor-showreel-section,
    .actor-showreel-wrap {
        min-height: 250px;
    }

    .actor-showreel-wrap {
        width: min(100% - 28px, 1720px);
    }

 

    .actor-showreel-title {
        font-size: 38px;
    }

    .actor-showreel-play {
        width: 56px;
        height: 56px;
        margin-top: 15px;
        font-size: 23px;
    }

    .actor-showreel-label {
        font-size: 12px;
    }

    .actor-showreel-duration {
        font-size: 10px;
    }

    .actor-showreel-signature {
        right: -7px;
        width: 88px;
        font-size: 22px;
    }

    .actor-showreel-signature::after {
        width: 30px;
        margin-top: 13px;
    }

    .actor-showreel-modal {
        padding: 12px;
    }

    .actor-showreel-modal-panel {
        border-radius: 5px;
    }
}

@media (max-width: 420px) {
    .actor-showreel-section,
    .actor-showreel-wrap {
        min-height: 220px;
    }

    

    .actor-showreel-title {
        font-size: 31px;
    }

    .actor-showreel-signature {
        width: 70px;
        font-size: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .actor-showreel-play {
        transition: none;
    }
}
