:root {
    --magtv-red: #ed4843;
    --magtv-black: #150d12;
    --magtv-gray: #dddcdd;
    --magtv-white: #fefdfd;
    --magtv-font: "Raleway", Arial, sans-serif;
    --magtv-display-font: "Raleway", Arial, sans-serif;
    --bs-primary: #ed4843;
    --bs-primary-rgb: 237, 72, 67;
    --bs-body-bg: #fefdfd;
    --bs-body-bg-rgb: 254, 253, 253;
    --bs-body-color: #150d12;
    --bs-body-color-rgb: 21, 13, 18;
    --bs-body-font-family: var(--magtv-font);
    --bs-heading-font-family: var(--magtv-font);
    --bs-heading-color: #150d12;
    --bs-secondary-color: rgba(21, 13, 18, 0.68);
    --bs-secondary-color-rgb: 21, 13, 18;
    --bs-border-color: #dddcdd;
    --bs-link-color: #150d12;
    --bs-link-color-rgb: 21, 13, 18;
    --bs-link-hover-color: #ed4843;
    --bs-link-hover-color-rgb: 237, 72, 67;
    color-scheme: light;
}

html,
body {
    background: var(--magtv-white);
    color: var(--magtv-black);
    font-family: var(--magtv-font);
}

body,
.main-content,
.homepage {
    background: var(--magtv-white);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
button,
input,
textarea,
select {
    font-family: var(--magtv-font);
}

a {
    color: var(--magtv-black);
}

a:hover {
    color: var(--magtv-red);
}

.screen-darken {
    background: rgba(21, 13, 18, 0.38);
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 220ms ease, visibility 220ms ease;
    visibility: hidden;
    z-index: 1030;
}

.magtv-header {
    background: var(--magtv-white);
    border-bottom: 1px solid var(--magtv-gray);
}

.magtv-header .iq-navbar,
.magtv-header .navbar-inner,
.magtv-header .landing-header,
.magtv-header .offcanvas {
    background: var(--magtv-white);
}

.magtv-header .landing-header {
    display: grid !important;
    grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
    gap: 20px;
}

.magtv-header-brand {
    justify-self: start;
}

.magtv-header-nav {
    justify-self: center;
}

.magtv-header-nav .container-fluid {
    justify-content: center;
}

.magtv-header #header-menu {
    align-items: center;
    justify-content: center;
}

.magtv-header-actions {
    justify-self: end;
}

.magtv-header-nav .offcanvas-header {
    display: none;
}

.magtv-header .nav-link,
.magtv-header .nav-link strong,
.magtv-header .item-name {
    color: var(--magtv-black);
    letter-spacing: 0;
    transition: color 220ms ease, transform 220ms ease;
}

.magtv-header .nav-link:hover,
.magtv-header .nav-link:focus {
    color: var(--magtv-red);
    transform: translateY(-2px);
}

.magtv-header .nav-link::after {
    background: var(--magtv-red);
    border-radius: 999px;
    content: "";
    display: block;
    height: 2px;
    margin-top: 5px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 220ms ease;
    width: 100%;
}

.magtv-header .nav-link:hover::after,
.magtv-header .nav-link:focus::after {
    transform: scaleX(1);
}

.magtv-header .magtv-contact-link,
.magtv-header .magtv-contact-link:hover,
.magtv-header .magtv-contact-link:focus {
    background: var(--magtv-red);
    border-radius: 999px;
    color: var(--magtv-white);
    overflow: hidden;
    padding-left: 18px;
    padding-right: 18px;
    position: relative;
    transform: translateY(0);
    transition: background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.magtv-header .magtv-contact-link:hover,
.magtv-header .magtv-contact-link:focus {
    background: #d93c38;
    box-shadow: 0 10px 22px rgba(237, 72, 67, 0.28);
    transform: translateY(-2px);
}

.magtv-header .magtv-contact-link::after {
    display: none;
}

.magtv-header .magtv-contact-link .item-name {
    color: var(--magtv-white);
}

.navbar-toggler-icon {
    filter: none;
}

.magtv-menu-close {
    align-items: center;
    background: var(--magtv-red);
    border: 0;
    border-radius: 50%;
    color: var(--magtv-white);
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.magtv-menu-close i {
    color: var(--magtv-white);
}

.magtv-logo {
    align-items: center;
    display: inline-flex;
    gap: 10px;
    letter-spacing: 0;
    line-height: 1;
    min-height: 44px;
    text-decoration: none;
    transition: transform 220ms ease;
}

.magtv-logo:hover {
    transform: translateY(-1px);
}

.magtv-logo-bg {
    align-items: center;
    background: var(--magtv-white);
    border-radius: 6px;
    display: inline-flex;
    justify-content: center;
    padding: 4px 6px;
}

.magtv-logo-img {
    display: block;
    height: 46px;
    object-fit: contain;
    width: auto;
}

.magtv-logo-text,
.magtv-logo-mark {
    color: var(--magtv-black);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0;
    white-space: nowrap;
}

.magtv-logo-sub {
    background: var(--magtv-red);
    border-radius: 4px;
    color: var(--magtv-white);
    font-size: 14px;
    font-weight: 400;
    padding: 5px 7px;
}

.magtv-header .live .btn-icon,
.iq-button .btn,
#back-to-top .btn {
    background: var(--magtv-red);
    color: var(--magtv-white);
}

.magtv-header .live .btn-icon i,
.iq-button .btn i,
.iq-button .btn .button-text {
    color: var(--magtv-white);
}

.iq-main-slider {
    background: var(--magtv-white);
}

.banner-home-swiper {
    border-bottom: 1px solid var(--magtv-gray);
}

.banner-home-swiper-image {
    background: var(--magtv-white);
}

.magtv-youtube-hero iframe {
    border: 0;
    height: 100%;
    inset: 0;
    pointer-events: none;
    position: absolute;
    width: 100%;
}

.magtv-hero-placeholder {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(237, 72, 67, 0.12), rgba(221, 220, 221, 0.48)),
        var(--magtv-white);
    display: flex;
    height: 100%;
    justify-content: center;
    min-height: 520px;
    position: relative;
}

.magtv-hero-placeholder::before {
    border: 1px solid var(--magtv-gray);
    border-radius: 8px;
    content: "";
    height: min(52vw, 360px);
    max-width: 680px;
    position: absolute;
    width: min(78vw, 680px);
}

.magtv-hero-placeholder span {
    color: rgba(21, 13, 18, 0.18);
    font-family: var(--magtv-display-font);
    font-size: clamp(40px, 9vw, 118px);
    font-weight: 300;
    letter-spacing: 0;
    line-height: 1;
}

.slider-inner {
    color: var(--magtv-black);
}

.magtv-kicker {
    color: var(--magtv-red);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.texture-text,
.texture-text.big-font,
.main-title {
    background: none;
    color: var(--magtv-black);
    -webkit-text-fill-color: var(--magtv-black);
}

.slider-ratting span {
    color: var(--magtv-black) !important;
}

.magtv-section-note {
    color: rgba(21, 13, 18, 0.68);
    margin: 0;
    max-width: 620px;
}

.section-padding,
.section-padding-top {
    background: var(--magtv-white);
}

.magtv-last-section {
    padding-bottom: 5rem;
}

.magtv-static-card,
.magtv-channel-card {
    background: var(--magtv-white);
    border: 1px solid var(--magtv-gray);
    border-radius: 8px;
    height: 100%;
    overflow: hidden;
}

.magtv-static-card .img-box,
.magtv-channel-card .img-box {
    aspect-ratio: 16 / 9;
}

.magtv-placeholder-box {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(237, 72, 67, 0.14), rgba(221, 220, 221, 0.58)),
        var(--magtv-white);
    color: rgba(21, 13, 18, 0.32);
    display: flex;
    font-size: 22px;
    font-weight: 300;
    height: 100%;
    justify-content: center;
    min-height: 180px;
}

.magtv-static-card .card-body,
.magtv-channel-card .card-body {
    padding: 18px;
}

.magtv-static-card h5,
.magtv-channel-card h5 {
    color: var(--magtv-black);
    font-size: 20px;
    margin-bottom: 8px;
}

.magtv-static-card p,
.magtv-channel-card p {
    color: rgba(21, 13, 18, 0.68);
    margin-bottom: 0;
}

.magtv-footer {
    background: var(--magtv-white);
    border-top: 4px solid var(--magtv-red);
    color: var(--magtv-black);
}

.magtv-footer .footer-link-title,
.magtv-footer p {
    color: var(--magtv-black);
}

.magtv-footer .footer-top {
    padding: 3.625rem 0;
}

.magtv-footer .footer-logo {
    margin-bottom: 1.25rem;
}

.magtv-footer .magtv-logo-img {
    height: 74px;
}

.magtv-footer .magtv-logo-text {
    font-size: 28px;
}

.footer-brand-title {
    color: var(--magtv-black);
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.magtv-footer-text,
.magtv-footer-address,
.magtv-footer-email {
    color: rgba(21, 13, 18, 0.7);
    line-height: 1.65;
    max-width: 420px;
}

.magtv-contact-list {
    display: grid;
    gap: 10px;
    margin-bottom: 1rem;
}

.magtv-footer-address,
.magtv-footer-email {
    align-items: flex-start;
    display: flex;
    gap: 10px;
    margin-bottom: 0;
}

.magtv-footer-address i,
.magtv-footer-email i {
    align-items: center;
    background: rgba(237, 72, 67, 0.12);
    border-radius: 50%;
    color: var(--magtv-red);
    display: inline-flex;
    flex: 0 0 34px;
    height: 34px;
    justify-content: center;
    margin-top: 1px;
    width: 34px;
}

.magtv-footer-email {
    margin-bottom: 0.75rem;
}

.magtv-footer a,
.magtv-footer .footer-menu a {
    color: var(--magtv-black);
    letter-spacing: 0;
}

.magtv-footer a:hover {
    color: var(--magtv-red);
}

.magtv-footer-contact,
.magtv-footer-contact:hover,
.magtv-footer .footer-menu a.magtv-footer-contact,
.magtv-footer .footer-menu a.magtv-footer-contact:hover {
    background: var(--magtv-red);
    border-radius: 999px;
    color: var(--magtv-white) !important;
    display: inline-block;
    margin: 0 0 0 8px;
    padding: 7px 16px;
}

.magtv-footer .footer-bottom {
    background: var(--magtv-white);
    border-top: 1px solid var(--magtv-gray);
    padding: 1.3rem 0;
}

.magtv-footer .footer-bottom p {
    color: var(--magtv-black);
    margin-bottom: 0;
}

.widget_social_media a {
    background: var(--magtv-red);
    color: var(--magtv-white) !important;
}

.magtv-footer-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.magtv-social-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0 !important;
    padding: 0;
}

.magtv-social-links li {
    display: block;
    margin: 0;
    padding: 0;
}

.magtv-social-links a {
    align-items: center;
    background: transparent;
    border: 1px solid var(--magtv-gray);
    border-radius: 999px;
    color: var(--magtv-black) !important;
    display: inline-flex;
    gap: 10px;
    height: 42px;
    justify-content: flex-start;
    line-height: 1;
    padding: 5px 14px 5px 6px;
    position: static;
    text-decoration: none;
    white-space: nowrap;
}

.magtv-social-links a::before {
    content: none;
}

.magtv-social-links a i {
    align-items: center;
    background: var(--magtv-red);
    border-radius: 50%;
    color: var(--magtv-white);
    display: inline-flex;
    flex: 0 0 32px;
    height: 32px;
    justify-content: center;
    line-height: 1;
    width: 32px;
}

.magtv-social-links a span {
    color: var(--magtv-black);
    line-height: 1;
    position: static;
    transform: none;
}

.magtv-page-hero {
    background: var(--magtv-white);
    border-bottom: 1px solid var(--magtv-gray);
    overflow: hidden;
    padding: 8.5rem 0 3rem;
    position: relative;
}

.magtv-hero-grid,
.magtv-hero-cube {
    --parallax-y: 0px;
    pointer-events: none;
    position: absolute;
    will-change: transform;
}

.magtv-hero-grid {
    background:
        radial-gradient(circle at 82% 26%, rgba(237, 72, 67, 0.16) 0 5px, transparent 6px),
        radial-gradient(circle at 72% 66%, rgba(237, 72, 67, 0.12) 0 4px, transparent 5px),
        linear-gradient(90deg, rgba(21, 13, 18, 0.055) 1px, transparent 1px),
        linear-gradient(0deg, rgba(21, 13, 18, 0.055) 1px, transparent 1px);
    background-size: auto, auto, 42px 42px, 42px 42px;
    inset: -40px 0;
    transform: translate3d(0, var(--parallax-y), 0);
}

.magtv-hero-cube {
    border: 1px solid rgba(21, 13, 18, 0.16);
    border-radius: 18px;
    transform: translate3d(0, var(--parallax-y), 0) rotate(10deg);
}

.magtv-hero-cube-main {
    background:
        linear-gradient(90deg, rgba(21, 13, 18, 0.18) 1px, transparent 1px),
        linear-gradient(0deg, rgba(21, 13, 18, 0.18) 1px, transparent 1px),
        linear-gradient(135deg, rgba(237, 72, 67, 0.9) 0 33%, transparent 33% 66%, rgba(237, 72, 67, 0.86) 66% 100%),
        rgba(254, 253, 253, 0.82);
    background-size: 56px 56px, 56px 56px, 168px 168px, auto;
    height: 168px;
    right: 8%;
    top: 72px;
    width: 168px;
}

.magtv-hero-cube-soft {
    background:
        linear-gradient(90deg, rgba(21, 13, 18, 0.12) 1px, transparent 1px),
        linear-gradient(0deg, rgba(21, 13, 18, 0.12) 1px, transparent 1px),
        rgba(254, 253, 253, 0.64);
    background-size: 34px 34px;
    bottom: -54px;
    height: 136px;
    right: 24%;
    width: 136px;
}

.magtv-page-hero-inner {
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.magtv-player-section {
    background: var(--magtv-white);
    padding-top: 3rem;
}

.magtv-player-layout {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    padding: 0 1rem;
}

.magtv-player-main {
    min-width: 0;
}

.magtv-player-frame {
    background: var(--magtv-black);
    border: 1px solid var(--magtv-gray);
    border-radius: 8px;
    overflow: hidden;
}

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

.magtv-player-copy {
    padding-top: 22px;
}

.magtv-player-copy h2 {
    color: var(--magtv-black);
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 400;
    margin-bottom: 10px;
}

.magtv-player-copy p:last-child {
    color: rgba(21, 13, 18, 0.68);
    margin-bottom: 0;
}

.magtv-playlist-panel {
    background: var(--magtv-white);
    border: 1px solid var(--magtv-gray);
    border-radius: 8px;
    padding: 16px;
}

.magtv-playlist-heading {
    align-items: center;
    border-bottom: 1px solid var(--magtv-gray);
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 14px;
}

.magtv-playlist-heading h3 {
    color: var(--magtv-black);
    font-size: 1.35rem;
    font-weight: 400;
    margin: 0;
}

.magtv-playlist-heading a {
    color: var(--magtv-red);
}

.magtv-playlist-item {
    align-items: center;
    background: var(--magtv-white);
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--magtv-black);
    display: grid;
    gap: 14px;
    grid-template-columns: 112px 1fr;
    margin-bottom: 12px;
    padding: 10px;
    text-align: left;
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
    width: 100%;
}

.magtv-playlist-item:hover,
.magtv-playlist-item:focus,
.magtv-playlist-item.is-active {
    border-color: var(--magtv-red);
    box-shadow: 0 12px 24px rgba(21, 13, 18, 0.08);
    transform: translateY(-2px);
}

.magtv-playlist-thumb {
    background:
        linear-gradient(135deg, rgba(237, 72, 67, 0.18), rgba(221, 220, 221, 0.72)),
        var(--magtv-white);
    border-radius: 6px;
    display: block;
    overflow: hidden;
}

.magtv-playlist-thumb img {
    aspect-ratio: 16 / 9;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.magtv-playlist-text {
    min-width: 0;
}

.magtv-playlist-text strong,
.magtv-playlist-text small {
    display: block;
}

.magtv-playlist-text strong {
    color: var(--magtv-black);
    font-weight: 400;
    line-height: 1.35;
    margin-bottom: 4px;
}

.magtv-playlist-text small {
    color: rgba(21, 13, 18, 0.62);
    line-height: 1.35;
}

.component-error {
    background: var(--magtv-red);
    color: var(--magtv-white);
    padding: 12px 16px;
}

@media (max-width: 1199px) {
    body.magtv-menu-lock {
        overflow: hidden;
    }

    .screen-darken.active {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }

    .magtv-header {
        position: relative;
        z-index: 1040;
    }

    .magtv-header .landing-header {
        display: flex !important;
    }

    .magtv-header-brand {
        flex: 1 1 auto;
    }

    .magtv-header-actions {
        flex: 0 0 auto;
    }

    .magtv-menu-toggle {
        align-items: center;
        background: var(--magtv-white);
        border: 1px solid var(--magtv-gray);
        border-radius: 8px;
        display: inline-flex;
        flex-direction: column;
        gap: 5px;
        height: 42px;
        justify-content: center;
        padding: 0;
        width: 46px;
    }

    .magtv-menu-toggle span {
        background: var(--magtv-black);
        border-radius: 999px;
        display: block;
        height: 2px;
        transition: background 220ms ease, transform 220ms ease;
        width: 22px;
    }

    .magtv-menu-toggle:hover span,
    .magtv-menu-toggle:focus span {
        background: var(--magtv-red);
    }

    .magtv-header-nav {
        background: var(--magtv-white);
        border-left: 1px solid var(--magtv-gray);
        bottom: 0;
        box-shadow: -18px 0 40px rgba(21, 13, 18, 0.12);
        display: block !important;
        max-width: 340px;
        overflow-y: auto;
        padding: 18px;
        position: fixed;
        right: 0;
        top: 0;
        transform: translateX(104%);
        transition: transform 260ms ease;
        width: 86vw;
        z-index: 1050;
    }

    .magtv-header-nav.is-menu-open {
        transform: translateX(0);
    }

    .magtv-header-nav .container-fluid {
        align-items: stretch;
        display: block;
        height: 100%;
        justify-content: flex-start;
    }

    .magtv-header-nav .offcanvas-header {
        align-items: center;
        border-bottom: 1px solid var(--magtv-gray);
        display: flex;
        justify-content: space-between;
        margin-bottom: 18px;
        padding-bottom: 16px;
    }

    .magtv-header #header-menu {
        align-items: stretch;
        display: grid;
        gap: 8px;
        justify-content: stretch;
    }

    .magtv-header #header-menu .nav-link {
        border-radius: 8px;
        display: flex;
        padding: 12px 10px;
    }

    .magtv-header #header-menu .nav-link:hover,
    .magtv-header #header-menu .nav-link:focus {
        background: rgba(237, 72, 67, 0.08);
        transform: none;
    }

    .magtv-header .magtv-contact-link {
        display: inline-flex;
        justify-content: center;
        margin-top: 8px;
        width: 100%;
    }
}

@media (max-width: 767px) {
    body.magtv-menu-lock {
        overflow: hidden;
    }

    .screen-darken.active {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }

    .magtv-logo-mark {
        font-size: 24px;
    }

    .magtv-logo-sub {
        font-size: 12px;
    }

    .magtv-logo-img {
        height: 40px;
    }

    .magtv-logo-text {
        font-size: 18px;
    }

    .magtv-header {
        position: relative;
        z-index: 1040;
    }

    .magtv-header .landing-header {
        display: flex !important;
    }

    .magtv-header-brand {
        flex: 1 1 auto;
    }

    .magtv-header-actions {
        flex: 0 0 auto;
    }

    .magtv-menu-toggle {
        align-items: center;
        background: var(--magtv-white);
        border: 1px solid var(--magtv-gray);
        border-radius: 8px;
        display: inline-flex;
        flex-direction: column;
        gap: 5px;
        height: 42px;
        justify-content: center;
        padding: 0;
        width: 46px;
    }

    .magtv-menu-toggle span {
        background: var(--magtv-black);
        border-radius: 999px;
        display: block;
        height: 2px;
        transition: background 220ms ease, transform 220ms ease;
        width: 22px;
    }

    .magtv-menu-toggle:hover span,
    .magtv-menu-toggle:focus span {
        background: var(--magtv-red);
    }

    .magtv-header-nav {
        background: var(--magtv-white);
        border-left: 1px solid var(--magtv-gray);
        bottom: 0;
        box-shadow: -18px 0 40px rgba(21, 13, 18, 0.12);
        display: block !important;
        max-width: 340px;
        overflow-y: auto;
        padding: 18px;
        position: fixed;
        right: 0;
        top: 0;
        transform: translateX(104%);
        transition: transform 260ms ease;
        width: 86vw;
        z-index: 1050;
    }

    .magtv-header-nav.is-menu-open {
        transform: translateX(0);
    }

    .magtv-header-nav .container-fluid {
        align-items: stretch;
        display: block;
        height: 100%;
        justify-content: flex-start;
    }

    .magtv-header-nav .offcanvas-header {
        align-items: center;
        border-bottom: 1px solid var(--magtv-gray);
        display: flex;
        justify-content: space-between;
        margin-bottom: 18px;
        padding-bottom: 16px;
    }

    .magtv-header #header-menu {
        align-items: stretch;
        display: grid;
        gap: 8px;
        justify-content: stretch;
    }

    .magtv-header #header-menu .nav-link {
        border-radius: 8px;
        display: flex;
        padding: 12px 10px;
    }

    .magtv-header #header-menu .nav-link:hover,
    .magtv-header #header-menu .nav-link:focus {
        background: rgba(237, 72, 67, 0.08);
        transform: none;
    }

    .magtv-header .magtv-contact-link {
        display: inline-flex;
        justify-content: center;
        margin-top: 8px;
        width: 100%;
    }

    .texture-text.big-font {
        font-size: 42px;
        white-space: normal;
    }

    .homepage #home-banner-slider,
    .homepage #home-banner-slider .home-slider,
    .homepage #home-banner-slider .swiper-slide,
    .homepage #home-banner-slider .slider-inner {
        min-height: 100vh;
        min-height: 100svh;
    }

    .homepage #home-banner-slider .banner-home-swiper-image {
        height: 100vh;
        height: 100svh;
    }

    .magtv-hero-placeholder {
        min-height: 100vh;
        min-height: 100svh;
    }

    .magtv-page-hero {
        padding-top: 6.5rem;
    }

    .magtv-player-layout {
        grid-template-columns: 1fr;
    }

    .magtv-playlist-item {
        grid-template-columns: 96px 1fr;
    }

}
