@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,700&display=swap');

:root {
    --bg-0: #07090f;
    --bg-1: #0d1220;
    --ink: #f4f6fb;
    --muted: #9aa3b5;
    --line: rgba(255, 255, 255, 0.08);
    --tyc: #ff5a00;
    --tvp: #3d7dd6;
    --glow: rgba(255, 90, 0, 0.18);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    min-height: 100%;
}

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(1200px 600px at 10% -10%, var(--glow), transparent 55%),
        radial-gradient(900px 500px at 90% 0%, rgba(61, 125, 214, 0.16), transparent 50%),
        linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 55%, #05070c 100%);
    background-attachment: fixed;
}

a {
    color: inherit;
    text-decoration: none;
}

.shell {
    width: min(1100px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2.5rem 0 4rem;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 2.75rem;
    animation: rise 0.7s ease both;
}

.brand__mark {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.2rem, 9vw, 5.5rem);
    letter-spacing: 0.04em;
    line-height: 0.9;
}

.brand__tag {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 34rem;
}

.channels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

@media (max-width: 720px) {
    .channels {
        grid-template-columns: 1fr;
    }
}

.channel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    padding: 1.75rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    animation: rise 0.8s ease both;
}

.channel:nth-child(2) {
    animation-delay: 0.08s;
}

.channel::before {
    content: '';
    position: absolute;
    inset: auto -20% -40% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-soft), transparent 70%);
    pointer-events: none;
    transition: transform 0.5s ease;
}

.channel:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--accent) 55%, transparent);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.channel:hover::before {
    transform: scale(1.15) translate(-8%, -8%);
}

.channel[data-channel="tyc"] {
    --accent: var(--tyc);
    --accent-soft: rgba(255, 90, 0, 0.22);
}

.channel[data-channel="tvp"] {
    --accent: var(--tvp);
    --accent-soft: rgba(61, 125, 214, 0.22);
}

.channel__logo {
    width: min(220px, 70%);
    height: 56px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.35));
}

.channel__meta {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.channel__live {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    color: #ff6b6b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.channel__live::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.55);
    animation: pulse 1.6s ease infinite;
}

.channel__name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 2.6rem);
    letter-spacing: 0.03em;
}

.channel__viewers {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.channel__cta {
    position: relative;
    z-index: 1;
    margin-top: 1.5rem;
    align-self: flex-start;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    transition: filter 0.25s ease, transform 0.25s ease;
}

.channel:hover .channel__cta {
    filter: brightness(1.08);
    transform: translateX(2px);
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(255, 107, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}
