* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #0b0c10;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.background-animation {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, #1f2833 0%, #0b0c10 50%);
    animation: rotateGradient 20s linear infinite;
    z-index: -1;
    opacity: 0.8;
}

@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.container {
    width: 90%;
    max-width: 1000px;
    padding: 2rem;
    z-index: 1;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    background: linear-gradient(90deg, #66fcf1, #45a29e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.header p {
    color: #c5c6c7;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(102, 252, 241, 0.2);
    background: #000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(102, 252, 241, 0.4);
}

.video-player {
    width: 100%;
    display: block;
    cursor: pointer;
}

/* Custom Controls - Glassmorphism */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(11, 12, 16, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.video-wrapper:hover .video-controls,
.video-wrapper:focus-within .video-controls {
    transform: translateY(0);
    opacity: 1;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #66fcf1;
    width: 0%;
    border-radius: 3px;
    position: relative;
    box-shadow: 0 0 10px #66fcf1;
}

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

.controls-left, .controls-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.control-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.control-btn:hover {
    background: rgba(102, 252, 241, 0.2);
    transform: scale(1.1);
}

.icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.hidden {
    display: none;
}

.time-display {
    font-size: 0.9rem;
    color: #c5c6c7;
    font-weight: 300;
    min-width: 80px;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.volume-slider {
    width: 0;
    opacity: 0;
    transition: width 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
    accent-color: #66fcf1;
}

.volume-container:hover .volume-slider {
    width: 80px;
    opacity: 1;
}
