/* =====================================
   GLOBAL — VIDEOS PAGE
===================================== */
.videos-body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: black;
}

/* =====================================
   FULLSCREEN BACKGROUND
===================================== */
.videos-bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-image: url("../assets/video_bg.jpg");
    background-repeat: repeat-x;
    background-size: auto 110vh;
    background-position: center top;
    transform: translateY(-5vh) translateX(1vw) scale(1.06);
    transform-origin: top center;
}

/* =====================================
   BANNER GIF
===================================== */
.videos-banner-gif {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-51.8%);
    width: calc(100vh * 0.70);
    pointer-events: none;
    image-rendering: pixelated;
}

/* =====================================
   UI WRAPPER
===================================== */
.videos-ui-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: calc(100vh * 0.18);
    transform: translateX(2px);
}

/* =====================================
   MEDIA PLAYER
===================================== */
.wmp-player {
    /* 🔧 vertical adjustment */
    top: calc(100vh * -0.01); /* change this value */

    position: relative;

    width: calc(100vh * 0.70);
    background: #d4d0c7;
    font-family: "MS Sans Serif", Tahoma, sans-serif;
    font-size: 11px;
    color: black;
    border-width: 2px;
    border-style: solid;
    border-color: #ffffff #404040 #404040 #ffffff;
    box-shadow: 0 0 0 1px #000;
}


/* =====================================
   HEADER
===================================== */
.wmp-header {
    height: calc(100vh * 0.035);
    background: #000080;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 calc(100vh * 0.006) 0 calc(100vh * 0.008);
}

.wmp-title {
    white-space: nowrap;
    font-size: calc(100vh * 0.022);
}

.wmp-header-btn {
    padding: 0;
    margin: 0;
    width: calc(100vh * 0.032);
    height: calc(100vh * 0.026);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wmp-header-icon {
    width: calc(100vh * 0.032);
    image-rendering: pixelated;
    transform: translate(calc(100vh * 0.006), 0px);
}

/* =====================================
   VIDEO WINDOW
===================================== */
.wmp-main {
    padding: calc(100vh * 0.01);
    box-sizing: border-box;
}

.wmp-screen {
    width: 100%;
    aspect-ratio: 4 / 3;
    position: relative;
    background: black;
    border-width: calc(100vh * 0.003);
    border-style: solid;
    border-color: #808080 #ffffff #ffffff #808080;
    overflow: hidden;
    box-sizing: border-box;
}

/* Vimeo iframe fills screen */
.wmp-screen iframe,
.wmp-screen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

/* Invisible overlay that hides ALL Vimeo UI */
.vimeo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;  
    background: transparent;
    z-index: 10;
}

/* =====================================
   CONTROLS
===================================== */
.wmp-controls {
    padding: calc(100vh * 0.008) calc(100vh * 0.012);
}

/* =====================================
   TRACK SLIDER
===================================== */
.wmp-track-slider {
    width: 98%;
    margin-left: calc(100vh * 0.005);
    margin-bottom: calc(100vh * 0.014);
    height: calc(100vh * 0.012);
    background: #808080;
    -webkit-appearance: none;
    appearance: none;
}

.wmp-track-slider::-webkit-slider-runnable-track {
    height: calc(100vh * 0.009);
    background: #808080;
}

.wmp-track-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: calc(100vh * 0.03);
    height: calc(100vh * 0.04);
    background: transparent url("../assets/timeline_thumb.png") center no-repeat;
    background-size: contain;
    border: none;
    cursor: pointer;
    margin-top: calc(-100vh * 0.012);
}

.wmp-track-slider::-moz-range-track {
    height: calc(100vh * 0.009);
    background: #808080;
}

.wmp-track-slider::-moz-range-thumb {
    width: calc(100vh * 0.03);
    height: calc(100vh * 0.04);
    background: transparent url("../assets/timeline_thumb.png") center no-repeat;
    background-size: contain;
    border: none;
}

/* =====================================
   CONTROL ROW
===================================== */
.wmp-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wmp-buttons-row {
    display: flex;
    gap: calc(100vh * 0.01);
    width: calc(100vh * 0.18);
}

.media-btn {
    width: calc(100vh * 0.03);
    height: calc(100vh * 0.03);
    cursor: pointer;
    image-rendering: pixelated;
}

/* =====================================
   VOLUME
===================================== */
.wmp-volume-right {
    display: flex;
    align-items: center;
    gap: calc(100vh * 0.006);
}

.wmp-speaker-icon {
    height: calc(100vh * 0.030);
    image-rendering: pixelated;
    transform: translateX(calc(-100vh * 0.01));
}

.wmp-volume-slider {
    width: calc(100vh * 0.08);
    height: calc(100vh * 0.01);
    background: #808080;
    -webkit-appearance: none;
    appearance: none;
}

.wmp-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: calc(100vh * 0.014);
    height: calc(100vh * 0.024);
    background: #c0c0c0;
    border: calc(100vh * 0.002) solid #ffffff;
    border-right-color: #404040;
    border-bottom-color: #404040;
    cursor: pointer;
    margin-top: calc(-100vh * 0.006);
}

/* =====================================
   THUMBNAILS
===================================== */
.video-thumb-row {
    margin-top: 2vh;
    display: flex;
    justify-content: center;
    gap: 2vw;
}

.video-thumb img {
    width: calc(100vh * 0.14);
    border: 2px solid white;
    image-rendering: pixelated;
    transition: transform 0.15s ease;
}

.video-thumb:hover img { transform: translateY(-4px); }
.video-thumb:active img { transform: translateY(2px); }

/* =====================================
   TOP BUTTONS
===================================== */
.top-video-buttons {
    position: absolute;
    top: calc(100vh * 0.835);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: calc(100vh * 0.070);
    z-index: 10000;
}

/* Default state */
.top-video-btn {
    width: calc(100vh * 0.13);
    image-rendering: pixelated;
    cursor: pointer;
    transition: transform 0.20s ease;
}

/* Hover enlarges */
.top-video-btn:hover {
    transform: scale(1.10);
}

/* ⭐ CLICKED STATE — stays large after click */
.top-video-btn.clicked {
    transform: scale(1.10);
}


/* =====================================
   MOBILE VIDEO BUTTONS (ONLY FIX)
===================================== */
.mobile-video-btn {
    width: 24vw;
}


/* =====================================
   BOTTOM LINKS
===================================== */
.bottom-links {
    position: absolute;
    bottom: calc(100vh * 0.05);
    left: 50%;
    transform: translateX(-50%);
    background: #0000ff;
    padding: calc(100vh * 0.010) calc(100vh * 0.030);
    display: flex;
    align-items: center;
    gap: calc(100vh * 0.012);
    font-size: calc(100vh * 0.025);
    font-family: "Comic Sans MS", cursive, sans-serif;

    white-space: nowrap;
    flex-wrap: nowrap;
}

.bottom-links a {
    color: yellow;
    text-decoration: none;
    white-space: nowrap;
}

.bottom-links a:hover { 
    color: #ff71d1; 
}

.bottom-links span {
    color: yellow;
    white-space: nowrap;
}


/* =====================================
   FIREFOX
===================================== */

.wmp-track-slider::-moz-range-thumb {
    transform: translateY(calc(-100vh * 0.000));
}

.wmp-volume-slider::-moz-range-thumb {
    width: calc(100vh * 0.014);
    height: calc(100vh * 0.024);
    background: #c0c0c0;
    border: calc(100vh * 0.002) solid #ffffff;
    border-right-color: #404040;
    border-bottom-color: #404040;
    transform: translateY(calc(-100vh * 0.000));
}


/* =====================================
   CHROME / EDGE / CHROMIUM (DEFAULT)
===================================== */

.wmp-track-slider::-webkit-slider-thumb {
    margin-top: calc(-100vh * 0.0155);
}

.wmp-volume-slider::-webkit-slider-thumb {
    margin-top: calc(-100vh * 0.000);
}


/* =====================================
   SAFARI ONLY
===================================== */
@supports (-webkit-touch-callout: none) {

    .wmp-track-slider::-webkit-slider-thumb {
        margin-top: calc(-100vh * 0.000);
    }

    .wmp-volume-slider::-webkit-slider-thumb {
        margin-top: calc(-100vh * 0.000);
    }
}







