/**
 * LUDOMAN BET STREAMS PAGE STYLES
 * Стили для новой страницы трансляций с LiveTV
 * Интегрируется с существующими стилями Ludoman Bet
 */

/* ============================================
   NEW STREAMS PAGE STYLES
   ============================================ */

.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    animation: fadeIn 0.6s ease-in-out;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary, #FFD900);
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(255, 217, 0, 0.3);
    background: linear-gradient(135deg, var(--color-primary, #FFD900) 0%, var(--color-accent, #006CFF) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.livetv-widget {
    background: var(--color-surface, #17182E);
    border: 1px solid rgba(255, 217, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.livetv-widget:hover {
    border-color: var(--color-primary, #FFD900);
    box-shadow: 0 12px 40px rgba(255, 217, 0, 0.2);
    transform: translateY(-2px);
}

.livetv-widget iframe {
    width: 100%;
    height: 600px;
    border: none;
    background: #000;
    display: block;
    margin: 0;
    padding: 0;
}

.iframe-fallback {
    background: var(--color-surface, #17182E);
    color: var(--color-text-primary, #fff);
    padding: 40px;
    text-align: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 217, 0, 0.2);
}

.iframe-fallback p {
    margin-bottom: 20px;
    font-size: 16px;
}

.iframe-fallback ul {
    text-align: left;
    display: inline-block;
    margin: 20px 0;
}

.iframe-fallback li {
    margin-bottom: 10px;
    color: var(--color-text-secondary, rgba(255, 255, 255, 0.7));
}

.iframe-fallback a {
    color: var(--color-primary, #FFD900);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid var(--color-primary, #FFD900);
    border-radius: 8px;
    display: inline-block;
    transition: all 0.3s ease;
}

.iframe-fallback a:hover {
    background: var(--color-primary, #FFD900);
    color: var(--color-bg, #0D0E25);
}

.hint {
    text-align: center;
    color: var(--color-text-secondary, rgba(255, 255, 255, 0.7));
    font-size: 14px;
    line-height: 1.5;
    margin-top: 12px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-top,
.banner-bottom {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    min-height: 90px;
}

.banner-top .banner,
.banner-bottom .banner {
    width: 728px;
    max-width: 100%;
    height: 90px;
    background: linear-gradient(135deg, var(--color-surface, #17182E) 0%, var(--color-surface-light, #1F2037) 100%);
    border: 2px dashed rgba(255, 217, 0, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-disabled, rgba(255, 255, 255, 0.5));
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.banner-top .banner:hover,
.banner-bottom .banner:hover {
    border-color: var(--color-primary, #FFD900);
    background: linear-gradient(135deg, var(--color-surface-light, #1F2037) 0%, var(--color-surface, #17182E) 100%);
}

.banner-text {
    opacity: 0.7;
    font-size: 14px;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .page-wrapper {
        padding: 16px;
    }
    
    .page-title {
        font-size: 2rem;
        margin-bottom: 24px;
    }
    
    .livetv-widget iframe {
        height: 500px;
    }
    
    .banner-top .banner,
    .banner-bottom .banner {
        width: 100%;
        max-width: 728px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .page-wrapper {
        padding: 12px;
    }
    
    .page-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
        line-height: 1.2;
    }
    
    .livetv-widget {
        margin-top: 16px;
    }
    
    .livetv-widget iframe {
        height: 400px;
    }
    
    .hint {
        font-size: 13px;
        padding: 12px;
        margin-top: 8px;
    }
    
    .banner-top,
    .banner-bottom {
        margin: 16px 0;
        min-height: 70px;
    }
    
    .banner-top .banner,
    .banner-bottom .banner {
        height: 70px;
        font-size: 12px;
    }
}

/* Mobile Small (max-width: 480px) */
@media (max-width: 480px) {
    .page-wrapper {
        padding: 8px;
    }
    
    .page-title {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }
    
    .livetv-widget iframe {
        height: 300px;
    }
    
    .hint {
        font-size: 12px;
        padding: 10px;
    }
    
    .banner-top,
    .banner-bottom {
        margin: 12px 0;
        min-height: 60px;
    }
    
    .banner-top .banner,
    .banner-bottom .banner {
        height: 60px;
        font-size: 11px;
    }
}

.streams-status-section,
.featured-stream-section,
.live-streams-section,
.all-streams-section {
    margin-bottom: 40px;
}

.streams-status {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    padding: 20px;
    background: var(--color-background-secondary, #1a1a1a);
    border-radius: 8px;
    border: 1px solid var(--color-border, #333);
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: var(--color-background-tertiary, #2a2a2a);
    border-radius: 6px;
    border: 1px solid var(--color-border, #333);
}

.status-label {
    font-size: 14px;
    color: var(--color-text-secondary, #ccc);
    font-weight: 500;
}

.status-value {
    font-size: 14px;
    color: var(--color-text-primary, #fff);
    font-weight: 600;
}

.status-value.status-active {
    color: #4CAF50;
}

.btn-refresh {
    background: linear-gradient(135deg, var(--color-primary, #ff6b35) 0%, var(--color-secondary, #f7931e) 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-refresh:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.btn-refresh:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.featured-stream {
    background: var(--color-background-secondary, #1a1a1a);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border, #333);
}

/* ============================================
   STREAM CONTAINER
   ============================================ */

.stream-container {
    background: var(--color-background-secondary, #1a1a1a);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stream-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* ============================================
   STREAM TITLE
   ============================================ */

.stream-title {
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--color-primary, #ff6b35) 0%, var(--color-secondary, #f7931e) 100%);
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stream-tournament {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 4px;
}

.stream-teams {
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ============================================
   STREAM STATUS BAR
   ============================================ */

.stream-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: var(--color-background-tertiary, #2a2a2a);
    border-bottom: 1px solid var(--color-border, #333);
    font-size: 14px;
    font-weight: 500;
}

.stream-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stream-status.status-live {
    background: #ff4444;
    color: white;
    animation: pulse 2s infinite;
}

.stream-status.status-scheduled {
    background: var(--color-accent, #4a90e2);
    color: white;
}

.stream-status.status-finished {
    background: var(--color-text-disabled, #666);
    color: white;
}

.stream-time {
    color: var(--color-text-secondary, #ccc);
    margin-left: 8px;
}

.stream-score {
    color: var(--color-text-primary, #fff);
    font-weight: 600;
    font-size: 16px;
}

/* ============================================
   STREAM IFRAME
   ============================================ */

.stream-iframe {
    width: 100%;
    height: 400px;
    border: none;
    background: #000;
    display: block;
    /* Обрезаем iframe чтобы скрыть брендинг */
    transform: scale(1.2);
    transform-origin: center center;
    overflow: hidden;
    position: relative;
}

/* Контейнер для обрезки iframe */
.stream-iframe-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    background: #000;
    border-radius: 8px;
    /* Маскирование для скрытия брендинга */
    mask: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 15%,
        black 20%,
        black 80%,
        transparent 85%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 15%,
        black 20%,
        black 80%,
        transparent 85%,
        transparent 100%
    );
}

/* Альтернативный способ - обрезка через clip-path */
.stream-iframe-clipped {
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
    display: block;
    /* Обрезаем верхнюю и нижнюю части */
    clip-path: inset(60px 0 40px 0);
    transform: scale(1.05);
    transform-origin: center center;
    /* Убираем проблемные свойства */
    overflow: visible;
    position: relative;
}

.stream-iframe:focus {
    outline: 2px solid var(--color-primary, #ff6b35);
    outline-offset: 2px;
}

/* ============================================
   STREAM OPEN BUTTON
   ============================================ */

.stream-open-button {
    padding: 16px 20px;
    background: var(--color-background-tertiary, #2a2a2a);
    border-top: 1px solid var(--color-border, #333);
    text-align: center;
}

.btn-open-stream {
    background: linear-gradient(135deg, var(--color-primary, #ff6b35) 0%, var(--color-secondary, #f7931e) 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-open-stream:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.btn-open-stream:active {
    transform: translateY(0);
}

/* ============================================
   STREAM MODE SELECTOR
   ============================================ */

.stream-mode-selector {
    display: flex;
    gap: 8px;
    padding: 12px 20px;
    background: var(--color-background-secondary, #1a1a1a);
    border-bottom: 1px solid var(--color-border, #333);
    justify-content: center;
}

.mode-btn {
    background: var(--color-background-tertiary, #2a2a2a);
    color: var(--color-text-secondary, #ccc);
    border: 1px solid var(--color-border, #333);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mode-btn:hover {
    background: var(--color-background-quaternary, #3a3a3a);
    color: var(--color-text-primary, #fff);
}

.mode-btn.active {
    background: var(--color-primary, #ff6b35);
    color: white;
    border-color: var(--color-primary, #ff6b35);
}

.mode-btn.active:hover {
    background: var(--color-secondary, #f7931e);
}

/* ============================================
   STREAM PLAYER CONTAINER
   ============================================ */

.stream-player-container {
    position: relative;
    width: 100%;
    min-height: 400px;
    background: #000;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

/* ============================================
   STREAMS LIST
   ============================================ */

.streams-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stream-item {
    background: var(--color-background-secondary, #1a1a1a);
    border: 1px solid var(--color-border, #333);
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.stream-item:hover {
    background: var(--color-background-tertiary, #2a2a2a);
    border-color: var(--color-primary, #ff6b35);
    transform: translateX(4px);
}

.stream-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.stream-item .stream-tournament {
    font-size: 12px;
    color: var(--color-text-secondary, #ccc);
    font-weight: 500;
}

.stream-item .stream-status {
    font-size: 10px;
    padding: 2px 6px;
}

.stream-item-teams {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
}

.stream-item-teams .team-name {
    flex: 1;
    color: var(--color-text-primary, #fff);
}

.stream-item-teams .vs {
    color: var(--color-text-disabled, #666);
    font-size: 14px;
    font-weight: 400;
}

.stream-item-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.stream-item .stream-time {
    color: var(--color-text-secondary, #ccc);
    font-size: 14px;
}

.stream-item .stream-score {
    color: var(--color-text-primary, #fff);
    font-size: 16px;
    font-weight: 600;
}

.stream-item-action {
    text-align: center;
}

.stream-watch-btn {
    background: linear-gradient(135deg, var(--color-primary, #ff6b35) 0%, var(--color-secondary, #f7931e) 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stream-watch-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.stream-watch-btn:active {
    transform: translateY(0);
}

/* ============================================
   STREAM LOADER & ERROR STATES
   ============================================ */

.stream-loader,
.stream-error,
.stream-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--color-text-secondary, #ccc);
    font-size: 16px;
    background: var(--color-background-secondary, #1a1a1a);
    border-radius: 8px;
    border: 1px solid var(--color-border, #333);
}

.stream-error {
    color: #ff4444;
    border-color: #ff4444;
}

.stream-empty {
    color: var(--color-text-disabled, #666);
}

/* ============================================
   STREAM MODAL
   ============================================ */

.stream-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.stream-modal-content {
    background: var(--color-background-primary, #0f0f0f);
    border-radius: 12px;
    overflow: hidden;
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.stream-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.stream-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

.stream-modal-iframe {
    width: 100%;
    height: 70vh;
    border: none;
    background: #000;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .stream-container {
        margin-bottom: 16px;
    }
    
    .stream-title {
        padding: 12px 16px;
    }
    
    .stream-teams {
        font-size: 16px;
    }
    
    .stream-status-bar {
        padding: 10px 16px;
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .stream-iframe {
        height: 250px;
    }
    
    .stream-item {
        padding: 12px;
    }
    
    .stream-item-teams {
        font-size: 14px;
        gap: 8px;
    }
    
    .stream-modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .stream-modal-iframe {
        height: 60vh;
    }
}

@media (max-width: 480px) {
    .stream-iframe {
        height: 200px;
    }
    
    .stream-item-teams {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    
    .stream-item-teams .vs {
        display: none;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stream-container,
.stream-item {
    animation: fadeIn 0.3s ease;
}

/* ============================================
   HOME STREAMS
   ============================================ */

.home-streams-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.home-stream-item {
    background: var(--color-background-secondary, #1a1a1a);
    border: 1px solid var(--color-border, #333);
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.home-stream-item:hover {
    background: var(--color-background-tertiary, #2a2a2a);
    border-color: var(--color-primary, #ff6b35);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.home-stream-item .stream-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.home-stream-item .stream-tournament {
    font-size: 12px;
    color: var(--color-text-secondary, #ccc);
    font-weight: 500;
}

.home-stream-item .stream-status {
    font-size: 10px;
    padding: 2px 6px;
}

.home-stream-item .stream-item-teams {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.home-stream-item .team-name {
    flex: 1;
    color: var(--color-text-primary, #fff);
}

.home-stream-item .vs {
    color: var(--color-text-disabled, #666);
    font-size: 12px;
    font-weight: 400;
}

.home-stream-item .stream-item-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.home-stream-item .stream-time {
    color: var(--color-text-secondary, #ccc);
    font-size: 12px;
}

.home-stream-item .stream-score {
    color: var(--color-text-primary, #fff);
    font-size: 14px;
    font-weight: 600;
}

.home-stream-item .stream-item-action {
    text-align: center;
}

.home-stream-item .stream-watch-btn {
    background: linear-gradient(135deg, var(--color-primary, #ff6b35) 0%, var(--color-secondary, #f7931e) 100%);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.home-stream-item .stream-watch-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

/* ============================================
   INTEGRATION WITH EXISTING STYLES
   ============================================ */

/* Интеграция с существующими стилями матчей */
.matches-section .stream-container {
    margin-top: 20px;
}

.live-matches .stream-item {
    border-left: 4px solid var(--color-primary, #ff6b35);
}

/* Стили для кнопок трансляций в существующих матчах */
.match-row .stream-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.match-row .stream-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

.match-row .stream-btn:disabled {
    background: var(--color-text-disabled, #666);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ============================================
   LIVETV INFORMER STYLES
   ============================================ */

.livetv-informer-container {
    background: var(--color-surface, #17182E);
    border: 1px solid rgba(255, 217, 0, 0.2);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.livetv-informer-container:hover {
    border-color: var(--color-primary, #FFD900);
    box-shadow: 0 12px 40px rgba(255, 217, 0, 0.2);
    transform: translateY(-2px);
}

.informer-header {
    background: linear-gradient(135deg, var(--color-primary, #FFD900) 0%, var(--color-accent, #006CFF) 100%);
    padding: 20px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.informer-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0D0E25;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.informer-subtitle {
    font-size: 1rem;
    color: rgba(13, 14, 37, 0.8);
    font-weight: 500;
    margin: 0;
}

.informer-content {
    background: var(--color-surface, #17182E);
    padding: 24px;
    min-height: 400px;
}

.livetv-informer {
    width: 100%;
    background: transparent;
    color: var(--color-text-primary, #ffffff);
    font-family: inherit;
}

/* Стили для таблиц в информере */
.livetv-informer table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: transparent !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
}

.livetv-informer tr {
    background: var(--color-surface-light, #1F2037) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease !important;
}

/* .livetv-informer tr:nth-child(even) {
    background: var(--color-surface, #17182E) !important;
} */

.livetv-informer tr:hover {
    background: var(--color-primary, #FFD900) !important;
    color: #0D0E25 !important;
    transform: translateX(4px) !important;
    box-shadow: 0 2px 8px rgba(255, 217, 0, 0.3) !important;
}

.livetv-informer td {
    padding: 12px 16px !important;
    vertical-align: middle !important;
    border: none !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

.livetv-informer a {
    color: var(--color-primary, #FFD900) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.livetv-informer a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.informer-footer {
    background: var(--color-surface-light, #1F2037);
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.informer-note {
    margin: 0;
    color: var(--color-text-secondary, rgba(255, 255, 255, 0.7));
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.live-indicator {
    animation: pulse 2s infinite;
    font-size: 16px;
}

.informer-fallback {
    background: var(--color-surface, #17182E);
    border: 2px dashed rgba(255, 217, 0, 0.3);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    color: var(--color-text-primary, #ffffff);
}

.fallback-content h3 {
    color: var(--color-primary, #FFD900);
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.fallback-content p {
    margin-bottom: 16px;
    color: var(--color-text-secondary, rgba(255, 255, 255, 0.7));
}

.fallback-content ul {
    text-align: left;
    display: inline-block;
    margin: 16px 0;
    color: var(--color-text-secondary, rgba(255, 255, 255, 0.7));
}

.fallback-content li {
    margin-bottom: 8px;
}

.livetv-link {
    color: var(--color-primary, #FFD900) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    padding: 12px 24px !important;
    border: 2px solid var(--color-primary, #FFD900) !important;
    border-radius: 8px !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    margin-top: 16px !important;
}

.livetv-link:hover {
    background: var(--color-primary, #FFD900) !important;
    color: #0D0E25 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 217, 0, 0.3) !important;
}

/* Responsive styles for informer */
@media (max-width: 768px) {
    .informer-header {
        padding: 16px 20px;
    }
    
    .informer-title {
        font-size: 1.5rem;
    }
    
    .informer-subtitle {
        font-size: 0.9rem;
    }
    
    .informer-content {
        padding: 16px;
        min-height: 300px;
    }
    
    .livetv-informer td {
        padding: 8px 12px !important;
        font-size: 13px !important;
    }
    
    .informer-footer {
        padding: 12px 20px;
    }
    
    .informer-note {
        font-size: 13px;
        flex-direction: column;
        gap: 4px;
    }
    
    .informer-fallback {
        padding: 24px 16px;
    }
    
    .fallback-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .informer-header {
        padding: 12px 16px;
    }
    
    .informer-title {
        font-size: 1.3rem;
    }
    
    .informer-content {
        padding: 12px;
        min-height: 250px;
    }
    
    .livetv-informer td {
        padding: 6px 8px !important;
        font-size: 12px !important;
    }
    
    .informer-fallback {
        padding: 20px 12px;
    }
    
    .fallback-content h3 {
        font-size: 1.2rem;
    }
}