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

:root {
    --purple: #c026ff;
    --blue: #00cfff;
    --bg: #050510;
    --card: rgba(10, 10, 26, .92);
    --text-muted: rgba(255,255,255,.72);
}

body {
    min-height: 100vh;

    background:
        radial-gradient(circle at top, rgba(192,38,255,.14), transparent 38%),
        radial-gradient(circle at center, rgba(0,207,255,.06), transparent 45%),
        #050510;

    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 28px 20px;
}

a {
    color: inherit;
}

/* HERO */

.hero {
    text-align: center;
    padding: 20px 20px 18px;
}

.hero-cat {
    width: 190px;
    position: relative;
    z-index: 3;

    margin-bottom: 0px;

    filter:
        drop-shadow(0 0 8px #ff00ff)
        drop-shadow(0 0 20px #ff00ff)
        drop-shadow(0 0 35px #00d4ff);
}

h1 {
    position: relative;
}

h1::after {
    content: "DOGMA HUB";

    position: absolute;
    inset: 0;
    z-index: -1;

    color: #00cfff;
    transform: translate(3px, 3px);
    opacity: .28;

    filter: blur(2px);
}

.hero p {
    font-size: 16px;
    color: rgba(255,255,255,.86);
}

/* LIVE */

.live-hub {
    max-width: 550px;
    margin: 0 auto 20px;

    padding: 24px 40px;

    position: relative;
    overflow: hidden;

    text-align: center;

    background:
        radial-gradient(circle at top left, rgba(255, 43, 43, .25), transparent 35%),
        radial-gradient(circle at bottom right, rgba(0, 207, 255, .18), transparent 35%),
        rgba(10, 10, 26, .92);

    border: 1px solid rgba(255, 43, 43, .45);
    border-radius: 28px;

    box-shadow:
        0 0 25px rgba(255, 43, 43, .18),
        0 0 50px rgba(192, 38, 255, .10);
}

.status-badge {
    ...
}

@keyframes pulse-live {
    0% {
        box-shadow: 0 0 0 rgba(255, 43, 43, .5);
    }

    50% {
        box-shadow:
            0 0 15px rgba(255, 43, 43, .8),
            0 0 30px rgba(255, 43, 43, .4);
    }

    100% {
        box-shadow: 0 0 0 rgba(255, 43, 43, .5);
    }
}

.live-hub h2 {
    font-size: 34px;
    margin-bottom: 12px;
}

.stream-title {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 6px;
}

.stream-platform {
    color: var(--text-muted);
    margin-bottom: 12px;
}

.stream-meta {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;

    margin: 10px 0 18px;
}

.stream-meta span,
.stream-schedule {
    padding: 8px 14px;

    border-radius: 999px;

    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);

    font-size: 14px;
    font-weight: 700;
}

.stream-schedule {
    display: inline-block;
    margin: 4px 0 22px;
}

.main-watch-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    min-width: 260px;
    min-height: 56px;

    margin-top: 12px;

    color: white;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;

    background: linear-gradient(90deg, #ff2b2b, #c026ff, #00cfff);
    border-radius: 999px;

    box-shadow:
        0 0 18px rgba(255, 43, 43, .45),
        0 0 35px rgba(192, 38, 255, .35);

    transition: .25s;
}

.main-watch-btn:hover {
    transform: translateY(-3px) scale(1.03);
}

/* PLATFORMS */

.platforms {
    max-width: 900px;
    margin: 34px auto 0;
}

.platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.platform-card {
    min-height: 105px;
    padding: 22px 26px;

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;

    text-decoration: none;
    color: white;

    background: rgba(12,12,28,.92);
    border-radius: 22px;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.platform-icon {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    border-radius: 16px;
    background: rgba(255,255,255,.07);

    font-weight: 900;
}

.platform-content h3 {
    margin: 0;
    font-size: 26px;
}

.platform-arrow {
    display: block;
    font-size: 28px;
    opacity: .45;

    transition: .25s;
}

.platform-card:hover {
    transform: translateY(-5px);
}

.platform-card:hover .platform-arrow {
    opacity: 1;
    transform: translateX(5px);
}

.youtube {
    border: 1px solid #ff2b2b;
    box-shadow: 0 0 20px rgba(255,43,43,.16);
}

.youtube .platform-icon {
    color: #ff4040;
}

.youtube:hover {
    box-shadow: 0 0 28px rgba(255,60,60,.28);
}

.vk {
    border: 1px solid #2787f5;
    box-shadow: 0 0 20px rgba(39,135,245,.16);
}

.vk .platform-icon {
    color: #39a3ff;
}

.vk:hover {
    box-shadow: 0 0 28px rgba(0,140,255,.28);
}

.twitch {
    border: 1px solid #9146ff;
    box-shadow: 0 0 20px rgba(145,70,255,.16);
}

.twitch .platform-icon {
    color: #b56cff;
}

.twitch:hover {
    box-shadow: 0 0 28px rgba(145,70,255,.28);
}

.kick {
    border: 1px solid #53fc18;
    box-shadow: 0 0 20px rgba(83,252,24,.14);
}

.kick .platform-icon {
    color: #53fc18;
}

.kick:hover {
    box-shadow: 0 0 28px rgba(50,255,50,.22);
}

/* LATEST VIDEO */

.video-card {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 26px;
    align-items: center;

    padding: 22px;
    border-radius: 24px;

    background: rgba(12,12,28,.92);
    border: 1px solid rgba(0,207,255,.35);
    box-shadow: 0 0 28px rgba(0,207,255,.15);
}

.video-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;

    background: rgba(255,255,255,.06);
    border-radius: 18px;
}

.video-card h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

.video-card p {
    color: var(--text-muted);
    margin-bottom: 18px;
}

.video-card a,
.support-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 15px 32px;

    color: white;
    text-decoration: none;
    font-weight: 800;
    font-size: 17px;

    border-radius: 999px;
    background: linear-gradient(90deg, #c026ff, #00cfff);
    box-shadow: 0 0 22px rgba(192,38,255,.3);
}

@media (max-width: 768px) {
    .video-card {
        grid-template-columns: 1fr;
    }
}

/* COMMUNITY */

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.community-card {
    min-height: 120px;

    display: flex;
    justify-content: center;
    align-items: center;

    color: white;
    text-decoration: none;

    font-size: 24px;
    font-weight: 900;

    border-radius: 24px;
    background: rgba(12,12,28,.92);
}

.community-card.telegram {
    border: 1px solid #27cfff;
    box-shadow: 0 0 24px rgba(39,207,255,.18);
}

.community-card.discord {
    border: 1px solid #5865f2;
    box-shadow: 0 0 24px rgba(88,101,242,.18);
}

/* SUPPORT */

.support {
    grid-column: 1 / -1;
    justify-self: center;

    width: min(620px, 90%);
    max-width: 620px;

    margin: 40px auto 20px;
    text-align: center;

    padding: 34px;
    border-radius: 26px;

    background:
        radial-gradient(circle at top, rgba(255,155,47,.22), transparent 40%),
        rgba(12,12,28,.92);

    border: 1px solid rgba(255,155,47,.45);
    box-shadow: 0 0 28px rgba(255,155,47,.15);
}

.support p {
    margin-bottom: 22px;
    color: var(--text-muted);
}

/* FOOTER */

footer {
    text-align: center;
    padding: 20px 20px 30px;
    color: rgba(255,255,255,.65);
}

/* ADAPTIVE */

@media (max-width: 700px) {
    main {
        padding: 0 18px 50px;
    }

    h1 {
        font-size: 46px;
        margin-top: -24px;
    }

    .hero-cat {
        width: 170px;
    }

    .live-hub {
        padding: 24px 22px;
    }

    .live-hub h2 {
        font-size: 28px;
    }

    .platform-grid,
    .community-grid {
        grid-template-columns: 1fr;
    }

    .video-card {
        grid-template-columns: 1fr;
    }
}
.telegram {
    border: 1px solid #27cfff;
    box-shadow: 0 0 20px rgba(39,207,255,.2);
}

.discord {
    border: 1px solid #5865f2;
    box-shadow: 0 0 20px rgba(88,101,242,.2);
}

.telegram:hover {
    box-shadow:
        0 0 25px rgba(39,207,255,.3);
}

.discord:hover {
    box-shadow:
        0 0 25px rgba(88,101,242,.3);
}
.live-player {
    display: none;
    margin: 18px 0;
    overflow: hidden;

    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.35);
}

.live-player iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
}

.live-hub.is-live .live-player {
    display: block;
}

.live-hub.is-offline {
    border-color: rgba(255,255,255,.18);

    background:
        radial-gradient(circle at top left, rgba(120,120,160,.18), transparent 35%),
        radial-gradient(circle at bottom right, rgba(0,207,255,.12), transparent 35%),
        rgba(10,10,26,.92);
}

.live-hub.is-offline .status-badge {
    color: #aaa;
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.18);
    animation: none;
}

.live-hub.is-offline .main-watch-btn {
    background: linear-gradient(90deg, #444, #777);
    box-shadow: none;
}

.live-hub.is-offline .stream-meta {
    display: none;
}

.live-hub.is-offline {
    padding: 24px 40px 30px;
}

.live-hub.is-offline .main-watch-btn {
    min-width: 220px;
}
.offline-video {
    position: relative;

    overflow: hidden;

    height: 170px;

    margin: 14px 0 18px;

    border-radius: 20px;

    border: 1px solid rgba(255,255,255,.12);

    background: #000;
}

.offline-video video {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

.offline-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.75),
            rgba(0,0,0,.15)
        );
}

.offline-label {
    padding: 10px 18px;

    font-size: 14px;
    font-weight: 800;

    letter-spacing: 1px;

    border-radius: 999px;

    background: rgba(0,0,0,.45);
    backdrop-filter: blur(8px);

    border: 1px solid rgba(255,255,255,.12);

    box-shadow:
        0 0 15px rgba(192,38,255,.25);
}

.live-player {
    display: none;
}
.offline-message {
    text-align: center;

    width: 85%;
    max-width: 420px;

    margin: 0 auto;

    padding: 18px 24px;

    border-radius: 18px;

    background: rgba(0,0,0,.45);
    backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,.12);
}

.offline-message strong {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
}

.offline-message span {
    opacity: .7;
    font-size: 13px;
}

@keyframes livePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255,0,70,.8);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(255,0,70,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255,0,70,0);
    }
}
.is-live .status-badge {
    animation: livePulse 2s infinite;
}
@keyframes glow {
    0%,100% {
        text-shadow:
            0 0 10px #c026ff,
            0 0 20px #c026ff;
    }

    50% {
        text-shadow:
            0 0 20px #c026ff,
            0 0 40px #c026ff;
    }
}
.hero h1 {
    animation: glow 4s ease-in-out infinite;
}
/* CYBERPUNK DECOR */

body::before {
    content: "";

    position: fixed;
    inset: 0;
    z-index: -1;

    pointer-events: none;

    background-image:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);

    background-size: 42px 42px;

    mask-image: radial-gradient(circle at top, black 0%, transparent 75%);
}

.hero::after {
    content: "";

    display: block;
    width: 160px;
    height: 2px;

    margin: 18px auto 0;

    background: linear-gradient(
        90deg,
        transparent,
        #c026ff,
        #00cfff,
        transparent
    );

    box-shadow:
        0 0 10px #c026ff,
        0 0 22px #00cfff;
}

.hero-subline {
    margin-top: 12px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;

    color: rgba(255,255,255,.72);

    text-shadow:
        0 0 8px rgba(0,207,255,.8),
        0 0 16px rgba(192,38,255,.55);
}

.platform-card,
.video-card,
.support,
.live-hub {
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.video-card:hover,
.support:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 34px rgba(192,38,255,.22),
        0 0 48px rgba(0,207,255,.14);
}

.live-hub:hover {
    box-shadow:
        0 0 35px rgba(192,38,255,.18),
        0 0 55px rgba(0,207,255,.12);
}

.platform-icon img {
    width: 28px;
    height: 28px;
    display: block;

    filter:
        brightness(0)
        invert(1)
        drop-shadow(0 0 8px rgba(255,255,255,.35));
}
body::after {
    content: "";

    position: fixed;
    inset: 0;

    pointer-events: none;
    z-index: -1;

    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(192,38,255,.08),
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(0,207,255,.06),
            transparent 40%
        ),
        radial-gradient(
            circle at 50% 90%,
            rgba(192,38,255,.05),
            transparent 30%
        );

    animation: fogMove 18s ease-in-out infinite alternate;
}

@keyframes fogMove {
    from {
        transform: translateY(0px) scale(1);
    }

    to {
        transform: translateY(-20px) scale(1.08);
    }
}
 @keyframes logoGlow {
    0%,100% {
        filter:
            drop-shadow(0 0 10px #ff00ff)
            drop-shadow(0 0 20px #ff00ff)
            drop-shadow(0 0 35px #00d4ff);
    }

    50% {
        filter:
            drop-shadow(0 0 14px #ff00ff)
            drop-shadow(0 0 30px #ff00ff)
            drop-shadow(0 0 55px #00d4ff);
    }
}

.hero-cat {
    animation: logoGlow 4s ease-in-out infinite;
}
.live-hub .stream-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 16px 0 18px;
}

.live-hub .stream-schedule {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;

    padding: 14px 18px;

    line-height: 1.35;
    font-size: 15px;
    font-weight: 800;

    border-radius: 20px;

    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.14);
}

.live-hub .main-watch-btn {
    margin-top: 16px;
}
.stream-schedule {
    display: block !important;

    width: 100%;
    max-width: 430px;

    margin: 0 auto 16px;

    padding: 14px 18px;

    text-align: center;
    white-space: pre-line;

    line-height: 1.45;
    font-size: 17px;
    font-weight: 700;

    border-radius: 18px;

    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
}
#offlineAnnouncementSubtitle {
    display: block;

    max-width: 240px;
    margin: 0 auto;

    white-space: pre-line;

    overflow-wrap: break-word;
    word-break: break-word;

    line-height: 1.5;
    font-size: 14px;
}
#offlineAnnouncementTitle {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}