* {
    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;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

.video-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

video {
    width: 100%;
    border-radius: 10px;
    background: #000;
    min-height: 300px;
}

#localVideo {
    border: 3px solid #667eea;
}

#remoteVideo {
    border: 3px solid #764ba2;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

button {
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

#startBtn {
    background: #4CAF50;
    color: white;
}

#startBtn:hover:not(:disabled) {
    background: #45a049;
}

#hangupBtn {
    background: #f44336;
    color: white;
}

#hangupBtn:hover:not(:disabled) {
    background: #da190b;
}

#muteBtn, #videoBtn {
    background: #2196F3;
    color: white;
}

#muteBtn:hover, #videoBtn:hover {
    background: #0b7dda;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.status {
    text-align: center;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #333;
}

.info {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #2196F3;
}

.info p {
    margin-bottom: 10px;
    color: #333;
}

.info a {
    color: #2196F3;
    word-break: break-all;
}

@media (max-width: 768px) {
    .video-container {
        grid-template-columns: 1fr;
    }
    
    .controls {
        flex-direction: column;
    }
    
    button {
        width: 100%;
    }
}

