@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap');

body {
    background-color: #141414;
    color: #fff;
    font-family: 'Nunito', sans-serif;
    margin: 0;
}

.container {
    max-width: 1140px;
    margin: 20px auto;
    padding: 0 15px;
}

/* Area Video Player */
.videy {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    background-color: #000;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
}

#myVideo {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

/* Thumbnail Overlay & Play Center */
#vplay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #000;
    background-image: url("foto1.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 20;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

#vplay span {
    width: 60px; height: 60px;
    background: #fe6081;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    box-shadow: 0 4px 15px rgba(254, 96, 129, 0.5);
    transition: transform 0.2s ease-in-out;
}
#vplay:hover span { transform: scale(1.1); }
#vplay span svg { fill: #fff; width: 28px; height: 28px; margin-left: 4px; }

/* Custom Controls */
.custom-controls {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    display: none; 
    flex-direction: column;
    padding: 10px 15px;
    z-index: 15;
}

.progress-area {
    width: 100%; height: 4px;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    margin-bottom: 10px;
}

.progress-bar {
    height: 100%; width: 0%;
    background: #fe6081;
}

.controls-main {
    display: flex; align-items: center; justify-content: space-between;
}

.left-side, .right-side { display: flex; align-items: center; gap: 15px; }
.control-btn { cursor: pointer; display: flex; align-items: center; border: none; background: none; padding: 0; }
.control-btn svg { width: 20px; height: 20px; fill: #ffffff !important; }
.time-display { font-size: 12px; color: #ffffff; font-weight: 400; }

/* Info Video & Download Button */
.info-video {
    background: #1c1c1c;
    padding: 18px 20px;
    border-radius: 0 0 4px 4px;
}

.info-video h1 {
    font-size: 19px;
    margin: 0 0 12px 0;
    color: #f1f1f1;
    font-weight: 600;
}

.meta-info {
    font-size: 13.5px;
    color: #999;
    display: flex; gap: 20px; align-items: center; margin-bottom: 20px;
}

.meta-info span { display: flex; align-items: center; gap: 6px; }
.meta-info svg { width: 16px; height: 16px; fill: currentColor; }

.download-wrapper {
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex; justify-content: center;
}

.btn-download {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background-color: #fe6081; color: white; text-decoration: none;
    padding: 12px 30px; border-radius: 5px; font-weight: 700;
    font-size: 15px; width: 100%; max-width: 250px; cursor: pointer;
    transition: 0.3s;
}
.btn-download:hover { background-color: #ff7896; color: white; text-decoration: none; }
.btn-download svg { width: 20px; height: 20px; fill: white; }
