body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #0f172a;
    color: #e5e7eb;
}


/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1100px;
    margin: auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.logo-play {
    color: #38bdf8;
    /* sky blue */
}

.logo-any {
    color: #e5e7eb;
}

.logo-m3u8 {
    color: #f97316;
    /* orange */
}

/* Nav links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 26px;
}

.nav-links a {
    text-decoration: none;
    color: #e5e7eb;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #38bdf8;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #38bdf8, #f97316);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger Button */
.menu-toggle {
    background: none;
    border: none;
    font-size: 26px;
    color: #e5e7eb;
    cursor: pointer;
    display: none;
    padding: 0;
}

/* Mobile only */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
        margin-left: auto;
        /* sticks to right */
    }

    .nav-links {
        display: none;
        /* COMPLETELY removed from layout */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #020617;
        flex-direction: column;
        gap: 18px;
        padding: 20px 0;
        text-align: center;
    }

    .nav-links.open {
        display: flex;
    }
}



.header {
    text-align: center;
    padding: 30px;
}

.container {
    max-width: 900px;
    margin: auto;
    padding: 10px;
}

.player-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.player-box button {
    width: 100%;
    padding: 12px;
    background: #2563eb;
    color: #fff;
    border: none;
    cursor: pointer;
}

.player-box video {
    width: 100%;
    margin-top: 15px;
    background: black;
}

textarea {
    width: 100%;
    height: 80px;
}

.footer {
    text-align: center;
    padding: 20px;

}

.footer a {
    color: #93c5fd;
    margin: 0 10px;
    text-decoration: none;
}