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

body {

}

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



.stream-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 20px;
}

.stream-card {
    background: #f2f2f2;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stream-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.stream-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.stream-title {
    font-size: 1.4em;
    color: #333;
    font-weight: 600;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.checking {
    background: #ffd93d;
    color: #333;
}

.status-badge.live {
    background: #4caf50;
    color: white;
    animation: pulse 2s infinite;
}

.status-badge.offline {
    background: #e0e0e0;
    color: #666;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.stream-url {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
    word-break: break-all;
}

.stream-description {
    color: #777;
    font-size: 0.95em;
    margin-bottom: 15px;
    font-style: italic;
}

.listen-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.listen-button:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.listen-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.listen-button.playing {
    background: #f44336;
}

.mini-player {
    margin-top: 15px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
    display: none;
    animation: slideDown 0.3s ease;
}

.mini-player.active {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.volume-slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    background: #ddd;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    border: none;
}

.loading {
    text-align: center;
    color: #666;
    font-style: italic;
}
