
.zi-live-page {
    color: #e0e0e0;
    font-family: 'Segoe UI', sans-serif;
    padding: 50px !important;
}

.zi-live-page h2 {
    margin: 20px 0 12px;
    color: #fff;
    text-shadow: 0 0 2px #ffd700;
    animation: neonRGB 5s linear infinite;
}

@keyframes neonRGB {
    0% {
        text-shadow: 0 0 5px #ffd700;
    }

    25% {
        text-shadow: 0 0 5px #ff00ff;
    }

    50% {
        text-shadow: 0 0 5px #00ffff;
    }

    75% {
        text-shadow: 0 0 5px #ff005c;
    }

    100% {
        text-shadow: 0 0 5px #ffd700;
    }
}

.zi-live-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    background: rgba(20, 20, 20, 0.6);
    padding: 10px 15px;
    border-radius: 8px;
    backdrop-filter: blur(6px);
}


.zi-live-search {
    flex: 1;
    display: flex;
}

#zi-live-search-input {
    flex: 1;
    height: 36px;
    padding: 8px 12px;
    border: 1px solid #333333;
    border-radius: 6px 0 0 6px;
    background: #111111;
    color: #e0e0e0;
    box-shadow: inset 0 0 4px #444444, 0 0 2px rgba(212, 175, 55, 0.3);
    transition: box-shadow 0.3s, border-color 0.3s;
}

#zi-live-search-input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow:
        inset 0 0 6px #d4af37,
        0 0 10px rgba(212, 175, 55, 0.7);
}

.zi-live-sort select {
    padding: 6px 10px;
    background: #1f1f1f;
    color: #e0e0e0;
    border: 1px solid #444444;
    border-radius: 6px;
    box-shadow: inset 0 0 4px #444444;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
    cursor: pointer;
}

.zi-live-sort select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow:
        inset 0 0 6px #d4af37,
        0 0 8px rgba(212, 175, 55, 0.5);
    transform: scale(1.02);
}


.zi-live-carousel {
    position: relative;
    margin: 50px 0 40px;
    overflow: hidden;
    background: rgba(10, 10, 10, 0.8);
    padding: 10px;
    border: 1px solid rgba(212, 175, 55, 0.6);
    border-radius: 10px;
    box-shadow:
        0 0 10px rgba(212, 175, 55, 0.4),
        inset 0 0 30px rgba(100, 100, 100, 0.2);
}

.zi-live-carousel-container {
    display: flex;
    gap: 30px;
    padding: 20px;
    margin: 0 40px;
    overflow-x: auto;
    scroll-behavior: smooth;
    transition: transform 0.4s ease;
    scrollbar-width: none;
}

.zi-live-carousel-item {
    flex: 0 0 300px;
    background: #121212;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
    position: relative;
    box-shadow: 0 0 4px rgba(200, 200, 200, 0.1);
}

.zi-live-carousel-item:hover {
    transform: scale(1.07);
    box-shadow:
        0 0 8px #666666,
        0 0 12px rgba(212, 175, 55, 0.8),
        inset 0 0 6px rgba(212, 175, 55, 0.5);
    opacity: 1;
}

.zi-live-carousel-video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: brightness(60%);
    transition: filter 0.3s ease;
}

.zi-live-carousel-item:hover .zi-live-carousel-video {
    filter: brightness(100%);
}

.zi-live-carousel-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.8);
}

.zi-live-carousel-info h3 {
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 0 2px #d4af37;
}

.zi-live-carousel-info p {
    font-size: 14px;
    margin: 5px 0;
    opacity: 0.8;
}

.zi-live-carousel-info span {
    font-size: 14px;
    color: #d4af37;
    text-shadow: 0 0 2px #d4af37;
}

.zi-live-carousel-prev,
.zi-live-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #444444, #d4af37);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow:
        0 0 6px #666666,
        0 0 8px rgba(212, 175, 55, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    z-index: 10;
}

.zi-live-carousel-prev {
    left: 10px;
}

.zi-live-carousel-next {
    right: 10px;
}

.zi-live-carousel-prev:hover,
.zi-live-carousel-next:hover {
    transform: translateY(-50%) scale(1.2);
    box-shadow:
        0 0 12px #d4af37,
        inset 0 0 6px #d4af37;
    color: #000;
}

.zi-live-carousel-pagination {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.zi-live-carousel-pagination span {
    width: 12px;
    height: 12px;
    background: #444444;
    border-radius: 50%;
    opacity: 0.6;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.zi-live-carousel-pagination span.active {
    background: #d4af37;
    opacity: 1;
    transform: scale(1.4);
    box-shadow:
        0 0 6px #d4af37,
        0 0 8px #d4af37;
}


.zi-live-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    background: rgba(20, 20, 20, 0.6);
    padding: 10px 15px;
    border-radius: 8px;
    backdrop-filter: blur(6px);
}

.zi-live-go-back,
#zi-live-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #444444, #d4af37);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 0 4px #444444, 0 0 6px rgba(212, 175, 55, 0.7);
    transition: transform 0.2s, box-shadow 0.2s;
    animation: btnPulse 3s ease-in-out infinite;
}

.zi-live-go-back:hover,
#zi-live-search-btn:hover {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 0 10px #666666, 0 0 12px rgba(212, 175, 55, 0.8);
}


.zi-live-go-back .home-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.zi-live-go-back .home-link span {
    margin-top: 0.25rem;
    font-size: 0.9rem;
}


@keyframes btnPulse {

    0%,
    100% {
        box-shadow: 0 0 4px #444444, 0 0 6px rgba(212, 175, 55, 0.7);
    }

    50% {
        box-shadow: 0 0 8px #666666, 0 0 12px rgba(212, 175, 55, 0.8);
    }
}

.zi-live-search {
    flex: 1;
    display: flex;
}

#zi-live-search-input {
    flex: 1;
    height: 36px;
    padding: 8px 12px;
    border: 1px solid #333333;
    border-radius: 6px 0 0 6px;
    background: #111111;
    color: #e0e0e0;
    box-shadow: inset 0 0 4px #444444, 0 0 2px rgba(212, 175, 55, 0.3);
    transition: box-shadow 0.3s, border-color 0.3s;
}

#zi-live-search-input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow:
        inset 0 0 6px #d4af37,
        0 0 10px rgba(212, 175, 55, 0.7);
}

.zi-live-sort select {
    padding: 6px 10px;
    background: #1f1f1f;
    color: #e0e0e0;
    border: 1px solid #444444;
    border-radius: 6px;
    box-shadow: inset 0 0 4px #444444;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
    cursor: pointer;
}

.zi-live-sort select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow:
        inset 0 0 6px #d4af37,
        0 0 8px rgba(212, 175, 55, 0.5);
    transform: scale(1.02);
}



.zi-live-carousel {
    position: relative;
    margin: 50px 0 40px;
    overflow: hidden;
    background: rgba(10, 10, 10, 0.8);
    padding: 10px;
    border: 1px solid rgba(212, 175, 55, 0.6);
    border-radius: 10px;
    box-shadow:
        0 0 10px rgba(212, 175, 55, 0.4),
        inset 0 0 30px rgba(100, 100, 100, 0.2);
}

.zi-live-carousel-container {
    display: flex;
    gap: 30px;
    padding: 20px;
    margin: 0 40px;
    overflow-x: auto;
    scroll-behavior: smooth;
    transition: transform 0.4s ease;
    scrollbar-width: none;
}

.zi-live-carousel-item {
    flex: 0 0 300px;
    background: #121212;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
    position: relative;
    box-shadow: 0 0 4px rgba(200, 200, 200, 0.1);
}

.zi-live-carousel-item:hover {
    transform: scale(1.07);
    box-shadow:
        0 0 8px #666666,
        0 0 12px rgba(212, 175, 55, 0.8),
        inset 0 0 6px rgba(212, 175, 55, 0.5);
    opacity: 1;
}

.zi-live-carousel-video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: brightness(60%);
    transition: filter 0.3s ease;
}

.zi-live-carousel-item:hover .zi-live-carousel-video {
    filter: brightness(100%);
}

.zi-live-carousel-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.8);
}

.zi-live-carousel-info h3 {
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 0 2px #d4af37;
}

.zi-live-carousel-info p {
    font-size: 14px;
    margin: 5px 0;
    opacity: 0.8;
}

.zi-live-carousel-info span {
    font-size: 14px;
    color: #d4af37;
    text-shadow: 0 0 2px #d4af37;
}

.zi-live-carousel-prev,
.zi-live-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #444444, #d4af37);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow:
        0 0 6px #666666,
        0 0 8px rgba(212, 175, 55, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    z-index: 10;
}

.zi-live-carousel-prev {
    left: 10px;
}

.zi-live-carousel-next {
    right: 10px;
}

.zi-live-carousel-prev:hover,
.zi-live-carousel-next:hover {
    transform: translateY(-50%) scale(1.2);
    box-shadow:
        0 0 12px #d4af37,
        inset 0 0 6px #d4af37;
    color: #000;
}

.zi-live-carousel-pagination {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.zi-live-carousel-pagination span {
    width: 12px;
    height: 12px;
    background: #444444;
    border-radius: 50%;
    opacity: 0.6;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.zi-live-carousel-pagination span.active {
    background: #d4af37;
    opacity: 1;
    transform: scale(1.4);
    box-shadow:
        0 0 6px #d4af37,
        0 0 8px #d4af37;
}



.zi-live-categories-scroll {
    margin-bottom: 40px;
}

.zi-live-categories-scroll h2 {
    margin-bottom: 20px;
    font-size: 1.6rem;
    color: #d4af37;
    font-weight: bold;
    text-align: center;
    text-shadow:
        0 0 3px #d4af37,
        0 0 6px #d4af37;
    animation: titleNeon 2.5s ease-in-out infinite alternate;
}

@keyframes titleNeon {
    from {
        text-shadow: 0 0 3px #d4af37, 0 0 6px #d4af37;
    }

    to {
        text-shadow: 0 0 6px #ffea70, 0 0 12px #ffea70;
    }
}

.zi-live-categories-scroll .zi-live-categories-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.zi-live-categories-scroll .zi-live-category {
    position: relative;
    min-width: 250px;
    height: 60px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #333333, #d4af37);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.5),
        0 0 6px #666666,
        0 0 8px rgba(212, 175, 55, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.zi-live-categories-scroll .zi-live-category .category-icon {
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%) rotate(15deg);
    height: 50px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.6));
}

.zi-live-categories-scroll .zi-live-category:hover {
    transform: scale(1.05);
    box-shadow:
        0 8px 15px rgba(0, 0, 0, 0.7),
        0 0 10px #666666,
        0 0 12px rgba(212, 175, 55, 0.8),
        inset 0 0 6px rgba(212, 175, 55, 0.5);
}

.zi-live-categories-scroll .zi-live-category:hover .category-icon {
    transform: translateY(-50%) rotate(0deg) translateX(5px);
}

.zi-live-categories-scroll .zi-live-category:active {
    transform: scale(0.98);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.6),
        inset 0 0 4px rgba(212, 175, 55, 0.4);
}

.zi-live-categories-scroll .collapsed .zi-live-category:nth-child(n+5) {
    display: none;
}


.zi-live-stream-container,
.zi-live-trending-container,
.zi-live-games-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.zi-live-stream,
.zi-live-trending-streamer,
.zi-live-game {
    background: #121212;
    border: 1px solid #333333;
    border-radius: 10px;
    box-shadow:
        inset 0 0 6px rgba(0, 0, 0, 0.7),
        0 3px 10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    animation: cardGlow 5s ease-in-out infinite alternate;
}

@keyframes cardGlow {
    from {
        box-shadow:
            inset 0 0 6px rgba(0, 0, 0, 0.7),
            0 3px 10px rgba(0, 0, 0, 0.5);
        border-color: #333333;
    }

    to {
        box-shadow:
            inset 0 0 8px rgba(100, 100, 100, 0.4),
            0 6px 18px rgba(212, 175, 55, 0.4);
        border-color: #d4af37;
    }
}

.zi-live-stream:hover,
.zi-live-trending-streamer:hover,
.zi-live-game:hover {
    transform: translateY(-8px);
    box-shadow:
        inset 0 0 8px rgba(0, 0, 0, 0.8),
        0 6px 20px rgba(0, 0, 0, 0.6),
        0 0 10px #666666,
        0 0 14px rgba(212, 175, 55, 0.8);
    border-color: #d4af37;
}

.zi-live-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #d4af37;
    color: #1a1a1a;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 3px;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    animation: badgePulse 1.5s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.zi-live-stream-img,
.zi-live-trending-img,
.zi-live-game-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-bottom: 2px solid #d4af37;
    transition: filter 0.3s ease;
    filter: brightness(70%);
}

.zi-live-stream:hover .zi-live-stream-img,
.zi-live-trending-streamer:hover .zi-live-trending-img,
.zi-live-game:hover .zi-live-game-img {
    filter: brightness(100%);
}

.zi-live-stream-info,
.zi-live-trending-streamer p,
.zi-live-game p {
    padding: 12px;
    color: #e0e0e0;
    font-family: Arial, sans-serif;
}

.zi-live-stream-info h3,
.zi-live-trending-streamer h4,
.zi-live-game h4 {
    margin-bottom: 6px;
    font-size: 1.1rem;
    color: #d4af37;
    text-shadow: 0 0 2px #d4af37, 0 0 4px #d4af37;
}

.zi-live-stream-info span,
.zi-live-trending-streamer span,
.zi-live-game span {
    display: block;
    font-size: 0.85rem;
    color: #cccccc;
    text-shadow: 0 0 1px #000000;
}


.zi-live-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    z-index: 1000;
}

.zi-live-modal.zi-live-modal--visible {
    display: block;
}

.zi-live-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    background: #111111;
    border: 2px solid #d4af37;
    border-radius: 10px;
    box-shadow:
        inset 0 0 10px rgba(212, 175, 55, 0.2),
        0 10px 30px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
    color: #e0e0e0;
}

.zi-live-modal-content>h2 {
    margin: 0;
    padding: 16px 24px;
    background: linear-gradient(135deg, #444444, #d4af37);
    color: #ffffff;
    font-size: 1.4rem;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid #333333;
}

.zi-live-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    transition: transform .2s, color .2s;
}

.zi-live-modal-close:hover {
    transform: rotate(90deg);
    color: #444444;
}

.zi-live-modal-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0;
    padding: 16px 24px;
    list-style: none;
    flex: 1;
    overflow-y: auto;
}

.zi-live-modal-list li {
    background: #1e1e1e;
    padding: 12px;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
    transition: background .2s, transform .2s, box-shadow .2s;
}

.zi-live-modal-list li:hover {
    background: #222222;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.7), 0 0 6px rgba(212, 175, 55, 0.8);
}

.zi-live-modal-list li .zi-live-stream-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.zi-live-modal-list li h3 {
    margin: 0 0 4px;
    font-size: 1rem;
    color: #d4af37;
    text-shadow: 0 0 2px #d4af37;
}

.zi-live-modal-list li p {
    margin: 0;
    font-size: 0.9rem;
    color: #e0e0e0;
}

.zi-live-modal-list li span {
    font-size: 0.85rem;
    color: #cccccc;
    text-align: right;
}

#zi-live-modal-all-trending .zi-live-modal-list {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width:900px) {
    #zi-live-modal-all-trending .zi-live-modal-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:600px) {
    #zi-live-modal-all-trending .zi-live-modal-list {
        grid-template-columns: 1fr;
    }
}

.zi-live-modal-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
    background: #111111;
    border-top: 1px solid #333333;
}

.zi-live-modal-pagination button {
    background: transparent;
    color: #e0e0e0;
    border: 1px solid #444444;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background .2s, box-shadow .2s;
}

.zi-live-modal-pagination button:hover {
    background: #333333;
    box-shadow: 0 0 6px #d4af37;
}

.zi-live-modal-pagination button.active {
    background: #d4af37;
    color: #111111;
    border-color: #d4af37;
}


#zi-live-show-more,
#zi-live-view-all {
    display: inline-block;
    padding: 10px 24px;
    margin: 8px;
    border-radius: 24px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, box-shadow .2s;
}

#zi-live-show-more {
    background: #d4af37;
    color: #1a1a1a;
    border: none;
}

#zi-live-show-more:hover {
    background: #bfa652;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

#zi-live-view-all {
    background: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
}

#zi-live-view-all:hover {
    background: #d4af37;
    color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

@media (max-width:900px) {
    .zi-live-modal-content {
        width: 95%;
    }

    .zi-live-modal-list {
        padding: 12px 16px;
    }
}

@media (max-width:600px) {
    .zi-live-modal-content {
        width: 100%;
        padding: 12px;
        border-radius: 0;
    }

    .zi-live-modal-list {
        padding: 8px 12px;
    }

    #zi-live-show-more,
    #zi-live-view-all {
        width: 100%;
        margin: 6px 0;
    }
}

.zi-live-controls-more-trending,
.zi-live-controls-more {
    margin-top: 16px;
    text-align: center;
}

#zi-live-trending-show-more,
#zi-live-show-more {
    display: inline-block;
    padding: 10px 24px;
    margin: 8px;
    border-radius: 24px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #444444, #d4af37);
    background-size: 200% 200%;
    color: #fff;
    border: none;
    box-shadow: 0 0 6px #666666, 0 0 8px #d4af37;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

#zi-live-trending-show-more:hover,
#zi-live-show-more:hover {
    transform: scale(1.05);
    box-shadow: 0 0 12px #666666, 0 0 14px #d4af37;
}

#zi-live-trending-view-all,
#zi-live-view-all {
    display: inline-block;
    padding: 10px 24px;
    margin: 8px;
    border-radius: 24px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #444444, #d4af37);
    background-size: 200% 200%;
    color: #fff;
    border: none;
    box-shadow: 0 0 6px #666666, 0 0 8px #d4af37;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: gradientShift 4s ease infinite;
}

#zi-live-trending-view-all:hover,
#zi-live-view-all:hover {
    background: #d4af37;
    color: #1a1a1a;
    box-shadow: 0 0 12px #d4af37, inset 0 0 6px rgba(212, 175, 55, 0.5);
    transform: scale(1.05);
    animation: none;
}

.zi-live-stream,
.zi-live-trending-streamer {
    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease;
    overflow: hidden;
    max-height: 500px;
    opacity: 1;
}

.zi-live-stream.hidden,
.zi-live-trending-streamer.hidden {
    opacity: 0;
    transform: translateY(-10px);
    max-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.zi-live-stream-video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: brightness(70%);
    transition: filter 0.3s ease, box-shadow 0.3s ease;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6);
}

.zi-live-stream:hover .zi-live-stream-video {
    filter: brightness(100%);
    box-shadow: inset 0 0 8px rgba(212, 175, 55, 0.4);
}


#zi-live-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    transform: translateX(-250px);
    transition: transform 0.3s ease-in-out;
    z-index: 100;
    background: rgba(15, 15, 15, 0.95);
    border-right: 2px solid #d4af37;
    box-shadow:
        2px 0 8px rgba(0, 0, 0, 0.8),
        inset -2px 0 8px rgba(212, 175, 55, 0.3);
    color: #e0e0e0;
    padding: 20px;
    overflow-y: auto;
}

#zi-live-sidebar.open {
    transform: translateX(0);
}

#zi-sidebar-toggle {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translate(-10px, -50%);
    width: 40px;
    height: 80px;
    transition: transform 0.3s ease-in-out, background 0.2s ease, box-shadow 0.2s ease;
    z-index: 101;
    background: linear-gradient(135deg, #444444, #d4af37);
    background-size: 200% 200%;
    animation: toggleGradient 4s ease infinite;
    border: none;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 0 6px #666666, 0 0 8px rgba(212, 175, 55, 0.8);
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

@keyframes toggleGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

#zi-sidebar-toggle:hover {
    color: #d4af37;
    box-shadow: 0 0 12px #666666, 0 0 14px rgba(212, 175, 55, 0.8);
}

#zi-sidebar-toggle.open {
    transform: translate(250px, -50%);
}

#zi-live-sidebar h2 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.4rem;
    text-align: center;
    color: #d4af37;
    text-shadow: 0 0 3px #d4af37, 0 0 6px #d4af37;
    animation: headerNeon 2.5s ease-in-out infinite alternate;
}

@keyframes headerNeon {
    from {
        text-shadow: 0 0 3px #d4af37, 0 0 6px #d4af37;
    }

    to {
        text-shadow: 0 0 6px #ffea70, 0 0 12px #ffea70;
    }
}

#zi-live-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#zi-live-sidebar-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #444444;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}

#zi-live-sidebar-list li:hover {
    background: rgba(212, 175, 55, 0.1);
    box-shadow: inset 0 0 6px rgba(212, 175, 55, 0.3);
}

#zi-live-sidebar-list li span {
    font-size: 0.9rem;
    color: #d4af37;
    text-shadow: 0 0 2px #d4af37;
}

@media (max-width: 800px) {

    #zi-live-sidebar,
    #zi-sidebar-toggle {
        display: none;
    }
}




.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background-image: url(../images/images_theme/zi-live.png);
}

.particle {
    position: absolute;
    background: #ff005c;
    border-radius: 50%;
    opacity: 0.7;
    pointer-events: none;
    filter: blur(1.5px);
    animation: particleMovement 15s linear infinite, colorChange 5s linear infinite;
}

@keyframes particleMovement {
    0% {
        transform: translate(-10%, -10%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(110%, 110%) scale(1);
        opacity: 0.8;
    }
}

@keyframes colorChange {
    0% {
        background-color: #ff005c;
    }

    25% {
        background-color: #00d0ff;
    }

    50% {
        background-color: #ffd700;
    }

    75% {
        background-color: #00ff6a;
    }

    100% {
        background-color: #ff005c;
    }
}


.luxury-link {
    color: #ffd700;
    text-decoration: none;
}

.luxury-link.disabled {
    color: #ccc;
    cursor: not-allowed;
    pointer-events: none;
    text-decoration: none;
}