/* Cem Player - Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #1a2a6c);
    color: white;
    min-height: 100vh;
    padding: 20px;
}

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

header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to right, #ff8a00, #da1b60);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.player-container {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cem-player {
    width: 100%;
    height: auto;
    display: block;
    max-height: 70vh;
}

.player-controls {
    padding: 15px;
    background: rgba(30, 30, 30, 0.9);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.control-btn {
    background: #4a4a8c;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: #5a5aae;
    transform: scale(1.05);
}

.control-btn:active {
    transform: scale(0.95);
}

.slider {
    width: 100px;
    height: 5px;
    border-radius: 5px;
    background: #4a4a8c;
    outline: none;
    -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #ff8a00;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #ff8a00;
    cursor: pointer;
}

.progress-container {
    flex-grow: 1;
    margin: 0 10px;
}

.progress-bar {
    width: 100%;
}

.time-display {
    margin-left: 10px;
    font-size: 0.9rem;
}

.control-label {
    margin-right: 5px;
    font-size: 0.9rem;
}

.video-input {
    margin-top: 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.video-input label {
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.video-input input {
    width: 70%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #4a4a8c;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 10px;
}

.video-input button {
    padding: 10px 20px;
    background: #ff8a00;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.video-input button:hover {
    background: #e67e00;
}

/* Responsive design */
@media (max-width: 768px) {
    .player-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .control-btn {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .slider {
        width: 100%;
        margin: 5px 0;
    }
    
    .video-input input {
        width: 100%;
        margin-bottom: 10px;
    }
}