* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.radio-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.header i {
    font-size: 48px;
    color: #4a6bff;
    margin-bottom: 15px;
}

.header h1 {
    color: #2d3748;
    font-size: 28px;
    margin-bottom: 8px;
}

.subtitle {
    color: #718096;
    font-size: 16px;
}

.status-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f7fafc;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
}

.status-dot.active {
    background: #48bb78;
    box-shadow: 0 0 10px #48bb78;
}

.status-dot.broadcasting {
    background: #f56565;
    box-shadow: 0 0 10px #f56565;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.broadcast-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a5568;
}

.audio-controls {
    background: #f7fafc;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.volume-control,
.mic-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.volume-control i,
.mic-controls i {
    font-size: 20px;
    color: #4a6bff;
    width: 30px;
}

input[type="range"] {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    background: #e2e8f0;
    border-radius: 3px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4a6bff;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn {
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #4a6bff 0%, #6b8cff 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 107, 255, 0.4);
}

.btn-secondary {
    background: #e2e8f0;
    color: #4a5568;
}

.btn-secondary:hover {
    background: #cbd5e0;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.meter {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 5px;
}

.meter-bar {
    height: 100%;
    background: linear-gradient(90deg, #48bb78, #f56565);
    width: 0%;
    transition: width 0.1s ease;
}

.meter-label {
    font-size: 12px;
    color: #718096;
    margin-top: 5px;
    text-align: center;
}

.connection-info {
    background: #f7fafc;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.connection-info h3 {
    color: #2d3748;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.link-container {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.link-container input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    color: #4a5568;
}

.btn-copy {
    padding: 12px 20px;
    background: #edf2f7;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: #4a5568;
    font-weight: 600;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-copy:hover {
    background: #cbd5e0;
}

.info-text {
    color: #718096;
    font-size: 14px;
    font-style: italic;
}

.instructions {
    background: #f0fff4;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #48bb78;
}

.instructions h3 {
    color: #2d3748;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.instructions ol {
    margin-left: 20px;
    color: #4a5568;
}

.instructions li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.permission-warning {
    background: #fff5f5;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #f56565;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 20px;
}

.permission-warning i {
    color: #f56565;
    font-size: 24px;
    margin-top: 2px;
}

.permission-warning p {
    color: #c53030;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .radio-card {
        padding: 20px;
    }

    .status-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .btn {
        width: 100%;
        margin-right: 0;
    }

    .link-container {
        flex-direction: column;
    }
}