/* --- FULLSCREEN SLIDESHOW SPECIFIC ADDITIONS --- */

.ss-fs-trailer-btn {
    display: none; /* Hidden by default (non-FS mode) */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #000000 !important;
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto; /* Re-enable pointer events since parent info-bar is none */
    transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
    z-index: 30003;
    position: relative;
    overflow: hidden;
}

/* Glassy highlight matching other round balls */
.ss-fs-trailer-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
      circle at 30% 0%,
      rgba(255,255,255,0.9) 0%,
      rgba(255,255,255,0.4) 35%,
      rgba(255,255,255,0.0) 65%
    );
    opacity: 0.9;
    pointer-events: none;
}

.ss-fs-trailer-btn:hover {
    transform: scale(1.1);
    background-color: var(--lighter-primary-color);
}

.ss-fs-trailer-btn svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 1;
}

/* Positioning below the info bar only in fullscreen mode */
.slideshow-overlay.fs-mode .ss-fs-trailer-btn {
    display: flex;
    position: absolute;
    top: calc(100% + 20px); /* 20px below the top bar's bottom edge */
    left: 50%;
    transform: translateX(-50%);
}

/* User requirement: Only show if trailer available */
.ss-fs-trailer-btn.inactive {
    display: none !important;
}

@media (max-width: 768px) {
    .ss-fs-trailer-btn {
        width: 48px;
        height: 48px;
    }
    .ss-fs-trailer-btn svg {
        width: 24px;
        height: 24px;
    }
}