* {
    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%);
    overflow: hidden;
}

.container {
    display: flex;
    height: 100vh;
    backdrop-filter: blur(10px);
}

.left-panel {
    width: 75%;
    border-right: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.05);
}

.right-panel {
    width: 25%;
    padding: 30px 20px;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 25px;
    overflow-y: auto;
}

h2 {
    font-size: 24px;
    font-weight: 300;
    color: #fff;
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: 1px;
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.button-group {
    display: flex;
    gap: 10px;
    justify-content: center;
}

button {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

#start {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

#start:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

#stop {
    background: linear-gradient(45deg, #f44336, #da190b);
    color: white;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
}

#stop:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.4);
}

.option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #4CAF50;
    cursor: pointer;
}

.option label {
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    font-weight: 300;
}

#media {
    max-width: 100%;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 13px;
}

audio {
    width: 100%;
    margin-bottom: 10px;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .left-panel {
        width: 100%;
        height: 60%;
        border-right: none;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    }

    .right-panel {
        width: 100%;
        height: 40%;
        padding: 20px 15px;
    }

    .button-group {
        flex-direction: row;
    }

    button {
        flex: 1;
        padding: 10px 16px;
        font-size: 12px;
    }
}

/* Loading animation */
@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

.loading {
    animation: pulse 2s infinite;
}

/* Glassmorphism effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}
