* {
    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: 600px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    color: white;
    margin-bottom: 30px;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.screen {
    transition: all 0.3s ease;
}

.hidden {
    display: none !important;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 5px;
}

.btn-primary {
    background: #4CAF50;
    color: white;
}

.btn-primary:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #2196F3;
    color: white;
}

.btn-secondary:hover {
    background: #1976D2;
    transform: translateY(-2px);
}

.btn-success {
    background: #4CAF50;
    color: white;
}

.btn-success:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.btn-danger {
    background: #f44336;
    color: white;
}

.btn-danger:hover {
    background: #da190b;
    transform: translateY(-2px);
}

.btn-warning {
    background: #ff9800;
    color: white;
}

.btn-warning:hover {
    background: #e68900;
    transform: translateY(-2px);
}

.btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
}

.join-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.join-form input {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.divider {
    text-align: center;
    margin: 20px 0;
    color: #666;
    font-weight: bold;
}

.room-header {
    text-align: center;
    margin-bottom: 20px;
}

.status {
    padding: 8px 16px;
    border-radius: 20px;
    background: #e3f2fd;
    color: #1976d2;
    display: inline-block;
    margin-top: 10px;
}

.audio-controls {
    text-align: center;
    margin: 25px 0;
}

.user-status {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
}

.user {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    min-width: 150px;
}

.user-icon {
    font-size: 3em;
    margin-bottom: 10px;
}

.user-info {
    font-weight: bold;
}

.audio-indicator {
    color: #4CAF50;
    font-size: 1.2em;
    margin-top: 5px;
}

.status-text {
    color: #666;
    font-size: 0.9em;
    margin-top: 5px;
}

.share-link {
    margin: 25px 0;
    text-align: center;
}

.link-container {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.link-container input {
    flex: 1;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: #f8f9fa;
}

.connected {
    background: #4CAF50 !important;
    color: white !important;
}

.call-active {
    background: #4CAF50 !important;
    color: white !important;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
    }
    
    .card {
        padding: 20px;
    }
    
    .user-status {
        flex-direction: column;
        gap: 15px;
    }
    
    .join-form {
        flex-direction: column;
    }
}