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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 800px;
    width: 90%;
    text-align: center;
}

.video-container {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

#player {
    width: 100%;
    height: 400px;
}

.timer-container {
    margin-bottom: 30px;
}

.timer-display {
    margin-bottom: 15px;
}

#timer {
    font-size: 3rem;
    font-weight: bold;
    color: #667eea;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.timer-label {
    display: block;
    font-size: 1.1rem;
    color: #666;
    margin-top: 5px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto;
    max-width: 400px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 100%;
}

.instructions {
    background: #f8f9ff;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    border-left: 4px solid #667eea;
}

.instructions h2 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.instructions p {
    line-height: 1.6;
    margin-bottom: 10px;
    color: #555;
}

.status {
    padding: 15px;
    border-radius: 10px;
    font-weight: 500;
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

.status.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.status.success {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

@media (max-width: 600px) {
    .container {
        padding: 20px;
        width: 95%;
    }
    
    #player {
        height: 250px;
    }
    
    #timer {
        font-size: 2.5rem;
    }
    
    .instructions {
        padding: 15px;
    }
}
