:root {
    --bg-dark: #0f172a;
    --card: rgba(255, 255, 255, 0.05);
    --text: #f8fafc;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text);
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

header {
    padding: 15px;
    text-align: center;
    background: linear-gradient(180deg, #1e293b 0%, var(--bg-dark) 100%);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.logo { 
    font-family: "Times New Roman", Times, serif;
    font-size: 30px; 
    font-weight: 900; 
    color: #3b82f6; 
    text-transform: uppercase; 
    letter-spacing: 4px; 
    display: inline-block;
    padding: 10px 0;
}

.logo span { color: #ffffff; margin-right: 2px; }

.content {
    flex: 1;
    overflow-y: auto;
    /*   ,       */
    padding: 15px 15px 140px 15px;
    /*     */
    -webkit-overflow-scrolling: touch;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.channel-card {
    background: var(--card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px 10px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; /*     */
}

.icon { font-size: 32px; margin-bottom: 8px; display: block; }
.name { font-size: 14px; font-weight: 600; }

.player {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(30, 41, 59, 0.98);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    z-index: 100;
}

.info { overflow: hidden; flex: 1; }
.info .title { font-weight: bold; font-size: 15px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.info .status { font-size: 12px; color: #94a3b8; }

.tape-controls { display: none; gap: 10px; margin: 0 15px; }

.nav-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    border-radius: 50%;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
}

.play-btn {
    width: 55px; height: 55px;
    background: #3b82f6;
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
    flex-shrink: 0;
    transition: background 0.3s ease;
}

/*    (  480px) */
@media (max-width: 480px) {
    .content {
        /*   ,       */
        padding-bottom: 160px; 
    }

    .channels-grid {
        /*     */
        gap: 8px; 
    }

    .channel-card {
        /*    ,     */
        padding: 12px 5px; 
        border-radius: 12px;
    }

    .icon {
        /*    ( 32px) */
        font-size: 24px; 
        margin-bottom: 5px;
    }

    .name {
        /*    ( 14px) */
        font-size: 12px; 
    }
}