
html,
body{

    margin:0;

    padding:0;

    width:100%;

    overflow-x:hidden;

    touch-action:manipulation;

    -webkit-text-size-adjust:100%;
}

body{

    padding:12px;

    font-family:Arial,sans-serif;

    color:#fff;

    min-height:100vh;

    background:linear-gradient(
        180deg,
        #111827 0%,
        #0f172a 35%,
        #1e293b 70%,
        #020617 100%
    );

    background-attachment:fixed;

    -webkit-font-smoothing:antialiased;

    -moz-osx-font-smoothing:grayscale;

    text-rendering:optimizeLegibility;
}

/* PLAYER WRAPPER */
.player-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    background: linear-gradient(180deg, #111827, #020617);
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.50), 0 0 25px rgba(59, 130, 246, 0.10);
    backdrop-filter: blur(10px);
}


/* HEADER */
.player-header {
    padding: 14px 18px;
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    color: #fff;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6, #9333ea);
}

/* VIDEO */
video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

/* PLYR CUSTOM */
.plyr {
    border-radius: 0;
}

.plyr--video {
    background: #000;
}

/* CONTROL BAR */
.plyr--full-ui input[type="range"] {
    color: #06b6d4;
}

/* MOBILE */
@media (max-width: 768px) {
    .player-wrapper {
        border-radius: 18px;
        margin: 10px auto;
    }
    
    .player-header {
        font-size: 16px;
        padding: 12px;
    }
}

/* MAIN CONTAINER */
.main-container {
    width: 100%;
    max-width: 800px;
    margin: auto;
}

/* CHANNEL LIST */
.channel-list {
    width: 100%;
    max-width: 800px;
    margin: 18px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

/* CHANNEL CARD */
.channel {
    position: relative;
    background: linear-gradient(135deg, #111827, #1e293b);
    border-radius: 18px;
    padding: 18px 12px;
    cursor: pointer;
    transition: 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    overflow: hidden;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.30);
}

/* HOVER */
.channel:hover {
    transform: translateY(-4px);
    border-color: #3b82f6;
    box-shadow: 0 0 22px rgba(59, 130, 246, 0.30);
}

/* ACTIVE */
.channel.active {
    background: linear-gradient(135deg, #06b6d4, #3b82f6, #9333ea);
    border-color: transparent;
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.40);
}

/* CHANNEL NAME */
.channel-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    letter-spacing: 0.3px;
}

/* LIVE BADGE */
.live-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, 0.45);
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    backdrop-filter: blur(5px);
}

/* LIVE DOT */
.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff0000;
    animation: livePulse 1s infinite;
}

/* LIVE ANIMATION */
@keyframes livePulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* TABLET */
@media (max-width: 768px) {
    .channel-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .channel {
        padding: 16px 10px;
        min-height: 66px;
    }
    
    .channel-name {
        font-size: 13px;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    body {
        padding: 8px;
    }
    
    .channel {
        border-radius: 14px;
        padding: 14px 8px;
    }
    
    .channel-name {
        font-size: 12px;
    }
    
    .live-badge {
        font-size: 9px;
        padding: 2px 6px;
    }
}

/* HEADER */
.main-header {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 18px;
    padding: 14px 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, #111827, #1e293b);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

/* LOGO */
.logo {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6, #9333ea);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* NAVBAR */
.navbar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* MENU LINKS */
.navbar a {
    padding: 10px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    transition: 0.3s ease;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
}

/* HOVER */
.navbar a:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    box-shadow: 0 8px 22px rgba(147, 51, 234, 0.35);
}

/* MOBILE */
@media (max-width: 768px) {
    .main-header {
        justify-content: center;
        text-align: center;
    }
    
    .logo {
        width: 100%;
        font-size: 20px;
    }
    
    .navbar {
        justify-content: center;
    }
    
    .navbar a {
        font-size: 13px;
        padding: 9px 14px;
    }
}

/* FOOTER CREDIT */
.footer-credit {
    width: 100%;
    max-width: 800px;
    margin: 18px auto 0;
    text-align: center;
    padding: 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #111827, #1e293b);
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.30);
}

/* MAIN LINK */
.footer-credit a {
    color: #06b6d4;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s ease;
}

.footer-credit a:hover {
    color: #8b5cf6;
}

/* TELEGRAM BUTTON */
.footer-telegram {
    margin-top: 14px;
}

.footer-telegram a {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 30px;
    background: linear-gradient(135deg, #229ED9, #0088cc);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(34, 158, 217, 0.35);
    transition: 0.3s ease;
}

.footer-telegram a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(34, 158, 217, 0.45);
}

/* SCHEDULE SECTION */
.schedule-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 25px auto;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, #111827, #020617);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}

/* TITLE */
.schedule-title {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6, #9333ea);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* MATCH CARD */
.match-card {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: 0.3s ease;
}

/* HOVER */
.match-card:hover {
    transform: translateY(-4px);
    border-color: #3b82f6;
    box-shadow: 0 0 22px rgba(59, 130, 246, 0.25);
}

/* DATE */
.match-date {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 12px;
}

/* TEAMS */
.match-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 14px;
}

.team {
    color: #fff;
}

.vs {
    color: #06b6d4;
}

/* INFO */
.match-info {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #cbd5e1;
}

/* MOBILE */
@media (max-width: 768px) {
    .match-teams {
        font-size: 16px;
        gap: 10px;
    }
    
    .match-info {
        flex-direction: column;
        text-align: center;
    }
}

/* NOTICE BOX */

.notice-box{

    width:100%;

    max-width:800px;

    margin:18px auto;

    padding:14px 18px;

    border-radius:18px;

    text-align:center;

    font-size:14px;

    font-weight:600;

    line-height:1.7;

    color:#fff;

    background:linear-gradient(
        135deg,
        #f59e0b,
        #ef4444
    );

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

    box-shadow:
        0 8px 24px rgba(239,68,68,.22);
}

/* MOBILE */

@media(max-width:768px){

.notice-box{

    font-size:13px;

    padding:12px 14px;

    border-radius:14px;
}

}

.header2{

    width:100%;

    max-width:800px;

    margin:18px auto;

    padding:14px 18px;

    border-radius:18px;

    text-align:center;

    font-size:22px;

    font-weight:800;

    color:#fff;

    letter-spacing:.5px;

    background:linear-gradient(
        135deg,
        #06b6d4,
        #3b82f6,
        #9333ea
    );

    box-shadow:
        0 8px 24px rgba(59,130,246,.25);

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

/* MOBILE */

@media(max-width:768px){

.header2{

    font-size:18px;

    padding:12px 14px;

    border-radius:14px;
}

}

/* PLAYER BOX */

.player-box{

    position:relative;
}

/* PLAYER LOADING */

.player-loading{

    position:absolute;

    top:50%;

    left:50%;

    transform:translate(-50%,-50%);

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:12px;

    z-index:99;

    background:rgba(0,0,0,.55);

    backdrop-filter:blur(8px);

    padding:24px 28px;

    border-radius:20px;

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

    box-shadow:
        0 0 30px rgba(59,130,246,.25);
}

/* LOADER */

.loader-circle{

    width:65px;

    height:65px;

    border-radius:50%;

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

    border-top:5px solid #06b6d4;

    border-right:5px solid #9333ea;

    animation:spin 1s linear infinite;
}

/* TEXT */

.player-loading span{

    font-size:14px;

    font-weight:700;

    color:#fff;
}

/* SPIN */

@keyframes spin{

    100%{
        transform:rotate(360deg);
    }
}

/* HIDE */

.player-loading.hide{

    display:none;
}
