*, *::before, *::after {
    box-sizing: border-box;
}
body {
    background-color: #0d0d0d;
    color: white;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
}
h1 {
    text-align: center;
    letter-spacing: 0.15em;
    font-size: 1.1rem;
    color: #888;
    margin: 32px 0 24px;
}
.container {
    display: flex;
    justify-content: center;
}
.streams {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px 32px;
}
section {
    background-color: #161616;
    border: 1px solid #2a2a2a; /** #2a2a2a **/
    border-radius: 12px;
    padding: 32px 20px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
section:hover {
    border-color: #555;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
section img {
    border-radius: 50%;
    width: 96px;
    height: 96px;
    object-fit: cover;
    border: 2px solid #2a2a2a;
    transition: border-color 0.2s;
}
section:hover img {
    border-color: #555;
}
section h2 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    color: #ddd;
}

@media (max-width: 500px) {
    .streams {
        grid-template-columns: 1fr;
    }
}
a {
    background-color: #222;
    color: #fff;
    border: 1px solid #333;
    padding: 7px 18px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: background-color 0.15s, border-color 0.15s;
}

a:hover {
    background-color: #2e2e2e;
    border-color: #555;
}
#modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}
#modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #161616;
    border: 1px solid #2a2a2a;
    padding: 32px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 280px;
    width: 90%;
    max-width: 360px;
}
#modal-content h2 {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 500;
    color: #ddd;
    letter-spacing: 0.03em;
}
#modal-content input {
    background-color: #222;
    border: 1px solid #333;
    padding: 10px 14px;
    border-radius: 6px;
    color: #fff;
    outline: none;
    font-size: 0.9rem;
    transition: border-color 0.15s;
}
#modal-content input:focus {
    border-color: #555;
}
#watch-btn, #close-btn {
    border: 1px solid #333;
    padding: 9px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: background-color 0.15s, border-color 0.15s;
}
#watch-btn {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}
#watch-btn:hover {
    background-color: #ddd;
    border-color: #ddd;
}
#close-btn {
    background-color: #222;
    color: #fff;
}
#close-btn:hover {
    background-color: #2e2e2e;
    border-color: #555;
}
