/* بارشیک تی‌وی — استایل اصلی صفحه پخش زنده */

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn.woff2') format('woff2 supports variations'),
         url('../fonts/Vazirmatn.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    background-color: #0a0a0a;
    color: #ffffff;
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
}

.page-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    overflow: hidden;
}

.header {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(10, 10, 10, 1) 100%);
    border-bottom: 1px solid #1a1a1a;
}

.header__logo {
    display: block;
    max-width: min(108px, 27vw);
    height: auto;
    object-fit: contain;
}

.header__title {
    margin: 0;
    font-size: clamp(0.63rem, 1.75vw, 0.875rem);
    letter-spacing: 1px;
    font-weight: 600;
}

.header__live {
    color: #e50914;
    font-weight: bold;
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 0.5rem 1rem;
}

.video-wrapper {
    width: 100%;
    height: 100%;
    max-width: 1200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #222;
}

.video-wrapper .video-js {
    width: 100%;
    height: 100%;
}

.video-js .vjs-control-bar {
    background-color: rgba(0, 0, 0, 0.7);
}

.video-js .vjs-big-play-button {
    background-color: rgba(229, 9, 20, 0.8);
    border: none;
    border-radius: 50%;
    width: clamp(56px, 12vw, 80px);
    height: clamp(56px, 12vw, 80px);
    line-height: clamp(56px, 12vw, 80px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.footer {
    flex-shrink: 0;
    padding: 0.5rem 1rem 0.75rem;
    text-align: center;
}

.footer__credit {
    margin: 0;
    font-family: Tahoma, Arial, sans-serif;
    font-weight: 400;
    font-size: clamp(0.52rem, 1.4vw, 0.62rem);
    color: rgba(255, 255, 255, 0.12);
}

.footer__credit a {
    color: rgba(255, 255, 255, 0.12);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__credit a:hover {
    color: rgba(255, 255, 255, 0.15);
}

@media (max-width: 480px) {
    .header {
        padding: 0.5rem 0.75rem;
        gap: 0.35rem;
    }

    .main-content {
        padding: 0.35rem 0.5rem;
    }

    .video-wrapper {
        border-radius: 4px;
    }
}
