* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
    color: #f7f7f7;
    background: radial-gradient(circle at 20% 20%, #d62828 0%, #0b0f17 35%, #05070b 100%);
}

.hub {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px;
}

.hub-header {
    text-align: center;
    margin-bottom: 30px;
}

.hub-header h1 {
    font-size: 2.2rem;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

.hub-header p {
    color: #d7d7d7;
}

.cards {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.media-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 16px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.media-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.42);
}

.media-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.14);
}

.media-card h2 {
    margin-bottom: 8px;
}

.media-card p {
    color: #dedede;
}

.media-thumb {
    width: 64px;
    height: 48px;
    border-radius: 10px;
    display: block;
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.12);
    object-fit: cover;
}

.youtube .media-icon {
    background: rgba(255, 0, 0, 0.35);
}

.iptv .media-icon {
    background: rgba(0, 155, 255, 0.35);
}

@media (max-width: 800px) {
    .cards {
        grid-template-columns: 1fr;
    }
}
