body {
    font-family: 'Arial', sans-serif;
    background-color: #1e1e1e;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #fff;
}

.container {
    text-align: center;
    background-color: #2c2c2c;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 800px;
}

h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #ff6f61;
}

.input-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

#stream-url {
    width: 70%;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 6px;
    background-color: #333;
    color: #fff;
    font-size: 16px;
}

#stream-url::placeholder {
    color: #888;
}

#play-btn {
    padding: 10px 20px;
    background-color: #ff6f61;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#play-btn:hover {
    background-color: #ff4a3d;
}

#player {
    margin-top: 20px;
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.stats-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #333;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
}

.viewer-stats, .video-stats, .buffer-stats {
    display: flex;
    gap: 10px;
    align-items: center;
}

.viewer-stats span, .video-stats span, .buffer-stats span {
    color: #fff;
}

.video-stats span:nth-child(odd), .buffer-stats span:nth-child(odd) {
    font-weight: bold;
    color: #ff6f61;
}