| Server IP : 127.0.0.1 / Your IP : 216.73.216.48 Web Server : Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12 System : Windows NT DESKTOP-3H4FHQJ 10.0 build 19045 (Windows 10) AMD64 User : win 10 ( 0) PHP Version : 8.2.12 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : D:/xampp/htdocs-coblaa/Cinevaa/main_css/ |
Upload File : |
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
:root {
--brand-accent: #facc15;
--bg-deep: #0f172a;
--control-bg: rgba(0, 0, 0, 0.85);
--text-main: #f8fafc;
--text-dim: #94a3b8;
}
body {
background-color: #020617;
background-image: linear-gradient(to bottom, #0f172a, #020617);
background-attachment: fixed;
color: var(--text-main);
font-family: 'Inter', sans-serif;
min-height: 100vh;
margin: 0;
-webkit-font-smoothing: antialiased;
}
/* --- PURE CSS VIDEO PLAYER --- */
.video_overlay {
backgroundk: rgba(0, 0, 0, 0.95);
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1000;
display:flex;
justify-content: center;
align-itemsk: center;
}
.player_modal {
positionk: relative;
width: 70%;
max-widthk: 80%;
height:80vh;
paddingk: 20px;
}
.player-header {
width:98%;
displayk: flex;
justify-contentk: space-between;
align-itemsk: center;
margin-top:10px;
margin-left:1%;
margin-bottom: 10px;
}
.player-title {
float:left;
width:98%;
line-height:30px;
color: var(--brand-accent);
font-weight: 800;
font-size: 1rem;
margin: 0;
margin-left:1%;
margin-bottom:10px;
}
.close-btn {
width:45px;
height:45px;
margin-left:40%;
background: red;
border: none;
color: white;
cursor: pointer;
transition: transform 0.2s;
border-radius:50%;
}
.close-btn:hover {
color: var(--brand-accent);
transform: scale(1.1);
}
.custom-player-container {
position: relative;
widthk: 80%;
heightk:80vh;
backgroundk: #000;
border-radius:0 0 12px 12px;
overflow: hidden;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
aspect-ratio: 16 / 9;
}
.player_div
{
float:left;width:100%;height:70vh;display:flex;justify-content:center;align-items:center;
}
#mainVideo {
width: 100%;
height: 100%;
cursor: pointer;
/* Force hide controls on Chrome/Safari/Edge */
outline: none;
}
/* Deep dive to remove default controls for all browsers */
video::-webkit-media-controls { display: none !important; }
video::-webkit-media-controls-enclosure { display: none !important; }
video::-moz-media-controls { display: none !important; }
.player-controls {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(transparent, rgba(0,0,0,0.95));
padding: 25px 20px 15px 20px;
opacity: 0;
transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
z-index: 20;
pointer-events: none; /* Only allow clicks when visible */
}
/* Show controls when container is hovered OR when "is-paused" class is applied */
.custom-player-container:hover .player-controls,
.custom-player-container.is-paused .player-controls {
opacity: 1;
pointer-events: auto;
}
/* Range Slider/Seeker Styling (Pure CSS) */
.seeker-container {
position: relative;
width: 100%;
height: 4px;
margin-bottom: 20px;
display: flex;
align-items: center;
}
.custom-range {
-webkit-appearance: none;
width: 100%;
height: 4px;
background: rgba(255, 255, 255, 0.2);
border-radius: 2px;
outline: none;
cursor: pointer;
position: relative;
z-index: 5;
margin: 0;
}
/* Progress Bar (Visual only) */
.progress-fill {
position: absolute;
left: 0;
top: 0;
height: 4px;
background: var(--brand-accent);
border-radius: 2px;
z-index: 4;
pointer-events: none;
}
/* Webkit Thumb - Fixed Rounding */
.custom-range::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 14px;
height: 14px;
background: var(--brand-accent);
border-radius: 999px; /* Fixed: guaranteed round */
cursor: pointer;
box-shadow: 0 0 10px rgba(250, 204, 21, 0.6);
border: 2px solid #000;
transition: transform 0.1s;
}
.custom-range:active::-webkit-slider-thumb {
transform: scale(1.3);
}
/* Firefox Thumb - Fixed Rounding */
.custom-range::-moz-range-thumb {
width: 14px;
height: 14px;
background: var(--brand-accent);
border-radius: 999px;
cursor: pointer;
box-shadow: 0 0 10px rgba(250, 204, 21, 0.6);
border: 2px solid #000;
border-color: transparent; /* Firefox fix */
}
/* Lower Controls Row */
.controls-bar {
display: flex;
justify-content: space-between;
align-items: center;
}
.group-left, .group-right {
display: flex;
align-items: center;
gap: 20px;
}
.btn-icon {
background: none;
border: none;
color: white;
cursor: pointer;
display: flex;
align-items: center;
padding: 5px;
transition: color 0.2s;
}
.btn-icon:hover {
color: var(--brand-accent);
}
.time-text {
font-size: 13px;
font-weight: 500;
color: var(--text-dim);
font-family: monospace;
min-width: 100px;
}
/* Volume Widget */
.volume-widget {
display: flex;
align-items: center;
gap: 10px;
}
.volume-slider-box {
width: 0px;
overflow: hidden;
transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
display: flex;
align-items: center;
height: 24px;
}
.volume-widget:hover .volume-slider-box {
width: 80px;
}
#pauseIcon{display:none;}
.external-back-nav {
margin-top: 30px; /* Space below the player */
z-index: 30;
width:200px;
margin-left:40%;
}
.back-link {
display: flex;
align-items: center;
gap: 8px;
color: #D4AF37; /* Gold theme */
text-decoration: none;
font-size: 14px;
font-weight: 600;
padding: 10px 20px;
border: 1px solid rgba(212, 175, 55, 0.3);
border-radius: 30px;
transition: all 0.3s;
}
.back-link:hover {
background: rgba(212, 175, 55, 0.1);
border-color: #D4AF37;
}
@media screen and (max-width: 700px)
{
.player_modal {
width: 100%;
}
.external-back-nav {
margin-top: 30px; /* Space below the player */
z-index: 30;
width:40%;
margin-left:30%;
}
}